:root{color-scheme:dark;--bg:#081722;--deep:#07131e;--panel:#0e2330;--panel2:#112837;--edge:#24404f;--ink:#e2eced;--dim:#91adb9;--muted:#678795;--cyan:#75d9e9;--orange:#efaf78;--purple:#b7a2ed;--green:#87e0b9;--glow:0 0 32px #3abbd82b}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;font-family:Inter,'Segoe UI',Arial,sans-serif;background:var(--bg);color:var(--ink);font-size:13px;line-height:1.5}button,input,select{font:inherit}button{cursor:pointer}button:focus-visible,input:focus-visible,select:focus-visible{outline:2px solid var(--cyan);outline-offset:3px}button:disabled{opacity:.45;cursor:not-allowed}.app-shell{max-width:1920px;margin:auto}.topbar{height:78px;background:#091924;border-bottom:1px solid #213a49;display:flex;align-items:center;justify-content:space-between;padding:0 34px;gap:25px}.brand{display:flex;align-items:center;gap:12px}.brand-symbol{font-size:33px;color:var(--cyan);font-weight:300}.brand strong{display:block;font-size:19px;letter-spacing:.35em;font-weight:800}.brand small{display:block;font-size:8px;color:var(--dim);letter-spacing:.2em;margin-top:0}.top-center{color:#789dab;font:10px 'Consolas',monospace;letter-spacing:.1em;white-space:nowrap}.pulse{display:inline-block;width:6px;height:6px;border-radius:50%;background:var(--green);box-shadow:0 0 12px var(--green);margin-right:10px}.thin{color:#466675;margin:0 10px}.top-actions{display:flex;gap:12px}.quiet{border:0;background:transparent;color:#a7c5d0;font:10px 'Consolas',monospace;letter-spacing:.09em;padding:10px 6px}.quiet:hover{color:white}.hero{min-height:214px;padding:35px 40px 33px;display:flex;align-items:center;justify-content:space-between;gap:30px;background:radial-gradient(circle at 65% -20%,#153b4a8f,transparent 48%),linear-gradient(120deg,#0b1b27,#0c2331)}.hero .eyebrow{margin:0 0 9px}.eyebrow{color:var(--cyan);letter-spacing:.23em;font:10px 'Consolas',monospace}.sep{color:#718a91;margin:0 10px}.hero h1{font-size:clamp(28px,3.2vw,47px);letter-spacing:-.045em;line-height:1.12;font-weight:600;margin:0}.hero h1 em{font-style:normal;color:var(--cyan);font-weight:400}.intro{max-width:680px;color:#a3bec8;margin:14px 0 0;font-size:12px;line-height:1.7}.hero-id{border-left:1px solid #416074;min-width:190px;padding:7px 25px}.hero-id small{display:block;color:#7897a6;letter-spacing:.13em;font:10px 'Consolas',monospace;line-height:1.7}.hero-id strong{display:block;color:#b4eaf0;font:34px Georgia,serif;margin:8px 0 14px}.mode-strip{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));border-top:1px solid #2a4150;border-bottom:1px solid #2a4150;background:#0b1f2b}.mode{height:83px;border:0;border-right:1px solid #213a49;background:transparent;color:#adc5ce;display:grid;grid-template-columns:29px 1fr;grid-template-rows:31px 20px;align-content:center;text-align:left;padding:12px 18px;gap:0 9px;position:relative}.mode:hover{background:#143140}.mode.active{background:#153441;color:#e5f9fb}.mode.active:before{content:'';position:absolute;top:0;left:0;right:0;height:3px;background:#72d7e7;box-shadow:var(--glow)}.mode>span{grid-row:1/3;align-self:start;color:var(--cyan);font:12px 'Consolas',monospace;margin-top:4px}.mode b{font-size:12px;font-weight:650;white-space:nowrap}.mode small{font-size:10px;color:#7595a3}.station{display:grid;grid-template-columns:minmax(255px,290px) minmax(450px,1fr) minmax(270px,290px);background:#0a1c29;min-height:740px}.left-panel,.right-panel{background:#0d2230;padding:22px 23px;border-right:1px solid var(--edge)}.left-panel{max-height:810px;overflow-y:auto;scrollbar-color:#436677 transparent;scrollbar-width:thin}.right-panel{border-right:0;border-left:1px solid var(--edge)}.panel-head{display:flex;align-items:start;justify-content:space-between;gap:5px}.panel-head h2{margin:7px 0 8px;font-size:18px;font-weight:600;letter-spacing:-.02em}.micro-label{font:9px 'Consolas',monospace;color:#6d9aab;white-space:nowrap}.mode-summary{min-height:48px;line-height:1.55;color:#9bb5bf;font-size:11px;margin:7px 0 23px}.section-caption{display:flex;justify-content:space-between;gap:5px;color:#85aebd;font:9px 'Consolas',monospace;letter-spacing:.15em;padding:9px 0;border-bottom:1px solid #294756;margin:14px 0}.section-caption span{color:#608695}.control{padding:7px 0 12px}.control label{display:flex;align-items:baseline;justify-content:space-between;gap:5px;font-size:11px;color:#bdcfd4}.control output{color:#d7edf2;font:10px 'Consolas',monospace;white-space:nowrap}.control input[type=range]{appearance:none;-webkit-appearance:none;background:linear-gradient(90deg,#51b9d0,#204959);width:100%;height:4px;border-radius:3px;margin:16px 0 5px;cursor:ew-resize}.control input::-webkit-slider-thumb{appearance:none;width:13px;height:13px;background:#bceff1;border:3px solid #176375;border-radius:50%;box-shadow:0 0 0 2px #224651}.control input::-moz-range-thumb{width:13px;height:13px;background:#bceff1;border:3px solid #176375;border-radius:50%}.ticks{display:flex;justify-content:space-between;color:#608897;font:9px 'Consolas',monospace}.presets{display:flex;gap:7px;flex-wrap:wrap}.preset{border:1px solid #356273;background:#163645;color:#a3cddd;border-radius:2px;font-size:10px;padding:8px 10px}.preset:hover{background:#235264;color:white}.helper{font-size:10px;color:#7198a8;margin:16px 0 0;line-height:1.6}.central-panel{min-width:0;background:#061522}.viewport-header{height:52px;background:#102635;border-bottom:1px solid #29404e;display:flex;align-items:center;justify-content:space-between;padding:0 20px;gap:10px}.eye{font:10px 'Consolas',monospace;letter-spacing:.15em;color:#9ebdca}.viewport-header>div{display:flex;gap:8px}.tool{border:1px solid #294957;background:#132f3e;padding:6px 9px;color:#91bccb;font:9px 'Consolas',monospace}.tool[aria-pressed=false]{opacity:.45}.tool:hover{background:#1d4858}.viewport{height:575px;position:relative;overflow:hidden;background:radial-gradient(circle at 50% 50%,#15334a 0,#091c2a 60%,#081621)}.viewport:after{content:'';position:absolute;inset:0;background:linear-gradient(to right,#07182491,transparent 29%,transparent 72%,#0718248a);pointer-events:none}.viewport canvas{display:block;width:100%;height:100%;cursor:grab}.overlay{position:absolute;z-index:2;pointer-events:none}.top-left{top:21px;left:21px;display:flex;flex-direction:column;gap:6px}.top-left small{font:9px 'Consolas',monospace;letter-spacing:.15em;color:#7ea7ba}.top-left b{font:11px 'Consolas',monospace;color:#d7ecf3}.top-right{right:19px;top:20px;text-align:right;display:grid;gap:6px;color:#7ca1b1;font:9px 'Consolas',monospace}.drag-hint{color:#b1eaf1}.instrument-label{position:absolute;z-index:3;pointer-events:none;background:#112e3de8;border:1px solid #3f8ca1;box-shadow:0 2px 15px #07111a88;padding:8px 10px;min-width:112px;font:9px 'Consolas',monospace;letter-spacing:.04em;color:#8bd8e8;transform:translate(16px,-50%)}.instrument-label b{display:block;color:white;font-size:11px;margin-top:4px}.instrument-label.warm{border-color:#b47b55;color:#f0b78c;transform:translate(calc(-100% - 16px),-50%)}.scene-bottom{position:absolute;bottom:0;left:0;right:0;height:52px;z-index:3;background:linear-gradient(transparent,#081824e0);display:flex;justify-content:space-between;align-items:center;color:#96adba;padding:0 20px;font:10px 'Consolas',monospace;letter-spacing:.08em}.scene-bottom b{color:var(--green)}.dot{display:inline-block;width:6px;height:6px;background:#6fd7bd;border-radius:50%;margin-right:8px;box-shadow:0 0 12px #6fd7bd}.transport{height:76px;background:#102734;display:flex;align-items:center;justify-content:space-between;padding:12px 20px;border-top:1px solid #385566;border-bottom:1px solid #385566;gap:6px}.transport-left{display:flex;align-items:center;gap:9px}.primary{border:1px solid #a6e9ec;background:#7ed6db;color:#082231;font-size:10px;font-weight:800;letter-spacing:.09em;padding:12px 18px;white-space:nowrap;box-shadow:0 4px 26px #4ca9b526}.primary:hover{background:#b4f1ed}.secondary{border:1px solid #416373;background:#152f3c;color:#c4dce2;font-size:10px;letter-spacing:.08em;padding:11px 12px;white-space:nowrap}.secondary:hover{background:#225163}.speed{display:flex;align-items:center;gap:8px;color:#79a0b1;font:10px 'Consolas',monospace;margin-left:6px}select{color:#dcecee;background:#142c3b;border:1px solid #34566b;padding:8px 5px;cursor:pointer}.counter{font:10px 'Consolas',monospace;color:#88adbb;display:flex;gap:10px;align-items:center}.counter b{font-size:13px;color:#dbf2f3}.bottom-metrics{display:grid;grid-template-columns:repeat(3,1fr);background:#0c2431}.bottom-metrics>div{padding:17px 15px;border-right:1px solid #264452}.bottom-metrics small{display:block;font:9px 'Consolas',monospace;color:#729ba9;letter-spacing:.07em}.bottom-metrics b{font:15px 'Consolas',monospace;color:#d4e9ea;display:block;margin-top:9px}.right-panel .panel-head{margin-bottom:27px}.big-instrument{background:radial-gradient(circle at 80% 0,#16475b,#102a39 65%);border:1px solid #2a5566;padding:18px}.big-instrument>small{font:9px 'Consolas',monospace;letter-spacing:.16em;color:#89bbcb}.big-instrument>div:nth-child(2){margin-top:9px;display:flex;align-items:baseline;gap:7px}.big-instrument b{font:41px 'Consolas',monospace;letter-spacing:-.06em;color:#b9f3eb}.big-instrument>div:nth-child(2) span{font:10px 'Consolas',monospace;color:#88b9c8}.thermal-track{margin-top:18px;height:5px;background:#264350}.thermal-track i{display:block;height:100%;background:linear-gradient(90deg,#5dcfe1,#75e2aa,#eda86e);width:40%;transition:width .2s}.big-instrument p{display:flex;justify-content:space-between;color:#7496a5;font:9px 'Consolas',monospace;margin:10px 0 0}.big-instrument p span:last-child{color:#8be4b8}.readout-grid{display:grid;grid-template-columns:1fr 1fr;margin:26px 0 17px}.readout-grid>div{padding:13px 5px 17px;border-bottom:1px solid #2b4553}.readout-grid>div:nth-child(odd){border-right:1px solid #2b4553}.readout-grid>div:nth-child(even){padding-left:15px}.readout-grid small{display:block;color:#7da2b0;font:9px 'Consolas',monospace;margin-bottom:9px}.readout-grid strong{font:18px 'Consolas',monospace;white-space:nowrap}.readout-grid i{font:10px 'Consolas',monospace;color:#8caab7}.accounting p{display:flex;justify-content:space-between;gap:10px;color:#aac1c9;font-size:11px;margin:14px 0}.accounting b{font:11px 'Consolas',monospace;color:#e0eef0;white-space:nowrap}.stage-notice{margin-top:30px;padding:15px;color:#8ec5d6;background:#173746;border-left:3px solid #6bd2e9;font-size:11px;line-height:1.65}.data-section,.records-section,.learning-section,.manual-section{padding:46px 40px;border-top:1px solid #2a4350;background:#0a1c28}.records-section{background:#0c212d}.learning-section{background:#0b1c29}.manual-section{background:#091a25}.section-heading{display:flex;justify-content:space-between;align-items:end;gap:15px;margin:0 0 24px}.section-heading h2{margin:8px 0 0;font-size:26px;letter-spacing:-.035em;font-weight:580}.section-heading>span{font:9px 'Consolas',monospace;color:#709ba9;letter-spacing:.09em}.accent{color:var(--green)}.plots{display:grid;grid-template-columns:1fr 1fr;gap:19px}.plot-card{border:1px solid #2d4b5b;background:#0d2330;padding:21px 19px 14px;min-width:0}.plot-head{display:flex;justify-content:space-between;align-items:start;margin-bottom:13px}.plot-head small{font:9px 'Consolas',monospace;color:#78a0af;letter-spacing:.12em}.plot-head h3{font-size:15px;font-weight:600;margin:7px 0 0}.plot-head>span{color:#598b9b;font:10px 'Consolas',monospace}.plot-card canvas{width:100%;height:240px;display:block;border:1px solid #244557;cursor:crosshair}.plot-legend{display:flex;gap:20px;flex-wrap:wrap;min-height:24px;margin-top:12px;color:#abc9d0;font:10px 'Consolas',monospace}.plot-legend i{width:12px;height:3px;display:inline-block;margin-right:7px;vertical-align:middle}.record-buttons{display:flex;gap:9px;flex-wrap:wrap}.table-scroll{border:1px solid #315060;overflow-x:auto}.table-scroll table{width:100%;min-width:1050px;border-collapse:collapse;text-align:left;font:11px 'Consolas',monospace}.table-scroll th{background:#193343;color:#8eb8c8;letter-spacing:.06em;font-size:9px;padding:15px 13px;white-space:nowrap}.table-scroll td{border-top:1px solid #294453;padding:12px 13px;color:#d2e4e8;white-space:nowrap}.table-scroll tbody tr:nth-child(even){background:#122c3b}.empty{text-align:center;color:#7b9ba9!important;padding:30px!important}.difficulty{display:flex;gap:10px;align-items:center;font:10px 'Consolas',monospace;color:#83a9b7}.challenge-layout{display:grid;grid-template-columns:55px 1fr 210px;border:1px solid #335363;min-height:312px;background:#102937}.challenge-nav{border-right:1px solid #375161;display:flex;flex-direction:column;align-items:center;gap:6px;padding:17px 8px;max-height:420px;overflow-y:auto}.challenge-nav button{border:1px solid transparent;background:transparent;color:#83a6b2;width:34px;height:29px;font:11px 'Consolas',monospace}.challenge-nav button.active{background:#2b6e7e;color:#fff;border-color:#62c8d7}.challenge-nav button.solved{color:#8ae4b9}.challenge-main{padding:27px 32px}.challenge-number{display:flex;justify-content:space-between;color:var(--cyan);font:10px 'Consolas',monospace;letter-spacing:.14em}.challenge-main h3{font-size:24px;font-weight:600;margin:17px 0 11px;letter-spacing:-.02em}.challenge-main p{font-size:12px;color:#afc9d2;line-height:1.8;max-width:870px;min-height:64px}.challenge-answer{margin:21px 0 22px}.challenge-answer input{background:#0b1e2a;border:1px solid #416679;padding:12px 14px;color:#e4f7f8;max-width:290px;width:100%}.challenge-answer .unit{color:#8eafbc;font:11px 'Consolas',monospace;margin-left:12px}.challenge-answer label{display:block;padding:6px 0;color:#bcd1d7;font-size:12px}.challenge-answer input[type=radio]{width:auto;accent-color:#65d4e4;margin-right:8px}.challenge-actions{display:flex;gap:10px;flex-wrap:wrap}.challenge-feedback{margin-top:18px;color:#9bc7d5;font-size:12px;line-height:1.55;min-height:23px}.challenge-feedback.good{color:#91e9ba}.challenge-feedback.bad{color:#ffc391}.challenge-side{border-left:1px solid #335363;padding:26px 19px}.challenge-side strong{display:block;font:34px 'Consolas',monospace;color:#aeeed7;margin:21px 0}.challenge-side p{font-size:11px;color:#9ab5bf;line-height:1.7}.score-track{height:5px;background:#2a4a56;margin:18px 0}.score-track i{display:block;height:100%;width:0;background:#7be3b5}.seed-small{font:9px 'Consolas',monospace!important;overflow-wrap:anywhere;margin-top:28px}.manual-copy{columns:2 410px;column-gap:46px}.manual-copy section{break-inside:avoid;display:inline-block;width:100%;margin:0 0 17px;padding:4px 0 10px;border-bottom:1px solid #294655}.manual-copy h3{font-size:15px;color:#b1ebf0;font-weight:580;margin:5px 0 12px}.manual-copy p{color:#a8c2cb;font-size:12px;line-height:1.85;margin:0}.manual-copy code{font:11px 'Consolas',monospace;color:#e5d4aa;white-space:normal}footer{padding:23px 40px;display:flex;justify-content:space-between;gap:15px;color:#678b9a;font:9px 'Consolas',monospace;letter-spacing:.1em}footer strong{color:#9fe5ed;font-size:13px}#toast{position:fixed;bottom:24px;left:50%;transform:translate(-50%,80px);background:#d1e9e8;color:#0b2633;font-weight:600;padding:13px 22px;box-shadow:0 10px 35px #000a;z-index:15;transition:transform .22s;pointer-events:none}#toast.show{transform:translate(-50%,0)}[hidden]{display:none!important}
@media(max-width:1400px){.station{grid-template-columns:260px minmax(380px,1fr) 255px}.left-panel,.right-panel{padding:19px 15px}.viewport{height:520px}.mode{padding:12px 10px}.mode b{font-size:11px}.top-center{display:none}}
@media(max-width:1050px){.station{grid-template-columns:245px minmax(380px,1fr)}.right-panel{grid-column:1/-1;display:grid;grid-template-columns:1fr 1.2fr 1fr;gap:17px;border-left:0;border-top:1px solid var(--edge)}.right-panel .panel-head{grid-column:1/-1;margin-bottom:0}.big-instrument{align-self:start}.readout-grid{margin:0}.accounting{align-self:start}.stage-notice{grid-column:1/-1;margin:0}.mode-strip{overflow-x:auto;grid-template-columns:repeat(5,minmax(160px,1fr))}.hero{padding:32px 25px}.data-section,.records-section,.learning-section,.manual-section{padding:35px 25px}.challenge-layout{grid-template-columns:50px 1fr 180px}}
@media(max-width:760px){.topbar{padding:10px 15px;height:auto;min-height:65px}.brand strong{font-size:15px}.brand small{font-size:7px}.top-actions{gap:2px}.top-actions .quiet{font-size:8px}.hero{min-height:0;padding:30px 18px}.hero-id{display:none}.hero h1{font-size:31px}.mode-strip{grid-template-columns:repeat(5,170px)}.station{grid-template-columns:1fr}.central-panel{grid-row:1}.left-panel{grid-row:2;max-height:none}.right-panel{grid-row:3;display:block}.right-panel .panel-head{margin-bottom:18px}.right-panel .readout-grid{margin:18px 0}.right-panel .stage-notice{margin:12px 0}.viewport{height:450px}.viewport-header{padding:0 10px}.viewport-header .eye{font-size:8px}.viewport-header>div{gap:3px}.tool{font-size:8px;padding:6px}.top-right{top:65px}.top-left{top:14px;left:12px}.instrument-label{font-size:8px;min-width:75px;padding:5px}.instrument-label b{font-size:9px}.transport{padding:8px;height:auto;min-height:76px;flex-wrap:wrap}.transport .primary{padding:11px}.transport .secondary{padding:10px}.bottom-metrics>div{padding:14px 9px}.bottom-metrics small{font-size:8px}.bottom-metrics b{font-size:11px}.plots{grid-template-columns:1fr}.plot-card{padding:15px}.plot-card canvas{height:210px}.section-heading{align-items:start;flex-wrap:wrap}.section-heading h2{font-size:23px}.challenge-layout{grid-template-columns:48px 1fr}.challenge-main{padding:20px 16px}.challenge-main h3{font-size:20px}.challenge-side{grid-column:1/-1;border-top:1px solid #335363;border-left:0;padding:12px 17px;display:flex;align-items:center;gap:20px}.challenge-side strong{font-size:24px;margin:0}.challenge-side p,.challenge-side .score-track{display:none}.challenge-side .seed-small{display:block;margin:0}.manual-copy{columns:1}.record-buttons{width:100%}footer{padding:22px 17px;flex-direction:column;gap:6px}}
@media(max-width:430px){.viewport{height:390px}.drag-hint{display:none}.mode{height:70px}.hero h1{font-size:28px}.top-actions #btn-shot{display:none}.plot-card canvas{height:200px}.counter{font-size:9px}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{scroll-behavior:auto!important;transition:none!important;animation:none!important}}
