*{box-sizing:border-box}html{color-scheme:light dark;scroll-behavior:smooth}body{margin:0;background:#faf7ef;color:#202d28;font:18px/1.65 system-ui,sans-serif}a{color:#244f89;text-underline-offset:4px}header,main,footer{max-width:920px;margin:auto;padding:24px}header{display:flex;flex-wrap:wrap;justify-content:space-between;border-bottom:1px solid #65756d}a,button,summary{min-height:44px}header a,nav a,.sources a,footer a{display:inline-flex;align-items:center;padding:8px 4px}h1{font:500 clamp(2.2rem,7vw,3.5rem)/1.12 Georgia,serif;max-width:850px;letter-spacing:-.03em}h2{font-size:1.5rem;line-height:1.3;margin-top:2.5rem}h3{font-size:1.15rem}p,li{max-width:76ch}.eyebrow{text-transform:uppercase;letter-spacing:.12em;font-size:.8rem;font-weight:700}.intro{font-size:1.18rem}.jump{display:flex;flex-wrap:wrap;gap:8px 20px}section{scroll-margin-top:24px}.worked,.prob,.tool{border:1px solid #65756d;border-radius:12px;margin:24px 0;padding:24px;background:#fffdf7}.worked{border-left:6px solid #3f6fb0}.prob{counter-increment:question}fieldset{border:0;padding:0;margin:0;min-width:0}legend{font-weight:700;margin-bottom:14px}label.choice{display:flex;align-items:center;gap:12px;min-height:48px;border:1px solid #65756d;border-radius:6px;padding:10px 14px;margin:10px 0;cursor:pointer}input[type=radio]{width:20px;height:20px;flex-shrink:0;accent-color:#244f89}button,.cta{display:inline-flex;align-items:center;justify-content:center;background:#3f6fb0;color:#fff;border:2px solid transparent;border-radius:8px;padding:10px 18px;min-height:48px;font:inherit;font-weight:650;text-decoration:none;cursor:pointer}button:disabled{opacity:.7;cursor:default}input[type=number]{display:block;max-width:100%;width:280px;min-height:48px;background:#fff;color:#202d28;border:1px solid #65756d;border-radius:6px;padding:8px;font:inherit;margin:8px 0 18px}.feedback{min-height:32px;font-weight:600}.feedback.good{color:#215b36}.feedback.retry{color:#8b3020}details{border-top:1px solid #65756d;margin-top:18px}summary{cursor:pointer;padding:10px 0;font-weight:650}.table-wrap{overflow:auto;margin:20px 0}table{border-collapse:collapse;width:100%;min-width:520px}caption{text-align:left;font-weight:700;padding:12px 0}th,td{border:1px solid #65756d;text-align:left;vertical-align:top;padding:12px}th{background:#e7ece7}.formula{font-weight:650;font-size:1.1rem;overflow-wrap:anywhere}.skip{position:absolute;left:12px;top:-100px;background:#fff;padding:12px;z-index:3}.skip:focus{top:8px}:focus-visible{outline:3px solid #a84410;outline-offset:4px}.answer-list li{padding:12px 0}.sources{font-size:.95rem}.sources a{overflow-wrap:anywhere}.trial{border-block:1px solid #65756d;padding:24px 0;margin-top:40px}.print-button{margin-top:14px}footer{font-size:.95rem}noscript p{border:1px solid;padding:12px}@media(max-width:500px){header,main,footer{padding:18px}.prob,.worked,.tool{padding:18px}h1{font-size:2.4rem}}:root[data-theme=dark] body{background:#171e1b;color:#edf1eb}:root[data-theme=dark] a{color:#a4c8f5}:root[data-theme=dark] .worked,:root[data-theme=dark] .prob,:root[data-theme=dark] .tool{background:#202a25}:root[data-theme=dark] th{background:#293a31}:root[data-theme=dark] input[type=number]{background:#171e1b;color:#edf1eb}:root[data-theme=dark] button,:root[data-theme=dark] .cta{background:#8fb6ea;color:#171e1b}:root[data-theme=dark] .feedback.good{color:#a7e4b7}:root[data-theme=dark] .feedback.retry{color:#ffc3aa}:root[data-theme=dark] :focus-visible{outline-color:#ffcc77}:root[data-theme=dark] .skip{background:#171e1b}@media print{header,.jump,button,.trial,footer{display:none}body{background:white;color:black;font-size:12pt}.prob,.worked{break-inside:avoid}details>div{display:block!important}a{color:black;text-decoration:none}}
.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.steps li{margin-bottom:10px}.point{font-weight:600;margin-bottom:0}.fig{margin:24px auto;max-width:440px}.fig figcaption{font-size:.95rem}svg{display:block;width:100%;height:auto}
.ramp{fill:#dfe6df;stroke:#65756d;stroke-width:1.5}.block{fill:#c9d8ec;stroke:#244f89;stroke-width:2}.mark{fill:none;stroke:#202d28;stroke-width:1.5}.lab-t{font:600 18px system-ui,sans-serif;fill:#202d28;paint-order:stroke;stroke:#fffdf7;stroke-width:4px;stroke-linejoin:round}.fig .lab-t{stroke:#faf7ef}
.a-w line,.a-n line,.a-f line,.a-c line{stroke-width:3}.a-c line{stroke-width:2}.a-w line{stroke:#202d28}.a-w polygon{fill:#202d28}.a-n line{stroke:#244f89}.a-n polygon{fill:#244f89}.a-f line{stroke:#a84410}.a-f polygon{fill:#a84410}.a-c line{stroke:#55645c}.a-c polygon{fill:#55645c}.a-n-t{fill:#244f89}.a-f-t{fill:#a84410}.a-c-t{fill:#47554e;font-size:16px}
.lab-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:24px;align-items:start}.slider{margin-bottom:10px}.slider label{display:block;font-weight:600}.slider output{font-weight:700}input[type=range]{display:block;width:100%;height:44px;margin:0;accent-color:#244f89;cursor:pointer}.start legend{margin-bottom:4px}.start label.choice{min-height:44px;margin:6px 0;padding:6px 12px}.presets{display:flex;flex-wrap:wrap;gap:10px;margin:18px 0}.presets button{background:transparent;color:inherit;border:1px solid #65756d;font-weight:600}.verdict{font-weight:650;min-height:3.3em;margin-bottom:0}.tool table{min-width:0}
input[type=text]{display:block;max-width:100%;width:220px;min-height:48px;background:#fff;color:#202d28;border:1px solid #65756d;border-radius:6px;padding:8px 10px;font:inherit;margin:6px 0 14px}.q-text{margin-top:0}.prob label:not(.choice){font-weight:600}.prob fieldset+button{margin-top:6px}.score{font-weight:650}.print-row{display:flex;flex-wrap:wrap;gap:10px}.print-row .print-button{margin-top:14px}.inline-cta{display:flex;flex-wrap:wrap;gap:12px 20px;align-items:center}.inline-cta p{margin:0}
@media(max-width:760px){.lab-grid{grid-template-columns:minmax(0,1fr)}.fig,.lab-fig{max-width:440px;margin-inline:auto}}
:root[data-theme=dark] .ramp{fill:#2c3a33;stroke:#8d9d94}:root[data-theme=dark] .block{fill:#2f4a6b;stroke:#a4c8f5}:root[data-theme=dark] .mark{stroke:#edf1eb}:root[data-theme=dark] .lab-t{fill:#edf1eb;stroke:#202a25}:root[data-theme=dark] .fig .lab-t{stroke:#171e1b}:root[data-theme=dark] .a-w line{stroke:#edf1eb}:root[data-theme=dark] .a-w polygon{fill:#edf1eb}:root[data-theme=dark] .a-n line{stroke:#a4c8f5}:root[data-theme=dark] .a-n polygon{fill:#a4c8f5}:root[data-theme=dark] .a-f line{stroke:#ffb48f}:root[data-theme=dark] .a-f polygon{fill:#ffb48f}:root[data-theme=dark] .a-c line{stroke:#b4c2ba}:root[data-theme=dark] .a-c polygon{fill:#b4c2ba}:root[data-theme=dark] .a-n-t{fill:#a4c8f5}:root[data-theme=dark] .a-f-t{fill:#ffb48f}:root[data-theme=dark] .a-c-t{fill:#c6d2cb}:root[data-theme=dark] input[type=text]{background:#171e1b;color:#edf1eb}:root[data-theme=dark] input[type=range]{accent-color:#a4c8f5}:root[data-theme=dark] .presets button{background:transparent;color:#edf1eb}
@media print{#lab,.inline-cta,.score,.feedback,.sources,#faq{display:none}input[type=text]{border:0;border-bottom:1px solid #000;border-radius:0;width:200px;background:none}.print-blank details,.print-blank #answers{display:none}.prob{break-inside:avoid;background:none}}

#diagram p a{display:inline-flex;align-items:center;min-height:44px}
@media print{#diagram p a{display:inline;min-height:0}.print-blank article>:not(h1):not(#practice){display:none}}
.try-it{display:flex;flex-wrap:wrap;align-items:center;gap:10px 18px;margin:20px 0;padding:14px 16px;border:1px solid #65756d;border-radius:12px}.try-it p{margin:0;flex:1 1 260px}.try-it .cta{margin:0}@media print{.try-it{display:none}}
