/* The air-valve lesson has its own layout and state styles. */
.air-header{display:flex;justify-content:space-between;align-items:center;padding:28px 0 20px;gap:18px}.air-label{font-size:10px;color:var(--teal);background:#e1ede6;padding:5px 8px;border-radius:4px;margin-right:9px}.air-header h2{font-size:21px}.air-header p{font-size:12px;color:var(--muted);margin:12px 0 0;line-height:1.8}.air-source{font-size:10px;color:var(--muted)}.air-mode-bar{display:flex;justify-content:space-between;align-items:center;gap:15px;margin-bottom:20px}.air-mode-buttons{display:flex;background:#e8eeea;padding:4px;border-radius:10px;gap:4px}.air-mode-buttons button{border:0;border-radius:7px;padding:12px 23px;font-size:13px;background:transparent;color:#6b7c73}.air-mode-buttons button small{font-size:10px;margin-left:16px;opacity:.8}.air-mode-buttons button.selected{background:#fff;color:var(--teal);box-shadow:0 2px 6px #2842350c;font-weight:700}.air-mode-bar p{font-size:11px;color:#62786b;padding-left:12px;border-left:2px solid #a9cdb7;line-height:1.8}.air-layout{display:grid;grid-template-columns:minmax(0,1.95fr) minmax(300px,1fr);gap:20px;align-items:start}.air-machine{border-radius:16px;background:#112e3d;color:#dce9ec;overflow:hidden;box-shadow:0 5px 15px #12303d0a}.air-machine-heading{display:flex;justify-content:space-between;align-items:center;gap:10px;padding:21px 23px;border-bottom:1px solid #ffffff12;font-size:13px}.air-machine-heading>span{font-size:10px;color:#94c9c2;background:#ffffff0b;border:1px solid #ffffff15;padding:5px 9px;border-radius:20px}.air-instruments{display:grid;grid-template-columns:1fr 1fr 1.15fr;padding:22px 25px 8px;gap:10px}.air-instruments>div{border-left:1px solid #ffffff18;padding-left:19px}.air-instruments>div:first-child{border:0;padding-left:0}.air-instruments span{font-size:10px;color:#9cb6c1;display:block;margin-bottom:8px}.air-instruments b{font-weight:500;font-size:26px;font-variant-numeric:tabular-nums;letter-spacing:.4px}#air-port-state{font-size:23px}.air-cutaway{overflow-x:auto;scrollbar-color:#426370 #163443;scrollbar-width:thin}.air-svg{display:block;width:100%;height:auto;min-width:620px}.air-svg text{font-family:"Microsoft YaHei","Segoe UI",sans-serif;pointer-events:none}.air-svg-kicker{font-size:10px;letter-spacing:1.2px;fill:#7295a3}.air-svg-label{font-size:13px;fill:#bdcfd6}.air-svg-small{font-size:11px;fill:#8eaebb}.air-port-letter{font-size:25px;fill:#e7d5a9;font-style:italic}.air-leader{stroke:#6b8995;fill:none}.air-pipe{fill:none;stroke:#314f5c;stroke-linejoin:round;stroke-linecap:round}.pilot-pipe{stroke-width:11}.main-pipe{stroke-width:16}.air-route{fill:none;stroke-linecap:round;stroke-linejoin:round;opacity:0;transition:opacity .18s}.pilot-route{stroke:#3f9fac;stroke-width:5}.main-route{stroke:#b69055;stroke-width:7}.air-route.connected{opacity:.65}.air-flow{fill:none;stroke-linejoin:round;stroke-linecap:round;opacity:0}.pilot-flow{stroke:#84e0e6;stroke-width:3;stroke-dasharray:3 13}.main-flow{stroke:#f4ce8d;stroke-width:3.5;stroke-dasharray:8 15}.gas-moving{animation:air-gas 1.1s linear infinite}.air-is-paused .gas-moving{animation-play-state:paused}.air-coil{fill:#294450;stroke:#63808b;stroke-width:1.5}.air-coil.energized{fill:#4b6e5b;stroke:#a0dfaa;filter:drop-shadow(0 0 6px #86c99744)}.air-coil-winding{stroke:#8caa9e;stroke-width:2;opacity:.55}.air-coil-label{font-family:monospace!important;font-size:11px;fill:#e8f6ee;font-weight:700;paint-order:stroke;stroke:#284e49;stroke-width:4px}.air-pilot-housing{fill:#1a3b4b;stroke:#91aeb7;stroke-width:1.5}.air-seat{stroke:#809eaa;stroke-width:4;fill:none}.air-armature{stroke:#b4c4c9;stroke-width:5}.air-chamber-label{fill:#c4e8e9;font-size:12px}.air-svg [role=button]{cursor:pointer;outline:none}.air-svg [role=button]:focus-visible{filter:drop-shadow(0 0 4px #e0b563)}.air-svg [role=button]:hover .air-svg-label{fill:#f2d69e}.air-legend{border-top:1px solid #ffffff14;padding:15px 23px 19px;display:flex;flex-wrap:wrap;gap:14px;font-size:9px;color:#91adb9}.air-legend span:last-child{margin-left:auto;color:#6e919e}.air-legend i{display:inline-block;width:15px;height:3px;vertical-align:middle;margin-right:7px}.pilot-key{background:#68d6df}.main-key{background:#edc27b}.block-key{background:#e08373}.air-scroll-note{font-size:9px;color:#7197a5;padding:0 25px;margin:8px 0}.air-sidebar{display:grid;gap:16px}.air-control-card,.air-band-card,.air-part-card,.air-boundary{background:#fff;border:1px solid var(--line);border-radius:14px;padding:23px}.air-control-card h3{font-size:19px;margin:0 0 12px;line-height:1.6}.air-control-card #air-stage-copy{font-size:12px;line-height:1.95;color:#647c76;min-height:72px;margin:0 0 19px}.air-playback{display:grid;grid-template-columns:1fr 1fr;gap:9px}.air-playback .quiet{font-size:12px}.air-playback .text-button{grid-column:1/-1;justify-self:center;padding:7px;font-size:11px}#air-control-note{font-size:10px;color:#7c8d83;line-height:1.8;margin-top:13px;min-height:36px}.air-playback button:disabled{cursor:default;background:#e9efeb;border-color:#e0e7e1;color:#91a198;transform:none;filter:none}.air-readouts{margin:16px 0 0;padding-top:8px;border-top:1px solid var(--line)}.air-readouts div{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:8px 0;font-size:10px}.air-readouts dt{color:#748a80}.air-readouts dd{margin:0;color:#256c5d;text-align:right}.air-band-card{padding:20px 20px 14px;cursor:pointer}.air-card-heading{display:flex;justify-content:space-between;gap:10px;font-size:12px}.air-card-heading span{font-size:10px;color:var(--teal);background:#e8f3eb;padding:4px 7px;border-radius:5px}.air-band-card svg{display:block;width:100%;max-height:200px;margin-top:5px}.air-band-card p{font-size:10px;line-height:1.8;color:#6e8278;margin:5px 0}.air-stages{list-style:none;padding:0;margin:22px 0;display:grid;grid-template-columns:repeat(4,1fr);gap:10px}.air-stages li{border:1px solid #dce5df;border-radius:10px;padding:17px 15px;background:#edf1ec;display:grid;grid-template-columns:26px 1fr;gap:5px 8px;align-items:center}.air-stages li>span{grid-row:1/3;font-size:15px;color:#93a69b;font-variant-numeric:tabular-nums}.air-stages b{font-size:11px;font-weight:500;color:#60796c;line-height:1.6}.air-stages small{font-size:9px;color:#8b9e92}.air-stages .current{background:#e1f0e8;border-color:#79ad95}.air-stages .done>span,.air-stages .current b{color:#287c60}.air-bottom{display:grid;grid-template-columns:1.3fr 1fr;gap:20px}.air-part-buttons{display:flex;flex-wrap:wrap;gap:7px}.air-part-buttons button{font-size:10px;border:1px solid #dce5df;background:#f7faf6;border-radius:5px;color:#688471;padding:7px 9px}.air-part-buttons button.selected{background:#e6f0e8;border-color:#7eae92;color:#216543}.air-part-card h3,.air-boundary h3{font-size:16px;margin:17px 0 8px}.air-boundary h3{margin-top:0}.air-part-card p:not(.eyebrow),.air-boundary p{font-size:11px;line-height:1.95;color:#6e8276}.air-boundary details{border-top:1px solid #e3e9e2;padding-top:12px;margin-top:14px;font-size:11px;color:#537860;line-height:1.8}.air-boundary summary{cursor:pointer}
@keyframes air-gas{to{stroke-dashoffset:-46}}
@media(max-width:1100px){.air-layout{grid-template-columns:minmax(0,1.6fr) minmax(285px,1fr)}.air-control-card,.air-band-card{padding:19px}.air-header h2{font-size:19px}.air-stages b{font-size:10px}}
@media(max-width:850px){.air-layout{grid-template-columns:1fr}.air-sidebar{grid-template-columns:1.2fr 1fr}.air-source{display:none}.air-mode-bar{flex-wrap:wrap}.air-mode-bar p{margin:0}.air-bottom{grid-template-columns:1fr}.air-stages{grid-template-columns:repeat(2,1fr)}}
@media(max-width:560px){.tabs{gap:0;justify-content:space-between}.tab{font-size:11px;white-space:nowrap}.tab>span:first-child{font-size:9px;margin-right:4px}.air-header{padding:22px 0 18px}.air-label{display:inline-block;margin-bottom:10px;font-size:9px}.air-header h2{display:block;font-size:20px}.air-header p{font-size:11px}.air-mode-buttons{width:100%}.air-mode-buttons button{flex:1;padding:12px;font-size:12px}.air-mode-buttons button small{margin-left:9px}.air-mode-bar p{font-size:10px}.air-machine-heading{padding:17px 15px;font-size:11px}.air-machine-heading>span{font-size:9px}.air-instruments{padding:17px 15px 8px}.air-instruments>div{padding-left:10px}.air-instruments span{font-size:9px}.air-instruments b{font-size:22px}#air-port-state{font-size:16px}.air-scroll-note{padding:0 15px}.air-legend{padding:14px 15px;gap:12px;font-size:8px}.air-legend span:last-child{margin-left:0}.air-sidebar{grid-template-columns:1fr}.air-control-card #air-stage-copy{min-height:0}.air-stages{gap:8px}.air-stages li{padding:14px 9px;grid-template-columns:22px 1fr;gap:3px}.air-stages b{font-size:10px}.air-band-card svg{max-height:210px}.air-part-card,.air-boundary{padding:20px}}
