:root{--bg:#060a14;--surface:#0c1424;--panel:#0e1728;--stroke:rgba(167,203,244,.13);--stroke-light:rgba(167,203,244,.21);--text:#eaf3ff;--muted:#8a9bb3;--dim:#60748e;--cyan:#86dcff;--cyan-bright:#5bd0f5;--purple:#ad96ff;--pink:#fc80c4;--gold:#f1dba7;--radius:19px}
*{box-sizing:border-box}html{background:var(--bg);scroll-behavior:smooth}body{margin:0;color:var(--text);font-family:Inter,ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;-webkit-font-smoothing:antialiased;background:radial-gradient(circle at 50% -30%,#16263b 0,#070d19 52%,#050911 100%);font-size:13px}button,input{font:inherit}button{cursor:pointer}button:focus-visible,input:focus-visible{outline:2px solid var(--cyan);outline-offset:4px}button:disabled{opacity:.5;cursor:not-allowed}[hidden]{display:none!important}p{margin:0;line-height:1.6}.app-shell{max-width:2020px;margin:auto;min-height:100vh;padding:0 24px}.topbar{height:90px;display:flex;align-items:center;justify-content:space-between;gap:12px;border-bottom:1px solid var(--stroke)}.identity{display:flex;align-items:center;gap:17px}.brand-symbol{position:relative;width:45px;height:45px;border:1px solid #4ab6ef6b;border-radius:50%;display:grid;place-items:center;box-shadow:inset 0 0 20px #1190cf27,0 0 28px #2cc5eb14}.brand-symbol:after{content:"";width:10px;height:10px;background:#a0f4ff;border-radius:50%;box-shadow:0 0 15px #5be4ff}.brand-symbol i{display:block;width:21px;height:38px;border:1px solid #85dbff;border-radius:50%;position:absolute;transform:rotate(48deg);opacity:.45}.brand-symbol i:nth-child(2){transform:rotate(-48deg)}.brand-symbol i:nth-child(3){transform:rotate(90deg)}.eyebrow,.section-index,.readout-head,.readout-foot,.instrument-head,.chart-x-label,.chart-y-label,.head-center,.gesture-hint,.bottom-line,.challenge-eyebrow,.viewport-live{font-size:10px;font-weight:700;letter-spacing:1.65px}.eyebrow,.section-index{color:var(--cyan);opacity:.87}.brand-title{font-size:19px;letter-spacing:1.3px;font-weight:820;margin-top:2px}.brand-title span{font-weight:380;letter-spacing:2.5px;color:#b6c8dc}.head-center{color:#96a7b8;display:flex;gap:11px;align-items:center}.status-dot{width:7px;height:7px;background:#72d7b8;border-radius:50%;box-shadow:0 0 12px #70ffcb;display:inline-block}.head-divider{width:1px;height:14px;background:var(--stroke-light)}.top-actions{display:flex;align-items:center;gap:8px}.button,.icon-button{border-radius:9px;border:1px solid var(--stroke-light);min-height:37px;padding:0 15px;background:#132137;color:#dfecff;font-size:11px;font-weight:750;letter-spacing:.4px;transition:background .2s,transform .2s,border-color .2s;white-space:nowrap}.button:hover,.icon-button:hover{background:#1e314d;border-color:#789cb7;transform:translateY(-1px)}.button-primary{background:linear-gradient(115deg,#73d6ed,#a6e5ed);border-color:transparent;color:#092235;box-shadow:0 0 28px #56ccec21}.button-primary:hover{background:#c5faff}.button-muted{background:#111d30}.button-outline{border-color:#5e9fc17a;background:#10263c;color:#9ee6ff}.icon-button{width:37px;padding:0;font-size:17px}.full{width:100%}.workspace{display:grid;grid-template-columns:minmax(260px,306px) minmax(440px,1fr) minmax(290px,326px);gap:12px;align-items:stretch;margin-top:18px;min-height:750px}.panel{background:linear-gradient(145deg,rgba(16,29,49,.94),rgba(9,17,31,.95));border:1px solid var(--stroke);border-radius:var(--radius);padding:23px 20px 18px;box-shadow:0 20px 70px #0004}.panel-head{display:flex;align-items:center;justify-content:space-between}.panel h2{font-size:21px;font-weight:690;letter-spacing:-.55px;margin:8px 0 0}.tiny-orbit{font-size:28px;font-weight:100;color:#72d4e6;opacity:.6}.panel-blurb{color:#94a8bc;line-height:1.6;margin:12px 0 22px;font-size:12px}.control-stack{display:flex;flex-direction:column;gap:18px}.control-stack.condensed{gap:17px}.control-label{display:flex;align-items:baseline;justify-content:space-between;gap:8px;margin-bottom:12px}.control-label label{color:#bfcede;font-size:12px;font-weight:590}.control-label output{font:700 11px ui-monospace,SFMono-Regular,Consolas,monospace;color:var(--cyan);text-align:right;white-space:nowrap}.control input[type=range]{width:100%;height:3px;appearance:none;-webkit-appearance:none;border-radius:3px;outline:none;background:linear-gradient(to right,#4cd4ee 0%,#4cd4ee var(--fill,50%),#33475e var(--fill,50%),#33475e 100%);cursor:pointer;margin:0}.control input[type=range]::-webkit-slider-thumb{appearance:none;-webkit-appearance:none;width:13px;height:13px;border:3px solid #9ce8ff;background:#122b42;border-radius:50%;box-shadow:0 0 0 3px #5bd7ff1e,0 0 10px #5ad1f76e}.control input[type=range]::-moz-range-thumb{width:9px;height:9px;border:3px solid #9ce8ff;background:#122b42;border-radius:50%}.control.violet-control input[type=range]{background:linear-gradient(to right,#b39aff 0%,#b39aff var(--fill,50%),#33475e var(--fill,50%),#33475e 100%)}.violet-control .control-label output{color:#d1b9ff}.scale{display:flex;justify-content:space-between;color:#5d718d;font-size:10px;margin-top:9px}.separator{height:1px;background:var(--stroke);margin:23px 0}.metric-pair,.instrument-metrics{display:grid;grid-template-columns:1fr 1fr;gap:16px;margin:15px 0}.metric-name{font-size:10px;color:#7f92aa;display:block;margin-bottom:6px;letter-spacing:.2px}.metric-pair strong,.instrument-metrics strong{font-size:14px;color:#e3f5ff;font-weight:680;font-variant-numeric:tabular-nums}.signal-banner{display:flex;align-items:center;gap:10px;border-radius:9px;padding:12px 10px;background:#102b32;margin:18px 0 13px;color:#8cf4d4;font-size:11px;font-weight:650}.signal-banner.off{background:#2b1a2f;color:#ffb1c7}.signal-led{width:8px;height:8px;background:#89f2d4;border-radius:50%;box-shadow:0 0 8px #90ffe3}.signal-banner.off .signal-led{background:#e87da8;box-shadow:0 0 8px #ff8daa}.hint-text{font-size:11px;color:#7289a4;line-height:1.7;margin-top:12px}.scene-panel{position:relative;min-width:0;min-height:750px;overflow:hidden;border:1px solid #38516c66;border-radius:var(--radius);background:radial-gradient(ellipse at 65% 38%,#152c44 0%,#071426 38%,#050b16 78%);box-shadow:inset 0 0 100px #070b15,0 20px 60px #0006;isolation:isolate}.scene-panel:after{pointer-events:none;content:"";position:absolute;inset:0;background:linear-gradient(to bottom,#07111f88 0,transparent 17%,transparent 76%,#07111fd9 100%);z-index:1}.scene-panel canvas{display:block;width:100%;height:100%;position:absolute;inset:0;z-index:0;touch-action:none;cursor:grab}.scene-panel canvas:active{cursor:grabbing}.scene-top{position:absolute;z-index:2;top:25px;left:27px;right:27px;display:flex;justify-content:space-between;align-items:center;pointer-events:none}.viewport-live{color:#9bd6d5;display:flex;align-items:center;gap:8px}.scene-caption{position:absolute;z-index:2;left:30px;top:92px;max-width:290px;pointer-events:none}.scene-caption h1{font-size:clamp(28px,3vw,48px);letter-spacing:-2.1px;line-height:1.04;margin:12px 0;color:#f4f9ff;text-shadow:0 2px 15px #060e26}.scene-caption h1 em{font-weight:400;font-family:Georgia,"Times New Roman",serif;color:#b5eaff}.scene-caption p{color:#a9c5da;font-size:12px;line-height:1.65;max-width:230px}.scene-corner-readout{position:absolute;z-index:2;right:27px;top:100px;min-width:108px;text-align:right;pointer-events:none}.readout-head{display:block;color:#91a8b9}.scene-corner-readout strong{font:400 37px ui-monospace,SFMono-Regular,Consolas,monospace;color:#e3efff;display:block;margin-top:5px}.phase-track{height:2px;background:#32506c;margin:7px 0 9px}.phase-track div{height:100%;width:0;background:#8bd8ff;box-shadow:0 0 9px #b5ebff}.readout-foot{color:#8098af}.scene-object-card{position:absolute;z-index:3;left:25px;bottom:124px;max-width:295px;padding:13px 18px 14px;background:#0b1b2fbe;border:1px solid #84b0dc3d;backdrop-filter:blur(15px);border-radius:12px;box-shadow:0 20px 45px #0005;pointer-events:auto;transition:opacity .2s}.scene-object-card button{position:absolute;top:8px;right:10px;border:0;color:#a2b3cc;background:none;font-size:19px}.scene-object-card strong{font-size:14px;display:block;margin-top:7px}.scene-object-card p{font-size:11px;line-height:1.55;color:#9cb0c4;margin-top:6px}.scene-tools{z-index:3;position:absolute;bottom:68px;left:24px;right:24px;display:flex;align-items:center;justify-content:space-between;gap:10px}.view-switch{display:flex;padding:4px;background:#0a1629cb;backdrop-filter:blur(10px);border:1px solid #6582a33e;border-radius:11px;gap:2px}.view-switch button{font-size:10px;color:#819ab3;background:none;border:0;border-radius:7px;padding:9px 10px;white-space:nowrap}.view-switch button:hover,.view-switch button.selected{background:#25435a;color:#d5f8ff}.gesture-hint{color:#829cb1;pointer-events:none;letter-spacing:1px;font-size:9px}.scene-legend{position:absolute;z-index:3;left:26px;right:26px;bottom:22px;display:flex;gap:18px;align-items:center;font-size:10px;color:#8ca8be}.scene-legend span{display:flex;gap:7px;align-items:center}.legend-swatch{width:6px;height:6px;display:inline-block;border-radius:50%;box-shadow:0 0 7px currentColor}.legend-swatch.cyan{background:#5bd7ff;color:#5bd7ff}.legend-swatch.pink{background:#ff84c8;color:#ff84c8}.legend-swatch.gold{background:#ffe5ab;color:#ffe5ab}.scene-fallback{z-index:5;position:absolute;inset:0;background:#07101f;padding:55px 30px;color:#e8f5ff;line-height:1.8}.instrument-panel .panel-blurb{margin-bottom:17px}.challenge-banner{padding:12px 11px;display:flex;align-items:center;justify-content:space-between;gap:6px;border:1px solid #394b70;background:linear-gradient(135deg,#182a47,#121d35);border-radius:10px;margin-bottom:19px}.challenge-banner.blind{border-color:#957bd671;background:linear-gradient(135deg,#282345,#171831)}.challenge-eyebrow{color:#ad9df6;font-size:9px;letter-spacing:1.25px;margin-bottom:5px}.challenge-banner strong{display:block;font-size:12px;margin:2px 0 3px}.challenge-banner span{font-size:9px;color:#9cb1c7}.challenge-button{background:#7660a844;border:1px solid #a18ce05a;color:#dcd1ff;border-radius:7px;font-size:10px;font-weight:650;max-width:113px;padding:7px 8px;line-height:1.35}.challenge-button:hover{background:#6654a566}.instrument-head{display:flex;justify-content:space-between;align-items:center;gap:5px;margin:24px 0 10px;color:#91b7d2;letter-spacing:1.1px;font-size:9px}.toggle{display:flex;align-items:center;gap:6px;color:#9faec5;letter-spacing:0;text-transform:none;font-size:10px;cursor:pointer;font-weight:500}.toggle input{position:absolute;opacity:0}.toggle-ui{width:24px;height:13px;border-radius:12px;background:#37465c;position:relative}.toggle-ui:after{content:"";position:absolute;width:9px;height:9px;left:2px;top:2px;border-radius:50%;background:#b8c3d5;transition:transform .2s}.toggle input:checked+.toggle-ui{background:#6558a2}.toggle input:checked+.toggle-ui:after{transform:translateX(11px);background:#e9ddff}.chart-frame{position:relative;background:linear-gradient(#091326,#091021);border:1px solid #283b55;border-radius:9px;overflow:hidden}.chart-frame canvas{width:100%;height:100%;display:block}.waterfall-frame{height:173px}.profile-frame{height:120px}.chart-y-label{position:absolute;top:10px;left:6px;color:#8197b7;line-height:2.2;font-size:8px;pointer-events:none}.chart-x-label{position:absolute;left:7px;right:7px;bottom:5px;display:flex;justify-content:space-between;color:#6e86a0;font-size:8px;pointer-events:none}.chart-state{color:#f5b58c}.chart-state.ready{color:#8ce5cc}.recovery-head{display:flex;align-items:center;justify-content:space-between;margin:15px 0 9px;color:#b5c8dd;font-size:11px}.recovery-head strong{color:#b9aaff;font:700 17px ui-monospace,SFMono-Regular,monospace}.recovery-track{height:5px;background:#354358;border-radius:5px;overflow:hidden}.recovery-track div{width:0;height:100%;background:linear-gradient(90deg,#6659ad,#a69df6,#b2f2ee);box-shadow:0 0 8px #ae9bfd;transition:width .25s}.instrument-metrics{margin-top:20px;gap:15px 8px}.instrument-metrics strong{font-size:13px}.button-row{display:flex;gap:7px;margin-top:15px}.button-row .button{flex:1;font-size:10px;padding:0 6px}.instrument-panel .separator{margin:19px 0 15px}.instrument-panel .section-index+.control{margin-top:14px}.learning-strip{display:grid;grid-template-columns:1.15fr 1fr 1fr 1fr;gap:22px;align-items:start;margin-top:14px;padding:25px 23px;border:1px solid var(--stroke);background:#0b1423b9;border-radius:var(--radius)}.learning-title strong{display:block;font-size:20px;letter-spacing:-.7px;line-height:1.2;margin-top:8px;max-width:230px}.learning-topic{display:flex;align-items:start;gap:12px}.learning-topic>span{font:600 11px ui-monospace,monospace;color:#7bd9ef;background:#17374b;border-radius:5px;padding:6px}.learning-topic strong{font-size:12px}.learning-topic p{color:#8198ad;font-size:11px;line-height:1.5;margin-top:6px}.bottom-line{display:flex;justify-content:space-between;gap:10px;padding:20px 2px 30px;color:#526980;font-size:9px}.modal-backdrop{z-index:20;position:fixed;inset:0;background:#040814d9;backdrop-filter:blur(15px);display:grid;place-items:center;padding:20px}.help-modal{width:min(670px,100%);max-height:92vh;overflow:auto;position:relative;padding:33px 38px 32px;background:linear-gradient(140deg,#14273e,#091425);border:1px solid #54738e8a;border-radius:20px;box-shadow:0 30px 120px #000a}.help-modal h2{font-size:32px;letter-spacing:-1.3px;margin:12px 0}.help-modal>p{color:#b2c4d8;font-size:13px}.help-modal ol{padding-left:19px;margin:22px 0;color:#acc0d3;line-height:1.75}.help-modal li{padding-left:7px;margin:9px 0}.help-modal strong{color:#edf6ff}.modal-close{position:absolute;right:20px;top:15px;font-size:28px;color:#aabdd2;background:none;border:0}.keycap-row{display:flex;flex-wrap:wrap;gap:16px;color:#9cb2cc;font-size:11px;margin:17px 0 20px}.keycap-row kbd{border:1px solid #52718d;border-radius:4px;padding:4px;color:#dbefff}.science-caveat{padding:12px;border-left:2px solid #8f8ee3;background:#8a86db0c;margin-bottom:19px!important}.toast{position:fixed;z-index:40;left:50%;bottom:28px;transform:translate(-50%,30px);pointer-events:none;opacity:0;max-width:min(500px,94vw);background:#1a3249;color:#e1f6ff;padding:11px 18px;border:1px solid #6bacc881;border-radius:9px;box-shadow:0 12px 30px #0008;font-size:12px;transition:opacity .25s,transform .25s;text-align:center}.toast.visible{opacity:1;transform:translate(-50%,0)}
@media (max-width:1450px){.app-shell{padding:0 15px}.workspace{grid-template-columns:254px minmax(370px,1fr) 280px;gap:9px}.panel{padding:20px 15px}.scene-caption{top:82px}.scene-caption h1{font-size:36px}.head-center{font-size:9px}.gesture-hint{display:none}.scene-tools{left:15px;right:15px}.view-switch button{padding:9px 8px}.scene-legend{gap:11px;left:17px}.scene-object-card{max-width:245px}.learning-strip{gap:14px}}
@media (max-width:1120px){.workspace{grid-template-columns:minmax(242px,1fr) minmax(400px,1.8fr);min-height:0}.scene-panel{grid-column:2;grid-row:1/3;min-height:870px}.instrument-panel{grid-column:1;grid-row:2}.control-panel{grid-column:1;grid-row:1}.learning-strip{grid-template-columns:repeat(2,1fr)}.head-center{display:none}}
@media (max-width:720px){.app-shell{padding:0 10px}.topbar{height:75px}.brand-title{font-size:14px;letter-spacing:.5px}.brand-title span{letter-spacing:.6px}.identity{gap:9px}.brand-symbol{width:33px;height:33px}.brand-symbol i{transform:rotate(48deg) scale(.75)!important}.eyebrow{font-size:8px}.top-actions{gap:4px}.top-actions .button{padding:0 10px;font-size:10px}.hide-sm{display:none}.workspace{display:flex;flex-direction:column;gap:10px;margin-top:9px}.scene-panel{order:0;min-height:565px;height:68svh;max-height:750px}.control-panel{order:1}.instrument-panel{order:2}.scene-caption{top:66px;left:17px}.scene-caption h1{font-size:33px;letter-spacing:-1.4px}.scene-caption p{font-size:10px;max-width:180px}.scene-corner-readout{right:16px;top:75px}.scene-corner-readout strong{font-size:27px}.scene-top{left:17px;right:17px;top:17px}.viewport-live{font-size:8px}.scene-object-card{left:13px;right:13px;max-width:none;bottom:111px;padding:10px 13px}.scene-tools{bottom:61px;left:9px;right:9px}.view-switch{flex:1;justify-content:space-between}.view-switch button{font-size:9px;padding:8px 7px}.scene-legend{left:14px;right:10px;gap:9px;bottom:20px;font-size:9px}.panel{padding:21px}.control-stack{gap:19px}.learning-strip{grid-template-columns:1fr;padding:19px;gap:20px}.learning-title strong{font-size:18px}.bottom-line{font-size:8px;flex-wrap:wrap}.help-modal{padding:25px 22px}.help-modal h2{font-size:26px}}
@media (prefers-reduced-motion:reduce){*,*:before,*:after{transition:none!important;animation:none!important}}

.insight-box{margin-top:17px;border:1px solid #3468825e;background:linear-gradient(135deg,#102b39a8,#17203999);border-radius:10px;padding:12px 13px}.insight-box p{font-size:11px;color:#b7cee3;margin-top:8px;line-height:1.65}.learning-objectives{padding:13px 15px;background:#1a344779;border:1px solid #4583a044;border-radius:9px;margin:16px 0}.learning-objectives>strong{font-size:12px}.learning-objectives p{font-size:12px;color:#a9c5d8;margin-top:5px}.discovery-note{padding:10px 12px;background:#31517422;border-radius:8px;margin-bottom:12px!important;font-size:11px!important}
