:root { color-scheme: light; font-family: system-ui, sans-serif; color: #172e2a; background: #edf2eb; line-height: 1.55; }
* { box-sizing: border-box; }
body { margin: 0; }
main { max-width: 70rem; margin: auto; padding: 2rem clamp(1rem, 3vw, 2rem); }
header { padding: clamp(1.3rem, 5vw, 3.5rem); background: #143b33; color: #fff; border-radius: 1rem; }
header p { max-width: 44rem; margin-bottom: 0; }
.eyebrow { color: #d3ef9b; font-size: .85rem; font-weight: 750; letter-spacing: .13em; margin: 0; }
.eyebrow a { color: inherit; }
h1 { margin: .25rem 0; font-size: clamp(2rem, 6vw, 4rem); line-height: 1.08; letter-spacing: -.04em; }
h2, h3 { margin: 0; line-height: 1.2; }
nav, .actions, .controls { display: flex; flex-wrap: wrap; align-items: end; gap: .75rem; }
nav { margin: 1.3rem 0; }
nav a { color: inherit; padding: .5rem .85rem; border: 1px solid #6f8880; border-radius: 1rem; text-decoration: none; }
nav a[aria-current] { color: #fff; background: #235144; border-color: #235144; }
section { background: #fff; border: 1px solid #c1d0c3; border-radius: 1rem; padding: clamp(1rem, 4vw, 2rem); }
.intro { max-width: 49rem; }
#tool-assumptions, footer, .hint { color: #405b53; font-size: .92rem; }
label { display: block; font-weight: 650; }
code { display: block; margin: .35rem 0 .65rem; overflow-wrap: anywhere; }
textarea { width: 100%; resize: vertical; font: .9rem/1.5 ui-monospace, monospace; padding: .7rem; }
textarea, input { border: 1px solid #6f8880; border-radius: .35rem; }
input { display: block; max-width: 100%; font: inherit; padding: .32rem; }
.controls { margin: .75rem 0 1rem; }
button { font: inherit; font-weight: 650; cursor: pointer; border: 1px solid #235144; border-radius: .45rem; background: #235144; color: #fff; padding: .48rem .85rem; }
button.secondary { background: #fff; color: #235144; }
:focus-visible { outline: 3px solid #ad5201; outline-offset: 3px; }
#status[data-error] { color: #9c2e15; font-weight: 650; }
dl { display: flex; flex-wrap: wrap; gap: .55rem; margin: .75rem 0; }
dl div { background: #edf2eb; padding: .4rem .8rem; border-radius: .35rem; }
dd { margin: 0; font-weight: 700; }
.table-wrap { overflow: auto; margin: .75rem 0 1rem; }
table { border-collapse: collapse; width: 100%; text-align: left; }
td, th { padding: .45rem .6rem; border-bottom: 1px solid #d5e0d6; }
th { background: #edf2eb; }
footer { margin-top: 1rem; }
[hidden] { display: none !important; }
