.ek-lab{max-width:1500px;margin:auto;padding:1.1rem 2rem 4rem}.ek-header{display:flex;justify-content:space-between;gap:2rem;align-items:end;padding:.8rem 0 1rem;border-bottom:1px solid var(--line)}.ek-header h1{margin:.25rem 0 .4rem;font:400 clamp(2.5rem,4vw,4.5rem)/.95 var(--serif)}.ek-header p:last-child{max-width:760px;margin:0;color:#91a5bb}.ek-header>a{flex:0 0 auto;color:#75b6ff;font-size:.72rem}.ek-workspace{display:grid;grid-template-columns:270px minmax(0,1fr) 310px;margin-top:.8rem;border:1px solid #29415e;background:#071324}.ek-controls,.ek-energy{padding:1rem}.ek-controls{border-right:1px solid #29415e}.ek-energy{border-left:1px solid #29415e}.ek-control-heading,.ek-energy-heading,.ek-controls label>span,.ek-sim-toolbar,.ek-live-values{display:flex;justify-content:space-between;gap:.7rem;align-items:center}.ek-control-heading,.ek-energy-heading{margin-bottom:.75rem;color:#6f8dad;font-size:.59rem;text-transform:uppercase;letter-spacing:.1em}.ek-control-heading button,.ek-sim-toolbar button{border:1px solid #355271;background:#0a192c;color:#cbd8e8;padding:.38rem .6rem;font:600 .59rem var(--sans);cursor:pointer}.ek-control-heading button:hover,.ek-sim-toolbar button:hover{border-color:#338fff;color:#fff}.ek-controls label{display:grid;gap:.28rem;margin-top:.65rem}.ek-controls label span{color:#b9c8d8;font-size:.64rem}.ek-controls output{color:#73b5ff;font:600 .62rem var(--mono,monospace)}.ek-controls input[type=range]{width:100%;accent-color:#2b8cff}.ek-controls select{width:100%;border:1px solid #355271;background:#0a192c;color:#dbe8f7;padding:.4rem;font-size:.63rem}.ek-controls .ek-switch{display:flex;gap:.5rem;align-items:center;margin-top:.8rem}.ek-switch input{accent-color:#2b8cff}.ek-model{min-width:0;padding:.8rem 1rem}.ek-sim-toolbar{display:grid;grid-template-columns:auto minmax(120px,1fr) auto;margin-bottom:.55rem}.ek-sim-toolbar label,.ek-sim-toolbar input{width:100%}.ek-sim-toolbar output{color:#8fb9ed;font:600 .63rem var(--mono,monospace)}.ek-scene{display:block;width:100%;height:min(30vh,295px);border:1px solid #29415e;background:linear-gradient(#08182b,#06101d)}.ek-scene [data-ground]{stroke:#526b86;stroke-width:2}.ek-scene [data-ramp]{fill:#10243a;stroke:#6f8fab;stroke-width:2}.ek-scene [data-height-line]{stroke:#a96bff;stroke-width:2;stroke-dasharray:5 4}.ek-scene [data-height-label],.ek-scene [data-motion-label]{fill:#b8cadc;font:13px var(--sans)}.ek-scene [data-cart] rect{fill:#2b8cff;stroke:#9dd0ff;stroke-width:2}.ek-scene [data-cart] circle{fill:#071324;stroke:#9dd0ff;stroke-width:2}.ek-scene [data-velocity-vector],.ek-scene [data-velocity-arrow]{stroke:#ff9a4f;stroke-width:3;fill:none}.ek-live-values{padding:.55rem .2rem 0;color:#6f8dad;font-size:.56rem;flex-wrap:wrap}.ek-live-values b{color:#dbe8f7}.ek-energy-heading strong{color:#dbe8f7;font-size:.65rem}.ek-energy-row{display:grid;grid-template-columns:88px minmax(70px,1fr) 55px;gap:.45rem;align-items:center;margin:.65rem 0;font-size:.59rem}.ek-energy-row>span{color:#a5b6c8}.ek-energy-row>div{height:.55rem;background:#13253a;overflow:hidden}.ek-energy-row i{display:block;height:100%;transition:width .12s linear}.ek-energy-row output{text-align:right;color:#cddbea;font:600 .58rem var(--mono,monospace)}.ek-energy-row.potential i{background:#a855f7}.ek-energy-row.kinetic i{background:#2b8cff}.ek-energy-row.thermal i{background:#ff9a4f}.ek-energy>p{min-height:2.5em;color:#7e93aa;font-size:.59rem;line-height:1.45}.ek-motion-plot{display:block;width:100%;height:auto;margin-top:.55rem;border-top:1px solid #29415e}.ek-motion-plot [data-plot-grid] line{stroke:#1c3047}.ek-motion-plot [data-plot-axes] line{stroke:#66809c}.ek-motion-plot [data-position-path]{fill:none;stroke:#a855f7;stroke-width:2}.ek-motion-plot [data-speed-path]{fill:none;stroke:#2b8cff;stroke-width:2}.ek-motion-plot [data-time-guide]{stroke:#f0f5fb;stroke-width:1;stroke-dasharray:3 3}.ek-motion-plot text{fill:#758ca6;font:10px var(--sans)}.ek-motion-plot .position-label{fill:#c47aff}.ek-motion-plot .speed-label{fill:#69afff}.ek-comparison{display:grid;grid-template-columns:1.15fr 1fr 1fr 190px;gap:0;margin-top:.8rem;border:1px solid #29415e;background:#071324}.ek-comparison>div,.ek-comparison article{padding:.8rem 1rem}.ek-comparison>*+*{border-left:1px solid #29415e}.ek-comparison h2{margin:.2rem 0;font:400 1.35rem var(--serif)}.ek-comparison>div>p:last-child{margin:.2rem 0;color:#7f96ae;font-size:.59rem}.ek-comparison article span{color:#65aaff;font-size:.55rem;text-transform:uppercase;letter-spacing:.1em}.ek-comparison article code{display:block;margin:.35rem 0;color:#dce8f6;font-size:.72rem}.ek-comparison article p{margin:.2rem 0;color:#7f96ae;font-size:.58rem}.ek-comparison article strong{font-size:.66rem}.ek-verdict{display:grid!important;place-content:center;text-align:center}.ek-verdict span{color:#6be0a6;font-size:1.4rem}.ek-verdict strong{font-size:.68rem}.ek-verdict small{color:#718aa4;font-size:.54rem}.ek-verdict.stopped span{color:#ff9a4f}@media(max-width:1150px){.ek-workspace{grid-template-columns:240px minmax(0,1fr)}.ek-energy{grid-column:1/-1;border-left:0;border-top:1px solid #29415e}.ek-motion-plot{max-width:520px}.ek-comparison{grid-template-columns:1fr 1fr}.ek-comparison>*:nth-child(3){border-left:0;border-top:1px solid #29415e}.ek-comparison>*:nth-child(4){border-top:1px solid #29415e}}@media(max-width:720px){.ek-lab{padding:1rem}.ek-header{display:grid}.ek-workspace{grid-template-columns:1fr}.ek-controls{border-right:0;border-bottom:1px solid #29415e}.ek-comparison{grid-template-columns:1fr}.ek-comparison>*+*,.ek-comparison>*:nth-child(3){border-left:0;border-top:1px solid #29415e}.ek-sim-toolbar{grid-template-columns:auto 1fr}.ek-sim-toolbar output{grid-column:1/-1}.ek-scene{height:auto}.ek-live-values{display:grid;grid-template-columns:1fr 1fr}}@media(prefers-reduced-motion:reduce){.ek-scene [data-cart],.ek-energy-row i{transition:none}}.ek-lab [hidden]{display:none!important}.ek-lab{padding-top:.4rem;padding-bottom:.7rem}.ek-header{padding-top:.2rem;padding-bottom:.4rem}.ek-header h1{margin:.1rem 0 .2rem;font-size:clamp(2rem,2.8vw,3.2rem)}.ek-workspace,.ek-comparison{margin-top:.55rem}.ek-energy-row span small{color:#6f8299;font-size:inherit}.ek-energy-row.total{padding-top:.55rem;border-top:1px solid #29415e}.ek-energy-row.total span,.ek-energy-row.total output{color:#f0f5fb;font-weight:700}.ek-energy-row.total i{background:#6be0a6}.ek-motion-plot,.ek-energy-plot{display:block;width:100%;height:auto;margin-top:.25rem;border-top:1px solid #29415e}.ek-motion-plot [data-plot-grid] line,.ek-energy-plot [data-energy-grid] line{stroke:#1c3047}.ek-motion-plot [data-plot-axes] line,.ek-energy-plot [data-energy-axes] line{stroke:#66809c}.ek-motion-plot text,.ek-energy-plot text{font-size:13px}.ek-energy-plot [data-potential-energy-path]{fill:none;stroke:#a855f7;stroke-width:2}.ek-energy-plot [data-kinetic-energy-path]{fill:none;stroke:#2b8cff;stroke-width:2}.ek-energy-plot [data-thermal-energy-path]{fill:none;stroke:#ff9a4f;stroke-width:2}.ek-energy-plot [data-total-energy-path]{fill:none;stroke:#6be0a6;stroke-width:2}.ek-energy-plot [data-energy-time-guide]{stroke:#f0f5fb;stroke-width:1;stroke-dasharray:3 3}.ek-energy-plot text{fill:#758ca6;font-family:var(--sans)}.ek-energy-plot .energy-label{fill:#b8cadc}.ek-energy-plot .total-label{fill:#6be0a6}.ek-comparison{grid-template-columns:1.05fr 1.35fr 1.35fr}.ek-comparison>div,.ek-comparison article{padding:.55rem .8rem}.ek-math{min-height:1.2rem;margin:.25rem 0;color:#dce8f6;font-size:.72rem;overflow-x:auto}.ek-math-work{color:#a9bed4;font-size:.61rem}.ek-comparison article>p{min-height:2.2em}.ek-comparison article strong{display:block;margin-top:.2rem;color:#f0f5fb}.ek-challenge{margin-top:.8rem;padding-top:.7rem;border-top:1px solid #29415e}.ek-challenge>strong{color:#e6eef8;font-size:.68rem}.ek-challenge>p{margin:.3rem 0 .55rem;color:#8297ad;font-size:.58rem;line-height:1.45}.ek-challenge button{border:1px solid #42658c;background:#0b1d33;color:#d7e7f8;padding:.42rem .6rem;font:600 .59rem var(--sans);cursor:pointer}.ek-challenge [data-challenge-form]{margin-top:.55rem}.ek-prediction-input{display:grid!important;grid-template-columns:1fr auto;gap:.4rem}.ek-prediction-input input{min-width:0;border:1px solid #355271;background:#081426;color:#f0f5fb;padding:.35rem}.ek-prediction-input i{align-self:center;color:#7f96ae;font-size:.58rem;font-style:normal}.ek-challenge [data-challenge-feedback]{min-height:2.3em;margin:.4rem 0 0;color:#8fb9ed;font-size:.58rem;line-height:1.4}.ek-lab.challenge-pending .ek-comparison article .ek-math-work,.ek-lab.challenge-pending .ek-comparison article strong{visibility:hidden}.ek-sim-toolbar button:disabled{opacity:.4;cursor:not-allowed}
