/* ATHRTY XHEADER-32000 — One quiet header, one right-side menu, one underlay search.
   The palette is presentation-only. Routing and authorization stay with Genesis. */
:root{
 --xheader-ink:#eef5f5;
 --xheader-dim:#a0b4ba;
 --xheader-accent:var(--athrty-brand-bright,#8fa8b5);
 --xheader-line:rgba(180,215,224,.16);
 --xheader-surface:#10191d;
 --xheader-ease:cubic-bezier(.22,1,.36,1);
}
/* X-UI-RELEASE: one authoritative measured header offset for the top menu,
   underlay search, sticky workspace rail and scroll targets. The base theme
   still retains legacy 64/72px values; the canonical shell is 72/76px. */
:root body{--header-height:76px}
@media(max-width:700px){:root body{--header-height:72px}}
:root body .global-header,
:root body:has(.x5-home) .global-header{
 position:sticky!important;top:0!important;z-index:250!important;
 height:var(--header-height,72px);min-height:var(--header-height,72px);
 width:100%;box-sizing:border-box;
 padding:0 clamp(19px,3vw,48px)!important;
 border:0!important;border-bottom:1px solid var(--athrty-ui-border)!important;
 background:color-mix(in srgb,var(--athrty-ui-surface) 94%,#14212b)!important;
 backdrop-filter:blur(22px);-webkit-backdrop-filter:blur(22px);
 gap:20px!important;
}
:root body .global-header .brand-group{flex:0 1 auto;min-width:0;gap:0!important}
:root body .global-header .wordmark{
 display:inline-flex!important;flex-direction:column;justify-content:center;min-width:0;
 margin:0;padding:0!important;font-family:var(--athrty-heading-font,Manrope,system-ui,sans-serif);
 font-size:clamp(20px,2.1vw,26px)!important;font-weight:730;letter-spacing:-.075em;
 line-height:1!important;color:var(--athrty-ui-ink)!important;text-decoration:none!important;
}
:root body .global-header .wordmark span{
 font:700 8px/1.25 var(--athrty-ui-font,Manrope,system-ui,sans-serif);
 letter-spacing:.23em;color:var(--athrty-ui-muted);margin:7px 0 0;
}
:root body .global-header .global-actions{margin-left:auto!important;gap:9px!important;flex:0 0 auto;min-width:0}
:root body .global-header .global-actions>:not(#search-button):not(#drawer-open){display:none!important}
:root body .global-header .global-actions #search-button,
:root body .global-header .global-actions #drawer-open{
 display:inline-flex!important;justify-content:center;align-items:center;
 order:0!important;flex:0 0 auto;width:46px!important;height:46px!important;
 min-width:46px!important;min-height:46px!important;margin:0!important;
 border:1px solid var(--athrty-ui-border)!important;
 border-radius:14px!important;
 background:transparent!important;color:var(--athrty-ui-ink)!important;
 box-shadow:none!important;padding:0!important;
 transition:background .2s ease,border-color .2s ease,color .2s ease!important;
}
:root body .global-header .global-actions #search-button:hover,
:root body .global-header .global-actions #drawer-open:hover,
:root body.xheader-search-open .global-header .global-actions #search-button{
 background:var(--athrty-ui-soft)!important;border-color:var(--athrty-ui-accent)!important;
}
:root body .global-header .global-actions :is(#search-button,#drawer-open):focus-visible{outline:2px solid var(--athrty-ui-accent)!important;outline-offset:3px}
:root body .global-header #drawer-open{order:2!important}
:root body .global-header #search-button{order:1!important}
:root body .global-header .x1113-icon{transform:scale(.82)}
/* A simplified single native menu, not an assortment of dropdowns. */
:root body .x1113-nav-panel{background:var(--athrty-ui-surface)!important}
:root body .x1113-nav-panel .x1113-nav-interior{padding:clamp(22px,2.5vw,36px)!important}
:root body .x1113-nav-panel .x1113-nav-top{gap:7px!important;margin-bottom:20px}
:root body .x1113-nav-panel .x1113-overline{font-size:9px;letter-spacing:.19em}
:root body .x1113-nav-panel .x1113-nav-top h2{
 max-width:none!important;font-weight:620!important;
 font-size:clamp(29px,3vw,38px)!important;letter-spacing:-.066em!important;
}
:root body .x1113-nav-panel .x1113-nav-description{display:none!important}
:root body .x1113-nav-panel .x1113-destinations{
 display:grid!important;grid-template-columns:1fr!important;gap:0!important;
 border-top:1px solid var(--athrty-ui-border)!important;
}
:root body .x1113-nav-panel .x1113-destination{
 display:flex!important;min-height:60px!important;align-items:center;
 padding:13px 9px!important;gap:12px;grid-template-columns:none!important;
 border-radius:0!important;
 border-bottom:1px solid var(--athrty-ui-border);
 transition:padding .18s ease,color .18s ease,background .18s ease;
}
:root body .x1113-nav-panel .x1113-destination:hover{padding-left:15px!important}
:root body .x1113-nav-panel .x1113-destination[aria-current="page"]{background:rgba(161,211,221,.07)!important;border-left:2px solid var(--athrty-ui-accent)!important;padding-left:12px!important}
:root body .x1113-nav-panel .x1113-destination-copy{display:block}
:root body .x1113-nav-panel .x1113-destination-copy strong{
 font:640 17px/1.3 var(--athrty-ui-font,Manrope,sans-serif)!important;
 letter-spacing:-.035em!important;
}
:root body .x1113-nav-panel .x1113-destination-copy small{display:none!important}
:root body .x1113-nav-panel .x1113-navigation-foot{padding-top:20px!important;gap:10px}
:root body .x1113-nav-panel .x1113-rights-note,
:root body .x1113-nav-panel .x1113-current-context{display:none!important}
:root body .x1113-nav-panel .x1113-capital-bridge{display:flex;min-height:44px;align-items:center;gap:8px}
:root body .x1113-nav-panel .x1113-capital-bridge small{display:none!important}
.xheader-account{margin-top:17px;padding-top:16px;border-top:1px solid var(--athrty-ui-border);min-width:0}
.xheader-account-label{display:block;margin-bottom:7px;color:var(--athrty-ui-muted);font-size:10px;font-weight:700;letter-spacing:.13em}
:root body .x1113-nav-panel .xheader-profile-toggle{
 display:flex!important;justify-content:space-between;align-items:center;gap:12px;
 width:100%;min-height:48px;padding:11px 13px!important;border-radius:12px!important;
 background:var(--athrty-ui-soft)!important;color:var(--athrty-ui-ink)!important;
 border:1px solid var(--athrty-ui-border)!important;text-align:left;box-shadow:none!important;
 font:650 13px/1.4 var(--athrty-ui-font,Manrope,sans-serif);cursor:pointer;
}
.xheader-profile-toggle .xheader-profile-caption{display:inline-flex;align-items:center;gap:11px}
.xheader-profile-toggle .xheader-profile-chevron{transition:transform .24s var(--xheader-ease)}
.xheader-profile-toggle[aria-expanded=true] .xheader-profile-chevron{transform:rotate(180deg)}
:root body .x1113-nav-panel .xheader-profile-menu:not([hidden]){
 display:block;position:static!important;transform:none!important;animation:none!important;
 width:100%;max-width:100%;min-width:0;margin-top:9px!important;
 padding:8px!important;border:1px solid var(--athrty-ui-border)!important;
 background:var(--athrty-ui-soft)!important;border-radius:12px!important;box-shadow:none!important;
}
:root body .x1113-nav-panel .xheader-profile-menu a,
:root body .x1113-nav-panel .xheader-profile-menu button{
 display:flex;width:100%;min-height:44px;align-items:center;padding:10px 12px!important;
 border-radius:9px;background:transparent!important;color:var(--athrty-ui-ink)!important;
 text-decoration:none;font-size:13px;border:0!important;
}
:root body .x1113-nav-panel .xheader-profile-menu :is(a,button):hover{background:var(--athrty-ui-surface)!important}
:root body .x1113-nav-panel .xheader-profile-menu .x1140-profile-foot,
:root body .x1113-nav-panel .xheader-profile-menu .x1140-profile-head{display:none!important}
:root body .x1113-nav-panel .xheader-profile-menu .xheader-appearance-option{justify-content:flex-start!important;gap:12px!important;text-align:left}
:root body .x1113-nav-panel .xheader-profile-menu .xheader-appearance-option [data-appearance-icon]{font-size:16px;margin-right:6px}
/* A fixed underlay: visually emerging from behind the header, never replacing it. */
.xheader-search-scrim{
 position:fixed;z-index:170;inset:var(--header-height,72px) 0 0;
 display:block;border:0!important;border-radius:0!important;outline:0;
 background:rgba(2,8,12,.61)!important;opacity:0;visibility:hidden;pointer-events:none;
 transition:opacity .28s ease,visibility 0s linear .38s;
}
.xheader-search-panel{
 --xheader-panel-height:calc(100dvh - var(--header-height,72px));
 position:fixed;z-index:180;top:var(--header-height,72px);left:0;right:0;
 width:100%;max-height:min(var(--xheader-panel-height),850px);
 box-sizing:border-box;overflow:auto;overscroll-behavior:contain;
 color:var(--xheader-ink);
 border-bottom:1px solid rgba(162,206,221,.28);
 background:
 radial-gradient(ellipse at 75% -22%,rgba(105,155,176,.17),transparent 58%),
 linear-gradient(137deg,#0e171b 0%,#101c22 52%,#0b1419 100%);
 box-shadow:0 35px 90px rgba(0,0,0,.34);
 transform:translateY(-34px);clip-path:inset(0 0 100% 0);opacity:0;
 visibility:hidden;pointer-events:none;
 transition:transform .58s var(--xheader-ease),clip-path .62s var(--xheader-ease),opacity .35s ease,visibility 0s linear .64s;
}
body.xheader-search-open .xheader-search-scrim{opacity:1;visibility:visible;pointer-events:auto;transition:opacity .3s ease,visibility 0s}
body.xheader-search-open .xheader-search-panel{
 transform:translateY(0);clip-path:inset(0 0 0 0);opacity:1;visibility:visible;pointer-events:auto;
 transition:transform .56s var(--xheader-ease),clip-path .62s var(--xheader-ease),opacity .42s ease,visibility 0s;
}
.xheader-search-panel *{box-sizing:border-box}
.xheader-search-inner{
 width:min(100% - clamp(32px,8vw,128px),1300px);margin:0 auto;
 padding:clamp(26px,3.8vw,55px) 0 clamp(25px,3vw,43px);
 font-family:var(--athrty-ui-font,Manrope,system-ui,sans-serif);
}
.xheader-search-heading{display:flex;align-items:start;justify-content:space-between;gap:22px;margin-bottom:28px}
.xheader-search-title{display:grid;gap:9px}
.xheader-kicker,.xheader-block-label{color:var(--xheader-accent);font:750 10px/1.4 var(--athrty-ui-font,Manrope,sans-serif);letter-spacing:.18em}
.xheader-search-title h2{font:600 clamp(32px,4.5vw,57px)/1.06 var(--athrty-heading-font,Manrope,sans-serif)!important;letter-spacing:-.068em!important;color:var(--xheader-ink)!important;margin:0}
.xheader-search-close{
 display:inline-flex;align-items:center;gap:10px;min-height:44px;
 border:1px solid var(--xheader-line)!important;background:rgba(255,255,255,.03)!important;
 color:var(--xheader-ink)!important;padding:10px 14px!important;border-radius:13px!important;
 font-size:12px;font-weight:680;
}
.xheader-search-close:hover{background:rgba(170,218,225,.11)!important}
.xheader-search-close svg{display:block}
.xheader-search-compose{
 display:flex;align-items:center;gap:17px;min-width:0;min-height:72px;
 padding:0 clamp(16px,2.3vw,27px);
 border:1px solid rgba(171,215,224,.39);
 background:linear-gradient(110deg,rgba(157,207,217,.105),rgba(255,255,255,.035));
 border-radius:17px;box-shadow:inset 0 1px rgba(255,255,255,.05);
 transition:border-color .2s ease,background .2s ease;
}
.xheader-search-compose:focus-within{border-color:var(--xheader-accent);background:rgba(162,204,213,.13)}
.xheader-search-compose>svg{flex:0 0 auto;color:var(--xheader-accent)}
.xheader-search-input,
:root body .xheader-search-panel .xheader-search-input{
 display:block;width:100%;min-width:0;flex:1;min-height:68px;max-width:none!important;
 margin:0!important;padding:0!important;background:transparent!important;color:var(--xheader-ink)!important;
 border:0!important;border-radius:0!important;box-shadow:none!important;outline:0!important;
 font:500 clamp(15px,1.5vw,19px)/1.3 var(--athrty-ui-font,Manrope,system-ui,sans-serif)!important;
}
.xheader-search-input::placeholder{color:#8fa3ab!important;opacity:1}
.xheader-search-hint{flex:none;color:#a4b8c0;font:650 10px/1 monospace;padding:8px 9px;border-radius:7px;border:1px solid var(--xheader-line)}
.xheader-search-sections{display:grid;gap:20px;padding-top:26px}
.xheader-search-filter-head{display:flex;align-items:center;flex-wrap:wrap;gap:15px}
.xheader-search-filters{display:flex;flex-wrap:wrap;gap:6px}
.xheader-filter{
 min-height:38px;padding:9px 14px!important;border:1px solid transparent!important;
 border-radius:99px!important;background:transparent!important;color:var(--xheader-dim)!important;
 font-size:12px;font-weight:650;cursor:pointer;
}
.xheader-filter[aria-pressed=true]{color:#122127!important;background:#c1e3e7!important}
.xheader-filter:hover:not([aria-pressed=true]){background:rgba(208,237,240,.09)!important;color:white!important}
.xheader-search-count{margin:0 0 0 auto;font-size:11px;color:var(--xheader-dim)}
.xheader-search-quick{display:grid;gap:15px}
.xheader-search-tiles{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
.xheader-tile,.xheader-result{
 position:relative;display:flex!important;align-items:center;text-align:left;text-decoration:none!important;
 color:var(--xheader-ink)!important;cursor:pointer;
 border:1px solid var(--xheader-line)!important;box-shadow:none!important;
 background:rgba(181,222,234,.035)!important;
 transition:background .2s ease,border-color .2s ease,transform .2s var(--xheader-ease);
}
.xheader-tile{min-height:120px;gap:16px;border-radius:17px!important;padding:20px!important}
.xheader-tile:hover,.xheader-result:hover,.xheader-tile:focus-visible,.xheader-result:focus-visible{
 background:rgba(159,207,216,.11)!important;border-color:rgba(177,221,229,.48)!important;transform:translateY(-2px);
}
.xheader-item-icon{width:43px;height:43px;flex:0 0 43px;display:grid;place-items:center;
 border-radius:13px;border:1px solid rgba(164,210,220,.26);background:rgba(163,207,213,.085);color:var(--xheader-accent)}
.xheader-item-icon svg{display:block}
.xheader-item-copy{display:grid;gap:7px;min-width:0}
.xheader-item-copy strong{font-size:16px;font-weight:700;line-height:1.25;letter-spacing:-.037em;color:var(--xheader-ink)}
.xheader-item-copy small{font-size:12px;line-height:1.48;color:var(--xheader-dim);font-weight:450}
.xheader-search-results{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px;padding-bottom:4px}
.xheader-result{gap:14px;min-height:77px;border-radius:13px!important;padding:13px 15px!important}
.xheader-result .xheader-item-icon{width:36px;height:36px;flex-basis:36px;border-radius:10px}
.xheader-result .xheader-item-copy{flex:1}
.xheader-result .xheader-item-copy strong{font-size:14px}
.xheader-result .xheader-item-copy small{font-size:11px}
.xheader-result>svg{color:var(--xheader-accent);margin-left:auto;flex:none}
.xheader-search-empty{padding:30px 0;grid-column:1/-1}
.xheader-search-empty strong{font-size:16px}
.xheader-search-empty p{font-size:12px;color:var(--xheader-dim)}
.xheader-search-foot{display:flex;justify-content:space-between;gap:16px;flex-wrap:wrap;
 margin-top:25px;border-top:1px solid var(--xheader-line);padding-top:15px;
 color:var(--xheader-dim);font-size:10px;line-height:1.5}
.xheader-search-panel :is(a,button,input):focus-visible{outline:2px solid #c9f0ed!important;outline-offset:3px}
@media(max-width:860px){
 .xheader-search-inner{width:calc(100% - 42px)}
 .xheader-search-tiles{grid-template-columns:repeat(2,minmax(0,1fr))}
 .xheader-search-results{grid-template-columns:minmax(0,1fr)}
 .xheader-search-panel{max-height:calc(100dvh - var(--header-height,64px))}
}
@media(max-width:540px){
 :root body .global-header{padding:0 16px!important;gap:8px!important}
 :root body .global-header .global-actions{gap:7px!important}
 :root body .global-header .global-actions :is(#search-button,#drawer-open){width:44px!important;height:44px!important;min-width:44px!important;min-height:44px!important;border-radius:12px!important}
 :root body .global-header .wordmark{font-size:21px!important}
 :root body .global-header .wordmark span{font-size:7px;letter-spacing:.11em}
 .xheader-search-inner{width:calc(100% - 30px);padding:22px 0 26px}
 .xheader-search-heading{margin-bottom:19px}
 .xheader-search-title h2{font-size:33px!important}
 .xheader-search-close{font-size:0!important;gap:0!important;padding:10px!important;width:44px;height:44px}
 .xheader-search-compose{min-height:61px;border-radius:13px;gap:10px;padding:0 15px}
 :root body .xheader-search-panel .xheader-search-input{min-height:59px;font-size:14px!important}
 .xheader-search-tiles{gap:8px}
 .xheader-tile{min-height:99px;gap:11px;align-items:flex-start;flex-direction:column;padding:14px!important;border-radius:13px!important}
 .xheader-tile .xheader-item-icon{width:34px;height:34px;flex-basis:34px;border-radius:10px}
 .xheader-tile .xheader-item-copy strong{font-size:13px}
 .xheader-tile .xheader-item-copy small{display:none}
 .xheader-search-results .xheader-result{min-height:67px;padding:10px 12px!important}
 .xheader-search-count{margin-left:0}
 .xheader-search-filter-head{gap:7px}
 .xheader-filter{padding:8px 11px!important;min-height:36px}
 .xheader-search-foot{display:none}
}
@media(prefers-reduced-motion:reduce){
 .xheader-search-panel,.xheader-search-scrim,.xheader-search-panel *,
 .x1113-nav-panel .xheader-profile-toggle,.x1113-nav-panel .xheader-profile-toggle *{
  animation:none!important;transition:none!important;transform:none!important;
 }
}