:root{font-family:Inter,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;color:#e6edf4;background:#0b121d;font-synthesis:none;color-scheme:dark}*{box-sizing:border-box}body{margin:0}button,a{-webkit-tap-highlight-color:transparent}button{font:inherit;cursor:pointer}button:focus-visible,a:focus-visible{outline:3px solid #98f4d6;outline-offset:4px}button{transition:background .15s}button:hover{background:#243a48}p{line-height:1.65}h1,h2,h3,p{margin-top:0}h1{font-size:clamp(2rem,4vw,3.4rem);letter-spacing:-.045em;line-height:1.1;margin-bottom:20px}h2{font-size:1.3rem;letter-spacing:-.025em;margin-bottom:12px}h3{font-size:1.15rem;line-height:1.5}.topbar{padding:22px max(24px,calc((100vw - 1320px)/2));border-bottom:1px solid #24313e;display:flex;justify-content:space-between;align-items:center;gap:20px;background:#101827}.brand{display:flex;align-items:center;gap:10px;font-size:1.2rem;font-weight:750;text-decoration:none;color:inherit}.brand-icon{background:#79e8c4;color:#10282a;padding:6px 10px;border-radius:8px;font-style:italic}.edu{font-size:.7rem;letter-spacing:.12em;color:#83e9c8}.version,.muted{color:#a4b3c3;font-size:.88rem}main{max-width:1368px;padding:0 24px;margin:auto}.intro{display:flex;justify-content:space-between;align-items:center;gap:24px;padding:50px 0 26px}.eyebrow{color:#82dac1;letter-spacing:.14em;font-size:.68rem;font-weight:700;margin-bottom:16px}.lede{color:#acbaca;max-width:540px;margin-bottom:0}.status{border:1px solid #2d4350;padding:20px;border-radius:12px;white-space:nowrap;font-size:.85rem}.status span:last-child{display:block;margin:10px 0 0 16px;color:#9eb0bf;font-size:.8rem}.dot{display:inline-block;width:7px;height:7px;background:#80e7c5;border-radius:50%;margin-right:8px}.disclaimer{border:1px solid #34504d;background:#102724;display:flex;gap:16px;padding:15px 18px;border-radius:10px;font-size:.82rem;color:#bcd5cd;margin-bottom:26px}.disclaimer strong{color:#91e7cd;white-space:nowrap}.workspace{display:grid;grid-template-columns:minmax(0,1.8fr) minmax(290px,1fr);gap:22px}.panel{background:#121e2c;border:1px solid #293746;border-radius:14px;padding:26px}.section-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:18px}.badge{display:inline-block;color:#b3c3ce;border:1px solid #3b4b59;border-radius:6px;font-size:.69rem;padding:5px 8px;white-space:nowrap}.map-layout{display:grid;grid-template-columns:minmax(185px,1fr) minmax(0,1.15fr);gap:24px}nav{display:flex;flex-direction:column;gap:7px}.map-button{width:100%;display:flex;align-items:center;gap:10px;text-align:left;padding:15px 12px;border:1px solid transparent;background:#182635;border-radius:8px;font-size:.8rem;color:#c2cfdb}.map-button span:last-child{margin-left:auto}.map-number{color:#8da4b4;font-size:.68rem}.map-button.active,.practice.active{border-color:#72d9b9;background:#183c39;color:#a8f3da}.map-detail{padding:8px 0}.map-detail h3{margin-top:18px}.map-detail p,.practices article p{font-size:.88rem;color:#bac8d5}dl{font-size:.8rem}dl div{margin:16px 0}dt{color:#92a5b5;margin-bottom:5px}dd{margin:0}.upcoming{border-top:1px solid #324250;margin-top:24px;padding-top:20px;font-size:.8rem;color:#d0e1e7}.upcoming p{margin-bottom:0}.bench .muted{margin-bottom:10px}.car-stage{margin:16px 0 24px;padding:12px;background:radial-gradient(ellipse at center,#213c43,#101d2b 75%);border-radius:10px;text-align:center}.car-stage svg{display:block;width:100%;height:125px}.car-stage span{font-size:.7rem;color:#a8bdc7}fieldset{border:0;padding:0;margin:0 0 20px}legend{font-size:.8rem;color:#b7c7d2;margin-bottom:12px}.throttle{display:flex;gap:8px}.throttle button{flex:1;padding:10px;border:1px solid #425361;border-radius:7px;color:#b6c6d2;background:#172735}.throttle .selected{color:#9df1d6;border-color:#81dfc1;background:#1b3b39}.primary{width:100%;padding:13px;background:#83eac6;color:#092924;border:0;border-radius:8px;font-weight:750}.primary:hover{background:#a7f4d9}.feedback{font-size:.75rem;color:#a9bdca;margin:12px 0 0;min-height:40px}.practices{margin-top:22px}.practice-options{display:grid;grid-template-columns:repeat(3,1fr);gap:14px}.practice{padding:18px;text-align:left;border:1px solid #364959;border-radius:9px;background:#182735;color:#d3dee6}.practice span{display:block;font-size:.65rem;letter-spacing:.1em;margin-bottom:10px;color:#a8c5c6}.practice strong{font-size:.88rem}.practices article{margin-top:24px;max-width:800px}.practices article h3{font-size:1rem}.practices article p:last-child{margin-bottom:0}footer{display:flex;justify-content:space-between;gap:20px;color:#879bab;font-size:.75rem;padding:28px 0 32px}@media(max-width:1100px){.workspace{grid-template-columns:1fr}.bench{display:grid;grid-template-columns:1fr 1fr;gap:0 26px}.bench .car-stage{grid-column:2;grid-row:1/6;margin:0}.bench .feedback{grid-column:1/-1}}@media(max-width:700px){main{padding:0 16px}.topbar{padding:18px 16px}.version{display:none}.intro{display:block;padding-top:32px}.status{margin-top:24px;white-space:normal}.disclaimer{display:block}.disclaimer strong{display:block;margin-bottom:6px}.panel{padding:20px}.map-layout,.practice-options{grid-template-columns:1fr}.bench{display:block}.bench .car-stage{margin:20px 0}.section-heading{align-items:flex-start}footer{flex-direction:column;gap:8px}}.workspace{grid-template-columns:minmax(0,1fr)}.map-layout{display:block}.map-layout nav{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.ecu-editor{margin-top:26px;min-width:0}.ecu-editor>p{font-size:.9rem}.educational-note,.editor-warning{background:#322c1b;border:1px solid #8b7742;color:#f3dda2;padding:14px;border-radius:8px}.editor-tools{display:flex;flex-wrap:wrap;gap:10px;align-items:end;margin:16px 0}.editor-tools label{display:flex;flex-direction:column;gap:8px;font-size:.85rem;max-width:100%}.editor-tools button,.editor-tools select,.editor-tools input{font:inherit;min-height:44px;border:1px solid #586d7f;border-radius:7px;background:#192d3d;color:#edf3f7;padding:10px;max-width:100%}.editor-tools input{width:200px}.editor-tools button:disabled{opacity:.45;cursor:default}.table-scroll{max-width:100%;overflow:auto;border:1px solid #455b6b;border-radius:8px}.ecu-table{border-collapse:separate;border-spacing:4px;min-width:100%;font-variant-numeric:tabular-nums}.ecu-table caption{text-align:left;padding:14px;font-size:.85rem;line-height:1.6;color:#c1d3dd}.ecu-table th{padding:10px;color:#c0d1df;font-size:.8rem;white-space:nowrap}.ecu-table tbody th{position:sticky;left:0;background:#121e2c;z-index:1}.ecu-cell{min-width:105px;width:100%;min-height:82px;border:2px solid transparent;border-radius:6px;background:#203344;color:#e0eaf3;padding:10px}.ecu-cell small{display:block;font-size:.68rem;margin-top:5px}.ecu-cell.increased{background:#19483e;color:#c3ffe6}.ecu-cell.decreased{background:#423052;color:#f5d7ff}.ecu-cell[aria-pressed=true]{border-color:#fff;box-shadow:inset 0 0 0 2px #0a1924}.ecu-cell:focus-visible{outline:3px solid #a3f3d9;outline-offset:0}.selection-summary{font-weight:600;color:#baf2df}.editor-error{padding:14px;background:#482735;color:#ffe1e7;border:1px solid #e0a4b4;border-radius:8px}.editor-warning p{margin-bottom:0;font-size:.85rem}.bench{max-width:none}.panel{min-width:0}@media(max-width:700px){.map-layout nav{grid-template-columns:1fr 1fr}.map-button{min-height:68px}.editor-tools label,.editor-tools select{width:100%}.ecu-table{border-spacing:3px}.ecu-cell{min-width:100px}.editor-tools button{flex:1 1 145px}}.dyno p,.dyno li{font-size:.88rem;line-height:1.65}.dyno-controls{display:flex;flex-wrap:wrap;gap:10px;margin:20px 0}.dyno-controls button,.results-table button{min-height:46px;padding:11px 16px;border-radius:8px;border:1px solid #526b7e;background:#1c3040;color:#e1edf4;font:inherit;cursor:pointer}.dyno-controls .primary{width:auto;background:#83eac6;color:#092924;border:0}.dyno-controls button:disabled{opacity:.45;cursor:default}.dyno .throttle{max-width:440px}.dyno .throttle button{min-height:46px}.capture-note{padding:12px;border-left:3px solid #83eac6;background:#192e35}.progress-label{display:block;font-size:.8rem;color:#bcd2de}.progress-label progress{display:block;width:100%;height:12px;margin:10px 0 24px;accent-color:#83eac6}.instruments{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:12px;margin:20px 0}.instrument{padding:18px;border:1px solid #375063;background:#0e1a27;border-radius:10px;display:flex;flex-direction:column;gap:8px;min-width:0}.instrument span{color:#afc5d2;font-size:.76rem}.instrument strong{font-size:clamp(1.2rem,2vw,1.8rem);font-variant-numeric:tabular-nums;color:#b5f5dc}.instrument small{font-size:.69rem;line-height:1.7;color:#adc0ce}.curve-legend{display:flex;flex-wrap:wrap;gap:16px;font-size:.8rem;margin:24px 0 12px}.legend-original{color:#c4d2e3}.legend-modified{color:#83eac6}.charts{display:grid;grid-template-columns:1fr 1fr;gap:16px}.curve-chart{margin:0;padding:16px 8px 8px;border:1px solid #344b5e;background:#0c1926;border-radius:10px;min-width:0}.curve-chart figcaption{padding:0 12px;font-weight:700}.curve-chart figcaption span{font-size:.72rem;color:#a5bdce;font-weight:400;display:block;margin-top:6px}.curve-chart svg{display:block;width:100%;height:260px;cursor:crosshair;overflow:visible}.curve-chart text{fill:#adc2d3;font-size:13px}.chart-grid{stroke:#2c4353;stroke-width:1}.curve-original{fill:none;stroke:#c4d2e3;stroke-width:3;stroke-dasharray:8 5}.curve-modified{fill:none;stroke:#83eac6;stroke-width:3}.chart-cursor{stroke:#e4bd72;stroke-width:2}.point-slider{display:flex;flex-direction:column;gap:12px;margin:24px 0 12px;font-size:.9rem}.point-slider input{width:100%;min-height:44px;accent-color:#83eac6;touch-action:pan-y}.maxima{margin:28px 0;padding:20px;border:1px solid #344c5f;border-radius:10px}.maxima p{margin:8px 0}.maxima>div+div{margin-top:20px}.dyno details{margin-top:20px;border-top:1px solid #3b5164;padding-top:12px}.dyno summary{cursor:pointer;min-height:44px;padding:10px 0;font-size:.9rem;font-weight:600}.results-table{border-collapse:collapse;min-width:100%;font-size:.8rem;font-variant-numeric:tabular-nums}.results-table caption{padding:14px;text-align:left;line-height:1.6}.results-table th,.results-table td{padding:12px;border-bottom:1px solid #334959;text-align:left;white-space:nowrap}.results-table thead{background:#1b3040}.results-table tr[aria-current=true]{background:#21403e}.results-table button{min-width:80px}.dyno ul{padding-left:22px}@media(max-width:1000px){.instruments{grid-template-columns:repeat(3,minmax(0,1fr))}.charts{grid-template-columns:1fr}}@media(max-width:600px){.dyno .section-heading{flex-direction:column}.instruments{grid-template-columns:1fr 1fr;gap:8px}.instrument{padding:12px}.instrument strong{font-size:1.35rem}.dyno-controls button{flex:1 1 125px}.curve-chart svg{height:230px}.curve-chart text{font-size:13px}.curve-legend{gap:10px}.dyno .throttle{max-width:none}}@media(prefers-reduced-motion:reduce){.dyno *{animation:none!important;transition:none!important}}.dyno .eyebrow{color:#f7aa70}.dyno .badge{color:#ffc99e;border-color:#67503e}.dyno-controls .primary{background:#ffab66;color:#19212a;font-weight:700}.dyno-controls .primary:hover{background:#ffc291}.dyno .throttle .selected{color:#ffd6b6;border-color:#f7a366;background:#392c25}.dyno .capture-note{border-color:#f7a366}.dyno progress,.dyno .point-slider input{accent-color:#f7a366}.dyno .instrument strong{color:#ffd2af}.dyno .legend-modified{color:#ffab66}.dyno .curve-modified{stroke:#ffab66}.dyno button:focus-visible,.dyno input:focus-visible,.dyno summary:focus-visible,.dyno [tabindex]:focus-visible{outline:3px solid #ffc48f;outline-offset:3px}.vehicle-stage{margin:24px 0;background:radial-gradient(ellipse at 50% 55%,#233546 0,#0d1925 65%);border:1px solid #405366;border-radius:12px;overflow:hidden}.vehicle-stage figcaption{display:flex;justify-content:space-between;align-items:center;gap:16px;padding:20px 24px;border-bottom:1px solid #314352;background:#12202d}.vehicle-stage figcaption .eyebrow{display:block;font-size:.63rem;letter-spacing:.16em;margin-bottom:9px}.vehicle-stage figcaption strong{font-size:1rem;font-weight:600}.vehicle-rpm{border:1px solid #6c503c;border-radius:6px;padding:9px 12px;color:#ffd0aa;font-variant-numeric:tabular-nums;white-space:nowrap;font-size:.9rem}.vehicle-svg{display:block;width:100%;height:auto;max-height:360px}.vehicle-stage-footer{display:flex;justify-content:space-between;gap:12px;padding:14px 24px;font-size:.75rem;color:#c3d1dd;border-top:1px solid #2b3f50}.vehicle-stage-footer i{display:inline-block;width:6px;height:6px;border-radius:50%;background:#ffab66;margin-right:8px}.vehicle-stage .vehicle-disclaimer{margin:0;padding:0 24px 16px;font-size:.72rem;line-height:1.7;color:#a9bac9}.vehicle-stage[data-state=idle] .vehicle-rpm{color:#afc0d0;border-color:#415567}.vehicle-stage[data-state=finished] figcaption{border-bottom-color:#b47648}.vehicle-stage[data-motion=active] .vehicle-stage-footer{color:#ffcea8}@media(max-width:600px){.vehicle-stage figcaption{padding:16px 14px;gap:8px;align-items:start}.vehicle-stage figcaption .eyebrow{font-size:.58rem;letter-spacing:.08em}.vehicle-stage figcaption strong{font-size:.85rem}.vehicle-rpm{font-size:.74rem;padding:7px 8px}.vehicle-stage-footer{padding:12px 14px;font-size:.68rem;flex-wrap:wrap}.vehicle-stage .vehicle-disclaimer{padding:0 14px 14px}.vehicle-svg{min-height:160px}}
