header.site-navigation{display:grid;grid-template-columns:145px minmax(250px,1fr) auto auto;grid-template-areas:'brand search navigation actions';gap:14px;padding-top:12px;padding-bottom:12px;min-height:82px}.site-navigation>.brand{grid-area:brand}.site-navigation>nav{grid-area:navigation;width:auto;margin:0!important;gap:2px}.site-navigation>.nav-actions{grid-area:actions}.site-navigation>nav button{padding:12px 9px;font-size:12px}#headerSearch{grid-area:search;display:flex;align-items:center;min-width:0;gap:0;background:white;border:1px solid #b9c3b4;border-radius:10px;min-height:46px}#headerSearch .search{flex:1;min-width:0;border:0;background:none;padding:5px 10px;display:block}#headerSearch .search>span{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}#headerSearch input{font-size:13px;min-width:0;width:100%;min-height:34px}#headerSearch:focus-within{outline:2px solid #73876c;outline-offset:2px}#headerSearch input:focus-visible{outline:none}#headerSearch input::-webkit-search-cancel-button{display:none}#headerSearch .search-submit{border:0;border-radius:0 9px 9px 0;background:#e6ecdf;padding:12px 13px;font-size:12px;font-weight:700;min-height:44px;align-self:stretch}#headerSearch .search-clear{background:none;border:0;font-size:23px;min-width:36px;min-height:44px;padding:0 7px}.search-scope{font-size:12px;color:var(--muted);line-height:1.7;margin:9px 0 18px}#workspace{scroll-margin-top:calc(var(--navigation-height,140px) + 16px)}:root{scroll-padding-top:calc(var(--navigation-height,140px) + 16px)}#filters .filter-row{margin-top:0}@media(max-width:1249px){header.site-navigation{grid-template-columns:150px minmax(220px,1fr) auto;grid-template-areas:'brand search actions' 'navigation navigation navigation';row-gap:8px}.site-navigation>nav{justify-content:center;width:100%}.site-navigation>nav button{font-size:12px;padding:10px 14px}.site-navigation>.nav-actions{margin-left:0}}@media(max-width:700px){header.site-navigation{grid-template-columns:1fr auto;grid-template-areas:'brand actions' 'search search' 'navigation navigation';padding:7px 16px;gap:5px;min-height:0}.site-navigation .brand{font-size:23px}.site-navigation>nav{gap:0}.site-navigation>nav button{padding:9px 7px;font-size:11px;min-height:40px}#headerSearch{min-height:44px}#headerSearch input{font-size:16px;min-height:32px}#headerSearch .search-submit{padding:10px 13px;min-height:42px}#headerSearch .search-clear{min-height:42px}.nav-actions summary{padding:8px 10px}.search-scope{font-size:11px}}

/* Every mobile destination stays visible without horizontal scrolling. */
@media(max-width:700px){
 header.site-navigation>nav{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));width:100%;min-width:0;gap:4px!important;overflow:visible;justify-content:normal!important;}
 header.site-navigation>nav button{min-width:0;width:100%;min-height:44px;padding:8px 5px;font-size:12px;line-height:1.25;white-space:normal;overflow-wrap:anywhere;border-radius:12px;}
 header.site-navigation>nav b{white-space:nowrap;}
}

/* Header capacity is determined by its 1248px content rail, not viewport width.
   Keep search/actions on row one and destinations on a dedicated second row. */
body>header.site-navigation{grid-template-columns:176px minmax(180px,1fr) max-content;grid-template-areas:'brand search actions' 'navigation navigation navigation';column-gap:14px;row-gap:8px;align-items:center;isolation:isolate}
body>header.site-navigation>.brand{min-width:0;max-width:100%}
body>header.site-navigation>.brand .brand-lockup{max-width:100%}
body>header.site-navigation>nav{display:flex;flex-wrap:wrap;align-items:center;justify-content:center;width:100%;min-width:0;max-width:100%;gap:4px!important;overflow:visible}
body>header.site-navigation>nav button{flex:0 1 auto;min-height:44px;max-width:100%;padding:10px 14px;white-space:normal;line-height:1.25;overflow-wrap:anywhere}
body>header.site-navigation>#headerSearch{width:100%;max-width:100%;min-width:0}
@media(min-width:701px) and (max-width:900px){
 body>header.site-navigation{grid-template-columns:minmax(0,1fr) max-content;grid-template-areas:'brand actions' 'search search' 'navigation navigation'}
 body>header.site-navigation>nav button{padding:9px 10px}
}
@media(max-width:700px){
 body>header.site-navigation{grid-template-columns:minmax(0,1fr) max-content;grid-template-areas:'brand actions' 'search search' 'navigation navigation';column-gap:6px;row-gap:5px}
 body>header.site-navigation>nav{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:4px!important;justify-content:normal!important}
 body>header.site-navigation>nav button{width:100%;min-width:0;min-height:44px;padding:8px 5px;font-size:12px;line-height:1.25}
 body>header.site-navigation.compact{grid-template-columns:minmax(0,1fr) max-content;grid-template-areas:'search actions' 'navigation navigation';column-gap:4px;row-gap:4px}
 body>header.site-navigation.compact>#headerSearch .search{padding-left:8px;padding-right:4px}
 body>header.site-navigation.compact>#headerSearch .search-submit{padding-left:8px;padding-right:8px}
 body>header.site-navigation.compact>#headerSearch .search-clear{min-width:28px;padding:0 4px}
}
/* A compact header must still leave room to enter a meaningful search query. */
@media(max-width:420px){
 body>header.site-navigation.compact{grid-template-columns:minmax(0,1fr) max-content;grid-template-areas:'brand actions' 'search search' 'navigation navigation';row-gap:3px}
 body>header.site-navigation.compact>.brand{display:block}
 body>header.site-navigation.compact>.brand .brand-lockup{height:26px;width:120px}
 body>header.site-navigation.compact>#headerSearch{min-height:42px}
}
