:root { color-scheme: light; font: 16px/1.55 system-ui, sans-serif; color: #162e29; background: #f4f6f2; }
* { box-sizing: border-box; }
body { margin: 0; }
header { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .7rem; padding: 1rem max(5vw, 1rem); background: #102c26; }
header a { color: #fff; text-decoration: none; }
header a:first-child { font-weight: 700; }
main { width: min(1150px, 94%); margin: 0 auto 3rem; }
.intro { padding: 2.5rem 0 1rem; }
.eyebrow { font-size: .78rem; letter-spacing: .16em; color: #34725d; font-weight: 800; }
h1 { font-size: clamp(2.5rem, 7vw, 4.5rem); line-height: 1; margin: .3rem 0 .8rem; }
h2 { margin: .3rem 0; font-size: 1.35rem; }
.period { color: #34725d; font-weight: 600; }
.panel { padding: clamp(.8rem, 3vw, 1.5rem); margin: 1rem 0; background: #fff; border: 1px solid #dce6dd; border-radius: 14px; }
.controls, .metrics { display: flex; flex-wrap: wrap; gap: .8rem; margin: 0 0 1rem; }
label { display: grid; gap: .2rem; font-size: .86rem; font-weight: 700; }
select { min-width: 9rem; padding: .45rem; border: 1px solid #b1c3b8; border-radius: 6px; font: inherit; color: inherit; background: #fff; }
.metric { min-width: 8rem; flex: 1; padding: .7rem; border-radius: 8px; background: #edf4ef; }
.metric span { display: block; font-size: .8rem; }
.metric strong { font-size: 1.18rem; }
#chart { height: 370px; }
.muted { color: #4c665d; font-size: .88rem; }
.scroll { overflow: auto; max-height: 32rem; }
table { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
th, td { padding: .5rem .6rem; text-align: right; white-space: nowrap; border-bottom: 1px solid #e1ebe4; }
th { position: sticky; top: 0; background: #edf4ef; font-size: .8rem; }
th:first-child, td:first-child { text-align: left; }
button { border: 0; background: transparent; color: #146249; font: inherit; font-weight: 700; text-decoration: underline; cursor: pointer; }
.positive { color: #126347; }
.negative { color: #a52d23; }
.method p { max-width: 90ch; }
.strategy-note { padding: .85rem 1rem; margin: 0 0 1.25rem; background: #edf4ef; border-left: 3px solid #34725d; border-radius: 6px; }
.strategy-note h2 { font-size: 1.05rem; margin: 0; }
.strategy-note ol { margin: .45rem 0; padding-left: 1.35rem; }
.strategy-note li + li { margin-top: .2rem; }
.strategy-note p { margin: 0; }
