:root{--ink:#173e50;--ink2:#395c6a;--muted:#758e99;--bg:#eaf3f7;--paper:#fdfefe;--line:#d5e6ed;--teal:#237fa4;--teal2:#5db9d5;--coral:#e97e65;--soft:#e4f2f7;--white:#fff;--shadow:0 17px 54px rgba(34,88,105,.095)}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;color:var(--ink);font-family:'DM Sans',Inter,system-ui,sans-serif;background:radial-gradient(circle at 85% 4%,#fff 0,#eef8fa 25%,transparent 43%),var(--bg);font-size:14px;line-height:1.5}button,input{font:inherit}button{cursor:pointer}button:focus-visible,input:focus-visible,.drag-handle:focus-visible{outline:3px solid #f2ab4d;outline-offset:3px}button:disabled{cursor:not-allowed;opacity:.5}a{color:inherit}.app-shell{max-width:1640px;margin:0 auto;padding:0 42px}.topbar{min-height:83px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid #c9dfe9;gap:25px}.brand{text-decoration:none;display:flex;align-items:center;gap:12px;font-size:17px;letter-spacing:.09em;font-weight:800;line-height:1}.brand-symbol{font-size:38px;line-height:1;color:var(--teal);transform:rotate(-20deg)}.brand-em,.footer>span:first-child span{color:#3195b8}.brand small{display:block;font-size:8px;letter-spacing:.20em;font-weight:700;margin-top:7px;color:#7997a3}.series-label{letter-spacing:.18em;font-size:9px;color:#7e99a2;font-weight:800}.label-dash{display:inline-block;width:27px;height:1px;background:#93adb7;vertical-align:middle;margin:0 7px}.top-right{font-size:9px;letter-spacing:.13em;color:#607e8c;font-weight:800;white-space:nowrap}.status-led,.blink-led{display:inline-block;width:7px;height:7px;border-radius:50%;background:#71bfa6;margin-right:7px;box-shadow:0 0 0 3px #d0eee4}.tiny-divider{margin:0 13px;color:#b2cdd9}.hero{display:flex;justify-content:space-between;align-items:center;min-height:257px;padding:34px 4px 38px;gap:25px}.eyebrow,.small-overline{font-size:10px;letter-spacing:.17em;color:#538ba2;font-weight:800}.eyebrow-square{display:inline-block;width:9px;height:9px;background:#e28d70;margin-right:7px;transform:rotate(45deg)}.dot-sep{margin:0 8px;color:#d69b86}h1,h2,h3,p{margin-top:0}h1,h2{letter-spacing:-.035em}h1{font:normal clamp(63px,6.3vw,99px)/.99 'DM Serif Display',Georgia,serif;letter-spacing:-.055em;margin:14px 0 14px}h1 em{color:#338bad;font-weight:400}h2{font-family:'DM Serif Display',Georgia,serif;font-size:27px;font-weight:400;line-height:1.14}.hero-copy>p{font-size:16px;color:#678492;margin-bottom:24px}.hero-chips{display:flex;flex-wrap:wrap;gap:9px}.hero-chips span{background:#e2f0f5;border:1px solid #d2e8f0;padding:8px 12px;color:#47809a;font-size:9px;font-weight:800;letter-spacing:.08em}.hero-mark{display:flex;align-items:flex-end;gap:15px;margin-right:34px;opacity:.92}.hero-mark svg{width:205px;height:164px}.hero-mark>div{font-size:9px;color:#80a3b3;font-weight:800;letter-spacing:.16em;line-height:2.0;padding-bottom:9px;white-space:nowrap}.hero-mark strong{color:#3886a2}.lab-layout{display:grid;grid-template-columns:minmax(0,1.74fr) minmax(350px,.88fr);gap:22px;align-items:start}.lab-main,.side-column{min-width:0;display:grid;gap:17px}.panel{background:rgba(255,255,255,.88);border:1px solid #dbe9ef;box-shadow:var(--shadow);border-radius:5px}.workbench{padding:25px 25px 15px}.section-header{display:flex;justify-content:space-between;align-items:center;gap:14px;margin-bottom:20px}.section-header h2{margin:7px 0 0}.small-overline{font-size:9px;letter-spacing:.15em}.header-rule{display:inline-block;height:1px;width:21px;background:#8fb8c8;vertical-align:middle;margin-left:5px}.live-tag{font-size:9px;letter-spacing:.12em;color:#55869a;font-weight:800;white-space:nowrap}.blink-led{width:6px;height:6px;background:#68b6a1;box-shadow:0 0 0 3px #e5f2ed}.toolbar{display:flex;flex-wrap:wrap;gap:0;margin-bottom:14px;background:#f0f7f9;border:1px solid #d9eaf1;padding:4px;border-radius:4px}.preset{flex:1 1 auto;min-width:107px;padding:10px 8px;background:transparent;border:1px solid transparent;color:#8fa7b0;text-align:center;font-size:9px;letter-spacing:.03em}.preset strong{font-size:11px;font-weight:700;color:#608798;margin-left:5px}.preset.active{background:white;border-color:#cde3eb;color:#458dad;box-shadow:0 3px 12px #2c86aa14}.preset.active strong{color:#276d8a}.scene-frame{background:#f3f9fb;border:1px solid #d6e9ef;border-radius:3px;overflow:hidden}.scene-topline,.scene-bottomline{display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:10px;padding:11px 15px;font-size:9px;font-weight:700;letter-spacing:.095em;color:#83a0ac}.scene-topline b{color:#568fa3;margin-left:8px}.scene-topline strong{font-size:11px;color:#e17e69}.scene-coordinate-dot{display:inline-block;height:6px;width:6px;border:1px solid #77a4b8;border-radius:50%;margin-right:7px}.scene-bottomline{border-top:1px solid #dceaf0;justify-content:flex-start;gap:22px;background:#fbfdfd}.scene-keyboard{margin-left:auto;font-size:8px;color:#97aeb5}.legend-sw{display:inline-block;width:25px;border-top:3px solid;vertical-align:middle;margin-right:6px}.legend-coral{border-color:var(--coral)}.legend-blue{border-color:var(--teal);border-top-style:dashed}.scene{display:block;width:100%;height:auto;aspect-ratio:3/2;background:#f5fafb;touch-action:none;user-select:none}.drag-handle{cursor:grab;touch-action:none}.drag-handle:active{cursor:grabbing}.drag-hit{fill:transparent;stroke:none;pointer-events:all}.label-svg{font:700 14px 'DM Sans',sans-serif;fill:#49798b;letter-spacing:1.2px}.handle-label{font:800 16px 'DM Sans',sans-serif;fill:#173e50}.scene-status{font-size:12px;color:#658390;min-height:22px;margin:14px 0 3px}.scene-status.warn{color:#bd715c}.scene-status.good{color:#298c84}.workbench-actions{display:flex;align-items:center;justify-content:space-between;gap:10px;flex-wrap:wrap;margin-top:12px}.button-set{display:flex;flex-wrap:wrap;gap:7px}.tool-button{border:1px solid #d4e5ec;border-radius:3px;background:#f9fdff;color:#5c8495;padding:9px 10px;font-size:11px;font-weight:700;white-space:nowrap}.tool-button.active{color:#236f8f;border-color:#98c9db;background:#eaf7fc}.tool-button.solid{color:white;background:#3188a6;border-color:#3188a6}.readout-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.readout{background:#fdfefe;border:1px solid #dceaf0;box-shadow:var(--shadow);padding:16px 18px 15px;border-radius:4px;min-width:0}.readout-label{font-size:9px;letter-spacing:.095em;color:#668b9d;font-weight:800}.tick-symbol{font-size:15px;line-height:1;color:#49a0b8;vertical-align:middle;margin-right:4px}.readout-value{font:normal clamp(25px,2.75vw,42px)/1.1 'DM Serif Display',Georgia,serif;color:#204e61;margin-top:13px;letter-spacing:-.04em}.readout-value small{font:700 14px 'DM Sans',sans-serif;color:#94b0bb;letter-spacing:0;margin-left:4px}.readout-note{font-size:10px;color:#91aab3;margin-top:6px}.readout.accent .readout-value{color:#dd806b}.plot-panel{padding:24px 25px 14px}.section-header.compact{margin-bottom:6px}.plot-panel h2{font-size:25px}.legend-graph{white-space:nowrap;font-weight:800;font-size:9px;letter-spacing:.1em;color:#7293a0}.splot-line{display:inline-block;width:22px;border-top:3px solid #e98671;vertical-align:middle;margin-right:5px}.chart-intro{font-size:12px;color:#77919b;margin-bottom:0}.chart-wrap{width:100%;overflow:hidden}#graph{width:100%;display:block;aspect-ratio:3.33/1}.chart-footer{border-top:1px solid #e0ecf0;display:flex;justify-content:space-between;gap:10px;padding-top:12px;letter-spacing:.12em;font-size:9px;color:#89a4ac;font-weight:800}.chart-footer em{font-style:normal;color:#e48772}.exercise-panel{overflow:hidden}.exercise-band{background:#1d5267;color:white;padding:17px 22px;display:flex;gap:12px;align-items:center;font-size:11px;font-weight:800;letter-spacing:.12em}.exercise-band small{display:block;color:#97bfcf;letter-spacing:.14em;font-size:9px;font-weight:600;margin-top:2px}.band-icon{font-size:23px;color:#aed5dd}.band-num{margin-left:auto;font-size:9px;color:#9cbfcd}.exercise-inner{padding:25px 25px 19px}.exercise-progress-top{display:flex;justify-content:space-between;font-size:9px;letter-spacing:.12em;color:#819ca8;font-weight:800}.exercise-progress-top strong{color:#337e9d}.progress-track{height:4px;background:#e4eef2;margin:10px 0 24px;overflow:hidden}.progress-fill{background:linear-gradient(90deg,#71b5cb,#2a87a7);height:100%;width:0;transition:width .25s}.difficulty-row{display:flex;gap:9px;align-items:center;margin-bottom:14px}.challenge-type{background:#e8f3f7;color:#3989a5;padding:5px 8px;font-size:9px;font-weight:800;letter-spacing:.08em}.difficulty{color:#b18a6e;font-size:9px;font-weight:800;letter-spacing:.11em}.exercise-inner h2{font-size:34px;margin-bottom:13px}.exercise-inner>p{font-size:13px;color:#64808b;line-height:1.75;min-height:105px;margin-bottom:19px}.answer-box{background:#f2f8fa;border:1px solid #d9e9ee;padding:15px;margin-bottom:14px;min-height:106px}.answer-box>label,.answer-box fieldset legend{font-size:9px;font-weight:800;letter-spacing:.14em;color:#6c94a4}.answer-line{display:flex;align-items:center;gap:8px;margin-top:8px}.answer-line input{width:100%;border:0;border-bottom:2px solid #bed8e2;background:transparent;padding:7px 0;color:#194a60;outline:none;font-size:23px;font-family:'DM Serif Display',Georgia,serif}.answer-line input:focus{border-color:#338daf}.answer-line span{font-size:12px;color:#89a4af;font-weight:700}.answer-box fieldset{border:0;padding:0;margin:0}.choice-line{display:flex;align-items:start;gap:9px;margin:7px 0;border:1px solid #dae9ef;background:white;padding:11px 10px;font-size:11px;cursor:pointer;color:#526d7b;line-height:1.55}.choice-line:has(input:checked){border-color:#5faac2;background:#eaf7fb;color:#276d89}.choice-line input{accent-color:#318bad;margin-top:3px;flex-shrink:0}.interactive-answer{font-size:12px;line-height:1.6;color:#587f91}.interactive-answer strong{color:#247da0}.challenge-buttons{display:flex;gap:7px}.primary-button,.outline-button{border-radius:3px;padding:13px 13px;font-size:12px;font-weight:800}.primary-button{background:#267f9d;border:1px solid #267f9d;color:white;flex:1}.primary-button span,.outline-button span{margin-left:4px}.outline-button{color:#407f99;border:1px solid #bbd8e4;background:#fff;flex:1}.feedback{font-size:11px;min-height:54px;padding:13px 12px;margin-top:13px;color:#758d98;background:#f7fbfc;border-left:3px solid #c6dfe8;line-height:1.55}.feedback.success{background:#effaf5;color:#257d69;border-left-color:#79b8a5}.feedback.failure{background:#fff5f1;color:#a45e4d;border-left-color:#df9a7c}.learning-links{display:flex;justify-content:space-between;flex-wrap:wrap;gap:8px;padding:17px 0}.text-button{color:#4f89a0;background:transparent;border:0;font-size:11px;font-weight:700;padding:4px 0}.helper-text{padding:14px;background:#eff8fa;color:#547a8b;font-size:12px;line-height:1.65;border-left:2px solid #8abed0;margin-bottom:13px}.score-footer{border-top:1px solid #e1ebef;margin-top:0;padding-top:17px;display:flex;justify-content:space-between;align-items:center;gap:10px;flex-wrap:wrap;color:#819daa;font-size:9px;letter-spacing:.1em;font-weight:800}.new-set-button{border:0;background:transparent;color:#2f86a3;font-size:9px;font-weight:800;letter-spacing:.07em}.principle-panel{padding:27px 25px}.principle-panel h2{font-size:32px;margin:13px 0}.principle-panel h2 em{font-weight:400;color:#4b9cba}.principle-panel>p{font-size:12px;line-height:1.8;color:#738e9b}.principle-panel>p strong{color:#226a86}.equation-card{padding:17px;background:linear-gradient(132deg,#eaf7fa,#f4fcfd);border:1px solid #d4e8ef;margin:21px 0}.equation-card>span{font-size:9px;letter-spacing:.15em;color:#6b9aac;font-weight:800}.equation-card>div{font:normal 35px/1.3 'DM Serif Display',Georgia,serif;color:#2d849f;padding:4px 0}.equation-card small{font-size:11px;color:#7896a2}.objectives{border-top:1px solid #dfeaf0;padding-top:16px}.objectives h3{font-size:10px;letter-spacing:.14em;color:#55839a}.objectives ol{padding-left:20px;color:#678690;font-size:12px;line-height:1.85;margin-bottom:0}.objectives li{padding-left:3px;margin-top:7px}.objectives li::marker{color:#3d93ac;font-weight:800}.bottom-notes{margin:20px 0 45px;padding:32px;background:#dcecf3;border:1px solid #d3e5ed;display:grid;grid-template-columns:1fr 1fr;gap:45px}.bottom-notes h2{margin:9px 0;font-size:28px}.bottom-notes p{font-size:12px;color:#607f8e;line-height:1.8;margin:0;max-width:530px}.assumption-note{display:flex;gap:13px;align-items:start}.assumption-icon{display:inline-grid;place-items:center;flex:0 0 auto;width:28px;height:28px;border:1px solid #7aacc0;border-radius:50%;font:italic 18px 'DM Serif Display',Georgia,serif;color:#3282a0}.assumption-note strong{font-size:10px;letter-spacing:.15em;color:#47859b}.footer{display:flex;flex-wrap:wrap;justify-content:space-between;gap:10px;border-top:1px solid #d1e3ea;padding:25px 0 38px;color:#8da7b1;font-size:9px;letter-spacing:.12em;font-weight:800}.footer>span:first-child{color:#2a6984;font-size:11px}.visually-hidden{position:absolute!important;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
@media(max-width:1150px){.app-shell{padding:0 24px}.lab-layout{grid-template-columns:minmax(0,1fr)}.side-column{grid-template-columns:minmax(0,1fr) minmax(0,1fr);align-items:start}.exercise-inner>p{min-height:auto}.hero-mark{margin-right:0}}@media(max-width:780px){.hero-mark{display:none}.topbar{min-height:65px}.series-label,.top-right{display:none}.hero{min-height:220px;padding:33px 0 28px}.side-column{grid-template-columns:1fr}.bottom-notes{grid-template-columns:1fr;gap:24px}.footer{padding-bottom:24px}.scene-keyboard{display:none}}
@media(max-width:540px){.app-shell{padding:0 12px}.hero{min-height:200px}.hero-chips span{font-size:8px}.hero-copy>p{font-size:14px}h1{font-size:62px}.workbench,.plot-panel{padding:17px 12px 15px}.workbench h2{font-size:24px}.live-tag{font-size:8px}.preset{min-width:48%;padding:9px 4px}.preset strong{font-size:10px}.scene-topline,.scene-bottomline{font-size:7px;padding:9px 8px}.scene-topline{letter-spacing:0}.scene-bottomline{gap:10px}.scene{aspect-ratio:3/2}.workbench-actions{justify-content:flex-start}.tool-button{padding:8px 7px;font-size:10px}.readout-grid{gap:5px}.readout{padding:12px 8px}.readout-label{font-size:8px;min-height:28px}.readout-value{font-size:25px;margin-top:5px}.readout-value small{font-size:11px}.readout-note{font-size:9px;line-height:1.3;min-height:35px}.plot-panel h2{font-size:22px}.legend-graph{display:none}.chart-footer{font-size:7px}.exercise-inner{padding:20px 17px}.bottom-notes{padding:20px}.footer{font-size:8px}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation:none!important;scroll-behavior:auto!important;transition:none!important}}
