:root{--bg:#142530;--deep:#0d1b25;--ink:#122631;--cream:#f1eadd;--paper:#f6edd9;--muted:#91a5ac;--copper:#dc9469;--teal:#8bd7d0;--line:#3f5660;--font:system-ui,-apple-system,'Segoe UI',sans-serif}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:radial-gradient(ellipse at 0 0,#29424b 0%,transparent 45%),var(--bg);color:var(--cream);font-family:var(--font);font-size:14px}button,input,select{font:inherit}button{cursor:pointer}button:disabled{opacity:.43;cursor:not-allowed}button:focus-visible,select:focus-visible,input:focus-visible,canvas:focus-visible{outline:3px solid #ffca8d;outline-offset:3px}.shell{max-width:1650px;padding:0 32px;margin:0 auto}.topbar{min-height:93px;border-bottom:1px solid #38515d;display:flex;align-items:center;justify-content:space-between;gap:18px}.brand{display:flex;align-items:center;gap:14px}.brand-icon{width:48px;height:48px;display:grid;place-items:center;font-size:35px;border:1.5px solid var(--copper);border-radius:50%;color:var(--copper)}.eyebrow,.upper-caption,.small-kicker,.control-label,.kicker,.little-note,.graph-title,.meter>span{letter-spacing:.13em;font-size:10px;font-weight:750}.eyebrow{color:var(--muted)}.brand-title{font-size:21px;letter-spacing:.115em;font-weight:900;line-height:1.45}.brand-title span{color:var(--copper)}.header-meta{display:flex;gap:9px}.pill{border:1px solid #56717b;border-radius:5px;color:#d6e3df;padding:9px 12px;font-size:10px;font-weight:750;letter-spacing:.11em}.pill.bright{background:#274b4f;color:#a4e6d7;border-color:#426e6f}.hero{min-height:165px;display:flex;justify-content:space-between;position:relative;overflow:hidden;align-items:center;padding:25px 5px 29px}.hero-copy{z-index:1}.kicker{color:#ebb087;display:flex;align-items:center;gap:9px}.signal{width:7px;height:7px;border-radius:100%;background:#eab17d;box-shadow:0 0 0 4px #eab17d1b}.hero h1{font-family:Georgia,serif;font-weight:400;font-size:clamp(29px,3vw,46px);letter-spacing:-.03em;margin:13px 0 9px}.hero h1 em{color:var(--teal);font-style:italic}.hero p{color:#a9bec4;margin:0;line-height:1.55;max-width:700px}.hero-decoration{height:170px;width:340px;position:absolute;right:20px;top:-5px;opacity:.8;pointer-events:none}.ring{border:1px solid #a8c3ae44;position:absolute;border-radius:50%;transform:rotate(-20deg)}.r1{width:270px;height:90px;right:22px;top:53px}.r2{width:195px;height:120px;right:58px;top:42px;border-color:#ce9d8455;transform:rotate(31deg)}.hero-bubble{position:absolute;border-radius:50%;box-shadow:0 4px 28px #0008}.b1{width:24px;height:24px;background:#a568bc;left:124px;top:45px}.b2{width:43px;height:43px;background:#ce9365;left:205px;top:92px}.b3{width:18px;height:18px;background:#76c3c0;left:290px;top:43px}
.workspace{display:grid;grid-template-columns:minmax(0,1fr) 362px;gap:24px;align-items:start}.laboratory{min-width:0}.section-heading,.section-heading>div{display:flex;align-items:center;gap:12px}.section-heading{justify-content:space-between;margin-bottom:14px}.section-heading h2{font-size:17px;font-weight:730;margin:0;letter-spacing:.01em}.step-number{border:1px solid #806655;border-radius:50%;width:33px;height:33px;flex:none;display:inline-grid;place-items:center;color:#ebb68b;font:700 12px var(--font)}.little-note{color:#8ba1a4;text-align:right;font-size:9px}.sample-tray{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}.sample{border:1px solid #49616a;background:linear-gradient(150deg,#2b424b,#20343e);border-radius:8px;text-align:left;min-height:101px;display:flex;align-items:center;gap:10px;padding:12px;color:var(--cream);position:relative;transition:transform .12s,border .12s}.sample:hover,.sample.selected{border-color:#e7b488;transform:translateY(-2px);background:#354b50}.sample:focus-visible{z-index:2}.sample .vial{width:29px;height:54px;flex:none;position:relative;border:2px solid #b9d5d3b2;border-radius:6px 6px 12px 12px;box-shadow:inset 0 0 10px #ffffff14,0 5px 10px #0e2020bb}.vial:before{content:'';width:21px;height:7px;position:absolute;top:-8px;left:2px;background:#c89c75;border-radius:3px 3px 1px 1px}.vial .liquid{position:absolute;bottom:3px;left:2px;right:2px;height:28px;opacity:.8;border-radius:1px 1px 8px 8px}.sample strong,.sample small{display:block}.sample strong{font-weight:750;font-size:12px}.sample small{color:#a3bcc0;font-size:10px;line-height:1.4;margin-top:4px}.sample .selected-indicator{position:absolute;right:8px;top:6px;font-size:14px;color:#ffd6ac}.sample.unknown{background:linear-gradient(135deg,#53424d,#334551);border-color:#92788a}.sample.unknown.selected{border-color:#e7b488}.lab-actions{display:flex;justify-content:space-between;align-items:end;gap:14px;padding:20px 0 15px}.control-label{color:#9fb6b9;margin-bottom:8px}.solvent-pills{display:flex;flex-wrap:wrap;gap:6px}.solvent-pill{border:1px solid #4e6871;border-radius:5px;background:#203740;color:#b7cdd0;padding:10px 11px;font-size:11px;font-weight:700;min-height:37px}.solvent-pill.active{background:#d29b76;border-color:#d29b76;color:#1c2830}.play-controls{display:flex;gap:8px}.button{padding:11px 13px;border-radius:5px;white-space:nowrap;border:1px solid #5f7377;font-weight:750;font-size:12px;min-height:41px;transition:filter .15s}.button:hover:not(:disabled){filter:brightness(1.11)}.button.primary{background:#f0b684;color:#20313a;border-color:#f0b684}.button.ghost{background:#263c46;color:#e0eeea;border-color:#556c72}.button.dark{background:#21494d;color:#b3eee0;border-color:#477977}.experiment-frame{border:1px solid #4e6971;background:#223842;border-radius:9px;overflow:hidden;box-shadow:0 12px 30px #03151a33}.experiment-topline{min-height:44px;display:flex;align-items:center;justify-content:space-between;gap:12px;padding:0 17px;border-bottom:1px solid #50646a;font-size:11px;color:#d7e3dd}.experiment-topline strong{letter-spacing:.08em;font-size:10px}.small-separator{color:#74918d;margin:0 8px}.experiment-status{color:#a1e1d3;font-weight:800;font-size:10px;letter-spacing:.12em}.paper-stage{background:#122b35;padding:12px;position:relative}.paper-stage canvas{display:block;width:100%;aspect-ratio:900/650;height:auto;background:#f1e5cb;touch-action:none;border-radius:3px;box-shadow:0 4px 20px #0005;cursor:crosshair}.lane-keyboard{display:flex;align-items:center;gap:8px;min-height:41px;padding:6px 15px;background:#1e343e;border-top:1px solid #455b63;color:#91a9ac}.lane-keyboard>span:first-child{font-size:9px;font-weight:780;letter-spacing:.12em;margin-right:6px}.lane-keyboard button{border:1px solid #546c73;background:#34525d;color:#e7f0e9;border-radius:4px;width:28px;height:27px;font-weight:800}.key-note{margin-left:4px;font-size:10px}.instrument-row{display:grid;grid-template-columns:repeat(4,1fr);border-top:1px solid #445e66}.meter{padding:12px 15px;border-right:1px solid #445e66;min-width:0}.meter:last-child{border-right:0}.meter>span{display:block;color:#83a5a9;font-size:9px;margin-bottom:6px}.meter strong{font-size:21px;font-variant-numeric:tabular-nums;font-weight:730}.meter strong small{font-size:11px;color:#acb9b8;font-weight:550}.meter .slim-value{font-size:12px;font-weight:720;line-height:1.25;min-height:25px;display:block}.below-stage{display:grid;grid-template-columns:minmax(0,1fr) 280px;gap:12px;margin-top:12px}.mini-graph,.case-brief{border:1px solid #48616b;background:#1e333d;border-radius:7px;padding:13px 15px;min-width:0}.graph-title{display:flex;justify-content:space-between;color:#d8e9e4}.graph-subtitle{color:#9ce0ce}.mini-graph canvas{display:block;width:100%;height:auto;aspect-ratio:460/165}.small-kicker{color:#ecc097;font-size:10px}.explain{line-height:1.56;color:#c0d4d6;font-size:12px;min-height:67px;margin:8px 0 12px}.speed-row{display:flex;justify-content:space-between;align-items:center;gap:10px;color:#c0d4d6;font-size:12px}.speed-row select{background:#2d4750;border:1px solid #57717a;border-radius:5px;color:#fff;padding:7px 6px}.case-verdict{border:1px solid #587179;background:linear-gradient(160deg,#29444b,#1b343e);border-radius:8px;margin-top:13px;padding:17px 18px}.case-verdict p{margin:8px 0 13px;font-size:13px}.verdict-actions{display:flex;flex-wrap:wrap;gap:7px}.verdict-actions button{padding:8px 11px;background:#304b52;color:#d9e7df;border:1px solid #617980;border-radius:4px;font-size:11px}.verdict-actions button:hover{border-color:#ffc09c}.verdict-feedback{padding:9px 0;font-size:12px;color:#b3d4d2;min-height:34px}.text-button{padding:0;border:none;background:transparent;color:#ecc197;font-size:12px;text-decoration:underline;text-underline-offset:4px}.sidebar{display:flex;flex-direction:column;gap:14px}.side-panel{border-radius:9px;padding:22px;background:#e9e0ce;color:#243640}.challenge-panel{background:linear-gradient(145deg,#f5ede0,#e8decb);box-shadow:0 12px 40px #061d2490}.side-top{display:flex;align-items:center;gap:12px;color:#80634f}.side-top .step-number{border-color:#bca58e;color:#9f674d}.side-top .upper-caption{font-size:10px;white-space:nowrap}.score{margin-left:auto;font-size:11px;font-weight:780;color:#29565b}.challenge-panel h2{font-family:Georgia,serif;font-size:29px;font-weight:500;margin:13px 0 17px}.progress-track{background:#d9cbba;border-radius:10px;height:7px;overflow:hidden}.progress-fill{background:#b67e5d;height:100%;width:0;transition:width .2s}.challenge-meta{display:flex;justify-content:space-between;gap:7px;margin:16px 0;color:#8a6756;font-size:10px;letter-spacing:.12em;font-weight:850}.question{font-size:15px;font-weight:670;line-height:1.55;min-height:95px}.answer-area{margin-top:13px;min-height:70px}.answer-area label{display:block;color:#50636a;font-weight:700;font-size:11px;margin-bottom:8px}.answer-area input[type='number']{display:block;width:100%;padding:12px;border-radius:5px;border:1.5px solid #b3ae9c;background:#fffefa;color:#1d353d;font-size:17px}.choice-item{display:flex;gap:9px;align-items:flex-start;border:1px solid #cabba9;background:#fbf5eb;margin:7px 0;padding:11px 10px;border-radius:5px;cursor:pointer;color:#2e4148;font-size:12px;line-height:1.35}.choice-item:has(input:checked){border-color:#a96c4a;background:#f9e9d8}.choice-item input{accent-color:#936245;flex:none;margin:1px 0 0}.challenge-buttons{display:flex;gap:8px;margin-top:15px}.challenge-buttons .check{flex:1}.challenge-buttons .button.ghost{color:#436067;background:transparent;border-color:#b5a799}.help-buttons{display:flex;gap:18px;margin:12px 0}.help-buttons button{border:0;padding:2px 0;color:#546a6b;background:transparent;text-decoration:underline;text-underline-offset:3px;font-size:12px;font-weight:700}.challenge-feedback{min-height:38px;color:#4e5752;font-size:12px;line-height:1.5;border-left:3px solid transparent;padding:4px 8px}.challenge-feedback.good{border-left-color:#35816d;background:#dfebe3}.challenge-feedback.bad{border-left-color:#b85c43;background:#f2ddd1}.challenge-feedback.info{border-left-color:#ad8754;background:#f5e9d3}.next{width:100%;margin-top:8px}.lesson-panel{background:#d8e6dc}.lesson-panel .upper-caption{color:#2d645f}.lesson-panel ol{padding-left:22px;margin:13px 0 0}.lesson-panel li{line-height:1.55;padding:0 0 9px 3px;font-size:12px}.science-panel{background:#233f47;color:#d8e5df;border:1px solid #53717a}.science-panel .upper-caption{color:#a5dccc}.science-panel p{line-height:1.53;font-size:12px;color:#bcd1cf}.formula{border:1px solid #68848b;background:#18353e;padding:15px 8px;margin:13px 0 12px;border-radius:4px;text-align:center;font-family:Georgia,serif;font-size:20px;display:flex;gap:10px;justify-content:center;align-items:center}.fraction{display:inline-flex;flex-direction:column;font-size:12px;line-height:1.8}.fraction span:first-child{border-bottom:1px solid #b9dad2}.caution{border-top:1px solid #56717b;margin-top:12px;padding-top:12px;color:#f5c79c;line-height:1.5;font-size:11px}footer{display:flex;justify-content:space-between;padding:27px 0;margin-top:12px;color:#8babb0;font-size:10px;letter-spacing:.1em;text-transform:uppercase;gap:12px}
@media(max-width:1240px){.workspace{grid-template-columns:minmax(0,1fr) 328px;gap:16px}.shell{padding:0 19px}.little-note{display:none}.sample{padding:10px 8px}.sample .vial{width:24px}.sample strong{font-size:11px}.below-stage{grid-template-columns:1fr 250px}.meter{padding:11px 8px}.meter strong{font-size:18px}}
@media(max-width:1020px){.workspace{grid-template-columns:1fr}.sidebar{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}.challenge-panel{grid-row:span 2}.hero-decoration{opacity:.35}.sample{min-height:90px}}
@media(max-width:660px){.shell{padding:0 12px}.topbar{min-height:76px}.brand-icon{width:37px;height:37px;font-size:27px}.brand-title{font-size:15px}.eyebrow{font-size:8px}.header-meta{display:none}.hero{min-height:160px;padding:22px 1px}.hero h1{font-size:31px}.hero p{font-size:12px}.section-heading h2{font-size:14px}.sample-tray{grid-template-columns:repeat(2,1fr)}.sample{min-height:74px;padding:9px}.sample .vial{height:40px;width:23px}.vial .liquid{height:18px}.lab-actions{flex-direction:column;align-items:stretch}.solvent-pills{display:grid;grid-template-columns:repeat(3,1fr)}.solvent-pill{font-size:10px;padding:8px 5px}.play-controls .button{flex:1}.paper-stage{padding:5px}.experiment-topline{font-size:10px;padding:6px 9px}.experiment-topline strong{font-size:9px}.experiment-status{font-size:9px}.instrument-row{grid-template-columns:repeat(2,1fr)}.meter:nth-child(2){border-right:0}.meter:nth-child(-n+2){border-bottom:1px solid #445e66}.below-stage{grid-template-columns:1fr}.explain{min-height:0}.sidebar{grid-template-columns:1fr}.challenge-panel{grid-row:auto}.lane-keyboard{gap:6px;padding:5px 8px}.lane-keyboard>span:first-child{font-size:8px}.key-note{font-size:9px}.hero-decoration{display:none}footer{flex-direction:column;gap:5px}.case-verdict{padding:13px}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{transition-duration:0s!important;animation-duration:0s!important}}
