.desktop-hub{display:none}
@media(min-width:1024px){
 body.desktop-hub-enabled{padding-right:88px}
 body.desktop-hub-enabled header #nav,body.desktop-hub-enabled header .menu,body.desktop-hub-enabled header .auth-nav{display:none!important}
 body.desktop-hub-enabled header .navigation{min-height:78px;gap:20px;padding-block:8px}
 body.desktop-hub-enabled header .header-contact-status{margin-left:auto}
 .dn-expanded .dn-item>.dn-label,.dn-expanded .dn-quick .dn-label{flex:1;min-width:0;text-align:left;overflow:hidden;text-overflow:ellipsis}
 .dn-expanded .dn-item>.dn-chevron{flex:0 0 auto}

 .desktop-hub{--dn-width:70px;display:flex;flex-direction:column;position:fixed;right:10px;top:12px;bottom:12px;width:var(--dn-width);z-index:65;border-radius:22px;border:1px solid #fff3;background:radial-gradient(ellipse at 100% 10%,#e6c65718,transparent 50%),linear-gradient(135deg,#25262ce8,#090a0eeb 65%,#1b1810ee);color:#fff;backdrop-filter:blur(18px);box-shadow:inset 1px 1px #fff2,inset -1px -1px #c7ab5b40,-8px 16px 45px #0007;transition:width .28s cubic-bezier(.2,.8,.2,1),box-shadow .28s;isolation:isolate;overflow:hidden}
 .desktop-hub:before{content:'';position:absolute;inset:-20%;background:radial-gradient(ellipse at 20% 20%,#e1c46014,transparent 45%),radial-gradient(ellipse at 80% 60%,#fff09,transparent 35%);pointer-events:none;z-index:-1;animation:dn-atmosphere 14s ease-in-out infinite alternate;will-change:transform}
 .desktop-hub.dn-expanded{--dn-width:286px;box-shadow:inset 1px 1px #fff3,inset -1px -1px #c7ab5b50,-14px 24px 70px #000a}
 /* The toggle and icons stay anchored to the right as the panel opens inward. */
 .dn-brand{display:flex;align-items:center;position:relative;height:80px;flex:0 0 80px;padding:12px;overflow:hidden;border-bottom:1px solid #ffffff16}
 .dn-brand>a{position:absolute;left:14px;top:11px;width:180px;height:58px;opacity:0;visibility:hidden;pointer-events:none;transform:translateX(7px);transition:opacity .2s,transform .25s,visibility .2s}
 .dn-full-logo{display:block;width:180px;height:58px;object-fit:contain;object-position:center}
 .dn-expanded .dn-brand>a{opacity:1;visibility:visible;pointer-events:auto;transform:none}
 .dn-toggle{position:absolute;right:13px;top:23px;width:42px;height:34px;border:1px solid #fff3;border-radius:10px;background:linear-gradient(135deg,#ffffff15,#d2b24d10);color:#ead57b;display:flex;align-items:center;justify-content:center;cursor:pointer}.dn-toggle svg{width:19px;height:19px;transform:rotate(180deg);transition:transform .25s}.dn-expanded .dn-toggle svg{transform:none}
 .dn-label{opacity:0;pointer-events:none;transition:opacity .18s,transform .2s;white-space:nowrap;transform:translateX(5px)}.dn-expanded .dn-label{opacity:1;pointer-events:auto;transform:none}
 .dn-status{display:flex;flex-direction:row-reverse;gap:14px;align-items:center;height:51px;flex:0 0 51px;padding:7px 25px;overflow:hidden}.dn-status>i{width:9px;height:9px;flex:0 0 9px;background:#e9cd79;border-radius:50%;box-shadow:0 0 0 4px #dac15c12}.dn-status.dn-open>i{background:#ffe31b;animation:dn-status-pulse 3s ease-in-out infinite}.dn-status strong{display:block;font-size:12px;line-height:1.6}.dn-status small{display:block;font-size:10px;color:#d2d3d8;line-height:1.4}
 .dn-quick{display:grid;grid-template-columns:minmax(0,1fr);gap:4px;padding:6px 10px 10px;border-bottom:1px solid #ffffff16}.dn-quick>a,.dn-quick>button{border:1px solid #fff2;background:linear-gradient(135deg,#fff1,#cdb05c08);color:#e7d490;border-radius:9px;min-height:34px;display:flex;align-items:center;justify-content:flex-start;flex-direction:row-reverse;padding:7px 12px;gap:14px;font:inherit;overflow:hidden;cursor:pointer}.dn-quick svg{width:20px;height:20px;flex:0 0 20px}.dn-quick .dn-label{font-size:11px}
 #desktop-hub-nav{position:relative;display:block;min-height:0;flex:1;overflow-y:auto;overflow-x:hidden;padding:10px 10px 12px;scrollbar-width:thin;scrollbar-color:#d7bc6b60 transparent;overscroll-behavior:contain}
 .dn-item{position:relative;display:flex;flex-direction:row-reverse;align-items:center;gap:14px;min-height:40px;width:100%;padding:8px 12px;margin:3px 0;border-radius:11px;border:1px solid #ffffff0f;color:#e6e7ea;background:linear-gradient(115deg,#ffffff08,#ffffff02);font:inherit;font-size:12px;text-align:left;cursor:pointer;overflow:hidden;transition:border-color .2s,background .2s,box-shadow .2s;color:#e6e7ea}
 .dn-item svg{width:20px;height:20px;flex:0 0 20px;color:#ddd6b9;transition:color .2s,transform .2s}.dn-item:before{content:'';position:absolute;inset:-20%;background:linear-gradient(110deg,transparent 35%,#ffffff17 49%,transparent 62%);transform:translateX(-120%);pointer-events:none}.dn-item:hover:before{animation:dn-gloss .65s ease-out}.dn-item:hover{border-color:#d5bd6866;background:linear-gradient(115deg,#e6cc6920,#ffffff08);box-shadow:inset 0 1px #fff2,0 4px 12px #0004;color:#fff}.dn-item:hover svg{color:#ffe31b;transform:translateY(-1px)}.dn-item:active{box-shadow:inset 0 0 18px #edd46935;background:#d3b54b22}.dn-item:active svg{transform:scale(.94)}
 .dn-item.dn-current{background:linear-gradient(110deg,#ffe31b26,#c8a44b15);border-color:#edda8870;color:#fff;box-shadow:inset 0 1px #fff3,0 0 18px #e1c25812}.dn-current svg{color:#ffe31b}
 .dn-active-marker{position:absolute;right:3px;top:0;width:3px;border-radius:4px;background:linear-gradient(#fff2b9,#ffe31b,#ad8b30);box-shadow:0 0 10px #ffe31b80;transition:transform .25s cubic-bezier(.2,.8,.2,1),height .2s;pointer-events:none;z-index:1}.dn-active-marker[hidden]{display:none}
 .dn-group{padding-top:6px;margin-top:6px;border-top:1px solid #ffffff16}.dn-group-toggle{font-size:11px;color:#e7d79a}.dn-chevron{margin-left:auto;transition:transform .2s}.dn-group-open .dn-chevron{transform:rotate(180deg)}.dn-group-panel{display:grid;grid-template-rows:0fr;opacity:0;transition:grid-template-rows .2s,opacity .2s}.dn-group-panel>div{min-height:0;overflow:hidden}.dn-expanded .dn-group-open .dn-group-panel{grid-template-rows:1fr;opacity:1}.dn-group-panel .dn-item{background:#ffffff03;padding-right:12px;font-size:11px}.dn-group-panel .dn-item svg{width:17px;height:17px;flex-basis:17px}
 .dn-account{padding:8px 10px;border-top:1px solid #ffffff20;background:linear-gradient(100deg,#fff06,#cdb56106);flex-shrink:0}.dn-account .dn-item{font-size:12px;margin:3px 0}.dn-admin #dn-admin{background:linear-gradient(150deg,#bba25f09,transparent);border-radius:12px}
 .dn-scroll{position:absolute;left:2px;top:100px;bottom:15px;width:2px;background:#fff1;pointer-events:none}.dn-scroll i{display:block;width:100%;height:100%;transform-origin:top;transform:scaleY(0);background:linear-gradient(#fff4b9,#e3c962,#ffe31b);box-shadow:0 0 6px #e8cf6280}
 .desktop-hub a:focus-visible,.desktop-hub button:focus-visible{outline:2px solid #ffe31b;outline-offset:-2px}.desktop-hub button:disabled{opacity:.55;cursor:wait}
 .dn-call-dialog{position:fixed;inset:0;margin:auto;width:min(380px,90vw);max-height:85dvh;overflow:auto;padding:30px;border:1px solid #e8d17a70;border-radius:22px;background:linear-gradient(135deg,#292a2e,#090a0d);color:#fff;box-shadow:0 24px 90px #0009}.dn-call-dialog::backdrop{background:#0009;backdrop-filter:blur(4px)}.dn-call-dialog h2{font-size:26px;margin-bottom:20px}.dn-call-dialog p{font-size:12px;margin:16px 0 5px;color:#e7d593}.dn-call-dialog>a{display:flex;align-items:center;min-height:44px;padding:10px;border:1px solid #ffffff26;border-radius:10px;margin:5px 0}.dn-call-dialog small{display:block;color:#d5d7dc;margin-top:15px}.dn-call-close{position:absolute;right:12px;top:10px;width:34px;height:34px;border:0;border-radius:9px;background:#fff1;color:#fff;font-size:22px}
 .dn-arrival{animation:dn-arrive .4s cubic-bezier(.2,.8,.2,1) both}.dn-departure{animation:dn-leave .13s ease-out both}
 html[data-a11y-contrast=high] .desktop-hub,html[data-a11y-contrast=high] .dn-call-dialog{background:#050505;border-color:#fff;backdrop-filter:none}html[data-a11y-contrast=high] .dn-item{color:#fff;border-color:#fff6}
 @keyframes dn-atmosphere{to{transform:translate3d(12%,8%,0)}}@keyframes dn-status-pulse{50%{box-shadow:0 0 0 5px #e9cf4d10,0 0 9px #ffe31b50}}@keyframes dn-gloss{to{transform:translateX(120%)}}@keyframes dn-arrive{from{opacity:.7;transform:translateX(6px)}to{opacity:1;transform:none}}@keyframes dn-leave{to{opacity:.7;transform:translateX(-4px)}}
}
@media(min-width:1024px) and (max-height:650px){.dn-brand{height:80px;flex-basis:80px}.dn-status{height:42px;flex-basis:42px}.dn-item{min-height:36px}.dn-quick{padding-bottom:8px}}
@media(prefers-reduced-motion:reduce){.desktop-hub,.desktop-hub *, .desktop-hub:before,.dn-arrival,.dn-departure{animation:none!important;transition:none!important}.dn-arrival,.dn-departure{transform:none!important;opacity:1!important}}
@media print{.desktop-hub{display:none!important}body.desktop-hub-enabled{padding-right:0!important}}
/* Desktop header and rail alignment refinement. Mobile remains outside this scope. */
@media(min-width:1024px){
 body.desktop-hub-enabled header .navigation{min-height:80px;padding-block:8px;gap:16px}
 body.desktop-hub-enabled header .logo{width:116px;height:64px;min-height:0;padding:5px 8px;display:flex;align-items:center;justify-content:center;border-radius:14px;box-shadow:none}
 body.desktop-hub-enabled header .logo img{width:auto;max-width:100%;height:100%;object-fit:contain}
 body.desktop-hub-enabled header .header-contact-status{display:flex;align-items:center;gap:10px;margin-left:auto}
 body.desktop-hub-enabled header .header-live{padding:9px 12px;min-height:44px;border-radius:12px}
 body.desktop-hub-enabled header .header-live small{max-width:none;white-space:nowrap;font-size:11px}
 body.desktop-hub-enabled header .after-hours-menu{position:relative;margin:0}
 body.desktop-hub-enabled header .after-hours-menu summary{min-height:44px;display:flex;align-items:center;gap:10px;padding:8px 12px}
 body.desktop-hub-enabled header .button.compact{min-height:44px;padding:9px 18px;border-radius:12px}
 .dn-brand{height:68px;flex-basis:68px;border-bottom-color:#ffffff0d}
 .dn-brand>a{top:5px}.dn-toggle{top:17px}
 /* Hidden labels previously consumed width and displaced the larger raster icons. */
 .desktop-hub:not(.dn-expanded) .dn-label,.desktop-hub:not(.dn-expanded) .dn-chevron{display:none}
 .desktop-hub:not(.dn-expanded) .dn-item,.desktop-hub:not(.dn-expanded) .dn-quick>a,.desktop-hub:not(.dn-expanded) .dn-quick>button{justify-content:center;gap:0;padding-inline:4px}
 .desktop-hub .dn-item>img,.desktop-hub .dn-item>svg{width:24px;height:24px;flex:0 0 24px;object-fit:contain;margin:0;align-self:center}
 .desktop-hub .dn-group-panel .dn-item>img,.desktop-hub .dn-group-panel .dn-item>svg{width:22px;height:22px;flex-basis:22px}
 .dn-expanded .dn-item>.dn-label{display:block}
 .dn-expanded .dn-chevron{margin-left:0;margin-right:auto}
 .desktop-hub:not(.dn-expanded) .dn-status{justify-content:center;padding-inline:0;gap:0}
}

/* One desktop status control; after-hours contacts remain a disclosure. */
@media(min-width:1024px){
 body.desktop-hub-enabled header .after-hours-menu{position:static}
 body.desktop-hub-enabled header .after-hours-menu summary{display:none}
 body.desktop-hub-enabled header .header-contact-status{gap:0}
 body.desktop-hub-enabled header .after-hours-dropdown{top:calc(100% + 8px);right:0}
 body.desktop-hub-enabled header .header-live:not(.is-open){cursor:pointer}
}
