@font-face{font-family:Inter;src:url('/inter.woff2') format('woff2');font-display:swap;font-weight:100 900}
:root{color-scheme:light;--page:#eef3e8;--paper:#fcfdf8;--ink:#173a2b;--soft:#485d4e;--line:#cddbc9;--green:#187657;--orange:#a3422b;--mono:ui-monospace,SFMono-Regular,Consolas,monospace}
*{box-sizing:border-box}
[hidden]{display:none!important}
body{margin:0;background:var(--page);color:var(--ink);font:500 1rem/1.5 Inter,system-ui,sans-serif}
a{color:#23644e;text-underline-offset:.25em}
button,input,select{font:inherit}
button{cursor:pointer}
button:disabled{opacity:.55;cursor:default}
:focus-visible{outline:2px solid var(--green);outline-offset:3px}
.shell{width:min(1180px,calc(100% - 50px));margin:0 auto}
.masthead,.footer{display:flex;justify-content:space-between;align-items:center;gap:16px;padding:15px 0;font-size:.84rem}
.brand{display:inline-flex;align-items:center;gap:8px;font-weight:820;color:var(--ink);text-decoration:none}
.brand span{display:grid;place-items:center;width:28px;height:28px;border-radius:50%;background:#225744;color:#f0f5e7;font:740 1.3rem/1 Inter,sans-serif}
.intro{display:grid;grid-template-columns:minmax(0,1fr) minmax(200px,.34fr);align-items:end;gap:20px;background:radial-gradient(ellipse at right top,#527a55,#214d3a 61%);color:#fafbf2;border-radius:14px;padding:clamp(22px,5vw,55px);margin-bottom:13px}
.intro h1,.guide h1{margin:0;font-size:clamp(3.3rem,7.1vw,6.4rem);line-height:.91;font-weight:820;letter-spacing:-.064em;word-spacing:.055em}
.intro h1 em{font-style:normal;color:#e2ebac}
.intro p{max-width:48ch;color:#e0efdf;margin:13px 0 0}
.intro-note{max-width:270px;background:#e9f0cd;color:#304b37;border-radius:9px;padding:11px;display:flex;align-items:start;gap:9px;font-size:.83rem}
.intro-note span{display:grid;place-items:center;min-width:32px;height:32px;background:#cdd9a3;border-radius:6px;color:#3d592d;font:770 1rem var(--mono)}
.intro-note p{color:#3e5943;margin:3px 0 0;font-size:.76rem}
.workspace{display:grid;grid-template-columns:minmax(235px,.52fr) minmax(0,1fr);gap:12px;align-items:start}
.panel{min-width:0;background:var(--paper);border:1px solid var(--line);border-radius:10px;padding:clamp(12px,2.2vw,22px)}
.head{display:flex;justify-content:space-between;align-items:start;gap:9px}
h2{margin:0;font-size:1.12rem;letter-spacing:-.026em}
label{display:grid;gap:3px;margin-top:8px;min-width:0;font-size:.79rem;font-weight:740;color:var(--soft)}
input:not([type=range]),select{width:100%;min-width:0;min-height:36px;border:1px solid #a8bdab;border-radius:6px;background:#f8fcf6;color:var(--ink);padding:5px 7px;font-size:.83rem}
.scale-label{margin:0;min-width:85px}
button,.button{min-height:35px;padding:6px 9px;border:1px solid #a9c6ad;border-radius:6px;background:#e8f2e4;color:#255b45;font-size:.78rem;font-weight:760;text-decoration:none}
button:hover:not(:disabled),.button:hover{background:#dcebd5}
.help,.error{font-size:.76rem;color:var(--soft);margin:6px 0 0}
.help:empty{display:none}
.error{font-weight:760;color:#9d3526}
.legend{display:flex;flex-wrap:wrap;gap:5px 13px;list-style:none;margin:7px 0;padding:0;font-size:.74rem;color:var(--soft)}
.legend li::before{content:'';height:3px;width:14px;margin-right:5px;display:inline-block;vertical-align:middle;background:var(--green)}
.legend .exponential::before{background:#b24d34}
.legend .capacity::before{background:none;border-top:2px dashed #74894e}
canvas{display:block;width:100%;height:clamp(205px,29vw,350px);background:#f3f8ed;border:1px solid var(--line);border-radius:7px}
.scrubber{display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center}
.scrubber input{width:100%;min-width:0;accent-color:#2a6b50}
.scrubber output{min-width:58px;text-align:right;font-family:var(--mono)}
.readings{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px;margin:8px 0}
.readings div{min-width:0;background:#eef5ea;border:1px solid var(--line);border-radius:6px;padding:6px 8px}
dt{font-size:.72rem;color:var(--soft)}
dd{margin:2px 0 0;font:750 .88rem/1.35 var(--mono);color:#21523d;overflow-wrap:anywhere}
.export{align-items:center}
.footer{margin-top:20px;border-top:1px solid var(--line)}
.guide{max-width:700px;margin:45px auto}
.guide h1{font-size:clamp(3rem,8vw,5.8rem);margin-bottom:24px}
.guide h2{margin:21px 0 5px}
.guide p{color:var(--soft)}
.button{display:inline-flex;align-items:center;margin-top:7px}
@media(max-width:770px){.intro,.workspace{grid-template-columns:minmax(0,1fr)}.intro-note{max-width:360px}}
@media(max-width:440px){.shell{width:calc(100% - 24px)}.intro{padding:19px 15px}.intro h1{font-size:clamp(2.7rem,11vw,3.55rem)}.masthead,.footer{font-size:.73rem}.scrubber{grid-template-columns:1fr auto}.scrubber input{grid-row:2;grid-column:1/-1}}
