/* Flexible navigation remains usable with long labels and authenticated actions. */
.expert-topbar-inner { flex-wrap: wrap; padding-block: 12px; }
.expert-nav { flex-wrap: wrap; min-width: 0; gap: 8px; }
.expert-nav > a, .expert-nav > form, .expert-nav .lang-switch { flex-shrink: 0; }
.expert-nav a, .expert-nav button { white-space: nowrap; min-height: 44px; }
.expert-nav .lang-switch { margin-left: 0; }
.expert-filter-details { margin-block: 12px; }
.expert-filter-details summary { cursor: pointer; color: var(--expert-blue-dark); font-weight: 700; padding-block: 12px; }
.expert-filter-details[open] summary { margin-bottom: 12px; }
.expert-search-layout { grid-template-columns: minmax(0, 1fr); }
.expert-profile-nav { flex-wrap: wrap; }
.expert-profile-nav a { white-space: nowrap; }
#expert-need-form, #inquiry { scroll-margin-top: 150px; }
.expert-shell :is(a, button, summary):focus-visible { outline: 3px solid var(--expert-blue); outline-offset: 3px; }
@media (max-width: 720px) {
    .expert-topbar { position: static; }
    .expert-topbar-inner { align-items: flex-start; gap: 12px; }
    .expert-nav { width: 100%; }
    .expert-nav a, .expert-nav button { padding-inline: 12px; }
    .expert-profile-head { grid-template-columns: minmax(0, 1fr); gap: 12px; }
    .expert-profile-identity { padding-top: 0; }
    .expert-profile-actions { grid-column: 1; justify-content: flex-start; padding-top: 8px; }
    .expert-profile-nav { gap: 8px; }
    #expert-need-form, #inquiry { scroll-margin-top: 20px; }
}
