/* Graphite / orbital glass. Functional colors are retained for live map symbols. */
:root{--bg:#101215;--panel:#202328;--line:#ffffff20;--muted:#b4bcc6;--accent:#b7d9f9;color-scheme:dark}
body{background:#101215;color:#f0f2f5;font-family:-apple-system,BlinkMacSystemFont,'Inter',sans-serif;overflow:hidden}h1,h2,h3{font-family:inherit;letter-spacing:-.035em}button,input{font-family:inherit}button{border-radius:12px}button:hover{background:#ffffff16;border-color:#ffffff55}a{color:#c3ddf8}.muted,.eyebrow{color:var(--muted)}.muted{font-size:14px}.eyebrow{font:10px/1.5 Inter,sans-serif;letter-spacing:1.8px}
#map{position:fixed;inset:0;width:100%;height:100dvh;min-height:0;z-index:0;background:#13171d;transition:filter .35s,opacity .35s}body:not([data-module="map"]) #map{filter:blur(12px) brightness(.5);pointer-events:none}.shell{display:block;min-height:0}.shell main{position:relative;z-index:2;pointer-events:none}.shell main>*{pointer-events:auto}
header,#tabs,.glass-tools,.shell>aside,.map-toolbar,.map-foot,.area-note,.view:not(#view-map){background:linear-gradient(135deg,#363b43c9,#191d24dc);border:1px solid #ffffff27;box-shadow:0 12px 40px #0004,inset 0 1px 0 #ffffff12;backdrop-filter:blur(26px) saturate(125%);-webkit-backdrop-filter:blur(26px) saturate(125%)}
header{position:fixed;z-index:6;inset:16px 20px auto;border-radius:24px;height:86px;min-height:0;padding:12px 20px;gap:20px;flex-wrap:nowrap}.brand-orbit{gap:8px}.brand-orbit .black-hole{transform:scale(.8);width:64px;flex-basis:64px}.brand-orbit .brand-wordmark{font:600 23px Inter,sans-serif;letter-spacing:1px}.brand-orbit .brand-wordmark small{font:500 10px/1.5 Inter,sans-serif;letter-spacing:1.4px;color:#c3cad3;max-width:none;margin-top:6px}.brand span{color:#d5dce7}.header-right{order:0;font-size:9px;margin:0}.header-right .local{color:#b3d6c4}.launch-strip{order:0;flex-basis:auto;border-top:0;border-left:1px solid var(--line);padding:0 0 0 16px}.strip-label{display:none}.launch-mini{min-width:130px;padding:5px 12px}.launch-mini:nth-of-type(n+3){display:none}.launch-mini-title{color:#d1d8e1}.launch-mini-time,.launch-mini:first-of-type .launch-mini-time{color:#dbe8f7;background:none;font:500 13px Inter,sans-serif}.header-signals{min-width:0;gap:8px}.header-signal{background:#ffffff06!important;max-width:220px;min-width:130px;border-radius:12px;padding:8px 12px}.header-signal strong{font-size:11px}.header-signal>span{font-size:8px}.header-signal small,.header-signal .rcb-timing{display:none}
#tabs{position:fixed;top:118px;left:50%;transform:translateX(-50%);z-index:7;border-radius:18px;height:52px;padding:6px;gap:3px;max-width:calc(100% - 40px)}#tabs button{border:0;border-image:none;border-radius:12px;padding:0 18px;font-size:12px;color:#c3cbd5}#tabs button.active{color:#fff;background:#ffffff22;box-shadow:inset 0 1px 0 #ffffff25}
.glass-tools{position:fixed;z-index:7;bottom:32px;left:50%;transform:translateX(-50%);border-radius:20px;padding:8px;display:flex;align-items:center;gap:8px;max-width:95vw}.glass-tools button{font-size:12px;white-space:nowrap;padding:11px 14px;border:0}.basemap-switch{display:flex;background:#0003;border-radius:13px;padding:3px}.basemap-switch .selected{background:#ffffff24;color:white;box-shadow:0 2px 8px #0003}#basemap-note{position:absolute;bottom:calc(100% + 8px);left:50%;transform:translateX(-50%);font-size:10px;white-space:nowrap;background:#191d24df;color:#cbd3dc;padding:5px 12px;border-radius:8px}
.shell>aside{position:fixed;z-index:5;top:188px;bottom:115px;width:260px;padding:22px;border-radius:22px;overflow-y:auto;display:none;scrollbar-width:thin}.shell>aside:first-child{left:20px}.shell>aside.intel{right:20px}.layers-open[data-module="map"] .shell>aside:first-child,.intel-open[data-module="map"] .shell>aside.intel{display:flex}.shell>aside h2{font-size:23px;margin:8px 0}.shell>aside>.muted{font-size:12px}.layer{padding:13px 0;font-size:13px}.layer small{font-size:11px;color:#b0bac6}.layer input{width:16px;height:16px}.layer b{font-size:11px}.aside-bottom{padding-top:24px}.orbit-filter input{background:#0003!important;color:white;border-color:#ffffff30!important}.feed small{font-size:10px}.feed-name{font-size:12px}.ok{color:#a9d7bf}
#view-map{display:block;pointer-events:none;min-height:0;padding:0}.map-toolbar{position:fixed;top:188px;left:300px;border-radius:18px;padding:12px 16px;pointer-events:auto;gap:24px}.map-toolbar h1{font:500 18px Inter,sans-serif;margin:4px 0}.map-toolbar .eyebrow{font-size:8px}.presets{margin:0}.presets button{font-size:11px}.area-note{position:fixed;left:20px;bottom:32px;width:260px;font-size:9px;line-height:1.5;padding:10px 12px;border-radius:14px;pointer-events:auto}.map-foot{position:fixed;right:20px;bottom:110px;max-width:260px;display:block;border-radius:14px;font:10px/1.6 Inter,sans-serif;padding:10px 13px;pointer-events:auto}.map-foot #entity-count{display:block;color:#e1e7ee;margin-top:5px}#rcb-summary{display:none}body:not([data-module="map"]) #view-map,body:not([data-module="map"]) .glass-tools{display:none}
.view:not(#view-map){position:fixed;inset:190px max(24px,calc((100vw - 1180px)/2)) 35px;overflow-y:auto;border-radius:26px;min-height:0;padding:32px 38px;scrollbar-width:thin}.view h1{font-size:36px;margin-top:12px}.card{background:linear-gradient(135deg,#343941b8,#252930ba);border:1px solid #ffffff1c;border-radius:20px;box-shadow:inset 0 1px 0 #ffffff0b}.card:hover{border-color:#ffffff3a}.cards{grid-template-columns:repeat(auto-fit,minmax(280px,1fr));gap:20px}.card p{font-size:14px;line-height:1.75}.card h2{font:600 23px/1.3 Inter,sans-serif}.badge,.countdown{color:#c7dff5}.model-photo{background:#1c2026!important;border-color:#ffffff20!important}.model-photo figcaption{background:#252a30!important}.launch-photo img{background:#15181c}.space-context{background:#ffffff07;border-color:#aebfce}.space-context p{color:#c8d0da}.scale-value,.chart-heading strong{color:#d8e5f3}.space-chart svg text{fill:#c3ccd8}.aurora-metrics strong{color:#b9ded1}.source-row{font-size:14px}.maplibregl-popup-content{background:#20262ff2;color:#f0f3f7;border:1px solid #ffffff40;border-radius:18px;font:13px/1.7 Inter,sans-serif;box-shadow:0 10px 36px #0007}.maplibregl-ctrl-bottom-right{bottom:8px;right:14px}.maplibregl-ctrl-attrib{background:#161a20dd!important}.maplibregl-ctrl-attrib a{color:#d0d8e2!important}.maplibregl-ctrl-group{background:#c5ccd5dd!important;border-radius:13px}.maplibregl-ctrl-group button{filter:none}footer{display:none}
@media(max-width:1250px){.header-right{display:none}.header-signal{max-width:170px}.launch-mini:nth-of-type(n+2){display:none}.brand-orbit .brand-wordmark{font-size:20px}.map-toolbar{gap:12px}.map-foot{max-width:200px}.area-note{display:none}}
@media(max-width:900px){header{inset:10px 12px auto;height:76px;padding:9px 12px}.brand-orbit .brand-wordmark small{font-size:8px}.launch-strip{display:none}.header-signals{margin-left:auto}.header-signal{min-width:100px;max-width:150px}#tabs{top:98px;width:max-content;max-width:calc(100% - 24px);height:48px}#tabs button{padding:0 12px;font-size:11px}.map-toolbar{left:12px;top:162px;right:12px;justify-content:space-between}.shell>aside{top:244px;bottom:110px;max-width:calc(100vw - 24px)}.shell>aside:first-child{left:12px}.shell>aside.intel{right:12px}.view:not(#view-map){inset:162px 12px 16px;padding:24px;border-radius:20px}.map-foot{display:none}.glass-tools{bottom:30px}.space-charts{grid-template-columns:1fr}}
@media(max-width:600px){.header-signals{display:none}.brand-orbit .brand-wordmark{font-size:21px}.header-right{display:flex;margin-left:auto}.header-right time{display:none}.header-right .local{font-size:8px}.shell>aside h2,.shell>aside>.eyebrow,.shell>aside>.muted{display:block}#layers{display:block}.layer{white-space:normal}.layer b{display:block}.layer.disabled{display:flex}.map-toolbar h1{font-size:16px}.map-toolbar .eyebrow{display:none}.presets button{padding:8px;font-size:10px}.glass-tools{gap:2px;padding:5px}.glass-tools button{padding:10px 9px;font-size:11px}#basemap-note{font-size:9px;white-space:normal;width:max-content;max-width:90vw;text-align:center}.cards{grid-template-columns:1fr}.view h1{font-size:28px}.card{padding:19px}.space-scales{grid-template-columns:1fr}.view:not(#view-map){padding:20px}.maplibregl-ctrl-bottom-right{bottom:95px}}
@media(prefers-reduced-motion:reduce){#map{transition:none}}@supports not (backdrop-filter:blur(1px)){header,#tabs,.glass-tools,.shell>aside,.view:not(#view-map){background:#242930}}
#view-map .map-toolbar h1{font-size:20px;line-height:1.3;margin:5px 0}.map-toolbar{padding:12px 16px}.header-signal>span{color:#bcc6d3}.header-signal{border-color:#ffffff30}.shell>aside>.muted{margin-bottom:8px}.shell>aside:first-child{gap:0}
@media(max-width:600px){#view-map .map-toolbar h1{font-size:15px}.map-toolbar{padding:10px 12px}.brand-orbit .brand-wordmark small{font-size:7px}.brand-orbit .brand-wordmark{font-size:18px}}
.shell>aside>*{flex-shrink:0}#layers{overflow:visible}.map-toolbar{display:flex}@media(max-width:600px){.map-toolbar{gap:8px}.presets{flex-shrink:0}.presets button{padding:7px 6px}.shell>aside{top:222px}}

/* Review refinements: stable panels, readable header, consolidated map controls. */
header{height:112px;padding:18px 24px;gap:18px}.brand-orbit .brand-wordmark{font-size:25px}.brand-orbit .brand-wordmark small{font-size:11px}.header-signals{order:2;flex:1 1 400px;min-width:260px}.header-signal{max-width:260px;min-height:74px;padding:12px 15px}.header-signal strong{font-size:13px}.header-signal>span{font-size:9px}.header-right{display:flex!important;order:4!important;margin-left:auto!important;flex:0 0 auto;align-items:flex-end;min-width:94px;font-size:11px}.header-right time{display:block!important;white-space:nowrap}.launch-strip{order:1;flex:1 1 320px;min-width:130px}.launch-mini-time{font-size:15px}.launch-mini-title{font-size:12px}
#tabs{top:144px}.shell>aside{top:214px;bottom:115px}.view:not(#view-map){top:216px}.shell>aside #area-note{position:static;display:block;width:auto;max-width:100%;margin-top:20px;padding:12px;font-size:11px;line-height:1.7;background:#ffffff07;box-shadow:none;backdrop-filter:none;border-radius:12px;overflow-wrap:anywhere}.aside-bottom{margin-top:16px;padding-top:12px}.glass-tools .presets{display:flex;gap:0;padding:3px;border-left:1px solid #ffffff25;border-radius:0}.glass-tools .presets button{font-size:11px;padding:10px}.glass-tools{width:max-content}.glass-tools #basemap-note{max-width:90vw}
#header-rcb.pulse{animation:rcb-attention 3.6s ease-in-out infinite!important}@keyframes rcb-attention{0%,100%{border-color:#ffffff35;box-shadow:0 0 0 0 #ff8b8b00}50%{border-color:#d99b9b;box-shadow:0 0 12px 1px #f3979728}}
@media(max-width:1250px){.brand-orbit .brand-wordmark{font-size:20px}.brand-orbit .brand-wordmark small{font-size:9px}.header-signals{min-width:250px}.header-signal{padding:10px;min-width:110px}.header-signal strong{font-size:12px}.launch-mini:nth-of-type(n+2){display:none}.header-right{min-width:84px;font-size:10px}.glass-tools .presets button{padding:10px 8px}}
@media(max-width:900px){header{height:112px;gap:10px;padding:12px}.header-signals{min-width:200px}.header-signal{min-height:70px}.header-right{min-width:80px}#tabs{top:134px}.shell>aside{top:198px;bottom:140px}.view:not(#view-map){top:198px}.glass-tools{flex-wrap:wrap;justify-content:center;width:560px;max-width:calc(100vw - 24px)}.glass-tools .presets{border-left:0}}
@media(max-width:600px){header{height:160px;flex-wrap:wrap;align-content:center}.brand{flex:1;order:0}.brand-orbit .brand-wordmark{font-size:18px}.brand-orbit .brand-wordmark small{font-size:7px}.header-right{order:1!important}.header-signals{display:flex;order:3;flex-basis:100%;min-width:0;gap:8px}.header-signal{max-width:none;min-height:62px;padding:8px}.header-signal strong{font-size:11px}.header-signal>span{font-size:8px}#tabs{top:182px}.shell>aside{top:244px;bottom:154px}.view:not(#view-map){top:244px}.glass-tools{bottom:30px;gap:2px}.glass-tools .presets{order:5;flex-basis:100%;justify-content:center;border-top:1px solid #ffffff20;padding-top:4px}.glass-tools .presets button{padding:7px 15px}.header-right .local{font-size:7px}}
@media(prefers-reduced-motion:reduce){#header-rcb.pulse{animation:none!important;border-color:#d99b9b}}
@media(max-width:600px){.maplibregl-ctrl-bottom-right{bottom:0;right:5px;max-width:calc(100vw - 10px)}.maplibregl-ctrl-bottom-right .maplibregl-ctrl-group{margin-bottom:145px}.maplibregl-ctrl-attrib{font-size:9px!important;line-height:13px!important;max-width:100%}}

/* Larger primary navigation; reserve space below it for every module. */
#tabs{width:min(1320px,calc(100% - 40px));height:70px;padding:8px;gap:5px;border-radius:22px;border-color:#c5d7eb55;background:linear-gradient(135deg,#464e59ed,#252b34f2);box-shadow:0 16px 44px #0007,0 0 0 1px #d7e6f510,inset 0 1px 0 #ffffff30}
#tabs button{flex:1 0 auto;padding:0 20px;font-size:14px;font-weight:600;color:#d9e0e9;border-radius:15px}
#tabs button.active{background:linear-gradient(135deg,#76849399,#56667588);color:#fff;box-shadow:inset 0 1px 0 #ffffff50,0 3px 12px #0003}
.shell>aside{top:232px}.view:not(#view-map){top:232px}
@media(max-width:1100px){#tabs button{padding:0 16px;font-size:13px}}
@media(max-width:900px){#tabs{width:calc(100% - 24px);height:64px;padding:7px;border-radius:20px}#tabs button{flex:0 0 auto;padding:0 18px;font-size:13px}.shell>aside,.view:not(#view-map){top:214px}}
@media(max-width:600px){#tabs{height:60px;padding:6px}#tabs button{font-size:13px;padding:0 17px}.shell>aside,.view:not(#view-map){top:258px}}

#module-backdrop{position:fixed;inset:0;width:100%;height:100dvh;z-index:1;border:0;border-radius:0;padding:0;background:transparent;box-shadow:none;cursor:pointer}
#module-backdrop:hover{background:transparent}
body[data-module="map"] #module-backdrop{display:none}
#module-backdrop:focus-visible{outline:2px solid var(--accent);outline-offset:-4px}

.launch-sites-controls{padding:14px 0;border-top:1px solid #ffffff24;margin-top:12px}
.launch-sites-controls>label:not(.layer){display:block;font-size:13px;margin:12px 0 7px}
.launch-sites-controls>input{width:100%;padding:10px;border:1px solid #8a96a755;border-radius:10px;background:#171c22;color:#f4f6fa}
.launch-sites-controls>small{display:block;font-size:11px;line-height:1.5;margin-top:9px;color:#bbc6d3}
#launch-sites-results{max-height:200px;overflow:auto;font-size:12px}
#launch-sites-results button,.launch-pad-popup>button{display:block;width:100%;text-align:left;padding:10px;margin:5px 0;border:1px solid #ffffff20;background:#353e49;color:#fff;border-radius:8px;cursor:pointer}
.launch-pad-popup{max-height:min(480px,55dvh);overflow:auto;padding:6px 3px;color:#eef2f7}
.launch-pad-popup h3{font-size:20px;line-height:1.3;margin:10px 0}.launch-pad-popup h4{font-size:16px;margin:20px 0 8px;color:#e9c77d}
.launch-pad-popup p{font-size:13px;line-height:1.5}.launch-pad-popup small{display:block;font-size:11px;line-height:1.5;color:#b9c4d2}
.launch-pad-popup ul{padding-left:16px}.launch-pad-popup li{margin:12px 0}.launch-pad-popup a{color:#f1d598}
/* Keep pad details below the glass navigation, including after long globe flights. */
.launch-site-detail{position:fixed!important;transform:none!important;top:232px;right:20px;left:auto!important;bottom:110px;width:min(400px,calc(100vw - 40px));pointer-events:auto}
.launch-site-detail .maplibregl-popup-tip{display:none}
.launch-site-detail .maplibregl-popup-content{max-height:100%;overflow:auto;width:100%}
.launch-site-detail .launch-pad-popup{max-height:none;overflow:visible}
@media(max-width:900px){.launch-site-detail{top:214px}}
@media(max-width:600px){.launch-site-detail{top:258px;right:12px;width:calc(100vw - 24px);bottom:92px}}
body:has(.launch-site-detail) .map-foot{display:none}
.launch-site-detail .maplibregl-popup-close-button{color:#fff;font-size:23px;width:32px;height:32px;z-index:2}
.launch-site-detail .maplibregl-popup-close-button{position:absolute;top:8px;right:8px}

#header-rcb:not(.pulse){animation:none!important;border-color:#ffffff35}
#header-rcb>small{display:block;font-size:10px;line-height:1.4;color:#c5ceda;margin-top:4px}
.rcb-freshness{grid-column:1/-1;font-size:14px;line-height:1.6;color:#c5ceda}
