:root{--bg:#050c14;--panel:#091521;--panel2:#0c1a28;--line:rgba(125,169,192,.16);--line2:rgba(125,169,192,.28);--text:#e8f0f3;--muted:#8095a4;--muted2:#536979;--cyan:#6fe2f5;--cyan2:#2f9db8;--amber:#ffb66e;--green:#a2e9c2;--red:#f38a7e;--mono:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;--sans:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}
*{box-sizing:border-box}html,body{margin:0;min-height:100%;background:var(--bg);color:var(--text);font-family:var(--sans);font-size:13px}body{overflow:hidden;background:radial-gradient(ellipse at 48% 42%,#0c1a27 0,#06101a 48%,#03080e 100%)}button,input,select{font:inherit}button{cursor:pointer}.sim-shell{height:100dvh;min-height:650px;display:flex;flex-direction:column;overflow:hidden;position:relative;background:linear-gradient(135deg,rgba(14,31,45,.2),transparent 35%),var(--bg)}.topbar{height:66px;flex:0 0 66px;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;padding:0 22px;background:rgba(5,13,21,.93);z-index:5}.brand-lockup{display:flex;align-items:center;gap:12px;min-width:260px}.brand-mark{width:31px;height:31px;border:1px solid rgba(111,226,245,.55);border-radius:50%;position:relative;display:grid;place-items:center;box-shadow:0 0 18px rgba(65,198,226,.12)}.brand-mark:before,.brand-mark:after{content:"";position:absolute;border:1px solid rgba(111,226,245,.6);border-radius:50%;width:19px;height:8px;transform:rotate(-34deg)}.brand-mark:after{transform:rotate(48deg);width:25px;height:10px;opacity:.55}.brand-mark span{width:5px;height:5px;background:var(--amber);border-radius:50%;box-shadow:0 0 8px var(--amber);z-index:1}.brand-mark i{position:absolute;width:2px;height:2px;background:#fff;border-radius:50%;right:4px;top:7px}.brand-kicker,.eyebrow,.hud-label,.telemetry-label,.control-label label,.summary-top,.challenge-top,.telemetry-section-head,.chart-title,.chart-legend,.range-ends,.progress-caption,.left-foot,.bottom-bar,.drawer-index,.drawer-foot{font-family:var(--mono);letter-spacing:.11em;font-size:9px;color:var(--muted);font-weight:600}.brand-kicker{font-size:8px;color:#6c8394;margin-bottom:3px}.brand-title{font-size:16px;font-weight:800;letter-spacing:.18em;color:#edf6f8}.brand-title b{color:var(--cyan);font-weight:700}.top-center{display:flex;align-items:center;gap:11px;font-family:var(--mono);font-size:9px;letter-spacing:.12em;color:#8da6b5}.live-dot,.tiny-led{display:inline-block;width:6px;height:6px;border-radius:50%;background:var(--green);box-shadow:0 0 10px rgba(162,233,194,.75)}.top-separator,.foot-divider{color:#41586a}.mission-code{color:var(--amber)}.top-actions{display:flex;gap:8px;min-width:260px;justify-content:flex-end}.top-button{height:34px;border:1px solid var(--line2);background:rgba(13,29,43,.65);color:#b6c7d0;padding:0 12px;font-family:var(--mono);font-size:9px;letter-spacing:.1em;display:flex;align-items:center;gap:8px;transition:.2s}.top-button:hover,.secondary-action:hover,.view-button:hover{border-color:rgba(111,226,245,.6);color:#fff;background:rgba(32,73,91,.32)}.btn-icon{font-size:15px;color:var(--cyan);line-height:1}
.workspace{flex:1;min-height:0;display:grid;grid-template-columns:270px minmax(420px,1fr) 306px;gap:10px;padding:10px}.panel{background:linear-gradient(180deg,rgba(12,27,40,.97),rgba(7,17,27,.98));border:1px solid var(--line);min-height:0;overflow:auto;scrollbar-width:thin;scrollbar-color:#244253 transparent}.left-panel{padding:19px 17px 13px;display:flex;flex-direction:column}.panel-heading{display:flex;justify-content:space-between;align-items:flex-start;gap:10px}.panel-heading h2{font-size:17px;font-weight:600;letter-spacing:-.025em;margin:6px 0 0;color:#edf5f7}.heading-index{font-family:var(--mono);font-size:9px;color:#506d7e;border:1px solid var(--line);padding:5px 6px}.panel-intro{color:#8ca0ad;line-height:1.55;font-size:11px;margin:12px 0 17px;max-width:220px}.control-block{padding:11px 0 12px;border-top:1px solid rgba(125,169,192,.12)}.control-label{display:flex;justify-content:space-between;align-items:center;margin-bottom:11px}.control-label label{font-size:9px;color:#a8bac4}.control-label output{font-family:var(--mono);font-size:11px;color:var(--cyan);font-weight:600}.control-block input[type=range]{width:100%;appearance:none;height:3px;background:linear-gradient(90deg,#48bdd5,#254558);border-radius:0;outline:none;display:block}.control-block input[type=range]::-webkit-slider-thumb{appearance:none;width:12px;height:12px;border-radius:50%;background:#d9f7fc;border:2px solid #2a8199;box-shadow:0 0 0 3px rgba(73,195,220,.14);cursor:ew-resize}.control-block input[type=range]::-moz-range-thumb{width:9px;height:9px;border-radius:50%;background:#d9f7fc;border:2px solid #2a8199;box-shadow:0 0 0 3px rgba(73,195,220,.14);cursor:ew-resize}.range-ends{display:flex;justify-content:space-between;margin-top:8px;font-size:8px;letter-spacing:.03em;color:#607889;font-weight:400}.preset-row{display:flex;gap:6px;margin:7px 0 12px}.preset-button{flex:1;height:30px;background:#0b1a27;border:1px solid var(--line);color:#8298a7;font-family:var(--mono);font-size:8px;letter-spacing:.05em;display:flex;align-items:center;justify-content:center;gap:6px;padding:0 5px}.preset-button:hover,.preset-button.active{border-color:rgba(111,226,245,.48);color:#d8f7fb;background:rgba(38,113,132,.13)}.preset-dot{width:5px;height:5px;border-radius:50%;background:var(--cyan)}.impact-summary{border:1px solid rgba(255,182,110,.22);background:linear-gradient(115deg,rgba(255,182,110,.075),rgba(9,24,36,.7));padding:11px 12px;margin-bottom:11px}.summary-top{display:flex;justify-content:space-between;font-size:8px;color:#b9a18b}.summary-tag{border:1px solid rgba(255,182,110,.25);padding:2px 5px;color:var(--amber)}.summary-value{font-family:var(--mono);font-size:13px;color:var(--amber);margin:9px 0 5px;font-weight:600}.summary-note{font-size:9px;color:#788d9a}.primary-action{height:43px;border:1px solid rgba(111,226,245,.55);background:linear-gradient(100deg,#15566a,#10364a 65%,#102b3b);color:#e9fbff;display:flex;align-items:center;padding:0 13px;gap:10px;font-family:var(--mono);font-size:10px;font-weight:700;letter-spacing:.12em;box-shadow:0 5px 24px rgba(31,157,186,.12);transition:.2s}.primary-action:hover{background:linear-gradient(100deg,#1b7188,#16495d);box-shadow:0 0 22px rgba(68,202,230,.2)}.primary-action:disabled{opacity:.65;cursor:wait}.action-symbol{font-size:17px;color:var(--amber)}.action-arrow{margin-left:auto;font-size:16px;color:var(--cyan)}.mission-progress{margin:12px 0 14px}.progress-track{height:2px;background:#1a3140}.progress-track span{display:block;height:100%;width:0;background:linear-gradient(90deg,var(--cyan),var(--amber));transition:width .15s}.progress-caption{display:flex;justify-content:space-between;margin-top:7px;font-size:8px}.progress-caption span:last-child{color:#8ba7b5}.challenge-card{border:1px solid var(--line);background:rgba(10,24,36,.72);padding:11px 12px;margin-top:auto}.challenge-top{display:flex;align-items:center;gap:7px;font-size:8px;color:#94a9b4}.challenge-icon{font-size:15px;color:var(--amber)}.challenge-title{font-size:12px;font-weight:600;margin:7px 0 4px;color:#e2edf1}.challenge-card p{font-size:10px;line-height:1.5;color:#7f96a4;margin:0 0 9px}.challenge-status{font-family:var(--mono);font-size:8px;line-height:1.45;color:#d6a66e;border-top:1px solid var(--line);padding-top:8px}.challenge-status.complete{color:var(--green)}.left-foot{margin-top:12px;font-size:8px;color:#627b89;display:flex;align-items:center;gap:7px}.left-foot .tiny-led{width:5px;height:5px}
.viewport-panel{border:1px solid var(--line);background:#050c14;display:flex;flex-direction:column;min-width:0;min-height:0;position:relative;overflow:hidden}.viewport-topline{height:54px;flex:0 0 54px;display:flex;align-items:center;justify-content:space-between;padding:0 16px;border-bottom:1px solid var(--line);background:rgba(7,17,27,.92);z-index:2}.view-heading{display:flex;flex-direction:column;gap:4px}.view-title{font-size:12px;letter-spacing:.12em;font-weight:700;color:#dce9ed}.view-title small{font-family:var(--mono);font-size:8px;color:#708999;font-weight:400}.view-controls{display:flex;gap:4px}.view-button{height:26px;padding:0 10px;border:1px solid transparent;background:transparent;color:#78909f;font-family:var(--mono);font-size:8px;letter-spacing:.1em}.view-button.active{border-color:rgba(111,226,245,.32);background:rgba(54,153,177,.13);color:var(--cyan)}.scene-wrap{flex:1;min-height:0;position:relative;overflow:hidden;background:radial-gradient(ellipse at 48% 50%,#102433 0,#07131f 48%,#030910 100%)}#sceneCanvas{position:absolute;inset:0;width:100%;height:100%;display:block;touch-action:none;cursor:grab}#sceneCanvas:active{cursor:grabbing}.scene-vignette{position:absolute;inset:0;pointer-events:none;background:radial-gradient(ellipse at center,transparent 40%,rgba(1,5,10,.42) 100%),linear-gradient(180deg,rgba(3,10,17,.22),transparent 22%,transparent 78%,rgba(3,10,17,.42))}.scene-crosshair{position:absolute;left:50%;top:50%;width:28px;height:28px;transform:translate(-50%,-50%);opacity:.17;pointer-events:none}.scene-crosshair span,.scene-crosshair i{position:absolute;background:#7bd8e9}.scene-crosshair span{width:1px;height:28px;left:13px}.scene-crosshair i{height:1px;width:28px;top:13px}.scene-hud{position:absolute;top:18px;display:flex;flex-direction:column;gap:4px;pointer-events:none;text-shadow:0 1px 5px #000}.hud-left{left:17px}.hud-right{right:17px;text-align:right}.hud-label{font-size:8px;color:#6e91a4}.scene-hud b{font-size:10px;color:#c7d9e1;font-weight:500}.hud-coords{font-family:var(--mono);font-size:8px;color:#59778a}.hud-coords em{color:#8db5c6;font-style:normal}.scene-legend{position:absolute;left:17px;bottom:18px;display:flex;gap:15px;font-family:var(--mono);font-size:8px;letter-spacing:.07em;color:#9ab0bc;pointer-events:none}.legend-dot{display:inline-block;width:6px;height:6px;border-radius:50%;margin-right:5px}.legend-blue{background:#5fb9d3;box-shadow:0 0 8px rgba(95,185,211,.6)}.legend-amber{background:#ffb66e;box-shadow:0 0 8px rgba(255,182,110,.6)}.legend-white{background:#e5f3f6;box-shadow:0 0 8px rgba(229,243,246,.5)}.scene-bottom-right{position:absolute;right:17px;bottom:18px;font-family:var(--mono);font-size:8px;letter-spacing:.07em;color:#688495;pointer-events:none}.scene-bottom-right span{margin:0 5px;color:#3d6174}.mouse-glyph{font-size:13px;color:var(--cyan)}.viewport-footer{height:31px;flex:0 0 31px;border-top:1px solid var(--line);background:#07121d;display:flex;align-items:center;justify-content:space-between;padding:0 14px;font-family:var(--mono);font-size:8px;letter-spacing:.1em;color:#698292}.viewport-footer-right{display:flex;gap:8px;align-items:center}.viewport-footer-right b{color:#b8cbd3;font-weight:500}.selection-readout{color:#9cb1bc}.boot-overlay{position:absolute;inset:0;z-index:3;background:rgba(4,12,20,.94);display:flex;align-items:center;justify-content:center;flex-direction:column;gap:11px;transition:opacity .45s,visibility .45s}.boot-overlay.hidden{opacity:0;visibility:hidden;pointer-events:none}.boot-loader{width:34px;height:34px;border:1px solid rgba(111,226,245,.18);border-top-color:var(--cyan);border-right-color:var(--cyan);border-radius:50%;animation:spin .9s linear infinite}.boot-title{font-family:var(--mono);font-size:10px;letter-spacing:.18em;color:#cde6ec}.boot-sub{font-family:var(--mono);font-size:8px;color:#718a9a;text-align:center;max-width:300px;line-height:1.6}.boot-error{max-width:330px;padding:18px;border:1px solid rgba(243,138,126,.35);display:flex;flex-direction:column;gap:10px;text-align:center}.boot-error strong{font-family:var(--mono);font-size:10px;color:var(--red);letter-spacing:.1em}.boot-error span{color:#e4c9c6}.boot-error small{color:#8298a5;line-height:1.5}.preset-toast{position:absolute;top:65px;left:50%;transform:translate(-50%,-8px);opacity:0;pointer-events:none;background:rgba(8,28,40,.95);border:1px solid rgba(111,226,245,.4);padding:8px 12px;font-family:var(--mono);font-size:9px;letter-spacing:.08em;color:var(--cyan);transition:.25s}.preset-toast.show{opacity:1;transform:translate(-50%,0)}
.right-panel{padding:18px 15px 12px;display:flex;flex-direction:column}.right-panel .panel-heading{align-items:center}.right-panel .panel-heading h2{font-size:16px}.status-pill{font-family:var(--mono);font-size:7px;letter-spacing:.07em;color:#8bc4a9;border:1px solid rgba(162,233,194,.24);background:rgba(75,139,107,.1);padding:5px 6px;white-space:nowrap}.status-pill.status-live{color:var(--green);border-color:rgba(162,233,194,.45);background:rgba(75,139,107,.18)}.status-pill.status-warn{color:var(--amber);border-color:rgba(255,182,110,.4)}.telemetry-grid{display:grid;grid-template-columns:1fr 1fr;gap:7px;margin:16px 0 18px}.telemetry-card{background:linear-gradient(135deg,rgba(18,39,55,.78),rgba(9,22,33,.86));border:1px solid rgba(125,169,192,.13);padding:11px 9px 10px;min-height:78px}.telemetry-highlight{border-color:rgba(255,182,110,.23);background:linear-gradient(135deg,rgba(74,48,29,.24),rgba(9,22,33,.86))}.telemetry-label{font-size:8px;color:#7892a2;letter-spacing:.08em}.telemetry-value{font-family:var(--mono);font-size:16px;font-weight:600;color:#e7f2f5;margin:9px 0 5px;letter-spacing:-.04em;white-space:nowrap}.telemetry-highlight .telemetry-value{color:var(--amber)}.telemetry-unit{font-family:var(--mono);font-size:7px;letter-spacing:.07em;color:#617c8c}.telemetry-section-head{display:flex;justify-content:space-between;border-bottom:1px solid var(--line);padding-bottom:8px;margin-bottom:7px;color:#8ea4b1;font-size:8px}.section-live{color:#7fbd9f;font-size:7px}.geometry-row{display:flex;justify-content:space-between;align-items:center;padding:6px 1px;border-bottom:1px solid rgba(125,169,192,.08);font-family:var(--mono);font-size:8px;color:#728a99;letter-spacing:.05em}.geometry-row b{font-size:10px;color:#c5d7df;font-weight:500}.chart-wrap{border:1px solid rgba(125,169,192,.13);background:#07111b;padding:8px 8px 7px;margin:12px 0 16px}.chart-title{display:flex;justify-content:space-between;font-size:7px;color:#7893a3;margin-bottom:5px;letter-spacing:.08em}#orbitChart{width:100%;height:105px;display:block}.chart-legend{display:flex;gap:13px;font-size:7px;margin-top:5px;color:#7f95a1}.chart-legend .legend-dot{width:5px;height:5px}.settings-head{margin-bottom:7px}.sim-control-row{display:flex;justify-content:space-between;align-items:center;padding:7px 1px;border-bottom:1px solid rgba(125,169,192,.08);font-family:var(--mono);font-size:8px;letter-spacing:.07em;color:#7891a0}.sim-control-row select{background:#0b1b29;color:#c7d8df;border:1px solid rgba(125,169,192,.22);padding:4px 7px;font-family:var(--mono);font-size:8px;outline:none}.clock-readout{color:var(--cyan);font-size:10px;font-weight:500}.warp-readout{font-family:var(--mono);font-size:8px;color:#59798b;text-align:right;padding:6px 0 9px}.right-actions{display:grid;grid-template-columns:1fr 1fr;gap:7px;margin-top:2px}.secondary-action{height:32px;background:#0b1b28;border:1px solid var(--line2);color:#a7bac4;font-family:var(--mono);font-size:8px;letter-spacing:.09em;display:flex;align-items:center;justify-content:center;gap:8px}.secondary-action .btn-icon{font-size:13px}.status-message{font-size:9px;line-height:1.5;color:#718897;border-left:2px solid rgba(111,226,245,.4);padding:7px 0 7px 9px;margin-top:11px;min-height:38px}.bottom-bar{height:32px;flex:0 0 32px;border-top:1px solid var(--line);background:#050d15;display:flex;align-items:center;justify-content:space-between;padding:0 18px;font-size:8px;color:#617887;letter-spacing:.09em}.bottom-left,.bottom-center,.bottom-right{display:flex;align-items:center;gap:9px}.bottom-brand{color:#91a9b5}.bottom-center{color:#7892a1}.bottom-center .tiny-led{width:5px;height:5px}.bottom-right{color:#4f6878}
.science-drawer{position:absolute;z-index:8;right:0;top:66px;bottom:32px;width:min(470px,92vw);background:rgba(7,18,28,.985);border-left:1px solid rgba(111,226,245,.26);box-shadow:-22px 0 60px rgba(0,0,0,.45);transform:translateX(102%);transition:transform .35s cubic-bezier(.2,.7,.2,1);display:flex;flex-direction:column}.science-drawer.open{transform:translateX(0)}.drawer-head{padding:22px 23px 17px;border-bottom:1px solid var(--line);display:flex;justify-content:space-between;align-items:flex-start}.drawer-head h2{font-size:22px;letter-spacing:-.04em;margin:7px 0 0;font-weight:600}.drawer-close{width:31px;height:31px;border:1px solid var(--line2);background:transparent;color:#9bb2bf;font-size:22px;line-height:1}.drawer-body{overflow:auto;padding:4px 23px 20px}.drawer-body section{padding:17px 0;border-bottom:1px solid rgba(125,169,192,.12)}.drawer-index{font-size:8px;color:var(--cyan)}.drawer-body h3{font-size:14px;margin:7px 0;color:#e0edf1}.drawer-body p{font-size:11px;line-height:1.7;color:#8ba1ad;margin:0}.drawer-body em{color:#d7e7ed}.equation{margin-top:10px;padding:11px 13px;background:rgba(49,107,126,.12);border:1px solid rgba(111,226,245,.18);font-family:var(--mono);font-size:12px;color:var(--cyan);text-align:center}.drawer-foot{padding:12px 23px;border-top:1px solid var(--line);font-size:7px;color:#668394}
@keyframes spin{to{transform:rotate(360deg)}}
@media(max-width:1250px){.workspace{grid-template-columns:248px minmax(360px,1fr) 280px;gap:8px;padding:8px}.left-panel{padding:16px 13px 11px}.right-panel{padding:16px 12px 10px}.telemetry-value{font-size:14px}.top-center{display:none}}
@media(max-width:980px){.sim-shell{height:auto;min-height:100dvh;overflow:visible}.workspace{grid-template-columns:240px minmax(0,1fr);grid-template-rows:minmax(540px,68vh) auto;flex:initial}.left-panel{grid-column:1;grid-row:1}.viewport-panel{grid-column:2;grid-row:1}.right-panel{grid-column:1/3;grid-row:2;display:grid;grid-template-columns:1fr 1fr;column-gap:18px;align-items:start}.right-panel .panel-heading,.telemetry-grid,.telemetry-section-head,.geometry-row,.chart-wrap,.sim-control-row,.warp-readout,.right-actions,.status-message{grid-column:auto}.right-panel .panel-heading{grid-column:1/3}.telemetry-grid{grid-column:1/3}.chart-wrap{grid-column:2;grid-row:3/7}.settings-head{grid-column:1}.right-actions,.status-message{grid-column:1/3}.bottom-bar{position:relative}.left-foot{margin-top:18px}}
@media(max-width:700px){body{overflow:auto}.topbar{height:58px;flex-basis:58px;padding:0 12px}.brand-lockup{min-width:0}.brand-mark{width:27px;height:27px}.brand-kicker{font-size:7px}.brand-title{font-size:14px}.top-actions{min-width:0}.top-button{height:30px;padding:0 8px;font-size:8px}.top-button span:last-child{display:none}.workspace{display:flex;flex-direction:column;padding:7px;gap:7px}.viewport-panel{order:0;height:58vh;min-height:390px}.viewport-topline{height:48px;flex-basis:48px;padding:0 10px}.view-title{font-size:10px}.view-button{padding:0 7px;font-size:7px}.scene-hud{top:10px}.hud-left{left:10px}.hud-right{right:10px}.scene-legend{left:10px;bottom:10px;gap:8px;font-size:7px}.scene-bottom-right{right:10px;bottom:10px;font-size:7px}.viewport-footer{padding:0 9px}.viewport-footer-right{gap:5px;font-size:7px}.left-panel{order:1;overflow:visible}.right-panel{order:2;display:flex;overflow:visible}.panel-intro{max-width:none}.challenge-card{margin-top:13px}.right-panel .panel-heading,.telemetry-grid,.telemetry-section-head,.geometry-row,.chart-wrap,.sim-control-row,.warp-readout,.right-actions,.status-message{grid-column:auto}.telemetry-grid{grid-template-columns:1fr 1fr}.chart-wrap{margin-bottom:12px}.bottom-bar{height:auto;min-height:32px;padding:9px 10px;flex-wrap:wrap;gap:7px}.bottom-center{display:none}.science-drawer{top:58px;bottom:0;width:100vw}.drawer-head{padding:18px}.drawer-body{padding:0 18px 18px}.drawer-foot{padding:11px 18px}}
@media(max-width:390px){.brand-kicker{display:none}.top-button{padding:0 6px}.workspace{padding:5px}.viewport-panel{min-height:350px}.view-controls{gap:1px}.view-button{padding:0 5px}.telemetry-value{font-size:13px}.scene-legend{gap:5px;font-size:6px}.scene-bottom-right{display:none}}
