/* Content styling inherits the approved Module 1 shell and responsive controls. */
.next-scene{overflow-y:auto}.lesson-card{padding:16px}.lesson-feedback{color:var(--bb-green-dark);font-size:.88rem;line-height:1.45;margin:10px 0;min-height:2.8em}.lesson-actions{display:flex;justify-content:center;flex-wrap:wrap;gap:10px}.lesson-actions button{white-space:normal}.small-note{font-size:.7rem;line-height:1.4;color:var(--muted);margin:10px 0 0}.lab-top{display:flex;justify-content:space-between;gap:12px;flex-wrap:wrap;font-size:.83rem;color:var(--bb-green-dark);margin-bottom:8px}.lab-top span{color:var(--muted);font-size:.74rem}.fit-stage{display:grid;grid-template-columns:130px 1fr;align-items:center;gap:20px;border-radius:16px;background:#f3f8f4;padding:12px;min-height:220px}.substrate-palette{display:grid;gap:10px}.substrate-token{border:1px solid #cfddd3;background:white;border-radius:13px;padding:8px;font:inherit;font-size:.8rem;color:var(--ink);cursor:grab;touch-action:none;user-select:none;position:relative;z-index:2}.substrate-token[aria-pressed="true"]{outline:3px solid #7cad8d;outline-offset:2px}.substrate-token svg{display:block;width:64px;height:54px;margin:auto}.substrate-token.dragging{cursor:grabbing;z-index:10}.substrate-token:disabled{opacity:.5;cursor:default}.enzyme-drop{border:2px dashed #bfd6c5;background:transparent;border-radius:18px;padding:4px;cursor:pointer;min-width:0;color:var(--bb-green-dark);font:inherit}.enzyme-drop svg{display:block;width:100%;height:clamp(150px,33cqh,250px)}.enzyme-drop>span{display:block;font-size:.8rem;font-weight:700}.enzyme-drop:disabled{cursor:default;border-color:transparent}#fitBound,#fitProducts{transition:opacity .65s ease,transform 1s ease}#fitEnzyme{transition:d 1s ease}#fitProducts.released{transform:translateY(-18px)}.graph-legend{display:flex;justify-content:center;gap:20px;font-size:.8rem;font-weight:750}.legend-high,.high-text{color:#a65d44;fill:#a65d44}.legend-low,.low-text{color:#297247;fill:#297247}.energy-graph{display:block;width:100%;height:clamp(190px,43cqh,320px);margin:8px 0;background:#f8fbf9;border-radius:14px}.energy-graph text{font:17px system-ui;fill:#354c3d}.energy-graph .high-text{fill:#a65d44}.energy-graph .low-text{fill:#297247}.high-curve,.low-curve{fill:none;stroke-width:7;stroke-linecap:round;transition:opacity .25s}.high-curve{stroke:#bd795b}.low-curve{stroke:#428359}.high-arrow{stroke:#a65d44;stroke-width:2}.low-arrow{stroke:#297247;stroke-width:2}.rate-comparison{display:flex;justify-content:center;gap:30px;margin:7px 0 12px}.rate-comparison div{display:flex;align-items:center;gap:8px;font-size:.75rem;color:var(--muted)}.rate-comparison strong{font-size:1rem;color:var(--ink)}.collision-viewport{display:block;width:100%;height:clamp(180px,45cqh,330px);border:1px solid #d5e3d9;border-radius:16px;background:radial-gradient(ellipse at center,#fcfdfa,#e9f4ec);margin:12px 0}.collision-viewport text{font:16px system-ui}.factors-grid{display:grid;grid-template-columns:minmax(0,1fr) 215px;gap:18px;align-items:start}.factor-graph{display:block;width:100%;height:clamp(210px,48cqh,350px)}.factor-graph text{font:15px system-ui;fill:#44594c}.factor-graph .empty-graph{font-size:16px;fill:#78897c}.factor-curve{fill:none;stroke:#397d50;stroke-width:4}.factor-reading{display:flex;justify-content:center;align-items:center;gap:8px;color:var(--muted);font-size:.8rem}.factor-reading strong{color:var(--bb-green-dark);font-size:1.25rem}.factor-controls{display:flex;flex-direction:column;gap:8px;background:#f2f8f4;border-radius:16px;padding:14px}.factor-controls label{font-weight:750;font-size:.85rem}.factor-controls output{font-size:1.15rem;font-weight:800;color:var(--bb-green-dark)}.factor-controls input{width:100%;accent-color:var(--bb-green);cursor:pointer;height:26px}.factor-presets{display:grid;gap:6px}.factor-presets button{font-size:.73rem;padding:7px;min-height:32px;white-space:normal;text-align:left}.factor-presets button.explored{border-color:#8cb89a;background:#e5f3e9}.visited-mark{margin-left:5px;color:var(--bb-green)}.factor-enzyme{display:block;width:100%;height:100px}.factor-state{text-align:center;font-size:.76rem;line-height:1.4;color:var(--bb-green-dark)}.factor-checklist{font-size:.8rem;font-weight:700;color:var(--bb-green-dark);padding:8px 10px;border:1px solid #d4e4d8;border-radius:10px;background:#f2f8f4}.factor-enzyme .bound-substrate{fill:#efbd67;stroke:#b48230;stroke-width:1.5}.factor-enzyme .free-substrate{fill:#efbd67;opacity:.85}.factor-enzyme .enzyme-body{fill:#9dc8e3;stroke:#407eaa;stroke-width:2}.factor-enzyme .denatured{fill:#d2bad1;stroke:#977697}.factor-enzyme .mobile-substrate{animation:molecular-motion var(--motion-speed,3s) ease-in-out infinite alternate}.factor-enzyme .still{animation:none}@keyframes molecular-motion{to{transform:translate(9px,-5px)}}
@media(max-height:740px) and (min-width:721px){.lesson-card{padding:12px}.energy-graph{height:clamp(190px,38cqh,260px)}.collision-viewport{height:38cqh}.lesson-feedback{font-size:.81rem;margin:8px 0}.small-note{font-size:.65rem;margin-top:7px}.fit-stage{min-height:180px;padding:8px}.enzyme-drop svg{height:29cqh}.factor-controls{padding:10px;gap:5px}.factor-enzyme{height:80px}.factor-graph{height:42cqh}.factors-grid{gap:12px;grid-template-columns:minmax(0,1fr) 195px}.factor-presets button{min-height:30px;font-size:.69rem}.factor-controls output{font-size:1rem}}
@media(max-width:1000px) and (min-width:721px){.factors-grid{grid-template-columns:minmax(0,1fr) 170px;gap:10px}.factor-controls{padding:9px}.factor-presets button{font-size:.65rem}.factor-graph text{font-size:17px}.fit-stage{grid-template-columns:100px 1fr;gap:12px}.substrate-token{font-size:.72rem}.energy-graph text{font-size:18px}}
@media(max-width:720px){.lesson-card{padding:10px}.fit-stage{grid-template-columns:85px 1fr;gap:8px;padding:7px;min-height:180px}.substrate-token{font-size:.68rem;padding:7px}.substrate-token svg{width:52px;height:45px}.enzyme-drop svg{height:180px}.enzyme-drop>span{font-size:.68rem}.lab-top{font-size:.75rem;gap:5px}.lab-top span{font-size:.65rem}.energy-graph{height:auto;min-height:175px;margin:8px 0}.energy-graph text{font-size:21px}.rate-comparison{gap:12px}.rate-comparison div{flex-direction:column;gap:3px;font-size:.7rem}.lesson-actions{gap:7px}.lesson-actions button{font-size:.75rem;padding:8px}.lesson-feedback{font-size:.8rem}.small-note{font-size:.65rem}.collision-viewport{height:220px}.factors-grid{grid-template-columns:1fr;gap:8px}.factor-graph{height:190px}.factor-controls{display:grid;grid-template-columns:1fr 1fr;padding:10px;gap:7px}.factor-controls output{text-align:right}.factor-controls input{grid-column:1/-1}.factor-presets{grid-column:1/-1;grid-template-columns:repeat(3,1fr)}.factor-presets button{font-size:.63rem;padding:5px;text-align:center;min-height:36px}.factor-enzyme{height:64px}.factor-state{align-self:center;font-size:.72rem}.factor-reading{font-size:.72rem}.factor-reading strong{font-size:1rem}.factor-graph text{font-size:17px}.factor-checklist{font-size:.72rem;padding:6px}.factors-card .lesson-feedback{font-size:.75rem;min-height:0;margin:6px 0}.factors-card .small-note{font-size:.6rem}}
@media(prefers-reduced-motion:reduce){.factor-enzyme .mobile-substrate{animation:none}}

@media(max-width:720px){.factor-graph{height:175px}.factor-controls{gap:4px;padding:8px}.factor-controls output{font-size:1rem}.factor-controls label{font-size:.76rem}.factor-controls input{height:23px}.factor-enzyme{height:50px}.factor-presets button{min-height:32px}.factor-state{font-size:.68rem}.factors-card .lesson-feedback{line-height:1.3}.factors-card .small-note{margin-top:5px}}
