:root{font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:#dce9ee;background:#07121d;font-synthesis:none;--teal:#72ead5;--gold:#e5b37a;--muted:#8da4b3;--edge:#2a4251;--panel:#11212c;--panel2:#10202b;--shadow:0 20px 70px #0005}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;min-width:320px;background:radial-gradient(ellipse 70% 15% at 53% 0%,#164b51 0%,transparent 80%),#07121d}body,button,select,input{font-family:inherit}button,select,input{font-size:inherit}button{cursor:pointer}button:focus-visible,input:focus-visible,select:focus-visible,canvas:focus-visible{outline:2px solid var(--teal);outline-offset:3px}a{color:var(--teal)}.ambient{position:absolute;z-index:-1;inset:0;pointer-events:none;background-image:linear-gradient(#fff1 1px,transparent 1px),linear-gradient(90deg,#fff1 1px,transparent 1px);background-size:70px 70px;mask-image:linear-gradient(180deg,#0005,transparent 40%)}.app-shell{width:min(1690px,calc(100% - 72px));margin:0 auto}.eyebrow{color:var(--gold);font-size:10px;font-weight:800;letter-spacing:2.0px}.topbar{height:88px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid #2a414e;gap:20px}.brand{display:flex;align-items:center;gap:15px}.brand-mark{width:42px;height:42px;border:1px solid var(--teal);border-radius:9px;display:flex;align-items:center;justify-content:center;gap:5px;background:#174248;transform:skew(-7deg)}.brand-mark span{width:4px;height:24px;border-radius:4px;background:#6ff3d6}.brand-mark span:nth-child(2){height:32px;background:var(--gold)}.brand-mark span:nth-child(3){height:18px}.brand strong{font-size:19px;letter-spacing:4.6px;display:block}.brand small{font-size:9px;letter-spacing:1.65px;color:#8fb0bb}.topbar-actions{display:flex;align-items:center;gap:10px}.status-pill{height:38px;border:1px solid #2c5156;display:flex;align-items:center;gap:11px;padding:0 15px;font-size:10px;letter-spacing:1.4px;color:#a7c3c9;border-radius:5px}.status-pill b{color:var(--teal)}.pulse{height:7px;width:7px;background:var(--teal);border-radius:50%;box-shadow:0 0 15px var(--teal)}.icon-button{font-size:25px;line-height:1;width:38px;height:38px;text-align:center}.ghost{background:transparent;color:#b6cbd2;border:1px solid #365362;border-radius:4px;transition:background .2s,border .2s}.ghost:hover{background:#1d3744;border-color:#6b8898}.primary{color:#0b242a;background:var(--teal);border:1px solid var(--teal);font-weight:800;transition:filter .2s,transform .2s}.primary:hover{filter:brightness(1.1)}button:active{transform:scale(.98)}.hero{padding:37px 0 32px;display:flex;justify-content:space-between;align-items:center;gap:20px}.hero h1{font-size:clamp(31px,3.2vw,54px);letter-spacing:-2.5px;font-weight:650;line-height:1.12;margin:11px 0 13px}.hero h1 em{font-family:Georgia,serif;color:var(--teal);font-style:italic;font-weight:400}.hero p{color:#94abb8;font-size:13px;max-width:780px;line-height:1.85;margin:0}.section-symbol{color:#7aebdc;margin:0 10px}.hero-signature{min-width:245px;border-left:1px solid #31505a;display:flex;flex-direction:column;align-items:center;padding:0 0 0 28px;gap:6px}.signature-icon{font-size:48px;font-family:Georgia,serif;color:var(--gold)}.hero-signature span{font-size:9px;letter-spacing:1.4px;font-weight:700}.hero-signature small{color:#76919e;font-size:9px;letter-spacing:1.1px}.station-nav{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:5px;border-bottom:1px solid var(--edge);padding-bottom:9px;margin-bottom:21px}.station{min-height:72px;display:flex;flex-direction:column;text-align:left;justify-content:center;gap:4px;padding:12px 16px;background:#132533;color:#b1c4cb;border:1px solid #294451;border-radius:4px;position:relative;transition:.15s}.station:hover{background:#1b3645}.station.active{border-color:var(--teal);background:linear-gradient(135deg,#1c4a49,#132c36);color:#f1ffff}.station.active:after{content:"";position:absolute;bottom:-11px;left:0;right:0;height:2px;background:var(--teal)}.station-index{font-size:10px;color:var(--gold);letter-spacing:1px}.station strong{font-size:12px;letter-spacing:1.7px}.station small{font-size:10px;color:#8da3b4}.workspace{display:grid;grid-template-columns:minmax(0,1fr) 345px;gap:20px;align-items:start}.viewer-stack{min-width:0}.viewer{height:clamp(390px,41vw,630px);position:relative;overflow:hidden;border:1px solid #2b4b5c;background:radial-gradient(circle at 50% 50%,#1a3347,#06111b 70%);box-shadow:var(--shadow)}#scene{display:block;width:100%;height:100%;touch-action:none;cursor:grab}#scene:active{cursor:grabbing}.viewport-heading{pointer-events:none;position:absolute;top:20px;left:22px;right:20px;display:flex;align-items:center;justify-content:space-between;color:#aac3cb;font-size:9px;letter-spacing:1.4px}.pill{background:#1b554e;color:#adfff0;border:1px solid #337b71;padding:7px 9px;border-radius:2px;font-weight:800}.viewer-hud{pointer-events:none;position:absolute;top:68px;left:22px;display:flex;flex-direction:column;gap:13px}.viewer-hud div{border-left:2px solid #7cdbd1;padding-left:11px;text-shadow:0 1px 8px #03131e}.viewer-hud small{font-size:9px;letter-spacing:1.2px;color:#a9b9c3;display:block;margin-bottom:2px}.viewer-hud strong{font-size:25px;letter-spacing:-1px;font-weight:650;color:#edfaf5;font-variant-numeric:tabular-nums}.viewer-hud i{font-size:13px;font-style:normal;color:#b3bac3}.viewer-bottom{position:absolute;bottom:14px;left:22px;right:20px;display:flex;justify-content:space-between;align-items:center;pointer-events:none}.drag-note{font-size:9px;color:#a6c6cb;letter-spacing:.8px;background:#081a23b9;padding:9px 12px}.drag-note span{color:var(--gold);font-size:14px;margin-right:7px}.drag-note b{color:var(--gold)}.fps{padding:7px 10px;color:#74edd7;background:#071a23a9;font-size:9px;letter-spacing:1px}.render-error{position:absolute;inset:10%;display:grid;place-content:center;padding:30px;color:#fce1c5;background:#131d2c;border:1px solid #ba8861;line-height:1.7;text-align:center}.render-error[hidden]{display:none}.transport{border:1px solid var(--edge);border-top:none;display:flex;align-items:center;gap:15px;padding:15px 18px;background:#122431;min-height:83px}.transport-left{display:flex;gap:8px}.play-button{background:var(--teal);color:#102c30;border:0;border-radius:3px;font-weight:900;font-size:13px;padding:13px 20px}.play-button span{margin-left:7px;font-size:10px;letter-spacing:1px}.transport-button{border:1px solid #385360;color:#bcd0d7;background:#172c39;border-radius:3px;padding:12px 15px}.transport-button span{font-size:10px;letter-spacing:1px;margin-left:5px}.time-code{margin-left:auto;display:flex;flex-direction:column;min-width:110px}.time-code small{color:#88a5b3;letter-spacing:1.2px;font-size:8px}.time-code strong{font-family:ui-monospace,monospace;font-size:23px;font-weight:550;color:#dbeeee}.speed-box{margin-left:8px}.speed-box label{font-size:9px;letter-spacing:1px;color:#91a7b6;display:block;margin-bottom:4px}.speed-box select{min-width:134px}.station-description{background:#12232f;border:1px solid var(--edge);border-top:0;display:flex;gap:20px;align-items:center;justify-content:space-between;padding:22px 25px;min-height:139px}.station-description h2{font-size:19px;font-weight:600;letter-spacing:-.5px;margin:7px 0}.station-description p{font-size:12px;line-height:1.7;color:#8ea7b5;margin:0;max-width:650px}.station-task{font-size:10px;letter-spacing:1px;line-height:1.6;color:#dbbc88;background:#233342;border-left:2px solid var(--gold);padding:14px;width:225px;flex-shrink:0}.control-panel{background:#10212c;border:1px solid var(--edge);padding:25px 25px 18px;box-shadow:var(--shadow)}.panel-heading{margin-bottom:26px}.panel-heading h2{font-size:21px;letter-spacing:-.5px;margin:10px 0 6px;font-weight:600}.panel-heading p,.field p{color:#7e9ba9;font-size:11px;line-height:1.5;margin:0}.controls-list{display:flex;flex-direction:column;gap:23px}.field-head{display:flex;justify-content:space-between;gap:6px;margin-bottom:10px}.field-head label{font-size:11px;font-weight:650;color:#d3e2e8}.field-head small{color:var(--gold);margin-left:5px}.field-head output{font-size:12px;color:var(--teal);font-weight:750;font-variant-numeric:tabular-nums}input[type=range]{display:block;width:100%;accent-color:var(--teal);cursor:pointer;margin:7px 0;height:7px}select{border:1px solid #34525f;background:#1b3240;color:#d6e8eb;padding:10px 12px;border-radius:3px;font-size:11px;max-width:100%}.field select{width:100%;margin-bottom:10px}.range-scale{display:flex;justify-content:space-between;color:#71909e;font-size:9px;letter-spacing:.5px;margin:11px 0 9px}.sensor-card{margin-top:25px;background:radial-gradient(circle at right bottom,#1b4b4c,#102f39 75%);border:1px solid #337369;border-radius:3px;padding:18px 16px}.sensor-figure{margin:12px 0 13px;display:flex;align-items:baseline;gap:7px}.sensor-figure strong{font-family:ui-monospace,monospace;font-size:32px;font-weight:550;color:#b2ffe8}.sensor-figure span{font-size:11px;color:#8ec4bd}.sensor-track{display:flex;gap:5px;justify-content:space-between;font-size:8px;letter-spacing:.4px;color:#98b8b7}.sensor-track span:nth-child(2){color:#e6c591}.keyboard-note{margin-top:20px;border-top:1px solid #284653;padding-top:18px;font-size:10px;color:#8fa7b1;line-height:1.7}.keyboard-note b{display:block;letter-spacing:1px;color:var(--gold);margin-bottom:6px}.data-section,.notebook-section,.challenge-section,.education-section{padding-top:60px}.section-heading{display:flex;justify-content:space-between;align-items:end;gap:20px;margin-bottom:22px}.section-heading h2{font-size:clamp(23px,2.1vw,34px);letter-spacing:-1px;font-weight:580;margin:9px 0 0}.legend{display:flex;gap:20px;align-items:center}.legend span{font-size:9px;letter-spacing:1px;color:#9eb4bf;white-space:nowrap}.line{display:inline-block;width:29px;border-top:3px solid var(--teal);vertical-align:middle;margin-right:7px}.line.ideal{border-top:2px dashed var(--gold)}.metrics-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:9px;margin-bottom:13px}.metric{padding:18px;background:#142633;border:1px solid #294552;display:flex;flex-direction:column;gap:6px}.metric>span{font-size:9px;letter-spacing:1.35px;color:#9bb4bf}.metric strong{font-size:clamp(19px,2vw,30px);font-family:ui-monospace,monospace;font-weight:540;color:#e7f6f2}.metric small{font-size:10px;color:#81a4b0}.secondary-meters{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:7px;margin:0 0 13px}.secondary-meters>div{display:flex;flex-direction:column;gap:5px;background:#0d222e;padding:13px 14px;border:1px solid #294451}.secondary-meters span{font-size:9px;letter-spacing:1px;color:#92aeb9}.secondary-meters strong{font:550 18px/1.2 ui-monospace,monospace;color:#e1e9e8}.secondary-meters small{color:#799cad;font-size:9px}
.graph-grid{display:grid;grid-template-columns:1fr 1fr;gap:13px}.graph-card{padding:24px 22px 15px;border:1px solid #294552;background:#11222e}.graph-title{display:flex;justify-content:space-between;gap:15px;align-items:center;min-height:56px}.graph-title h3{font-weight:580;letter-spacing:-.4px;font-size:19px;margin:8px 0}.label-tag{color:#88abbb;border:1px solid #315262;padding:8px 10px;font-size:9px;letter-spacing:1.0px;white-space:nowrap}.graph{width:100%;height:auto;background:#10212f;display:block;margin-top:13px;border:1px solid #213d4a;overflow:visible}.graph-card p{font-size:11px;line-height:1.6;color:#8daab4;margin:13px 0 0}.notebook-actions{display:flex;gap:8px;flex-wrap:wrap}.small{font-size:10px;letter-spacing:.4px;padding:11px 14px;border-radius:3px;font-weight:750}.table-scroll{overflow:auto;border:1px solid #294955;background:#10222c}table{border-collapse:collapse;width:100%;font-variant-numeric:tabular-nums;min-width:960px}thead{background:#19313d}th,td{padding:15px 12px;border-bottom:1px solid #26424e;text-align:right;white-space:nowrap}th{font-size:9px;letter-spacing:1px;color:#9fb9c1;font-weight:720}th:nth-child(2),td:nth-child(2){text-align:left}td{font-size:11px;color:#d4e6e9}td.empty-cell{text-align:center;padding:38px;color:#7e9ba7}.notebook-footer{display:flex;justify-content:space-between;gap:12px;font-size:10px;color:#73939f;margin-top:10px}.challenge-section{margin-top:60px;border-top:1px solid var(--edge)}.challenge-head{display:flex;justify-content:space-between;align-items:center}.challenge-head h3{font-size:32px;letter-spacing:-1px;margin:9px 0}.counter{font-family:ui-monospace,monospace;color:var(--teal);font-size:13px}.difficulty{display:flex;gap:5px;margin:20px 0}.difficulty button{border:1px solid #385965;color:#9caeb8;background:#172934;padding:10px 14px;text-transform:uppercase;font-size:10px;letter-spacing:1px;border-radius:3px}.difficulty button[aria-pressed=true]{border-color:var(--teal);color:var(--teal);background:#1e3e43}.challenge-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:11px}.challenge{min-height:213px;border:1px solid #2c4958;background:linear-gradient(140deg,#142935,#10212e);padding:19px 21px}.challenge.passed{border-color:#438573}.challenge header{display:flex;align-items:center;justify-content:space-between;gap:12px;color:var(--gold);font-size:9px;letter-spacing:1.2px}.challenge header b{color:#8ba9b7}.challenge.passed header b{color:var(--teal)}.challenge h4{font-size:17px;font-weight:620;letter-spacing:-.3px;margin:11px 0 7px}.challenge p{color:#91acb8;font-size:11px;line-height:1.65;margin:0 0 13px}.challenge-entry{display:flex;gap:10px;align-items:center}.challenge-entry input{max-width:220px;width:100%;padding:9px 10px;background:#091f2c;color:#d8efed;border:1px solid #41616f;border-radius:3px}.challenge-entry span{font-size:11px;color:#94aeb5}.choices{display:grid;gap:6px}.choices label{display:flex;gap:9px;color:#b4cbd1;font-size:11px;align-items:center}.choices input{accent-color:var(--teal)}.challenge-actions{display:flex;gap:7px;margin-top:14px;flex-wrap:wrap}.mini{padding:8px 10px;font-size:10px;border-radius:3px}.challenge .feedback{margin:10px 0 0;min-height:8px}.feedback.hint{color:#eac78f}.feedback.error{color:#efa69f}.feedback.ok{color:var(--teal)}.education-section{margin-bottom:65px}.education-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:11px}.learning-card{background:#122633;border:1px solid #2b4d59;padding:24px}.learning-card.wide{grid-column:span 2}.learning-card h3{font-size:17px;letter-spacing:-.4px;margin:11px 0}.learning-card p,.learning-card li{font-size:12px;line-height:1.85;color:#9db7c1}.learning-card ul,.learning-card ol{padding-left:20px}.learning-card li+li{margin-top:4px}.equation{font-family:ui-monospace,monospace;color:#b0f0df;background:#0a2028;border-left:2px solid var(--teal);font-size:12px;line-height:1.75;padding:14px;overflow-x:auto}.glossary{display:grid;grid-template-columns:1fr 1fr;gap:6px 12px}.glossary div{padding:6px 0;border-bottom:1px solid #29414e}.glossary dt{font-size:11px;color:#dbbc83;font-weight:700}.glossary dd{font-size:11px;line-height:1.6;color:#92adbb;margin:4px 0}footer{border-top:1px solid var(--edge);padding:27px 0 35px;display:flex;align-items:center;justify-content:space-between;gap:15px;color:#7898a7;font-size:10px}footer>div{display:flex;flex-direction:column;gap:5px}footer strong{color:#e2f4ef;letter-spacing:3px}footer #seedDisplay{font-family:ui-monospace,monospace;color:#8cbdbb}
@media(max-width:1190px){.app-shell{width:min(100% - 40px,1320px)}.workspace{grid-template-columns:minmax(0,1fr) 310px}.hero-signature{display:none}.station{padding:10px}.transport{gap:7px;padding:10px}.transport-button span{display:none}.speed-box select{min-width:95px}.control-panel{padding:19px}.viewer{height:485px}}
@media(max-width:900px){.workspace{grid-template-columns:1fr}.control-panel{display:block}.controls-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:22px}.control-panel .panel-heading{margin-bottom:16px}.viewer{height:540px}.station-description{min-height:110px}.graph-grid{grid-template-columns:1fr}.metrics-grid{grid-template-columns:repeat(2,1fr)}.secondary-meters{grid-template-columns:repeat(4,minmax(0,1fr))}.education-grid{grid-template-columns:repeat(2,1fr)}.learning-card.wide{grid-column:span 2}.station-nav{gap:3px}.station strong{font-size:10px}}
@media(max-width:580px){.app-shell{width:calc(100% - 26px)}.topbar{height:77px}.topbar .status-pill{display:none}.brand strong{font-size:16px}.brand small{font-size:8px}.hero{padding:30px 0 25px}.hero h1{font-size:36px;letter-spacing:-1.5px}.hero p{font-size:12px}.station-nav{grid-template-columns:repeat(3,1fr)}.station{min-height:61px}.station.active:after{display:none}.viewer{height:410px}.viewport-heading{top:10px;left:10px;right:10px}.viewport-heading>span:last-child{display:none}.viewer-hud{left:12px;top:48px;gap:8px}.viewer-hud small{font-size:7px}.viewer-hud strong{font-size:17px}.viewer-bottom{left:9px;right:9px;bottom:8px}.drag-note{font-size:7px;max-width:230px}.transport{flex-wrap:wrap}.transport-left{width:100%;justify-content:space-between}.play-button{flex:1}.time-code{margin:6px 0}.station-description{flex-direction:column;align-items:stretch}.station-task{width:100%}.controls-list{grid-template-columns:1fr}.section-heading{align-items:start;flex-direction:column}.legend{flex-wrap:wrap}.notebook-actions{gap:5px}.small{padding:9px 10px}.metrics-grid{gap:7px}.secondary-meters{grid-template-columns:repeat(2,minmax(0,1fr))}.metric{padding:13px}.metric strong{font-size:19px}.challenge-grid{grid-template-columns:1fr}.challenge-head h3{font-size:25px}.education-grid{grid-template-columns:1fr}.learning-card.wide{grid-column:span 1}.glossary{grid-template-columns:1fr}footer{flex-direction:column;align-items:start}.graph-card{padding:17px 12px}.graph-title{flex-direction:column;align-items:start}.notebook-footer{flex-direction:column}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{scroll-behavior:auto!important;animation:none!important;transition:none!important}}
