:root{color-scheme:dark;--bg:#07111a;--panel:#0b1823;--panel2:#0e1e2b;--line:#1c3443;--line-soft:rgba(112,154,174,.16);--text:#e8f0f2;--muted:#8097a4;--dim:#536b79;--accent:#65dfc1;--accent2:#e2b879;--water:#59b8e8;--danger:#e6a17c;--mono:ui-monospace,SFMono-Regular,Consolas,"Liberation Mono",monospace;--sans:Inter,ui-sans-serif,system-ui,-apple-system,"Segoe UI",sans-serif}
*{box-sizing:border-box}html,body{margin:0;width:100%;min-height:100%;background:var(--bg);color:var(--text);font-family:var(--sans)}body{overflow-x:hidden}.app-shell{min-height:100vh;background:radial-gradient(ellipse at 38% -18%,rgba(45,94,112,.19),transparent 48%),var(--bg)}.topbar{height:66px;padding:0 28px;border-bottom:1px solid var(--line-soft);display:flex;align-items:center;justify-content:space-between;background:rgba(6,16,24,.88);position:relative;z-index:2}.brand-lockup,.topbar-right{display:flex;align-items:center;gap:13px}.brand-mark{width:28px;height:28px;border:1px solid rgba(101,223,193,.48);border-radius:8px;display:flex;align-items:center;justify-content:center;gap:2px;transform:rotate(-7deg)}.brand-mark span{display:block;width:3px;border-radius:3px;background:var(--accent)}.brand-mark span:nth-child(1){height:8px}.brand-mark span:nth-child(2){height:15px}.brand-mark span:nth-child(3){height:11px}.brand-name{font-size:10px;font-weight:800;letter-spacing:.2em;color:#e5f0f0}.brand-name span{color:var(--accent);font-weight:600}.brand-subtitle{font-size:8px;letter-spacing:.14em;color:#647e8b;margin-top:3px}.topbar-right{gap:16px}.seed-chip{font:9px var(--mono);letter-spacing:.07em;color:#8ea4af;display:flex;align-items:center;gap:7px}.seed-chip small{font:8px var(--sans);color:#59717e;letter-spacing:.07em}.seed-dot,.live-pip{width:6px;height:6px;border-radius:50%;background:var(--accent);box-shadow:0 0 10px rgba(101,223,193,.6)}button{font:inherit;color:inherit}.icon-button{height:34px;border:1px solid #294454;background:#0c1c27;border-radius:7px;padding:0 11px;display:flex;align-items:center;gap:8px;font-size:11px;color:#c9d8dc;cursor:pointer;transition:border-color .2s,background .2s,transform .2s}.icon-button:hover{border-color:var(--accent);background:#102a33}.icon-button:active,.transport-button:active,.preset-button:active{transform:translateY(1px)}.icon-button svg{width:15px;height:15px;fill:none;stroke:var(--accent);stroke-width:1.5;stroke-linecap:round;stroke-linejoin:round}
.workspace{height:calc(100dvh - 66px);min-height:610px;display:grid;grid-template-columns:minmax(0,1fr) 350px;max-width:1920px;margin:0 auto}.exhibit-column{min-width:0;padding:20px 24px 18px 28px;display:grid;grid-template-rows:auto minmax(300px,1fr) auto;gap:14px;overflow:hidden}.exhibit-heading{display:flex;align-items:flex-end;justify-content:space-between;gap:18px;min-height:56px}.eyebrow{font:8px var(--mono);letter-spacing:.16em;color:#72909c;display:flex;align-items:center;gap:8px}.eyebrow-line{height:1px;width:18px;background:var(--accent);display:inline-block}.heading-copy h1{font-size:27px;line-height:1.12;letter-spacing:-.045em;font-weight:650;margin:6px 0 0}.heading-copy h1 em{font-style:normal;color:var(--accent);font-weight:450}.view-switch{display:flex;align-items:center;padding:3px;border:1px solid #1c3443;border-radius:8px;background:#0a1721;gap:2px}.view-button{border:0;background:transparent;color:#78909d;font-size:10px;padding:8px 12px;border-radius:5px;cursor:pointer;transition:background .2s,color .2s}.view-button:hover{color:#dbe7e8}.view-button.active{background:#18313a;color:var(--accent);box-shadow:inset 0 0 0 1px rgba(101,223,193,.14)}
.stage-frame{min-height:0;display:grid;grid-template-rows:30px minmax(220px,1fr) auto;border:1px solid #1c3443;border-radius:10px;overflow:hidden;background:#091722;box-shadow:0 18px 55px rgba(0,0,0,.18)}.stage-meta{display:flex;justify-content:space-between;align-items:center;padding:0 14px;border-bottom:1px solid rgba(99,139,158,.14);background:#0b1a25;font:8px var(--mono);letter-spacing:.1em;color:#6f8995}.stage-index{display:flex;align-items:center;gap:8px}.live-pip{width:5px;height:5px}.stage-separator{color:#395260}.stage-scale{color:#536d79}.canvas-viewport{position:relative;min-height:0;overflow:hidden;background:#081722}.canvas-viewport:after{content:"";position:absolute;inset:0;pointer-events:none;background:linear-gradient(180deg,rgba(8,23,34,.02),transparent 65%,rgba(5,14,22,.22))}#machineCanvas{display:block;width:100%;height:100%;outline:none}.canvas-corner{position:absolute;z-index:1;top:13px;font:8px var(--mono);letter-spacing:.13em;color:#526e7c;pointer-events:none}.canvas-corner-left{left:15px}.canvas-corner-right{right:15px;color:#8ba5ad}.canvas-legend{position:absolute;z-index:1;bottom:11px;left:14px;display:flex;gap:13px;font:7px var(--mono);letter-spacing:.08em;color:#65808d;pointer-events:none}.canvas-legend span{display:flex;align-items:center;gap:5px}.canvas-legend i{width:7px;height:7px;border-radius:2px;display:inline-block}.legend-water{background:#4ba9d7}.legend-air{background:#d2ad76}.legend-metal{background:#728895}.stage-footer{display:grid;grid-template-columns:142px 1fr;align-items:center;gap:10px;padding:10px 15px 11px;border-top:1px solid rgba(99,139,158,.14);background:#0b1a25;min-height:58px}.caption-marker{font:8px var(--mono);letter-spacing:.1em;color:#75919d;display:flex;align-items:center;gap:7px}.caption-marker-line{height:1px;width:12px;background:var(--accent)}.stage-footer p{font-size:10px;line-height:1.5;color:#a8bbc1;margin:0;max-width:760px}
.telemetry{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:9px}.metric-card{border:1px solid #1b3342;background:linear-gradient(145deg,#0d1e2a,#0a1721);border-radius:8px;padding:11px 12px 9px;min-width:0}.metric-top{display:flex;justify-content:space-between;align-items:center;gap:4px}.metric-label{font:7px var(--mono);letter-spacing:.11em;color:#79929d;white-space:nowrap}.origin-tag{font:6px var(--mono);letter-spacing:.06em;color:#536d79;white-space:nowrap}.metric-value{margin-top:7px;font:25px var(--mono);letter-spacing:-.07em;color:#eaf3f1;display:flex;align-items:baseline;gap:5px}.metric-value small{font:9px var(--sans);letter-spacing:0;color:#76919d}.metric-foot{display:flex;align-items:center;gap:7px;margin-top:8px;font-size:7px;color:#627c88;white-space:nowrap}.metric-bar{height:3px;width:35px;background:#1b3441;border-radius:4px;overflow:hidden;display:block;flex:none}.metric-bar i{display:block;height:100%;width:0;background:var(--accent);border-radius:4px;transition:width .35s}.pressure-bar i{background:var(--accent2)}.pulse-bar i{background:#83b9e6}.efficiency-bar i{background:#7bcfae}
.control-rail{min-width:0;overflow-y:auto;overscroll-behavior:contain;border-left:1px solid var(--line-soft);background:linear-gradient(180deg,#0b1823,#09151e);padding:20px 19px 14px;scrollbar-width:thin;scrollbar-color:#294453 transparent}.rail-section{padding-bottom:17px;border-bottom:1px solid var(--line-soft)}.rail-heading{display:flex;justify-content:space-between;align-items:center}.rail-heading h2{font-size:16px;font-weight:600;letter-spacing:-.025em;margin:4px 0 0}.rail-number{font:9px var(--mono);color:#49616e;border:1px solid #1c3443;border-radius:5px;padding:5px 7px}.section-intro{font-size:9px;line-height:1.55;color:#7f98a3;margin:9px 0 16px}.control-group{margin:0 0 13px}.control-label-row{display:flex;justify-content:space-between;align-items:center;margin-bottom:7px}.control-label-row label{font-size:10px;color:#c7d5d8}.control-label-row output{font:10px var(--mono);color:var(--accent)}input[type=range]{display:block;width:100%;height:13px;margin:0;background:transparent;cursor:pointer;accent-color:var(--accent)}input[type=range]::-webkit-slider-runnable-track{height:3px;border-radius:3px;background:linear-gradient(90deg,#356c69,#28404c)}input[type=range]::-webkit-slider-thumb{-webkit-appearance:none;width:11px;height:11px;margin-top:-4px;border-radius:50%;background:var(--accent);border:2px solid #0b1823;box-shadow:0 0 0 1px rgba(101,223,193,.7)}input[type=range]::-moz-range-track{height:3px;border-radius:3px;background:#28404c}input[type=range]::-moz-range-thumb{width:9px;height:9px;border-radius:50%;background:var(--accent);border:2px solid #0b1823;box-shadow:0 0 0 1px rgba(101,223,193,.7)}input[type=range]:focus-visible{outline:1px solid var(--accent);outline-offset:4px;border-radius:5px}.range-ends{display:flex;justify-content:space-between;align-items:center;margin-top:3px;font:7px var(--mono);color:#526b77}.preset-block{margin-top:16px}.subsection-label{font:7px var(--mono);letter-spacing:.1em;color:#6e8792;display:flex;justify-content:space-between;align-items:center;margin-bottom:8px}.preset-row{display:grid;grid-template-columns:1fr 1fr;gap:7px}.preset-button{min-width:0;display:flex;align-items:center;gap:8px;text-align:left;padding:9px 8px;border:1px solid #223a48;border-radius:7px;background:#0c1b26;cursor:pointer;transition:border-color .2s,background .2s}.preset-button:hover{border-color:#4c8c84}.preset-button.selected{border-color:rgba(101,223,193,.55);background:rgba(39,91,83,.16)}.preset-icon{width:24px;height:24px;display:grid;place-items:center;border-radius:6px;background:#142e37;color:var(--accent);font:14px var(--mono);flex:none}.preset-button strong{display:block;font-size:9px;font-weight:600;color:#d5e2e3}.preset-button small{display:block;font-size:7px;color:#6e8792;margin-top:3px;white-space:nowrap}
.run-section{padding-top:15px}.rail-heading.compact h2{font-size:14px}.run-state{font:8px var(--mono);letter-spacing:.08em;color:var(--accent);display:flex;align-items:center;gap:6px}.run-state i{width:5px;height:5px;border-radius:50%;background:var(--accent);box-shadow:0 0 8px rgba(101,223,193,.6)}.run-state.paused{color:#d6ae76}.run-state.paused i{background:#d6ae76;box-shadow:none}.transport-row{display:grid;grid-template-columns:1.15fr 1fr 1fr;gap:7px;margin-top:12px}.transport-button{height:35px;display:flex;align-items:center;justify-content:center;gap:7px;border:1px solid #294352;border-radius:6px;background:#0d202c;color:#9eb3bb;font-size:9px;cursor:pointer;transition:all .2s}.transport-button:hover{border-color:#5b8b8c;color:#e2efed}.transport-button.primary{background:#17363a;border-color:#2c7167;color:#9cebd5}.transport-symbol{font:14px var(--mono);line-height:1}.quality-row{display:flex;align-items:center;justify-content:space-between;margin-top:13px;font:7px var(--mono);letter-spacing:.08em;color:#718995}.quality-row>span{display:flex;align-items:center;gap:6px}.quality-switch{display:flex;gap:2px;padding:2px;border-radius:5px;background:#08141d;border:1px solid #1c3443}.quality-switch button{font-size:8px;color:#69818d;border:0;border-radius:3px;padding:4px 8px;background:transparent;cursor:pointer}.quality-switch button.active{background:#1b3840;color:var(--accent)}.keyboard-hint{font-size:7px;color:#5e7783;margin-top:10px;display:flex;align-items:center;gap:5px}.keyboard-hint kbd{font:7px var(--mono);padding:2px 4px;border:1px solid #29414e;border-radius:3px;color:#93aab2;background:#10212b}.keyboard-hint span{color:#395260}
.science-panel{margin-top:13px;border:1px solid #1c3443;border-radius:8px;background:#0b1b26;overflow:hidden}.science-panel summary{list-style:none;display:flex;align-items:center;gap:10px;padding:12px;cursor:pointer}.science-panel summary::-webkit-details-marker{display:none}.science-icon{width:27px;height:27px;border-radius:6px;background:#17333a;color:var(--accent);display:grid;place-items:center;font:14px Georgia,serif}.science-panel summary strong{display:block;font-size:10px;font-weight:600;color:#d8e5e5}.science-panel summary small{display:block;font-size:7px;color:#718995;margin-top:3px}.summary-chevron{margin-left:auto;color:#76919b;font:14px var(--mono);transition:transform .2s}.science-panel[open] .summary-chevron{transform:rotate(180deg)}.science-content{padding:0 11px 12px;border-top:1px solid var(--line-soft)}.science-subhead{font:7px var(--mono);letter-spacing:.13em;color:#7f9aa4;margin:13px 0 7px}.equation-card{border:1px solid rgba(101,144,159,.16);border-radius:5px;padding:8px 9px;margin-bottom:6px;background:#0d202b}.equation-title{font-size:8px;color:#b8c9cd;margin-bottom:5px}.equation{font:10px Georgia,serif;color:#8de2cf;letter-spacing:.01em;overflow-wrap:anywhere}.equation-note{font:7px var(--mono);color:#637e89;margin-top:5px;line-height:1.5}.check-subhead{margin-top:15px}.check-explainer{font-size:8px;line-height:1.55;color:#8299a2;margin:0 0 8px}.check-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:5px}.check-grid>div{padding:7px 6px;border:1px solid #1e3946;border-radius:5px;background:#0c1d28;min-width:0}.check-grid span{font:6px var(--mono);letter-spacing:.05em;color:#6d8792;display:block;white-space:nowrap}.check-grid strong{display:block;font:11px var(--mono);color:#d5e7e3;margin-top:5px;white-space:nowrap}.check-method{font-size:7px;color:#77929b;margin-top:7px;line-height:1.45}.constant-list{list-style:none;padding:0;margin:0}.constant-list li{display:flex;justify-content:space-between;gap:8px;padding:5px 0;border-bottom:1px solid rgba(112,154,174,.09);font-size:7px;color:#78909b}.constant-list li strong{font:7px var(--mono);color:#b5c8ca;text-align:right}.constant-list li i{font:6px var(--mono);font-style:normal;color:#67827f;margin-left:3px}.simplification-note{font-size:7px;line-height:1.6;color:#78909b;margin:11px 0 8px}.simplification-note strong{color:#b8c9cc;font-weight:600}.disclaimer{font-size:7px;line-height:1.5;color:#627d87;margin:0}.rail-footnote{font:7px var(--mono);letter-spacing:.08em;color:#4f6976;display:flex;align-items:center;gap:6px;padding:12px 1px 0}.rail-footnote span:not(.footnote-dot){color:#2c4755}.footnote-dot{width:5px;height:5px;border-radius:50%;background:#4a9b8b}
button:focus-visible,summary:focus-visible{outline:2px solid var(--accent);outline-offset:3px}
@media(max-width:1100px) and (min-width:761px){.workspace{grid-template-columns:minmax(0,1fr) 320px}.exhibit-column{padding-left:18px;padding-right:16px}.control-rail{padding-left:15px;padding-right:15px}.metric-card{padding:9px}.metric-value{font-size:22px}.metric-label{font-size:6px}}
@media(max-width:760px){html,body{height:100%;min-height:0}.app-shell{height:100dvh;min-height:0;overflow:hidden}.topbar{height:55px;padding:0 13px}.brand-lockup{gap:9px}.brand-mark{width:25px;height:25px}.brand-name{font-size:9px}.brand-subtitle{font-size:7px}.topbar-right{gap:8px}.seed-chip{font-size:7px;gap:5px}.seed-chip small{display:none}.icon-button{height:31px;padding:0 8px;font-size:9px}.icon-button svg{width:13px}.workspace{height:calc(100dvh - 55px);min-height:0;display:flex;flex-direction:column;overflow:hidden}.exhibit-column{padding:11px 10px 9px;display:grid;grid-template-rows:auto minmax(0,1fr) auto;gap:7px;flex:0 0 auto;min-height:0;overflow:hidden}.exhibit-heading{min-height:37px;align-items:center;gap:5px}.eyebrow{font-size:6px;letter-spacing:.11em}.eyebrow-line{width:11px}.heading-copy h1{font-size:18px;margin-top:3px}.view-switch{padding:2px;border-radius:6px;gap:0}.view-button{font-size:8px;padding:7px 8px}.stage-frame{grid-template-rows:23px 250px auto;min-height:0;border-radius:7px}.stage-meta{padding:0 9px;font-size:6px}.stage-index{gap:5px}.stage-scale{font-size:6px}.canvas-viewport{height:250px;min-height:0}.canvas-corner{font-size:6px;top:8px}.canvas-corner-left{left:9px}.canvas-corner-right{right:9px}.canvas-legend{bottom:7px;left:8px;gap:8px;font-size:6px}.canvas-legend i{width:6px;height:6px}.stage-footer{grid-template-columns:1fr;gap:3px;padding:6px 9px 7px;min-height:43px}.caption-marker{font-size:6px;gap:5px}.caption-marker-line{width:8px}.stage-footer p{font-size:8px;line-height:1.35}.telemetry{gap:5px}.metric-card{padding:7px 7px 6px;border-radius:6px}.metric-top{display:block}.metric-label{font-size:6px;letter-spacing:.04em;display:block;overflow:hidden;text-overflow:ellipsis}.origin-tag{font-size:5px;display:block;margin-top:2px}.metric-value{font-size:18px;margin-top:3px;gap:3px}.metric-value small{font-size:7px}.metric-foot{margin-top:4px;font-size:6px;gap:4px}.metric-bar{width:21px;height:2px}.control-rail{flex:1 1 0;min-height:0;overflow-y:auto;border-left:0;border-top:1px solid var(--line-soft);padding:10px 13px 12px;scrollbar-width:thin}.rail-heading h2{font-size:13px}.rail-number{font-size:7px;padding:3px 5px}.section-intro{font-size:8px;margin:6px 0 10px}.control-group{margin-bottom:8px}.control-label-row{margin-bottom:4px}.control-label-row label,.control-label-row output{font-size:9px}.range-ends{font-size:6px;margin-top:1px}.range-ends .origin-tag{font-size:5px;margin:0}.preset-block{margin-top:10px}.subsection-label{font-size:6px;margin-bottom:6px}.preset-button{padding:6px;gap:6px}.preset-icon{width:20px;height:20px;font-size:12px}.preset-button strong{font-size:8px}.preset-button small{font-size:6px}.rail-section{padding-bottom:10px}.run-section{padding-top:10px}.rail-heading.compact h2{font-size:12px}.run-state{font-size:7px}.transport-row{margin-top:8px;gap:5px}.transport-button{height:30px;font-size:8px}.transport-symbol{font-size:12px}.quality-row{margin-top:8px;font-size:6px}.quality-switch button{font-size:7px;padding:3px 7px}.keyboard-hint{font-size:6px;margin-top:7px}.science-panel{margin-top:9px}.science-panel summary{padding:9px}.science-icon{width:23px;height:23px;font-size:12px}.science-panel summary strong{font-size:9px}.science-panel summary small{font-size:6px}.science-content{padding:0 9px 10px}.science-subhead{font-size:6px;margin-top:10px}.equation-card{padding:7px}.equation-title{font-size:7px}.equation{font-size:9px}.equation-note,.check-explainer,.check-method,.simplification-note,.disclaimer{font-size:6px}.check-grid span{font-size:5px}.check-grid strong{font-size:9px}.constant-list li{font-size:6px}.constant-list li strong{font-size:6px}.constant-list li i{font-size:5px}.rail-footnote{font-size:6px;padding-top:9px}}
@media(max-width:380px){.topbar{padding:0 9px}.brand-subtitle{letter-spacing:.08em}.seed-chip{font-size:6px}.view-button{padding:6px 6px;font-size:7px}.heading-copy h1{font-size:16px}.metric-value{font-size:16px}.metric-label{font-size:5px}.metric-foot{font-size:5px}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{scroll-behavior:auto!important;transition-duration:.01ms!important;animation-duration:.01ms!important;animation-iteration-count:1!important}}
html.embed-mode,html.embed-mode body{height:100%;height:100dvh;overflow:hidden}.embed-mode .app-shell{height:100%;height:100dvh;min-height:0;overflow:hidden}.embed-mode .workspace{height:calc(100dvh - 66px);min-height:0}@media(max-width:760px){.embed-mode .workspace{height:calc(100dvh - 55px)}}
