html,body{height:100%;overflow:hidden!important}body{height:100svh;min-height:0}.masthead{flex:0 0 auto;padding-block:16px;z-index:5;background:color-mix(in srgb,var(--landing-bg) 80%,transparent)}body>main{width:100%;max-width:none;margin:0;padding:0;flex:1;min-height:0;display:flex;flex-direction:column}.intro{flex:0 0 auto;margin:0!important;padding:22px 20px 18px;text-align:center}.intro h1{font-size:clamp(20px,2.1vw,30px);margin:10px 0}.intro .eyebrow{font-size:9px}.intro>p{font-size:14px}.intro .interaction-hint{margin-top:12px;font-size:11px}.shell-stage{position:relative;flex:1;min-height:0;overflow:hidden}.shell-track{width:200%;height:100%;display:flex;transform:translateX(0);transition:transform 480ms cubic-bezier(.22,.75,.2,1);will-change:transform}.shell-stage.is-tool .shell-track{transform:translateX(-50%)}.shell-pane{flex:0 0 50%;width:50%;min-width:0;height:100%;overflow:hidden}.shell-hub{overflow-y:auto;overscroll-behavior:contain;scrollbar-width:thin;touch-action:pan-y}.shell-hub .destinations{max-width:1440px;width:92%;margin:0 auto;padding:8px 0 50px}.shell-hub .destination{min-height:345px}.shell-tool{display:flex;flex-direction:column;padding:0 3%;gap:0}.shell-toolbar{display:flex;gap:15px;align-items:center;flex:0 0 auto;min-height:54px;border-block:1px solid color-mix(in srgb,var(--cyan) 16%,transparent);padding:8px 0}.shell-back{border:1px solid color-mix(in srgb,var(--cyan) 25%,transparent);border-radius:3px;background:rgba(7,18,29,.6);color:var(--cyan);font:10px Orbitron,sans-serif;padding:10px 12px;cursor:pointer;white-space:nowrap}.shell-back:hover{color:var(--orange);border-color:var(--orange)}.shell-tool-title{font:500 12px Orbitron,sans-serif;letter-spacing:.07em;margin:0;color:var(--ink)}.shell-selector{margin-left:auto;max-width:200px;background:rgba(7,18,29,.7);color:var(--ink);border:1px solid color-mix(in srgb,var(--cyan) 20%,transparent);border-radius:3px;padding:8px;font:12px Rajdhani,Arial,sans-serif}.shell-frame{display:block;width:100%;border:0;flex:1;min-height:0;background:transparent}.shell-loading{font:12px Rajdhani,Arial,sans-serif;color:var(--muted);margin-left:auto}.shell-loading[hidden]{display:none}.shell-header-actions{display:flex;align-items:center;gap:14px}.shell-connection{display:flex;flex-direction:column;gap:4px;font:10px Rajdhani,Arial,sans-serif;color:var(--muted);max-width:220px}.shell-connection span{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.shell-sync{font:10px Rajdhani,Arial,sans-serif;color:var(--cyan);border:0;background:transparent;padding:0;text-align:left;cursor:pointer}.shell-sync:disabled{opacity:.45;cursor:default}body>footer{flex:0 0 auto;padding-block:12px;font-size:9px}.shell-pane[inert]{pointer-events:none}button:focus-visible,select:focus-visible{outline:2px solid var(--orange);outline-offset:3px}@media(max-width:800px){.shell-connection{display:none}.masthead{padding-block:12px}.intro{padding:15px 16px 12px}.intro .interaction-hint{display:none}.shell-tool{padding-inline:12px}.shell-hub .destination{min-height:330px}.shell-tool-title{font-size:10px}.shell-selector{max-width:145px}.shell-loading{display:none}body>footer .disclaimer{display:none}body>footer{padding-block:8px}.shell-hub .destinations{padding-bottom:24px}.intro .eyebrow{font-size:8px}.intro>p{font-size:12px}.shell-header-actions{gap:8px}}@media(max-width:450px){.intro>p{display:none}.intro h1{font-size:20px}.shell-selector{max-width:132px}.shell-tool-title{display:none}.shell-hub .destination h2{font-size:clamp(18px,5.8vw,25px)}}@media(prefers-reduced-motion:reduce){.shell-track{transition:none;will-change:auto}}

.shell-tool{padding-inline:clamp(12px,3vw,48px)}

/* Layered console tabs: curved shoulders grow out of one shared rail. */
.tool-open .masthead{display:grid;grid-template-columns:auto minmax(0,1fr) auto;gap:24px;align-items:center}
.shell-tabs{position:relative;display:flex;justify-content:center;align-items:flex-end;min-width:0;gap:0;padding:6px 18px 0 0;isolation:isolate}
.shell-tabs[hidden]{display:none}
.shell-tabs::after{content:'';position:absolute;bottom:0;left:0;right:0;height:2px;background:linear-gradient(90deg,transparent,#24516a 8%,#24516a 92%,transparent);z-index:12;pointer-events:none}
.shell-tab{position:relative;display:flex;align-items:center;justify-content:center;gap:6px;flex:0 1 auto;min-width:0;height:30px;padding:0 23px 0 14px;margin:0 -12px 0 0;white-space:nowrap;text-decoration:none;color:#718d9e;font:600 11px Rajdhani,Arial,sans-serif;transition:color .2s,height .2s;z-index:1}
.shell-tab::before{content:'';position:absolute;inset:0 -6px 0 0;z-index:-1;background:linear-gradient(180deg,#102b3c,#081724);border-top:1px solid #284558;clip-path:shape(from 0% 100%,line to 0% 14%,curve to 5% 0% with 0% 0%,line to 65% 0%,curve to 87% 63% with 78% 0% / 78% 48%,curve to 100% 100% with 94% 90%,close)}
.shell-tab svg{width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:1.3;flex:none}
.shell-tab:hover{color:#c1dbe5;z-index:8}
.shell-tab:hover::before{background:linear-gradient(180deg,#19445a,#0b2030)}
.shell-tab[aria-current="page"]{height:36px;color:#d8f4fc;z-index:10}
.shell-tab[aria-current="page"]::before{background:linear-gradient(180deg,#17738e 0%,#15516d 48%,#102b3e 100%);border-top-color:#58b7cd}
.shell-tab:focus-visible{outline:0;color:#fff}
.shell-tab:focus-visible::after{content:'';position:absolute;bottom:3px;left:12px;right:24px;height:2px;background:#e7bc66}
@supports not (clip-path:shape(from 0% 100%,line to 0% 0%,close)){.shell-tab::before{clip-path:polygon(0 0,65% 0,82% 65%,100% 100%,0 100%);border-radius:5px 24px 0 0}}
@media(max-width:1700px){.tool-open .shell-connection{display:none}.tool-open .masthead{gap:14px}.shell-tab{font-size:10px;gap:4px;padding-left:12px;padding-right:22px}}
@media(max-width:1250px){.shell-tab span{display:none}.shell-tab{width:48px;flex:none;padding:0 18px 0 8px}.shell-tab svg{width:19px;height:19px}}
@media(max-width:650px){.tool-open .masthead{grid-template-columns:1fr auto;gap:8px;padding-bottom:0}.tool-open .shell-tabs{grid-column:1/-1;grid-row:2;width:100%;padding-top:3px;padding-right:12px}.shell-tab{flex:1;width:auto;max-width:52px;min-width:0;padding-left:6px;padding-right:16px;margin-right:-9px;height:32px}.shell-tab[aria-current="page"]{height:38px}.shell-tab svg{width:18px;height:18px}.tool-open .shell-header-actions{grid-column:2;grid-row:1}.tool-open .identity{grid-column:1;grid-row:1}}
@media(prefers-reduced-motion:reduce){.shell-tab{transition:none}}
/* Restore the original site's flat navigation buttons. */
.shell-tabs{gap:5px;padding:0;align-items:center}
.shell-tabs::after,.shell-tab::before,.shell-tab::after{display:none}
.shell-tab,.shell-tab[aria-current="page"]{height:34px;min-height:34px;margin:0;padding:7px 10px;border:1px solid transparent;border-radius:3px;background:transparent;box-shadow:none;color:rgba(226,240,248,.78);font-size:11px;letter-spacing:.07em;z-index:auto}
.shell-tab:hover,.shell-tab:focus-visible{color:#8edfff;background:rgba(72,182,255,.09);border-color:rgba(76,185,230,.25)}
.shell-tab[aria-current="page"]{color:#ffd08a;background:rgba(244,157,55,.12);border-color:rgba(244,157,55,.34);box-shadow:inset 0 -2px 0 #f4a34c}
.shell-tab:focus-visible{outline:1px solid #8edfff;outline-offset:2px}
@media(max-width:1250px){.shell-tab,.shell-tab[aria-current="page"]{width:36px;padding:7px;flex:none}}
@media(max-width:650px){.tool-open .shell-tabs{padding:0 0 8px;gap:2px}.shell-tab,.shell-tab[aria-current="page"]{flex:1;width:auto;min-width:0;max-width:42px;padding:7px 4px;margin:0}}
/* Original rounded control shape. */
.shell-tab,.shell-tab[aria-current="page"]{border-radius:999px;border-color:rgba(112,157,181,.22);background:linear-gradient(180deg,rgba(26,43,57,.42),rgba(8,17,27,.3));box-shadow:inset 0 1px 0 rgba(187,220,238,.04)}
.shell-tab:hover,.shell-tab:focus-visible{background:rgba(72,182,255,.09);border-color:rgba(76,185,230,.35)}
.shell-tab[aria-current="page"]{background:rgba(244,157,55,.1);border-color:rgba(244,157,55,.4);box-shadow:inset 0 0 10px rgba(244,157,55,.06)}

.shell-construction{color:#ffbe69;background:#a66f2022;border:1px solid #b68b4a66;border-radius:5px;padding:5px 10px;font-size:11px;margin-left:auto}
.shell-construction[hidden]{display:none}
.construction-badge{position:absolute;top:12px;right:12px;color:#ffbe69;border:1px solid #bc8c4477;border-radius:4px;background:#111c29e8;padding:5px 8px;font-size:10px;z-index:3;letter-spacing:.04em}
.extension-construction{color:#efb65f!important;font-size:10px}
.shell-loading:not([hidden]){display:flex;align-items:center;gap:8px;padding:6px 12px;color:#f5bf72;background:#142536;border:1px solid #58809866;border-radius:5px}
.shell-loading:not([hidden])::before{content:'';width:12px;height:12px;border:2px solid #59758b55;border-top-color:#efb65f;border-radius:50%;animation:shell-loader-spin 1s linear infinite}
@keyframes shell-loader-spin{to{transform:rotate(360deg)}}
@media(prefers-reduced-motion:reduce){.shell-loading::before{animation:none!important}}
@media(max-width:700px){.shell-construction{font-size:10px;max-width:170px}.construction-badge{font-size:9px;padding:4px 6px}}

/* Caution markings retain clear, readable notice text. */
.shell-construction,.construction-badge,.extension-construction{position:relative;padding-bottom:10px;border-color:#e9b72e!important}
.shell-construction::after,.construction-badge::after,.extension-construction::after{content:"";position:absolute;bottom:0;left:0;right:0;height:5px;background:repeating-linear-gradient(135deg,#f4c430 0 7px,#11151a 7px 14px);pointer-events:none}
.construction-badge{position:absolute}
.extension-construction{display:inline-block;padding:3px 6px 9px;background:#161a20;border-radius:3px}

/* Integrate the salute artwork into the masthead instead of a miniature poster. */
.masthead .identity{gap:8px;min-height:46px;white-space:nowrap;isolation:isolate}
.masthead .identity img{width:58px;height:46px;object-fit:cover;object-position:78% 36%;mix-blend-mode:screen;mask-image:linear-gradient(90deg,transparent,#000 15%,#000 75%,transparent);filter:drop-shadow(0 0 5px #22788b55);flex:none}
.masthead .identity>span{line-height:1.1;letter-spacing:.06em}
@media(max-width:580px){.masthead .identity img{width:46px;height:38px}.masthead .identity{gap:5px;min-height:38px}}

/* Full-height brand panel: the artwork itself supplies the wordmark. */
.masthead{padding-left:0}
.masthead .identity{position:relative;display:block;align-self:stretch;width:clamp(280px,24vw,440px);min-height:88px;margin-block:-16px;overflow:hidden;flex:none;gap:0}
.masthead .identity img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:center 43%;mix-blend-mode:screen;filter:none;mask-image:linear-gradient(90deg,#000 0%,#000 75%,transparent 100%)}
.masthead .identity>span{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
.tool-open .masthead .identity{width:clamp(240px,20vw,350px)}
@media(max-width:800px){.masthead .identity{width:260px;min-height:78px;margin-block:-12px}}
@media(max-width:650px){.tool-open .masthead .identity{grid-column:1;grid-row:1;width:230px;min-height:70px;margin-block:-12px 0}}
@media(max-width:450px){.masthead .identity,.tool-open .masthead .identity{width:200px;min-height:70px}.masthead{gap:8px;padding-right:12px}}

/* Navigation should reveal the tool shell promptly, independent of data loading. */
.shell-track{transition-duration:160ms}

/* Extension connection belongs in the masthead, with retrieval guidance. */
#shell-extension-status.is-disconnected{color:#ff626d!important}
.shell-sync{position:relative;overflow:visible}
.shell-sync::before{content:"➜";position:absolute;right:calc(100% + 8px);top:50%;font-size:23px;color:#ffb449;line-height:1;animation:c7-retrieve-arrow 1.2s ease-in-out infinite;pointer-events:none}
@keyframes c7-retrieve-arrow{0%,100%{transform:translate(-7px,-50%);opacity:.55}50%{transform:translate(0,-50%);opacity:1}}
.tool-open .shell-connection,.shell-connection{display:flex!important;overflow:visible}
@media(max-width:650px){.shell-connection{font-size:8px;max-width:145px}.shell-header-actions{gap:4px}}
@media(prefers-reduced-motion:reduce){.shell-sync::before{animation:none;transform:translateY(-50%)}}

@media(max-width:760px){
 body[data-active-tool="starmap"]{height:100dvh!important;overflow:hidden}
 body[data-active-tool="starmap"] .shell-header{padding:5px 10px!important;min-height:0!important}
 body[data-active-tool="starmap"] .shell-toolbar{min-height:34px!important;padding:3px 10px!important;gap:8px!important}
 body[data-active-tool="starmap"] .shell-construction{font-size:0!important;width:20px!important;min-height:20px!important;padding:0!important;flex:0 0 20px;overflow:hidden}
 body[data-active-tool="starmap"] .shell-construction::before{content:'!';font-size:12px;display:grid;place-items:center;height:18px;color:#ffd65a}
 body[data-active-tool="starmap"] .shell-connection{font-size:8px!important;line-height:1.3!important}
 body[data-active-tool="starmap"] .extension-construction{display:none!important}
 body[data-active-tool="starmap"] .shell-stage{min-height:0!important;flex:1!important}
}

@media(max-width:760px){
 body[data-active-tool="starmap"] .masthead{padding:4px 8px!important;gap:4px 12px!important}
 body[data-active-tool="starmap"] .masthead .identity{width:145px!important;min-height:44px!important;margin:0!important}
 body[data-active-tool="starmap"] .shell-tabs{padding:2px 0 3px!important}
 body[data-active-tool="starmap"] .shell-tool{padding-inline:4px!important}
 body[data-active-tool="starmap"]>footer{padding-block:2px!important}
 body[data-active-tool="starmap"] .shell-construction{font-size:9px!important;width:auto!important;flex:0 1 auto;max-width:110px;height:22px;padding:4px!important;white-space:nowrap;text-overflow:ellipsis}
 body[data-active-tool="starmap"] .shell-construction::before{display:none}
}
@media(max-width:960px) and (max-height:500px){body[data-active-tool="starmap"] .masthead{padding:0 8px!important;min-height:38px!important;display:flex!important;gap:10px!important}body[data-active-tool="starmap"] .masthead .identity,body[data-active-tool="starmap"] .shell-header-actions{display:none!important}body[data-active-tool="starmap"] .shell-tabs{width:100%!important;padding:0!important}body[data-active-tool="starmap"] .shell-toolbar{min-height:28px!important;padding:1px 6px!important}body[data-active-tool="starmap"]>footer{display:none!important}}

/* Extension details are opt-in, anchored to the retrieval controls. */
.shell-retrieve-controls{display:flex;align-items:center;gap:8px;position:relative}
html body .shell-extension-status-icon{position:relative;display:grid;place-items:center;width:30px;height:30px;flex:0 0 30px;padding:5px;border:1px solid #67889b66;border-radius:8px;background:#0a1723;color:#9aafbd;cursor:pointer;touch-action:manipulation}
.shell-extension-status-icon svg,.shell-extension-status-details svg{width:19px;height:19px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
.shell-extension-status-dot{position:absolute;right:3px;bottom:3px;width:5px;height:5px;border-radius:50%;background:currentColor}
html body .shell-extension-status-icon[data-status="connected"]{color:#70dba3;border-color:#70dba366}
html body .shell-extension-status-icon[data-status="busy"]{color:#ffce66;border-color:#ffce6699;box-shadow:0 0 0 2px #ffce6618}
html body .shell-extension-status-icon[data-status="error"]{color:#ff818b;border-color:#ff818b99}
html body .shell-extension-status-icon[aria-expanded="true"]{background:#183042;border-color:currentColor}
.shell-extension-status-details{position:fixed;top:var(--rsx-extension-dock-top,80px);right:var(--rsx-extension-dock-right,12px);z-index:2147483647;width:min(330px,calc(100vw - 20px));box-sizing:border-box;padding:16px 44px 16px 16px;border:1px solid #446980;border-radius:10px;background:#0b1727;color:#d8edf5;font:12px/1.6 Orbitron,sans-serif;box-shadow:0 12px 30px #0009}
.shell-extension-status-details[hidden]{display:none!important}.shell-extension-status-details strong{font-size:11px;color:#92d9ed}.shell-extension-status-details p{font-size:10px;margin:8px 0 0}.shell-extension-status-details>button{position:absolute;top:8px;right:8px;width:30px;height:30px;display:grid;place-items:center;border:0;background:transparent;color:#d8edf5;cursor:pointer}
html #rsi-host-overlay{display:none!important}
html.rsx-extension-details-open #rsi-host-overlay{display:block!important;pointer-events:none!important}
html #rsi-host-overlay #rsi-overlay-bubble,html #rsi-host-overlay .rsi-overlay-backdrop{display:none!important}
html.rsx-extension-details-open #rsi-host-overlay .rsi-overlay-panel{position:fixed!important;inset:auto!important;top:var(--rsx-extension-dock-top,80px)!important;right:var(--rsx-extension-dock-right,12px)!important;left:auto!important;bottom:auto!important;transform:none!important;width:min(420px,calc(100vw - 20px))!important;max-height:60dvh!important;box-sizing:border-box!important;overflow:auto!important;pointer-events:auto!important}
@media(max-width:760px){html body .shell-extension-status-icon{width:36px;height:36px;flex-basis:36px}.shell-retrieve-controls{gap:5px}}
