:root { color: #203a2e; background: #f4f3ec; font: 15px/1.6 system-ui, sans-serif; }
* { box-sizing: border-box; }
body { margin: 0; }
header, main, footer { max-width: 1120px; margin: auto; padding: 24px 30px; }
a { color: #286344; text-underline-offset: 4px; }
header > a { font-size: 13px; }
header > a, footer > a, #source-link, #download, #license a { display: inline-flex; align-items: center; min-height: 44px; }
.eyebrow { font-size: 10px; letter-spacing: 1.6px; font-weight: 600; margin: 30px 0 12px; }
h1, h2, h3 { font-family: Georgia, serif; font-weight: 400; }
h1 { font-size: clamp(38px, 5vw, 60px); line-height: 1.08; margin: 0 0 20px; letter-spacing: -1px; }
h2 { font-size: 30px; line-height: 1.2; margin: 0 0 14px; }
h3 { font-size: 23px; margin: 0 0 16px; }
.intro { color: #4b5e50; max-width: 560px; font-size: 17px; }
.purpose { max-width: 680px; margin: 14px 0; padding: 10px 12px; border-left: 3px solid #b98a2c; border-radius: 6px; background: #f6efdc; color: #4d3d14; font-size: 14px; line-height: 1.5; }
.tags { display: flex; flex-wrap: wrap; gap: 7px; margin: 24px 0 4px; }
.tags span { border: 1px solid #c9d1c3; border-radius: 20px; padding: 5px 12px; font-size: 11px; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid #286344; outline-offset: 4px; }
.skip { position: fixed; left: 16px; top: -100px; padding: 10px 18px; background: #fffefa; z-index: 5; }
.skip:focus { top: 12px; }
#status { min-height: 20px; font-size: 12px; color: #4b5e50; margin: 0 0 15px; }
#status.error { color: #9b3427; }
button, input { font: inherit; }
button { border: 1px solid #b4c3af; border-radius: 6px; background: #fffefa; padding: 10px 16px; min-height: 44px; color: inherit; cursor: pointer; }
fieldset { border: 0; padding: 0; margin: 0 0 32px; display: flex; flex-wrap: wrap; gap: 10px; }
legend { font-size: 12px; font-weight: 600; margin-bottom: 10px; }
.product { display: flex; align-items: center; gap: 10px; padding: 13px 16px; min-height: 62px; flex: 1 1 220px; border: 1px solid #ccd5c7; border-radius: 7px; cursor: pointer; }
.product:has(input:checked) { background: #e7eddf; border-color: #286344; }
.product strong, .product small { display: block; }
.product strong { font-size: 13px; font-weight: 600; }
.product small { font-size: 11px; color: #4b5e50; }
.product input { accent-color: #286344; }
.heading { display: flex; justify-content: space-between; gap: 20px; align-items: end; }
.heading .eyebrow { margin-top: 0; }
#freshness { font-size: 12px; max-width: 220px; color: #4b5e50; }
.dates { border-top: 1px solid #c9d1c3; padding: 14px 0 20px; font-size: 13px; }
.dates p { margin: 3px 0; }
#snapshot { color: #4b5e50; font-size: 12px; }
.forecast-layout { display: grid; grid-template-columns: 2.2fr 1fr; gap: 14px; }
.grid-panel, .cell, .series article { background: #fffefa; border-radius: 9px; padding: 24px; min-width: 0; box-shadow: 0 1px 2px #203a2e08, 0 4px 20px #203a2e04; }
.axis { display: flex; justify-content: space-between; gap: 10px; font-size: 10px; color: #4b5e50; margin: 6px 0; }
canvas { width: 100%; height: auto; display: block; image-rendering: pixelated; cursor: crosshair; border: 1px solid #d5dbd0; }
.legend { display: flex; gap: 10px; font-size: 10px; align-items: center; margin-top: 18px; }
.legend i { height: 7px; flex: 1; border-radius: 4px; background: linear-gradient(90deg,#42748a,#e5e4bf,#a86a36); }
.cell .eyebrow { margin-top: 0; }
.value { font: 44px/1.15 Georgia, serif; font-variant-numeric: tabular-nums; margin: 0 0 18px; letter-spacing: -1px; }
#cell-position { font-size: 13px; }
.support { border-top: 1px solid #e2e5dc; padding-top: 14px; color: #4b5e50; font-size: 12px; }
.small { font-size: 12px; color: #4b5e50; }
.sliders { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; margin: 24px 0; }
.sliders label, .date-control { font-size: 12px; }
.sliders output { float: right; }
input[type=range] { display: block; width: 100%; min-height: 44px; margin: 0; accent-color: #286344; cursor: pointer; }
.notice { padding: 15px 18px; border-left: 2px solid #abbaa3; background: #eeefe5; font-size: 12px; }
.series { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 22px; }
.series h3 { font-size: 20px; }
.series svg { width: 100%; height: auto; display: block; overflow: visible; }
.series .value { font-size: 32px; }
.date-control { display: block; margin: 25px 0; }
.provenance { border-top: 1px solid #c9d1c3; margin-top: 32px; padding-top: 24px; font-size: 13px; }
.provenance p, #integrity { overflow-wrap: anywhere; }
summary { font-weight: 600; cursor: pointer; padding: 10px 0; min-height: 44px; }
#integrity { font-size: 11px; color: #4b5e50; }
.unknown { margin-top: 40px; padding-top: 20px; border-top: 1px solid #c9d1c3; }
.unknown .eyebrow { margin-top: 0; }
.unknown p:last-child { font-size: 13px; max-width: 760px; color: #4b5e50; }
footer { border-top: 1px solid #c9d1c3; display: flex; justify-content: space-between; font-size: 12px; margin-top: 20px; padding-bottom: 40px; }
footer span { color: #4b5e50; }
@media (max-width: 720px) {
	header, main, footer { padding: 20px 16px; }
	.product { flex-basis: 100%; }
	.forecast-layout, .sliders, .series { grid-template-columns: 1fr; }
	.sliders { gap: 12px; }
	.grid-panel, .cell, .series article { padding: 20px; }
	.heading { display: block; }
	#freshness { max-width: none; }
	h2 { font-size: 27px; }
	#grid-caption { max-width: 160px; text-align: right; }
	footer { display: block; }
	footer span { display: block; margin-top: 12px; }
}
@media (forced-colors: active) { :focus-visible { outline-color: Highlight; } }

#soil-windows { margin: 24px 0; }
