*{box-sizing:border-box}body{margin:0;background:#f8f8f1;color:#183746;font:16px/1.75 -apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif}a{color:#286b5b;text-underline-offset:4px}header,main,footer{max-width:1220px;margin:auto;padding:24px}header{display:flex;align-items:center;justify-content:space-between;gap:20px;border-bottom:1px solid #dbe5d6}.brand{display:flex;align-items:center;gap:10px;color:#183746;font-size:23px;font-weight:750;text-decoration:none}.brand img{width:33px}.brand small{font-size:11px;letter-spacing:2px;color:#6a8072}nav{display:flex;gap:22px;font-size:13px}.skip{position:absolute;left:-9999px}.skip:focus{left:20px;top:0;z-index:10;background:white;padding:10px}.eyebrow{color:#6b8272;letter-spacing:2px;font-size:11px;margin:20px 0 12px}h1{font-size:clamp(30px,4.4vw,48px);line-height:1.2;margin:12px 0 20px}h2{font-size:19px;margin:0}h3{font-size:13px;font-weight:550;display:flex;gap:12px;justify-content:space-between;margin:0 0 12px}.lead{color:#506d65;max-width:830px;font-size:18px}.lab-layout{display:grid;grid-template-columns:minmax(0,1fr) 290px;gap:24px;align-items:start;margin-top:30px}.diagrams{display:grid;gap:22px;min-width:0}.panel{border:1px solid #d6e2d1;border-radius:14px;background:#fffef8;padding:23px;min-width:0}.panel-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap}.badge{font-size:10px;border:1px solid #d4dfce;border-radius:20px;padding:3px 10px;color:#6d826d}.equation{font-size:clamp(22px,3vw,31px);font-weight:650;letter-spacing:.4px;color:#286955;margin:20px 0 24px;overflow-wrap:anywhere}.representations{display:grid;grid-template-columns:1fr 1fr;gap:22px}.representations>section{min-width:0}output{font-variant-numeric:tabular-nums}h3 output{font-weight:700;color:#2e7460}.strip{display:block;width:100%;height:auto;min-height:44px;overflow:visible}.disk{display:block;width:min(100%,205px);height:auto;margin:5px auto 0}.selectable{touch-action:pan-y;cursor:crosshair;border-radius:7px}.hint,.small{font-size:12px;color:#738673;line-height:1.9}.state-note{font-size:13px;color:#376e5a;line-height:1.8;min-height:24px}.compare-result{font-size:24px;color:#365f79;font-weight:650}.compare-panel h3{margin-top:20px}.check{display:flex;gap:10px;align-items:center;font-size:13px;min-height:44px;margin:12px 0}.check input{width:18px;height:18px;accent-color:#397b64}.common-equation{font-size:17px;font-weight:650;overflow-wrap:anywhere}.bar-label{font-size:11px;color:#718475;margin:13px 0 0}.controls>label{font-size:13px;font-weight:650;display:block;margin-top:20px}.reading{display:flex;justify-content:space-between;gap:12px;font-size:10px;color:#7a8c78}.reading output{font-size:14px;color:#3d7059}input[type=range]{width:100%;height:36px;accent-color:#397b64;margin:4px 0 5px;cursor:pointer}.divider{height:1px;background:#dce5d5;margin-top:15px}.presets{display:grid;gap:8px;margin:18px 0}button{font:inherit;cursor:pointer;border:1px solid #c5d7c5;background:#f3f6ee;color:#2d6652;border-radius:6px;min-height:44px;font-size:12px;padding:9px}.reset{width:100%;background:#285e50;color:#fff;border-color:#285e50}.rule{font-size:12px;color:#2b6853;border-top:1px solid #d8e3d2;padding-top:18px;margin-top:23px;overflow-wrap:anywhere}.investigation{max-width:900px;margin-top:35px;border-left:3px solid #b8ccab;padding:8px 25px}.investigation>p:not(.small){font-size:15px;color:#506e62}footer{display:flex;justify-content:space-between;gap:20px;font-size:12px;color:#70856f;border-top:1px solid #d8e3d1;margin-top:45px}a:focus-visible,button:focus-visible,input:focus-visible,[role=slider]:focus-visible{outline:3px solid #438d77;outline-offset:4px}[hidden]{display:none!important}@media(max-width:850px){.lab-layout{grid-template-columns:1fr}.controls{display:grid;grid-template-columns:1fr 1fr;gap:0 24px}.controls>h2,.controls>.divider,.presets,.reset,.rule{grid-column:1/-1}.controls>label,.controls>.reading,.controls>input{grid-column:1/-1}.controls .presets{grid-template-columns:1fr 1fr}}@media(max-width:550px){.strip text{font-size:44px}header,main,footer{padding:18px}.brand small{display:none}header{align-items:flex-start;flex-wrap:wrap}nav{gap:20px}h1{font-size:31px}.lead{font-size:16px}.panel{padding:17px}.panel-heading h2{font-size:17px}.badge{font-size:9px}.representations{gap:14px}h3{font-size:11px;gap:5px;flex-wrap:wrap}.equation{font-size:24px}.hint,.small{font-size:11px}.compare-result{font-size:21px}.common-equation{font-size:15px}.investigation{padding-inline:18px}.controls .presets{grid-template-columns:1fr}footer{flex-wrap:wrap}}@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}}
