:root { color-scheme: light; font: 16px/1.55 system-ui, sans-serif; color:#193a30; background:#f3f5ef; }
* { box-sizing:border-box; }
body { margin:0; }
.top { display:flex; align-items:center; justify-content:space-between; gap:12px; padding:12px max(20px,calc((100vw - 1000px)/2)); background:#fff; border-bottom:1px solid #d4dfd4; }
.top span, .muted { color:#4d6459; font-size:.9rem; }
main, footer { max-width:1000px; margin:auto; padding:24px 20px; }
section { background:#fff; border:1px solid #d4dfd4; border-radius:16px; padding:clamp(16px, 4vw, 42px); }
#welcome { padding-block:clamp(34px, 8vw, 95px); border-top:5px solid #235744; }
h1 { margin:0 0 .4em; font-size:clamp(2rem,6vw,3.4rem); line-height:1.04; letter-spacing:-.045em; }
h2 { font-size:1.22rem; margin:0 0 .35em; line-height:1.2; }
.lead { font-size:clamp(1.05rem,2.6vw,1.3rem); max-width:48ch; }
button { font:inherit; font-weight:650; color:#235744; background:#fff; border:1px solid #7e9989; border-radius:8px; padding:.65rem .95rem; margin:.5rem .35rem .05rem 0; cursor:pointer; }
button.primary { background:#235744; color:white; border-color:#235744; }
button:disabled { opacity:.55; cursor:default; }
:focus-visible { outline:3px solid #a34d33; outline-offset:4px; }
nav ol { display:flex; flex-wrap:wrap; gap:.4rem 1.35rem; padding-left:1.35rem; margin:0 0 1rem; color:#4d6459; }
nav li[aria-current] { color:#193a30; font-weight:750; text-decoration:underline; text-underline-offset:.28em; }
table { width:100%; border-collapse:collapse; margin:.8rem 0; font-variant-numeric:tabular-nums; }
th,td { text-align:left; padding:.7rem .55rem; border-bottom:1px solid #dce4d9; vertical-align:top; }
thead { background:#e9f1e9; }
#metrics th:first-child { width:39%; }
#metrics td { font-weight:750; font-size:clamp(.9rem, 2.4vw, 1.28rem); }
#metrics td:nth-child(3) { color:#98452d; }
.cards { display:grid; grid-template-columns:repeat(auto-fit,minmax(min(100%,14rem),1fr)); gap:.8rem; margin:1.2rem 0; }
article { padding:1rem; border:1px solid #d4dfd4; border-top:4px solid #235744; border-radius:8px; }
article:nth-child(2) { border-top-color:#ba5d3b; }
article p { margin:.35rem 0; }
figure { margin:1.6rem 0; }
.chart-scroll { overflow-x:auto; }
.chart-scroll svg { display:block; width:100%; min-width:500px; }
svg text { fill:#29483e; font-size:13px; }
svg .bar-zero { stroke:#7e9989; stroke-dasharray:3 4; }
details { border-top:1px solid #d4dfd4; padding:.65rem 0; }
summary { cursor:pointer; font-weight:650; }
footer { font-size:.88rem; color:#4d6459; }
[hidden] { display:none !important; }
@media (max-width:560px) { th,td { padding:.55rem .28rem; } table { font-size:.86rem; } .top img { width:140px; } }
fieldset { border:1px solid #c2d4c7; border-radius:8px; padding:.8rem; }
fieldset label { display:block; margin:.5rem 0; }
dt { font-weight:700; }
dd { margin:0 0 .7rem; }
caption { text-align:left; font-weight:750; padding:.5rem 0; }
#years table { margin-block:1.2rem; }
.welcome { display:grid; grid-template-columns:1.4fr 1fr; align-items:center; gap:clamp(20px,5vw,58px); }
.field-art { display:grid; align-content:stretch; gap:6px; height:clamp(170px,27vw,275px); transform:skewY(-5deg); padding:.7rem; border-radius:26% 14% 23% 19%; overflow:hidden; background:#e9e8d6; }
.field-art span { border-radius:50% 28% 36% 20%; background:repeating-linear-gradient(12deg,#72967c 0 7px,#b4c5a5 7px 10px); }
.field-art span:nth-child(2) { background:repeating-linear-gradient(12deg,#c7876a 0 7px,#efd2a8 7px 10px); }
.field-art span:nth-child(3) { background:repeating-linear-gradient(12deg,#9cab79 0 7px,#cad1a9 7px 10px); }
.crop-choices { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:.7rem; }
.crop-choices label { display:flex; align-items:center; gap:.55rem; border:1px solid #8ba294; border-radius:8px; padding:.75rem; cursor:pointer; margin:0; font-weight:700; }
.crop-choices label:has(:checked) { background:#e3eee6; border-color:#235744; box-shadow:inset 0 0 0 1px #235744; }
.crop-choices label:focus-within { outline:3px solid #a34d33; outline-offset:3px; }
.crop-choices small { display:block; font-weight:500; }
.selection { display:block; font-size:.78rem; font-weight:700; }
.funding { background:#edf3eb; border-radius:10px; padding:1rem; margin-top:1.25rem; }
.funding label { font-weight:750; display:block; margin-bottom:.35rem; }
.funding input { font:inherit; width:min(100%,15rem); border:1px solid #708b7c; border-radius:7px; padding:.4rem .55rem; }
.funding p { margin:.55rem 0 0; }
.farm-context { margin-top:1.5rem; }
#parcels tbody tr:first-child { background:#edf3eb; font-weight:750; }
@media (max-width:640px) {
  .welcome { grid-template-columns:1fr; }
  .field-art { height:84px; }
}

.chart-scroll-hint { display:none; }
@media (max-width:600px) { .chart-scroll-hint { display:block; } }
