.scenario-lab{margin-top:24px;border-color:#739b88;background:#0a1914}
.lab-intro{font-size:20px;line-height:1.35;color:#e4f7ed;margin:8px 0 16px}
.lab-editors,.lab-outcomes{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}
.lab-editor{min-width:0;border:1px solid #547a64;border-radius:10px;padding:14px;margin:16px 0}
.lab-editor legend{font-size:13px;font-weight:700;color:#d5e8dd;padding:0 6px}
.lab-step{padding:10px 0;border-bottom:1px solid #426b57;margin-bottom:10px;display:grid;gap:8px}
.lab-step input{padding:11px}
.lab-step-actions{display:flex;gap:8px;flex-wrap:wrap}
.lab-step-actions .ghost{font-size:12px;margin:0;padding:8px}
.lab-step-actions button:disabled{color:#a8b6af;border-color:#42675b;cursor:default}
.lab-run{justify-self:start}.lab-form{margin-top:16px}
.lab-plots{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin:20px 0}
.lab-plots .card:last-child{grid-column:1/-1}
.lab-plot{min-width:0;margin:0}.lab-plot h4,.lab-outcomes h4{font-size:14px;color:#c8ddd0;margin:0 0 10px}
.lab-chart{display:block;width:100%;height:auto}
.lab-plots .card:last-child .lab-chart{max-width:640px;margin:auto}
.lab-line{fill:none;stroke-width:3}.lab-dot{stroke-width:2;fill:#0a1914}
.lab-series-0{stroke:#8de5bd}.lab-series-1{stroke:#efb88e;stroke-dasharray:9 5}.lab-series-2{stroke:#afcaff;stroke-dasharray:2 4}
.lab-dot{stroke-dasharray:none}
.lab-legend{display:flex;flex-wrap:wrap;gap:18px;list-style:none;padding:0;font-size:13px;line-height:1.5}
.lab-legend-0{color:#8de5bd;border-bottom:3px solid #8de5bd}.lab-legend-1{color:#efb88e;border-bottom:3px dashed #efb88e}.lab-legend-2{color:#afcaff;border-bottom:3px dotted #afcaff}
.lab-outcome{font-weight:700;color:#e4f7ed}.lab-data caption{text-align:left;color:#d5e8dd;padding:12px 0}
.lab-data .comparison{min-width:900px;table-layout:fixed}.lab-data .comparison th:first-child{width:45px}
.lab-results>.ghost{margin-top:20px;white-space:normal}
@media(max-width:850px){.lab-editors,.lab-outcomes{grid-template-columns:1fr}.lab-editor{margin:4px 0}.lab-plots{grid-template-columns:1fr}.lab-plots .card:last-child{grid-column:auto}}
@media(max-width:480px){.scenario-lab{padding:14px}.lab-plots .card{padding:8px}.lab-chart .chart-label{font-size:18px}}
@media(forced-colors:active){.lab-series-0,.lab-series-1,.lab-series-2{stroke:CanvasText}.lab-dot{fill:Canvas}.lab-legend li{color:CanvasText;border-color:CanvasText}}
