:root{color-scheme:light;--paper:#eee9dc;--paper-2:#f7f4eb;--ink:#222d2b;--muted:#6f7971;--line:#d4d0c3;--teal:#187c73;--teal-dark:#0e5d57;--orange:#d46b3f;--blue:#6b8d9a;--gold:#b78b3f;--shadow:0 16px 44px rgba(47,55,45,.07);font-family:Inter,ui-sans-serif,system-ui,-apple-system,"Segoe UI",sans-serif}*{box-sizing:border-box}html{background:var(--paper);scroll-behavior:smooth}body{margin:0;background:radial-gradient(circle at 12% 0%,#f8f5ec 0,transparent 35%),var(--paper);color:var(--ink);min-width:320px}.app-shell{max-width:1600px;margin:0 auto;padding:0 34px 22px}.masthead{height:76px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--line);gap:20px}.brand-lockup{display:flex;align-items:center;gap:12px;color:inherit;text-decoration:none}.brand-lockup b{display:block;font-size:11px;letter-spacing:.16em;font-weight:800}.brand-lockup small{display:block;color:var(--muted);font-size:9px;letter-spacing:.13em;margin-top:4px}.brand-mark{width:34px;height:34px;border:1px solid #9eaa9c;border-radius:50%;display:flex;align-items:center;justify-content:center;gap:3px;transform:rotate(-25deg)}.brand-mark i{display:block;width:3px;border-radius:4px;background:var(--teal)}.brand-mark i:nth-child(1){height:9px}.brand-mark i:nth-child(2){height:17px}.brand-mark i:nth-child(3){height:12px}.mast-meta{display:flex;align-items:center;gap:10px;color:#647069;font-size:9px;letter-spacing:.14em;font-weight:700}.live-dot,.mini-led{width:7px;height:7px;border-radius:50%;background:#3a9a7f;box-shadow:0 0 0 4px rgba(58,154,127,.12)}.meta-divider{width:1px;height:15px;background:var(--line);margin:0 5px}.pair-link{font-size:10px;letter-spacing:.12em;font-weight:800;color:var(--teal-dark);text-decoration:none;border-bottom:1px solid #91b1a7;padding:9px 0}.pair-link span{font-size:14px;margin-left:6px}.intro-row{display:flex;justify-content:space-between;align-items:center;padding:30px 0 25px}.kicker,.eyebrow{font-size:9px;letter-spacing:.17em;font-weight:800;color:var(--teal-dark)}.kicker span{color:#9a9d8f;margin-left:5px}.intro-row h1{font-family:Georgia,"Times New Roman",serif;font-size:clamp(30px,3.1vw,45px);font-weight:500;letter-spacing:-.045em;line-height:1.05;margin:10px 0 8px}.intro-row h1 em{font-weight:400;color:var(--teal);font-style:italic}.intro-copy{font-family:Georgia,"Times New Roman",serif;color:#69736b;font-size:14px;max-width:590px;line-height:1.5;margin:0}.intro-stamp{width:88px;height:88px;border:1px solid #c4c6b7;border-radius:50%;display:flex;flex-direction:column;align-items:center;justify-content:center;transform:rotate(7deg);color:#6d796f;flex-shrink:0;margin-right:20px}.intro-stamp span{font-size:7px;letter-spacing:.16em;font-weight:800}.intro-stamp strong{font-family:Georgia,serif;font-size:30px;font-weight:400;line-height:1.1;color:var(--teal-dark)}.intro-stamp small{text-align:center;font-size:6px;letter-spacing:.1em;line-height:1.35}.workbench{display:grid;grid-template-columns:260px minmax(390px,1fr) 218px;gap:14px;align-items:stretch}.panel{background:rgba(249,247,240,.82);border:1px solid #d7d4c8;border-radius:4px;box-shadow:var(--shadow)}.control-panel{padding:19px 17px 13px;display:flex;flex-direction:column}.panel-heading{display:flex;gap:11px;align-items:flex-start;padding-bottom:16px;border-bottom:1px solid #dedbcf}.section-index{display:grid;place-items:center;width:24px;height:24px;border:1px solid #9bb2a6;border-radius:50%;color:var(--teal-dark);font-family:Georgia,serif;font-size:13px;flex-shrink:0}.panel-heading h2,.schematic-head h2,.plot-heading h2,.export-panel h2{font-family:Georgia,"Times New Roman",serif;font-weight:500;letter-spacing:-.025em;font-size:18px;margin:0}.panel-heading p{font-size:10px;color:var(--muted);margin:4px 0 0}.control-list{display:grid;gap:15px;padding:17px 0 15px}.control{display:block;cursor:pointer}.control-top{display:flex;align-items:center;justify-content:space-between;gap:8px;font-size:10px;font-weight:700;color:#4e5b54;margin-bottom:8px}.control-top output{font-size:10px;color:var(--teal-dark);font-weight:800;font-variant-numeric:tabular-nums;text-align:right}.control input{width:100%;height:4px;appearance:none;background:#d4d9cc;border-radius:10px;outline:none;display:block;accent-color:var(--teal)}.control input::-webkit-slider-thumb{appearance:none;width:13px;height:13px;border-radius:50%;background:var(--paper-2);border:3px solid var(--teal);box-shadow:0 1px 4px #8d9c8d;cursor:ew-resize}.control input::-moz-range-thumb{width:9px;height:9px;border-radius:50%;background:var(--paper-2);border:3px solid var(--teal);box-shadow:0 1px 4px #8d9c8d;cursor:ew-resize}.control input:focus-visible{outline:2px solid #d46b3f;outline-offset:5px}.control-actions{display:flex;gap:7px;margin-top:auto}.button{border:0;border-radius:3px;min-height:36px;padding:0 12px;display:inline-flex;align-items:center;justify-content:center;gap:7px;font:700 9px/1 system-ui,sans-serif;letter-spacing:.08em;cursor:pointer;transition:transform .15s ease,background .15s ease}.button:hover{transform:translateY(-1px)}.button:focus-visible{outline:2px solid var(--orange);outline-offset:3px}.button svg{width:15px;height:15px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}.button-dark{background:var(--ink);color:#f5f1e7;flex:1}.button-quiet{background:#e7e4d9;color:#46544d}.button-accent{background:var(--teal);color:white;padding:0 17px}.panel-foot{border-top:1px solid #dedbcf;margin-top:13px;padding-top:11px;display:flex;align-items:center;gap:7px;color:#748078;font-size:7px;letter-spacing:.12em;font-weight:800}.panel-foot #qualityLabel{margin-left:auto;color:#a06c4d}.schematic-panel{padding:17px 18px 12px;min-width:0;display:flex;flex-direction:column;background:#f6f2e7}.schematic-head{display:flex;align-items:flex-end;justify-content:space-between;gap:10px}.schematic-head h2{font-size:20px;margin-top:4px}.schematic-legend{display:flex;gap:13px;color:#69756d;font-size:9px;font-weight:700}.schematic-legend span{display:flex;align-items:center;gap:5px}.schematic-legend i{width:14px;height:3px;border-radius:4px;display:inline-block}.legend-vapor{background:var(--orange)}.legend-liquid{background:var(--teal)}.schematic-stage{position:relative;flex:1;min-height:280px;margin-top:5px;overflow:hidden;background:radial-gradient(ellipse at 50% 50%,rgba(225,224,207,.36),transparent 65%),linear-gradient(135deg,#f3efe3,#ebe8dc);border:1px solid #e0ddcf}.schematic-stage canvas{width:100%;height:100%;display:block}.stage-note{position:absolute;bottom:10px;right:12px;color:#9a9e8e;font-size:7px;letter-spacing:.15em;font-weight:800;pointer-events:none}.stage-note span{font-size:12px;color:var(--teal);margin-left:5px}.schematic-caption{display:grid;grid-template-columns:repeat(4,1fr);gap:4px;padding-top:11px;color:#798278;font-size:7px;letter-spacing:.1em;font-weight:800}.readout-panel{display:flex;flex-direction:column;gap:8px}.readout-heading{display:flex;justify-content:space-between;align-items:center;padding:2px 2px 5px}.live-pill{font-size:8px;letter-spacing:.13em;color:#3e9178;font-weight:800;display:flex;align-items:center;gap:5px}.live-pill i{width:6px;height:6px;border-radius:50%;background:#3eaa83}.metric-card{padding:12px 13px;background:#f8f6ef;border:1px solid #d9d6ca;border-radius:3px;min-height:66px}.metric-card>span,.limit-strip>span{display:block;color:#7c8479;font-size:7px;letter-spacing:.14em;font-weight:800}.metric-card strong{display:block;font-family:Georgia,serif;font-weight:500;font-size:23px;letter-spacing:-.03em;margin:4px 0 1px;color:#263a35;font-variant-numeric:tabular-nums}.metric-card strong small{font:700 9px system-ui,sans-serif;letter-spacing:.04em;color:#758078}.metric-card>small{font-size:8px;color:#879087}.metric-primary{background:#e7eee5;border-color:#c6d6c9}.metric-primary strong{color:var(--teal-dark);font-size:26px}.metric-bar{height:4px;background:#cbd9cc;border-radius:5px;margin:7px 0 5px;overflow:hidden}.metric-bar i{display:block;width:42%;height:100%;background:var(--teal);border-radius:5px;transition:width .2s}.limit-strip{margin-top:auto;padding:10px 12px;background:#283b36;color:#f6f0e3;border-radius:3px;display:flex;align-items:center;justify-content:space-between;gap:8px}.limit-strip>span{color:#c2c9ba;font-size:7px}.limit-strip strong{font:500 16px Georgia,serif;white-space:nowrap}.analysis-row{display:grid;grid-template-columns:1fr 1fr;gap:14px;margin-top:14px}.plot-card{padding:15px 17px 10px;min-width:0}.plot-heading{display:flex;align-items:flex-end;justify-content:space-between;gap:10px}.plot-heading h2{font-size:17px;margin-top:3px}.plot-unit{font-size:7px;letter-spacing:.13em;color:#899087;font-weight:800}.plot-card canvas{width:100%;height:142px;display:block;margin-top:6px}.plot-legend{display:flex;flex-wrap:wrap;gap:14px;color:#798278;font-size:8px;font-weight:700}.plot-legend span,.plot-foot span{display:flex;align-items:center;gap:5px}.plot-legend i{width:12px;height:3px;border-radius:3px}.swatch-cap{background:#b68b41}.swatch-wick{background:#187c73}.swatch-vapor{background:#d46b3f}.swatch-liquid{background:#6b8d9a}.plot-foot{display:flex;justify-content:space-between;color:#7a847a;font-size:8px}.current-dot{width:6px;height:6px;border-radius:50%;background:var(--orange)}.bottom-row{display:grid;grid-template-columns:1.45fr 1fr;gap:14px;margin-top:14px}.science-panel{padding:0 17px}.science-panel summary{list-style:none;cursor:pointer;display:flex;align-items:center;gap:11px;padding:13px 0}.science-panel summary::-webkit-details-marker{display:none}.science-panel summary>span:nth-child(2){display:flex;flex-direction:column;gap:3px}.science-panel summary b{font:500 16px Georgia,serif}.science-panel summary small{font-size:8px;color:#858d82}.summary-chevron{margin-left:auto;color:var(--teal);font-size:18px;transition:transform .2s}.science-panel:not([open]) .summary-chevron{transform:rotate(-90deg)}.science-content{padding:0 0 14px 35px}.equation-grid{display:grid;grid-template-columns:1fr 1fr;gap:9px 16px}.equation-grid div{display:flex;flex-direction:column;gap:4px}.equation-grid span{font-size:7px;letter-spacing:.12em;color:#879086;font-weight:800}.equation-grid code{font:12px Georgia,serif;color:#275b53}.science-content>p{font:11px/1.55 Georgia,serif;color:#737d72;margin:12px 0}.independent-check{display:flex;align-items:center;gap:9px;padding:8px 10px;background:#edf1e8;border:1px solid #d6e0d1;border-radius:3px}.check-mark{width:19px;height:19px;border-radius:50%;display:grid;place-items:center;background:#d0e3d4;color:#26745d;font-weight:900;font-size:12px}.independent-check span:nth-child(2){display:flex;flex-direction:column;gap:2px}.independent-check b{font-size:8px;color:#466056}.independent-check small{font-size:7px;color:#77857a}.independent-check strong{margin-left:auto;font:500 13px Georgia,serif;color:#26745d}.export-panel{padding:16px 18px;display:flex;flex-direction:column;justify-content:space-between;gap:14px;background:#e9e4d7}.export-panel h2{font-size:19px;margin-top:5px}.export-panel p{font:12px/1.5 Georgia,serif;color:#727a70;max-width:280px;margin:6px 0 0}.export-panel .button{align-self:flex-start}.footer{display:flex;justify-content:space-between;gap:12px;padding:17px 2px 0;color:#8b9084;font-size:7px;letter-spacing:.1em;font-weight:700}.footer span:nth-child(2){text-align:center}.button:disabled{opacity:.5;cursor:not-allowed}
@media(max-width:1120px){.app-shell{padding-left:20px;padding-right:20px}.workbench{grid-template-columns:240px minmax(320px,1fr)}.readout-panel{grid-column:1/-1;display:grid;grid-template-columns:repeat(5,1fr);align-items:stretch}.readout-heading{grid-column:1/-1}.limit-strip{margin-top:0;flex-direction:column;align-items:flex-start;justify-content:center}.metric-card{min-height:88px}.analysis-row{margin-top:12px}}
@media(max-width:760px){.app-shell{padding:0 14px 18px}.masthead{height:64px}.mast-meta{display:none}.intro-row{padding:23px 0 18px}.intro-stamp{width:68px;height:68px;margin-right:0}.intro-stamp strong{font-size:24px}.intro-stamp small{font-size:5px}.intro-copy{font-size:13px;max-width:480px}.workbench{grid-template-columns:1fr}.control-panel{padding:15px}.control-list{grid-template-columns:1fr 1fr;gap:14px 18px}.control-actions{margin-top:0}.schematic-panel{min-height:400px}.schematic-stage{min-height:310px}.readout-panel{grid-template-columns:repeat(2,1fr)}.readout-heading{grid-column:1/-1}.limit-strip{grid-column:1/-1;flex-direction:row;align-items:center}.analysis-row,.bottom-row{grid-template-columns:1fr}.plot-card canvas{height:160px}.footer{flex-direction:column;gap:6px}.footer span:nth-child(2){text-align:left}}
@media(max-width:420px){.app-shell{padding:0 10px 15px}.brand-lockup b{font-size:10px}.brand-lockup small{font-size:8px}.pair-link{font-size:8px}.intro-row h1{font-size:32px}.intro-copy{font-size:12px}.intro-stamp{display:none}.control-list{gap:13px 12px}.control-top{font-size:9px}.control-top output{font-size:9px}.schematic-panel{padding:14px 12px 10px;min-height:365px}.schematic-caption{font-size:6px}.readout-panel{gap:6px}.metric-card{padding:10px}.metric-card strong{font-size:20px}.equation-grid{grid-template-columns:1fr}.science-content{padding-left:0}.plot-card{padding:13px 12px}.plot-legend{gap:8px}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{scroll-behavior:auto!important;transition:none!important;animation:none!important}}
body.embed-mode{height:100vh;height:100dvh;overflow:hidden;background:var(--paper)}body.embed-mode .app-shell{height:100%;max-width:none;padding:0}body.embed-mode .masthead,body.embed-mode .intro-row,body.embed-mode .readout-panel,body.embed-mode .analysis-row,body.embed-mode .bottom-row,body.embed-mode .footer{display:none}body.embed-mode main{height:100%;display:block}body.embed-mode .workbench{height:100%;grid-template-columns:270px minmax(0,1fr);gap:0}body.embed-mode .control-panel{border-radius:0;box-shadow:none;border-top:0;border-bottom:0;border-left:0}body.embed-mode .schematic-panel{border-radius:0;box-shadow:none;border:0;padding:16px;min-height:0}body.embed-mode .schematic-stage{min-height:0;flex:1;margin-top:12px}body.embed-mode .schematic-caption{padding-top:10px}@media(max-width:650px){body.embed-mode .workbench{grid-template-columns:1fr;grid-template-rows:auto minmax(0,1fr)}body.embed-mode .control-panel{padding:10px 13px;border-left:0;border-right:0;border-bottom:1px solid var(--line)}body.embed-mode .panel-heading{padding-bottom:7px}body.embed-mode .control-list{grid-template-columns:1fr 1fr;gap:8px 14px;padding:9px 0}body.embed-mode .control-top{margin-bottom:5px;font-size:8px}body.embed-mode .control-top output{font-size:8px}body.embed-mode .control-actions{display:none}body.embed-mode .panel-foot{display:none}body.embed-mode .schematic-panel{padding:10px;min-height:0}body.embed-mode .schematic-head h2{font-size:16px}body.embed-mode .schematic-stage{min-height:0;margin-top:6px}body.embed-mode .schematic-caption{font-size:6px;padding-top:6px}}
.quality-button{border:1px solid #bfc8b8;background:transparent;color:#60756b;border-radius:2px;padding:4px 6px;font:800 7px system-ui;letter-spacing:.12em;cursor:pointer}.quality-button:focus-visible{outline:2px solid var(--orange);outline-offset:2px}
