/* Planting-calendar pages (tools/build_seo_pages.py). Uses the tokens in style.css. */
:root { --ok: #b9d8bd; --indoor: #3f77a3; --now: #fff6e3; }
@media (prefers-color-scheme: dark) { :root { --ok: #2f5638; --indoor: #8ebbe3; --now: #2e2618; } }
.crumbs { font-size: 14px; color: var(--muted); margin: 0 0 10px; }
.crumbs a { color: var(--muted); }
.lede { font-size: 18px; }
main h2 { scroll-margin-top: 12px; }
.now { background: var(--now); border: 1px solid var(--line); border-radius: 12px; padding: 4px 18px 10px; margin: 22px 0 6px; }
.now h2 { margin-top: 14px; }
.now .m-label, .month .m-label { margin: 12px 0 2px; font-size: 13px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--leaf); }
.now p, .month p { margin: 2px 0; }
dl.facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 10px; margin: 12px 0; }
dl.facts div { background: var(--surface); border: 1px solid var(--line); border-radius: 10px; padding: 10px 14px; min-width: 0; }
dl.facts dt { font-size: 13px; color: var(--muted); }
dl.facts dd { margin: 2px 0 0; font-weight: 600; font-size: 15px; line-height: 1.4; }
.year { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; display: grid; gap: 6px; }
.yr { display: grid; grid-template-columns: minmax(96px, 30%) 1fr; gap: 10px; align-items: center; }
.yr-name { font-size: 14px; line-height: 1.25; min-width: 0; overflow-wrap: anywhere; }
.yr-track { position: relative; height: 16px; background: var(--bg); border-radius: 3px; overflow: hidden;
  background-image: linear-gradient(to right, var(--line) 1px, transparent 1px); background-size: calc(100% / 12) 100%; }
.yr-track i { position: absolute; top: 0; bottom: 0; }
.yr-track i.ok { background: var(--ok); }
.yr-track i.best { background: var(--leaf); }
.yr-track i.in { top: auto; height: 4px; background: var(--indoor); }
.yr-months { display: grid; grid-template-columns: repeat(12, 1fr); font-size: 12px; color: var(--muted); text-align: center; }
.legend { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; }
.sw { display: inline-block; width: 14px; height: 10px; border-radius: 2px; vertical-align: middle; }
.sw.best { background: var(--leaf); } .sw.ok { background: var(--ok); } .sw.in { background: var(--indoor); height: 4px; }
.months { display: grid; gap: 8px; }
details.month { background: var(--surface); border: 1px solid var(--line); border-radius: 10px; padding: 0 14px; }
details.month summary { cursor: pointer; padding: 11px 0; display: flex; justify-content: space-between; gap: 12px; font-weight: 600; list-style: none; }
details.month summary::-webkit-details-marker { display: none; }
details.month summary::after { content: "+"; color: var(--muted); }
details.month[open] summary::after { content: "–"; }
.m-count { margin-left: auto; color: var(--muted); font-weight: 400; font-size: 14px; }
.month-body { padding: 0 0 12px; font-size: 15px; }
details.month summary:focus-visible, a:focus-visible { outline: 2px solid var(--leaf); outline-offset: 2px; }
table td:first-child { font-weight: 600; }
td, th { font-variant-numeric: tabular-nums; }
.table-scroll table { min-width: 560px; }
ul.unsuited, ul.nearby { padding-left: 20px; }
ul.unsuited li, ul.nearby li { margin: 4px 0; }
.app-cta { background: var(--leaf-soft); border-radius: 12px; padding: 4px 18px 6px; margin: 30px 0 10px; }
.app-cta h2 { margin-top: 16px; }
.states { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 4px 20px; }
.state h3 { margin: 14px 0 2px; }
.state p { margin: 0; font-size: 15px; }
