:root{font-family:Inter,Arial,sans-serif;color:#293137;background:#e4e7e9;font-synthesis:none;--panel:#f7f8f8;--border:#bbc3c8;--muted:#5d6971;--blue:#235e80;--orange:#a8562f;--green:#526b44;--focus:#b77913}
*{box-sizing:border-box}body{margin:0}button,input{font:inherit}button{min-height:44px;padding:10px 16px;border:1px solid #aeb8bf;border-radius:5px;background:#f8f9f9;color:#293137;font-weight:650;cursor:pointer;transition:background .15s}button:hover{background:#e6ebee}button[aria-pressed=true]{background:#465964;color:#fff;border-color:#465964}button:focus-visible,input:focus-visible,summary:focus-visible,a:focus-visible,[data-station]:focus-visible{outline:3px solid #ca9029;outline-offset:3px}button.quiet{background:transparent;font-size:13px}.page-header,main{max-width:1320px;margin:auto}.page-header{padding:34px 28px 22px;display:flex;align-items:center;justify-content:space-between;gap:20px}.eyebrow{font-size:11px;letter-spacing:.16em;font-weight:750;color:#65717a;margin:0 0 8px}h1{font-size:clamp(25px,3.5vw,38px);line-height:1.12;letter-spacing:-.025em;margin:0 0 9px;font-weight:740}.intro{margin:0;color:#59656e;font-size:15px;line-height:1.5}.manual-tag{font-size:10px;line-height:1.8;letter-spacing:.09em;text-align:right;border-left:2px solid #b2bcc3;padding-left:18px;color:#64717b;flex-shrink:0}main{padding:0 28px 24px}.panel{background:var(--panel);border:1px solid var(--border);border-radius:8px;box-shadow:0 2px 4px #28384708;overflow:hidden;margin-bottom:16px}h2{margin:0;font-size:18px;line-height:1.3;letter-spacing:-.015em}.small{font-size:12px;line-height:1.5;color:var(--muted);display:inline-block;margin-top:5px}.controls{padding:20px;display:grid;grid-template-columns:1fr 1fr auto;gap:32px;align-items:center}.control label{font-size:13px;display:flex;justify-content:space-between;gap:10px;font-weight:600;line-height:1.4}output{white-space:nowrap;color:#2a515f;font-variant-numeric:tabular-nums;font-weight:750}input[type=range]{width:100%;height:32px;accent-color:#506c7b;cursor:pointer;margin:7px 0 0}input[type=range]::-webkit-slider-thumb{min-width:23px;min-height:23px}input[type=checkbox]{width:21px;height:21px;accent-color:#526c7b;flex-shrink:0}.range-labels{display:flex;justify-content:space-between;font-size:11px;color:#6c7880}.control-actions{display:flex;flex-direction:column;gap:8px;align-items:flex-start}.check{display:flex;align-items:center;font-size:12px;gap:7px;cursor:pointer;min-height:30px}.section-bar{display:flex;justify-content:space-between;align-items:center;padding:18px 20px 12px;gap:18px}.play-controls{display:flex;gap:7px;flex-shrink:0}.play-controls button{font-size:12px;padding:9px 12px}.visual-scroll{overflow-x:auto;scrollbar-width:thin}.engine-svg{display:block;width:100%;min-width:720px;height:auto}.engine-svg [data-station]{cursor:pointer}.diagram-key{padding:10px 20px 14px;display:flex;gap:19px;flex-wrap:wrap;color:#627078;font-size:11px;align-items:center}.diagram-key span{display:flex;align-items:center;gap:6px}.diagram-key span:last-child{margin-left:auto}.key-line{display:inline-block;width:17px;height:3px;border-radius:3px}.key-line.cool{background:#4489ad}.key-line.hot{background:#e56630}.key-dot{background:#e1a225;border:1px solid #403724;border-radius:50%;width:8px;height:8px}.inspect-panel{display:grid;grid-template-columns:240px 1fr 265px;border-left:4px solid #cd9b43;gap:23px;padding:20px}.station-navigation label{display:block}.station-navigation label span{display:block;font-size:10px;letter-spacing:.12em;color:#748089;font-weight:700;margin-bottom:8px}.station-navigation strong{font-size:15px;line-height:1.5;display:block}.station-copy h2{font-size:18px;margin-bottom:9px}.station-copy p{font-size:13px;line-height:1.65;margin:0 0 8px}.station-copy p.nuance{font-size:12px;color:#627079;border-top:1px solid #d8dde0;padding-top:8px;margin-bottom:0}.readouts{border-left:1px solid #ccd3d7;padding-left:20px;display:flex;flex-direction:column;justify-content:center;gap:10px}.readout{display:flex;justify-content:space-between;align-items:baseline;gap:10px;font-size:12px}.readout span{color:#626e77}.readout strong{font-size:17px;font-variant-numeric:tabular-nums;font-weight:650;white-space:nowrap}.readout small{font-size:10px;color:#68747c;font-weight:500}.readout.total strong{font-size:13px}.plots .section-bar{padding-bottom:9px}.segmented{display:flex;gap:0}.segmented button{border-radius:0;font-size:12px;min-width:68px}.segmented button:first-child{border-radius:5px 0 0 5px}.segmented button:last-child{border-radius:0 5px 5px 0}.plot-legend{font-size:11px;padding:0 20px 15px;display:flex;gap:22px;color:#5f6b74}.plot-legend span{display:flex;align-items:center;gap:7px}.plot-legend i{width:20px;border-top:2px solid #697781}.plot-legend .dashed{border-top-style:dashed}.chart-block{border-top:1px solid #d3d9dd;padding:11px 0 0}.chart-block h3{font-size:13px;margin:0 20px 3px;display:flex;justify-content:space-between;gap:12px}.chart-block h3 span{font-size:12px;font-variant-numeric:tabular-nums;font-weight:500}.pressure{color:var(--blue)}.temperature{color:var(--orange)}.velocity{color:var(--green)}.chart-scroll{overflow-x:auto;scrollbar-width:thin}.chart-scroll svg{display:block;width:100%;min-width:720px}.chart-scroll [data-station]{cursor:pointer}.plot-note{padding:12px 20px;margin:0;font-size:12px;line-height:1.65;color:#67737c;border-top:1px solid #d3d9dd}.energy-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:1px;background:#d2d8dc;border-top:1px solid #d2d8dc;border-bottom:1px solid #d2d8dc}.energy-number{background:#eef1f2;padding:17px 20px}.energy-number span{display:block;font-size:11px;color:#637079;line-height:1.5;margin-bottom:4px}.energy-number strong{font-size:26px;font-variant-numeric:tabular-nums;font-weight:650}.energy-number small{font-size:11px;color:#697780;margin-left:4px}.energy p{font-size:12px;line-height:1.6;padding:0 20px;margin:12px 0;color:#637079}.balance-badge{font-size:10px;font-weight:750;letter-spacing:.06em;padding:8px 11px;background:#e0e9df;color:#4b6746;border:1px solid #bccdba;border-radius:4px;white-space:nowrap}.notes-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px}.teaching-note{padding:20px;position:relative}.note-number{display:block;font-size:11px;color:#7b8890;font-weight:750;margin-bottom:8px}.teaching-note h2{font-size:16px}.teaching-note p{font-size:13px;line-height:1.7;color:#5e6c75;margin:10px 0 0}.model-notes summary{cursor:pointer;min-height:54px;padding:18px 20px;font-size:13px;font-weight:650}.details-body{padding:0 20px 18px;border-top:1px solid #d4dade;font-size:12px;line-height:1.75;color:#5f6e77}.details-body li{margin-bottom:8px}.details-body ul{padding-left:19px}.sources a{color:#37627b;text-underline-offset:3px}footer{display:flex;justify-content:space-between;gap:20px;font-size:10px;color:#728089;padding:10px 0;letter-spacing:.04em}noscript{display:block;padding:20px;background:#fff4ce}.reduced-motion-note{font-size:11px}
@media(min-width:1500px){.page-header,main{max-width:1400px}}
@media(max-width:1050px){.controls{grid-template-columns:1fr 1fr;gap:20px}.control-actions{grid-column:1/-1;flex-direction:row;align-items:center;justify-content:space-between;border-top:1px solid #d8dde0;padding-top:10px}.inspect-panel{grid-template-columns:210px 1fr}.readouts{grid-column:1/-1;display:grid;grid-template-columns:repeat(3,1fr);padding:15px 0 0;border-left:0;border-top:1px solid #ccd3d7}.section-bar{align-items:flex-start}.play-controls{flex-wrap:wrap;justify-content:flex-end;max-width:300px}}
@media(max-width:700px){.page-header{padding:23px 14px 17px}.manual-tag{display:none}main{padding:0 10px 18px}.eyebrow{font-size:9px}.intro{font-size:13px}.controls{padding:15px;grid-template-columns:1fr;gap:18px}.control label{font-size:12px}.control-actions{grid-column:auto}.visual-panel{position:sticky;top:0;z-index:5;box-shadow:0 3px 9px #28384720}.visual-panel .section-bar{padding:10px 12px 6px;align-items:center}.visual-panel h2{font-size:14px}.visual-panel .small{display:none}.play-controls{max-width:215px;gap:5px;flex-wrap:nowrap}.play-controls button{min-height:40px;font-size:11px;padding:8px}.play-controls #step{display:none}.engine-svg{min-width:720px;width:720px}.visual-scroll{max-height:225px}.diagram-key{padding:6px 12px 8px;font-size:9px;gap:11px}.diagram-key span:last-child{display:none}.inspect-panel{grid-template-columns:1fr;padding:15px;gap:16px}.station-navigation{display:grid;grid-template-columns:1fr;gap:0}.station-navigation label span{margin-bottom:2px}.station-navigation input{margin-top:3px}.station-copy h2{font-size:17px}.readouts{grid-column:auto;grid-template-columns:1fr 1fr;padding-top:12px}.readout{font-size:11px}.readout strong{font-size:15px}.section-bar{flex-wrap:wrap;padding:15px 15px 10px;gap:12px}.section-bar h2{font-size:17px}.plots .section-bar .small{font-size:11px}.segmented{width:100%}.segmented button{flex:1}.plot-legend{flex-direction:column;gap:7px;padding:0 15px 13px;font-size:10px}.chart-block h3{margin:0 15px 3px;font-size:12px}.chart-block h3 span{font-size:10px}.plot-note{font-size:11px;padding:12px 15px}.energy-grid{grid-template-columns:1fr 1fr}.energy-number{padding:13px 15px}.energy-number strong{font-size:23px}.balance-badge{font-size:9px}.notes-grid{grid-template-columns:1fr;gap:0}.teaching-note{padding:16px}.model-notes summary{font-size:12px;padding:16px}.details-body{padding:0 16px 15px}footer{display:block;font-size:9px;line-height:1.8;padding:5px}footer span{display:block}}
@media(prefers-reduced-motion:reduce){button{transition:none}}
.stage-counts{grid-column:1/-1;display:grid;grid-template-columns:1fr 1fr;gap:28px;border-bottom:1px solid #ced5da;padding-bottom:17px}.stage-count{display:flex;align-items:center;justify-content:space-between;gap:14px}.stage-count strong{display:block;font-size:14px}.stage-count span{display:block;font-size:11px;color:#68767f;margin-top:5px}.stepper{display:flex;align-items:center;gap:14px}.stepper button{width:46px;min-height:46px;padding:0;font-size:22px}.stepper output{font-size:23px;min-width:20px;text-align:center}button:disabled{opacity:.35;cursor:default}.cascade-scroll{overflow-x:auto}.cascade-scroll svg{width:100%;display:block;max-height:330px;min-width:640px}.cascade-empty{padding:30px 20px;color:#66757e;font-size:14px}.model-tag{font-size:10px;color:#68777e;border:1px solid #c9d1d5;border-radius:4px;padding:8px;white-space:nowrap}.engine-svg{height:auto}.diagram-key span:last-child{margin-left:auto}
@media(max-width:700px){.stage-counts{grid-template-columns:1fr;gap:16px;padding-bottom:15px}.stage-count strong{font-size:13px}.stepper button{min-height:44px;width:44px}.play-controls button{min-height:44px}.cascade-scroll svg{min-width:640px;width:640px}.cascade-panel .section-bar{padding:15px}.model-tag{font-size:9px}.engine-svg{width:100%}.visual-scroll{max-height:240px}.cascade-panel .plot-note{font-size:11px}}

.energy p.pressure-warning{background:#fff1d3;border:1px solid #d5b578;border-radius:5px;padding:12px 14px;margin:12px 20px 16px;color:#795324;font-weight:600}.balance-badge.mismatch{background:#fff0d4;color:#805622;border-color:#d5b578}

@media(max-width:700px){.visual-scroll{max-height:none}.diagram-key span:last-child{display:none}}
