:root {
  --bg: #FAF7F0;
  --paper: #FFFFFF;
  --ink: #1B2420;
  --fir: #173B2E;
  --muted: #58625C;
  --line: #DED9CC;
  --moss: #1F5C45;
  --moss-soft: #DCEBE2;
  --teal: #2F7A6B; --teal-soft: #D5EAE3; --on-moss: #FFFFFF;
  --ochre: #C2603A;
  --frost: #C3CDD6;
  --frost-hard: #8C9DAD;
  --free: #F3EEDF;
  --warn: #9A3412;
  --focus: #1F5C45;
  --sand: #F5EEDF; --sky: #EAF1EA; --leaf: #E0EEDF;
  --easy-bg: #E2F0DA; --easy: #2F5D26; --mod-bg: #FBEBD3; --mod: #8A5A12; --hard-bg: #F9DED6; --hard: #9A3412;
  --serif: "Inter", system-ui, sans-serif;
  --sans: "Inter", system-ui, sans-serif;
  --display: "Cormorant Garamond", Georgia, serif;
  color-scheme: light;
}
:root[data-theme="dark"] {
  --bg: #101613; --paper: #16201B; --ink: #E2E9E4; --fir: #BFDCCB; --muted: #9FADA5; --line: #283630;
  --moss: #7FC4A2; --moss-soft: #1A3328; --teal: #74BFAE; --teal-soft: #1A3530; --on-moss: #10201A; --ochre: #E08A5E; --frost: #3A4A58; --frost-hard: #566878;
  --free: #2A2922; --warn: #F0A27A; --focus: #7FC4A2; color-scheme: dark;
    --sand: #2A2620; --sky: #1A2A22; --leaf: #1F2E1D; --easy-bg: #1F3A1C; --easy: #A8D88E; --mod-bg: #3A2C14; --mod: #F0C27A; --hard-bg: #3E2119; --hard: #F4A98C;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 1.125rem/1.6 var(--sans); }
a { color: var(--fir); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; }
img { max-width: 100%; }
.wrap { max-width: 68rem; margin: 0 auto; padding: 0 16px; }
.prose { max-width: 40rem; }
h1, h2, h3 { font-family: var(--serif); color: var(--fir); line-height: 1.15; font-weight: 700; }
h1 { font-size: clamp(2.1rem, 5vw, 3.4rem); margin: 0 0 .5rem; letter-spacing: -0.01em; }
h2 { font-size: clamp(1.5rem, 3vw, 2rem); margin: 2.5rem 0 .75rem; }
h3 { font-size: 1.2rem; margin: 0 0 .5rem; }
p { margin: 0 0 1rem; }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 16px; top: 8px; background: var(--paper); padding: 8px 12px; z-index: 10; }

/* Header: the rainline. Short, faint slanted marks stand in for Northwest drizzle. */
.site-head { position: sticky; top: 0; z-index: 20; border-bottom: 1px solid var(--line); background-color: color-mix(in srgb, var(--bg) 88%, transparent); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.site-head::before { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; background: color-mix(in srgb, var(--frost-hard) 55%, transparent);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='46' height='44'%3E%3Cg stroke='%23000' stroke-width='1.3' stroke-linecap='round'%3E%3Cpath d='M9 3 7 11'/%3E%3Cpath d='M31 14 29 22'/%3E%3Cpath d='M18 27 16 35'/%3E%3Cpath d='M41 33 39 41'/%3E%3C/g%3E%3C/svg%3E") repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='46' height='44'%3E%3Cg stroke='%23000' stroke-width='1.3' stroke-linecap='round'%3E%3Cpath d='M9 3 7 11'/%3E%3Cpath d='M31 14 29 22'/%3E%3Cpath d='M18 27 16 35'/%3E%3Cpath d='M41 33 39 41'/%3E%3C/g%3E%3C/svg%3E") repeat; }
.site-head .wrap { display: flex; align-items: center; gap: .5rem 1rem; padding-top: 10px; padding-bottom: 10px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-family: var(--serif); font-weight: 800; font-size: 1.4rem; color: var(--fir); text-decoration: none; white-space: nowrap; }
.brand img { display: block; border-radius: 8px; }
.nav { display: flex; align-items: center; gap: 2px; font-size: 1rem; }
.nav > a, .nav-more-btn { text-decoration: none; color: var(--muted); padding: 7px 13px; border-radius: 999px; white-space: nowrap; transition: background-color .15s, color .15s; }
.nav > a:hover, .nav-more-btn:hover, .nav-more-btn[aria-expanded="true"] { color: var(--fir); background: color-mix(in srgb, var(--moss) 12%, transparent); }
.nav > a[aria-current="page"], .nav-more-btn.is-current { color: var(--fir); background: var(--moss-soft); font-weight: 700; }
.nav-more { position: relative; }
.nav-more-btn { display: inline-flex; align-items: center; gap: 4px; font: inherit; border: 0; background: none; cursor: pointer; }
.nav-more-btn .chev { transition: transform .15s; }
.nav-more-btn[aria-expanded="true"] .chev { transform: rotate(180deg); }
.nav-menu { position: absolute; top: calc(100% + 10px); left: 50%; transform: translateX(-50%); width: 19rem; padding: 8px; border-radius: 14px; background: var(--paper); border: 1px solid var(--line); box-shadow: 0 18px 40px -10px rgba(16, 30, 44, .3); }
.nav-menu a { display: flex; flex-direction: column; gap: 1px; padding: 9px 12px; border-radius: 10px; text-decoration: none; }
.nav-menu a strong { color: var(--fir); font-size: 1.02rem; }
.nav-menu a span { color: var(--muted); font-size: .9rem; }
.nav-menu a:hover, .nav-menu a:focus-visible { background: color-mix(in srgb, var(--moss) 12%, transparent); }
.nav-menu a[aria-current="page"] { background: var(--moss-soft); }
.head-search { flex: none; display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; padding: 0; border-radius: 50%; border: 1px solid var(--line); background: var(--paper); color: var(--muted); font: inherit; cursor: pointer; }
.head-search span { display: none; }
.head-search:hover, .head-search[aria-expanded="true"] { border-color: var(--moss); color: var(--fir); }
/* Town chip: your saved town next to the logo on wide screens (filled in by nav.js). */
.town-chip-wrap { position: relative; margin-right: auto; min-width: 0; }
.town-chip { display: inline-flex; align-items: center; gap: 6px; max-width: 13rem; height: 36px; padding: 0 10px 0 9px; border-radius: 999px; border: 1px dashed color-mix(in srgb, var(--moss) 55%, var(--line)); background: color-mix(in srgb, var(--paper) 70%, transparent); color: var(--fir); font: inherit; font-size: .98rem; font-weight: 700; white-space: nowrap; cursor: pointer; }
.town-chip > svg:first-child { flex: none; color: var(--moss); }
.town-chip .chev { flex: none; color: var(--muted); transition: transform .15s; }
.town-chip[aria-expanded="true"] .chev { transform: rotate(180deg); }
.town-chip:hover, .town-chip[aria-expanded="true"] { border-style: solid; border-color: var(--moss); }
.tc-name { overflow: hidden; text-overflow: ellipsis; }
.town-pop { position: absolute; top: calc(100% + 10px); left: 0; width: 17rem; padding: 8px; border-radius: 14px; background: var(--paper); border: 1px solid var(--line); box-shadow: 0 18px 40px -10px rgba(16, 30, 44, .3); }
.town-pop a { display: flex; flex-direction: column; gap: 1px; padding: 9px 12px; border-radius: 10px; text-decoration: none; }
.town-pop a strong { color: var(--fir); font-size: 1.02rem; }
.town-pop a span { color: var(--muted); font-size: .9rem; }
.town-pop a:hover, .town-pop a:focus-visible { background: color-mix(in srgb, var(--moss) 12%, transparent); }
.head-cta { flex: none; display: inline-flex; align-items: center; gap: 7px; height: 40px; padding: 0 15px 0 12px; border-radius: 999px; background: var(--moss); color: var(--on-moss); font-weight: 700; text-decoration: none; white-space: nowrap; transition: filter .15s; }
.head-cta:hover { filter: brightness(1.12); }
.head-cta[aria-current="page"] { background: var(--fir); color: var(--bg); }
.cta-short { display: none; }
/* Phones: the plan gets its own green button in the bar. */
.plan-btn { display: none; flex: none; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--moss); color: var(--on-moss); }
.plan-btn[aria-current="page"] { background: var(--fir); color: var(--bg); }
.menu-btn { display: none; flex: none; place-items: center; width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line); background: var(--paper); color: var(--fir); cursor: pointer; }
.menu-btn path { stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; transition: transform .2s, opacity .2s; transform-origin: 12px 12px; }
.menu-btn[aria-expanded="true"] .m1 { transform: translateY(5px) rotate(45deg); }
.menu-btn[aria-expanded="true"] .m2 { opacity: 0; }
.menu-btn[aria-expanded="true"] .m3 { transform: translateY(-5px) rotate(-45deg); }
.site-menu { border-top: 1px solid var(--line); background: var(--bg); max-height: calc(100vh - 61px); overflow-y: auto; }
.site-menu .wrap { display: block; padding-top: 14px; padding-bottom: 22px; }
.menu-town { margin: 0 0 12px; padding: 10px 14px; border-radius: 12px; background: var(--moss-soft); color: var(--fir); }
.menu-town a { color: var(--fir); font-weight: 700; }
.menu-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 0 18px; }
.menu-h { font-family: var(--sans); font-size: .85rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin: 6px 0 4px; }
.site-menu .menu-cols a { display: block; padding: 8px 2px; border-bottom: 1px solid var(--line); color: var(--fir); text-decoration: none; font-size: 1.04rem; }
/* Dark mode lives in the phone menu, so the bar keeps room for the plan button. */
.theme-row { display: flex; align-items: center; justify-content: space-between; width: 100%; margin-top: 14px; padding: 10px 14px; border-radius: 12px; border: 1px solid var(--line); background: var(--paper); color: var(--fir); font: inherit; font-size: 1.02rem; cursor: pointer; }
.theme-row > span { display: inline-flex; align-items: center; gap: 8px; }
.theme-row .i-moon { width: 18px; height: 18px; }
.theme-row .sw { flex: none; position: relative; width: 42px; height: 24px; border-radius: 99px; background: var(--line); transition: background-color .15s; }
.theme-row .sw::after { content: ""; position: absolute; top: 3px; left: 3px; width: 18px; height: 18px; border-radius: 50%; background: var(--paper); box-shadow: 0 1px 3px rgba(0, 0, 0, .25); transition: left .15s; }
.theme-row[aria-checked="true"] .sw { background: var(--moss); }
.theme-row[aria-checked="true"] .sw::after { left: 21px; background: var(--on-moss); }
.site-menu .menu-cols a[aria-current="page"] { font-weight: 800; color: var(--moss); }
/* Search */
.search-pop { border-top: 1px solid var(--line); background: var(--bg); box-shadow: 0 24px 40px -20px rgba(16, 30, 44, .35); }
.search-pop .wrap { display: block; max-width: 44rem; padding-top: 14px; padding-bottom: 16px; }
.search-box { display: flex; align-items: center; gap: 10px; padding: 0 8px 0 14px; border-radius: 14px; border: 1.5px solid var(--moss); background: var(--paper); color: var(--muted); box-shadow: 0 0 0 4px color-mix(in srgb, var(--focus) 18%, transparent); }
.search-box input { flex: 1; min-width: 0; font: inherit; font-size: 1.15rem; padding: 13px 0; border: 0; background: none; color: var(--ink); outline: 0; }
.search-box input::-webkit-search-cancel-button { display: none; }
.search-close { font: inherit; font-size: .8rem; padding: 3px 8px; border-radius: 6px; border: 1px solid var(--line); background: var(--bg); color: var(--muted); cursor: pointer; }
.search-list { list-style: none; margin: 8px 0 0; padding: 0; max-height: min(26rem, calc(100vh - 160px)); overflow-y: auto; }
.search-list a { display: flex; align-items: center; gap: 12px; padding: 8px 10px; border-radius: 10px; text-decoration: none; color: var(--ink); }
.search-list [aria-selected="true"] a { background: var(--moss-soft); }
.search-list img, .search-ico { flex: none; width: 28px; height: 28px; }
.search-ico { border-radius: 8px; background: var(--sky) center / 18px no-repeat; }
.search-ico-town { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 21s7-6.2 7-12a7 7 0 1 0-14 0c0 5.8 7 12 7 12z' fill='none' stroke='%233E7C8C' stroke-width='2'/%3E%3Ccircle cx='12' cy='9' r='2.5' fill='%233E7C8C'/%3E%3C/svg%3E"); }
.search-ico-term, .search-ico-page, .search-ico-article { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 3.5h9l3 3V20.5H6z M9 10h6M9 14h6M9 18h4' fill='none' stroke='%233E7C8C' stroke-width='2' stroke-linejoin='round'/%3E%3C/svg%3E"); }
.search-t { flex: 1; min-width: 0; display: flex; flex-direction: column; font-weight: 700; color: var(--fir); }
.search-t small { font-weight: 400; font-size: .88rem; color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.search-k { flex: none; font-size: .8rem; color: var(--muted); padding: 2px 8px; border-radius: 999px; border: 1px solid var(--line); }
.search-h { padding: 4px 10px; font-size: .85rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.search-empty { padding: 12px 10px; color: var(--muted); }
:root[data-theme="dark"] .hero-art img { filter: brightness(.82) saturate(.95); }
.profile { background: var(--paper); border: 1px solid var(--line); border-radius: 16px; overflow: hidden; margin: 2.5rem 0 1rem; max-width: 46rem; box-shadow: 0 10px 30px color-mix(in srgb, var(--fir) 10%, transparent); scroll-margin-top: 80px; }
.profile-cover { height: 150px; background: var(--sky); }
.profile-cover img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 60%; display: block; }
.profile-body { position: relative; padding: 0 26px 22px; }
.profile-body > p:last-child { margin: 0; }
.profile .avatar-xl { width: 96px; height: 96px; font-size: 2rem; margin-top: -48px; border: 5px solid var(--paper); background: linear-gradient(135deg, var(--moss), var(--fir)); color: #fff; font-family: var(--serif); }
.profile-kicker { margin: .75rem 0 0; font-size: .85rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--ochre); }
.profile-name { margin: .1rem 0 .1rem; font-size: 1.9rem; }
.profile-role { color: var(--muted); margin: 0 0 1rem; }
.profile-facts { list-style: none; padding: 0; margin: 0 0 1rem; display: flex; flex-wrap: wrap; gap: 8px; }
.profile-facts li { font-size: .92rem; padding: 5px 12px 5px 28px; border-radius: 999px; background: var(--moss-soft); color: var(--fir); position: relative; }
.profile-facts li::before { content: ""; position: absolute; left: 11px; top: 50%; width: 9px; height: 5px; border-left: 2px solid var(--moss); border-bottom: 2px solid var(--moss); transform: translateY(-70%) rotate(-45deg); }
.results-h { margin: 1.6rem 0 .2rem; font-size: 1.3rem; }
.results-note { color: var(--muted); font-size: .92rem; margin: 0 0 .9rem; }
.results-grid { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.results-grid figure { margin: 0; }
.results-grid img { width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 10px; display: block; background: var(--sky); }
.results-grid figcaption { font-size: .9rem; line-height: 1.45; color: var(--muted); margin-top: .45rem; }
.garden-photos { margin: 2rem 0; }
.garden-grid { margin-bottom: 1rem; }
.garden-grid img { aspect-ratio: 4 / 3; }
.garden-single { grid-template-columns: minmax(0, 32rem); }
.photo-credit { display: block; font-size: .82rem; margin-top: .15rem; }
.byline { display: flex; align-items: center; gap: 12px; margin: .25rem 0 0; font-size: 1rem; line-height: 1.35; }
.byline a { font-weight: 700; }
.byline-d { color: var(--muted); font-size: .92rem; }
.avatar { flex: none; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--moss); color: var(--paper); font-weight: 700; font-size: .95rem; letter-spacing: .03em; }
img.avatar { object-fit: cover; padding: 0; }
img.avatar.avatar-site { background: var(--paper); border: 1px solid var(--line); object-fit: contain; padding: 6px; }
.avatar-lg { width: 64px; height: 64px; font-size: 1.35rem; }
.author-box { display: flex; gap: 18px; align-items: flex-start; background: var(--sky); border-radius: 14px; padding: 18px 22px; margin: 2.5rem 0 1rem; max-width: 46rem; }
.author-box h2 { font-size: 1.25rem; margin: 0 0 .35rem; }
.author-box p { margin: 0 0 .5rem; }
.author-box p:last-child { margin: 0; }

/* Hero / finder */
.hero { padding: 2.75rem 0 1.5rem; }
.hero .lede { font-size: 1.25rem; color: var(--muted); max-width: 36rem; }
.rl-art { margin: 1rem 0 1.5rem; }
.rl-art svg { display: block; width: 100%; height: auto; }
.rl-labels { display: flex; justify-content: space-between; gap: 1rem; margin-bottom: .4rem; font-weight: 700; font-size: .95rem; color: var(--fir); }
.seasons { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; max-width: 34rem; margin: 0 0 1.75rem; }
.seasons a { display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 10px 4px 8px; border-radius: 16px; border: 1.5px solid transparent; text-decoration: none; color: var(--fir); }
.seasons a:hover { border-color: var(--line); background: var(--paper); }
.seasons a:focus-visible { outline: 2px solid var(--moss); outline-offset: 2px; }
.seasons a.is-now { border-color: var(--moss); background: var(--moss-soft); }
.seasons svg { display: block; margin-bottom: 4px; }
.seasons strong { font-size: 1rem; }
.seasons span { font-size: .85rem; color: var(--muted); }
.gp-empty-wrap { text-align: center; padding: .5rem 0 1rem; }
.gp-empty-art { display: block; width: 260px; max-width: 72%; height: auto; margin: 0 auto .5rem; }
:root[data-theme="dark"] .rl-art svg, :root[data-theme="dark"] .seasons svg, :root[data-theme="dark"] .gp-empty-art { filter: brightness(.88); }
:root[data-theme="dark"] .gpa-shadow { fill: #1E2823; }
@media print { .rl-art, .seasons, .gp-empty-art { display: none; } }
.sprout-rule { display: flex; align-items: flex-end; gap: 12px; margin: 2.5rem 0 2rem; }
.sprout-rule::before, .sprout-rule::after { content: ""; flex: 1; height: 2px; margin-bottom: 4px; background: var(--line); }
.sprout-rule svg { flex: none; display: block; }
.sr-stem { stroke: #35662B; } .sr-leaf { fill: #6BA84F; } .sr-leaf2 { fill: #4E8A3E; }
:root[data-theme="dark"] .sr-stem { stroke: #7FC4A2; } :root[data-theme="dark"] .sr-leaf { fill: #8FD08A; } :root[data-theme="dark"] .sr-leaf2 { fill: #5FAE7E; }
@media print { .sprout-rule { display: none; } }
.gp-privacy { max-width: 36rem; margin-top: .5rem; color: var(--muted); font-size: .95rem; }
.gp-privacy > summary { cursor: pointer; display: inline-flex; align-items: center; gap: .4rem; min-height: 44px; font-weight: 600; color: var(--moss); }
.gp-privacy > summary::-webkit-details-marker { display: none; }
.gp-privacy > summary::before { content: ""; flex: none; width: 1rem; height: 1rem; background: currentColor; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Crect x='5' y='10.5' width='14' height='10' rx='2.5' fill='none' stroke='black' stroke-width='2.2'/%3E%3Cpath d='M8.5 10.5V8a3.5 3.5 0 0 1 7 0v2.5' fill='none' stroke='black' stroke-width='2.2'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Crect x='5' y='10.5' width='14' height='10' rx='2.5' fill='none' stroke='black' stroke-width='2.2'/%3E%3Cpath d='M8.5 10.5V8a3.5 3.5 0 0 1 7 0v2.5' fill='none' stroke='black' stroke-width='2.2'/%3E%3C/svg%3E") center / contain no-repeat; }
.gp-privacy > summary:focus-visible { outline: 2px solid var(--moss); outline-offset: 3px; border-radius: 4px; }
.gp-privacy p { margin: .4rem 0 .6rem; }
.gp-privacy p:last-child { margin-bottom: 0; }
.finder { display: flex; flex-wrap: wrap; gap: 12px 16px; align-items: end; margin-top: 1.5rem; background: var(--paper); border: 1px solid var(--line); border-radius: 14px; padding: 18px 20px; box-shadow: 0 8px 24px color-mix(in srgb, var(--fir) 8%, transparent); max-width: 60rem; }
.field { display: flex; flex-direction: column; gap: 4px; }
.field label { font-size: .95rem; color: var(--muted); }
.field input, .field select { font: inherit; font-size: 1.1rem; padding: 10px 12px; border: 1.5px solid var(--line); border-radius: 10px; background: var(--bg); color: var(--ink); min-height: 48px; }
.field input { width: 9rem; letter-spacing: .04em; }
.field select { min-width: 15rem; max-width: 100%; }
.or { color: var(--muted); padding-bottom: 12px; }
.btn { font: inherit; font-weight: 700; font-size: 1.05rem; min-height: 48px; padding: 0 22px; border-radius: 10px; border: 0; background: var(--moss); color: var(--on-moss); cursor: pointer; transition: filter .15s, transform .15s; }
.btn:active { transform: translateY(1px); }
.btn:hover { filter: brightness(1.12); }
.msg { min-height: 1.6em; color: var(--warn); margin: .5rem 0 0; }

/* Results */
.result-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: .25rem 1rem; margin: 1.5rem 0 1rem; }
.result-head h2 { margin: 0; }
.facts { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 2px solid var(--fir); border-bottom: 1px solid var(--line); }
.fact { padding: 14px 18px 16px 0; display: flex; flex-direction: column; gap: 2px; }
.fact + .fact { padding-left: 18px; border-left: 1px solid var(--line); }
.fact-k { font-size: .95rem; color: var(--muted); }
.fact-v { font-family: var(--serif); font-size: 1.75rem; font-weight: 700; color: var(--fir); }
.fact-s { font-size: .95rem; color: var(--muted); line-height: 1.4; }
.region { margin-top: 1.25rem; max-width: 46rem; }
.station { font-size: .95rem; color: var(--muted); max-width: 46rem; }
/* Fold headers: a soft green row with a dark green left edge and a round +/- button, so they read as something to tap. */
.fold > summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin: 2rem 0 .75rem; min-height: 48px; padding: 10px 14px 10px 16px; background: var(--moss-soft); border-left: 5px solid var(--moss); border-radius: 0 12px 12px 0; }
.fold > summary::-webkit-details-marker { display: none; }
.fold > summary h2 { margin: 0; font-size: 1.55rem; }
@media (max-width: 40rem) { .fold > summary h2 { font-size: 1.35rem; } }
.fold:not([open]) > summary { margin-bottom: 0; }
.fold + .fold > summary { margin-top: 10px; }
.fold > summary::after { content: "+"; flex: none; width: 32px; height: 32px; display: grid; place-items: center; font-size: 1.4rem; font-weight: 700; line-height: 1; color: var(--on-moss); background: var(--moss); border-radius: 50%; }
.fold[open] > summary::after { content: "\2212"; }
.fold > summary:hover { background: var(--teal-soft); }
.fold > summary:focus-visible { outline: 2px solid var(--moss); outline-offset: 3px; }

.now { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin: 1rem 0 0; }
.now ul { list-style: none; padding: 0; margin: 0; }
.now li { padding: 7px 0; border-bottom: 1px solid var(--line); display: flex; flex-direction: column; }
.now li span { font-size: .95rem; color: var(--muted); }
.now-col:first-child h3 { color: var(--moss); }
.empty { color: var(--muted); font-size: 1rem; }

/* The season chart: the one bold element on the page. */
.chart { --pad: 14px; --lbl: 11.5rem; --plot: calc(100% - 2 * var(--pad) - var(--lbl)); position: relative; margin: 1rem 0 .5rem; background: var(--paper); border: 1px solid var(--line); border-radius: 8px; padding: 0 var(--pad) 12px; }
.row { display: grid; grid-template-columns: var(--lbl) 1fr; align-items: center; min-height: 28px; }
.lbl { font-size: .98rem; padding-right: 10px; line-height: 1.2; }
.track { position: relative; height: 18px; background-image: linear-gradient(to right, var(--line) 1px, transparent 1px); background-size: calc(100% / 12) 100%; }
/* Month names stay in view under the site header while you scroll a long list. */
.row-head { position: sticky; top: 61px; z-index: 3; margin: 0 calc(-1 * var(--pad)) 6px; padding: 8px var(--pad) 6px; background: var(--paper); border-bottom: 1px solid var(--line); border-radius: 8px 8px 0 0; }
.row-head .track { height: 22px; background: none; }
.months span { position: absolute; top: 0; font-size: .85rem; color: var(--muted); padding: 0 4px; border-radius: 999px; line-height: 22px; margin-left: -1px; }
.months span.is-now { background: var(--ochre); color: var(--paper); font-weight: 700; }
.month-now { position: absolute; z-index: 0; top: 0; bottom: 0; pointer-events: none; left: calc(var(--pad) + var(--lbl) + var(--plot) * var(--a)); width: calc(var(--plot) * var(--w)); background: color-mix(in srgb, var(--ochre) 9%, transparent); }
.row-frost { margin-bottom: 4px; }
.row-frost .lbl { color: var(--muted); }
.row-frost .track { height: 22px; border-radius: 4px; overflow: hidden; }
.row-group { min-height: 34px; align-items: end; }
.row-group .lbl { font-family: var(--serif); font-weight: 700; color: var(--fir); grid-column: 1 / -1; padding-top: 8px; }
.row:not(.row-head):not(.row-group):hover { background: color-mix(in srgb, var(--moss) 8%, transparent); border-radius: 4px; }
.band, .bar, .key { position: absolute; top: 0; bottom: 0; display: block; }
.frost-hard { background: repeating-linear-gradient(135deg, var(--frost-hard) 0 3px, var(--frost) 3px 7px); }
.frost-risk { background: var(--frost); }
.frost-free { background: var(--free); }
.bar { top: 2px; bottom: 2px; border-radius: 3px; }
.bar-spring { background: var(--teal); }
.bar-fall { background: var(--ochre); }
.bar-in { border: 2px dashed var(--teal); background: var(--teal-soft); }
.today { position: absolute; z-index: 2; top: 0; bottom: 10px; pointer-events: none; border-left: 2px solid var(--warn); left: calc(var(--pad) + var(--lbl) + var(--plot) * var(--f)); }
.key.key-today { width: 0; height: 16px; border-radius: 0; border-left: 2px solid var(--warn); margin: 0 10px; }
.legend { display: flex; flex-wrap: wrap; gap: 6px 20px; list-style: none; padding: 0; margin: .5rem 0 0; font-size: .95rem; color: var(--muted); }
.legend li { display: flex; align-items: center; gap: 8px; }
.key { position: relative; width: 22px; height: 12px; border-radius: 3px; }

/* Table */
.table-wrap { overflow-x: auto; margin: 1rem 0; }
table.plan { width: 100%; border-collapse: collapse; font-size: 1rem; background: var(--paper); }
.plan th, .plan td { text-align: left; padding: 9px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
.plan thead th { font-size: .9rem; color: var(--muted); font-weight: 400; border-bottom: 2px solid var(--fir); }
.plan tbody th { font-weight: 700; }
.how { display: block; font-weight: 400; font-size: .88rem; color: var(--muted); }
.none { color: var(--muted); }
.flag { display: inline-block; font-size: .85rem; color: var(--muted); margin-top: 3px; }
.flag-warn { color: var(--warn); }

/* Crop notes, calendar, lists */
.notes { columns: 2 22rem; column-gap: 40px; }
.notes div { break-inside: avoid; padding: 10px 0; border-bottom: 1px solid var(--line); }
.notes h3 { margin: 0 0 2px; font-size: 1.08rem; }
.notes p { margin: 0; font-size: 1rem; color: var(--muted); }
.months-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(18rem, 1fr)); gap: 0 40px; }
.month { padding: 14px 0 6px; border-top: 1px solid var(--line); }
.month.is-now { border-top: 3px solid var(--ochre); }
.month.is-now h2::after { content: " (this month)"; font-family: var(--sans); font-weight: 400; font-size: 1rem; color: var(--ochre); }
.month h2 { font-size: 1.4rem; margin: 0 0 .4rem; }
.month ul { margin: 0; padding-left: 1.1rem; font-size: 1rem; }
.month li { margin-bottom: .45rem; }
.month .src { font-size: .9rem; }
.places { columns: 2 16rem; column-gap: 40px; list-style: none; padding: 0; }
.places li { padding: 6px 0; break-inside: avoid; }
.places span { color: var(--muted); font-size: .95rem; }
.area-list > summary { list-style: none; cursor: pointer; display: flex; align-items: center; gap: 10px; margin: 1.25rem 0 .25rem; }
.area-list > summary::-webkit-details-marker { display: none; }
.area-list > summary::before { content: "\25B8"; color: var(--moss); width: 1em; flex: none; }
.area-list[open] > summary::before { content: "\25BE"; }
.area-list h3 { font-size: 1.1rem; margin: 0; }
.area-list > summary span { color: var(--muted); font-size: .95rem; }
.area-list > summary:focus-visible { outline: 2px solid var(--moss); outline-offset: 4px; border-radius: 4px; }
.area-list .places { margin-top: 0; }
.town-find { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 12px 16px; margin: 0 0 1rem; }
.town-filter { flex: 1 1 16rem; max-width: 22rem; }
.near-out { color: var(--muted); margin: 0 0 1rem; }
@media (max-width: 40rem) {
  .area-list > summary { margin: 0; padding: 12px 0; min-height: 48px; align-items: center; border-bottom: 1px solid var(--line); }
  .area-list[open] > summary { border-bottom: 0; }
  .area-list > summary span { margin-left: auto; }
  #town-lists h2[data-state] { margin-bottom: .25rem; }
  .town-find .btn { width: 100%; }
}
.town-filter input { width: 100%; letter-spacing: 0; }
.area-h { margin: 1.5rem 0 .5rem; }
.town-pick { scroll-margin-top: 80px; max-width: 52rem; background: var(--paper); border: 1px solid var(--line); border-radius: 12px; padding: 16px; margin-bottom: 8px; }
.town-pick label { display: block; font-weight: 700; margin-bottom: 6px; }
.town-pick select { width: 100%; max-width: 26rem; font: inherit; padding: 10px; border: 1px solid var(--line); border-radius: 8px; background: var(--bg); color: inherit; }
.town-pick-out { margin-top: 12px; }
.town-pick-out p { margin: 0 0 4px; }
.town-pick-out b { font-size: 1.25rem; margin-right: 8px; }
.town-pick-out span { color: var(--muted); }
.town-pick-out a { display: inline-block; margin-top: 6px; }
.all-towns { max-width: 52rem; margin-bottom: 1.5rem; }
.all-towns > summary { cursor: pointer; font-weight: 700; padding: 12px 0; }
.area-groups { border-top: 1px solid var(--line); }
.area-group { border-bottom: 1px solid var(--line); }
.area-group summary { cursor: pointer; font-weight: 700; padding: 12px 0; }
.area-group summary span { font-weight: 400; color: var(--muted); font-size: .95rem; margin-left: 6px; }
.area-group[open] summary { padding-bottom: 6px; }
.area-group .table-wrap { margin-bottom: 12px; }
.callout { border-left: 3px solid var(--moss); padding: 4px 0 4px 16px; margin: 1.5rem 0; max-width: 46rem; }


/* Pictures and color */
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.ico { flex: none; display: inline-block; vertical-align: middle; }
.hero-art, .photo-banner { position: relative; margin: 1.25rem 0 0; border-radius: 14px; overflow: hidden; background: var(--sky); }
.hero-art { height: clamp(190px, 34vw, 380px); }
.photo-banner { aspect-ratio: 12 / 5; max-height: 320px; width: 100%; }
.hero-art picture, .photo-banner picture { display: block; height: 100%; }
.hero-art img, .photo-banner img { width: 100%; height: 100%; object-fit: cover; display: block; }
.photo-banner + .hero { padding-top: 1.5rem; }
.photo-inline { margin: 1.75rem 0; }
.photo-inline img { display: block; width: 100%; height: auto; aspect-ratio: 8 / 5; object-fit: cover; border-radius: 12px; background: var(--sky); }
:root[data-theme="dark"] .photo-inline img { filter: brightness(.85); }
:root[data-theme="dark"] .photo-banner img { filter: brightness(.85); }
.hero-art + .hero { padding-top: 1.75rem; }
.hero-crop { display: flex; gap: 24px; align-items: center; }
.hero-crop .ico { width: 120px; height: 120px; }
.answer { font-size: 1.3rem; line-height: 1.5; background: var(--paper); border: 1px solid var(--line); border-left: 5px solid var(--moss); border-radius: 8px; padding: 14px 18px; margin: .75rem 0; max-width: 46rem; }
.answer strong { color: var(--fir); white-space: nowrap; }
.meta { display: flex; gap: 12px; align-items: center; color: var(--muted); font-size: 1rem; }
.badge { display: inline-block; font-size: .8rem; font-weight: 700; letter-spacing: .02em; padding: 2px 10px; border-radius: 999px; }
.badge-easy { background: var(--easy-bg); color: var(--easy); }
.badge-moderate { background: var(--mod-bg); color: var(--mod); }
.badge-tricky { background: var(--hard-bg); color: var(--hard); }
.crumbs ol { list-style: none; padding: 0; margin: 1.25rem 0 0; display: flex; flex-wrap: wrap; gap: 4px; font-size: .92rem; color: var(--muted); }
.crumbs li + li::before { content: "›"; margin-right: 6px; }
.crumbs a { color: var(--muted); }

.beginner { background: var(--sand); border-radius: 14px; padding: 6px 24px 22px; margin: 2.5rem 0; }
.beginner h2 { margin-top: 1.25rem; }
.cards { list-style: none; padding: 0; margin: 1rem 0 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(11.5rem, 1fr)); gap: 14px; }
.cards-sm { grid-template-columns: repeat(auto-fill, minmax(8.5rem, 1fr)); gap: 12px; }
.card { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; height: 100%; background: var(--paper); border: 1px solid var(--line); border-radius: 12px; padding: 14px; text-decoration: none; color: var(--ink); transition: transform .15s, box-shadow .15s; }
.card:hover { transform: translateY(-2px); box-shadow: 0 6px 18px color-mix(in srgb, var(--fir) 14%, transparent); }
.card-t { font-family: var(--serif); font-weight: 700; font-size: 1.12rem; color: var(--fir); line-height: 1.2; }
.card-s { font-size: .93rem; color: var(--muted); line-height: 1.4; }
.grid-h { margin: 1.75rem 0 .1rem; font-size: 1.25rem; }
.grid-d { color: var(--muted); font-size: 1rem; margin: 0; }
.browse { background: var(--sky); border-radius: 14px; padding: 6px 24px 24px; margin: 2.5rem 0; }

.crop-cell { display: flex; gap: 10px; align-items: center; }
.crop-cell a { color: var(--ink); }
.now li { flex-direction: row; align-items: center; gap: 10px; }
.now li div { display: flex; flex-direction: column; }
.now li a { color: var(--ink); text-decoration: none; }
.now li a:hover { text-decoration: underline; }
.howto { font-size: .95rem; color: var(--muted); margin: .5rem 0 0; max-width: 46rem; }

.qf { display: grid; grid-template-columns: repeat(auto-fit, minmax(10rem, 1fr)); gap: 0; margin: 1.5rem 0; background: var(--paper); border: 1px solid var(--line); border-radius: 10px; overflow: hidden; }
.qf div { padding: 12px 16px; border-bottom: 1px solid var(--line); border-right: 1px solid var(--line); margin-right: -1px; margin-bottom: -1px; }
.qf dt { font-size: .88rem; color: var(--muted); }
.qf dd { margin: 2px 0 0; font-size: 1rem; }
.steps { counter-reset: s; list-style: none; padding: 0; max-width: 46rem; }
.steps li { counter-increment: s; position: relative; padding: 0 0 14px 48px; min-height: 36px; }
.steps li::before { content: counter(s); position: absolute; left: 0; top: -2px; width: 34px; height: 34px; border-radius: 50%; background: var(--moss); color: var(--paper); font-weight: 700; display: grid; place-items: center; }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; align-items: start; }
.vars { padding-left: 1.2rem; }
.note { color: var(--muted); font-size: 1rem; }
.gear { background: var(--sand); border-radius: 12px; padding: 4px 22px 14px; margin: 2rem 0; }
.gear h2 { font-size: 1.35rem; margin-top: 1rem; }
.gear ul { padding-left: 1.2rem; }
.gear li { margin-bottom: .35rem; }
.fine { font-size: .85rem; color: var(--muted); margin: .5rem 0 0; }
.faq details { background: var(--paper); border: 1px solid var(--line); border-radius: 8px; margin-bottom: 8px; max-width: 46rem; }
.faq summary { cursor: pointer; padding: 12px 16px; font-weight: 700; }
.faq details p { padding: 0 16px 12px; margin: 0; }
/* Crop pages with in-depth notes */
.jump { display: flex; flex-wrap: wrap; gap: 8px; margin: -0.5rem 0 1.5rem; }
.jump a { padding: 6px 14px; border-radius: 999px; background: var(--moss-soft); color: var(--fir); text-decoration: none; font-size: .95rem; font-weight: 700; }
.jump a:hover { background: var(--moss); color: var(--paper); }
#dates, #grow, #numbers, #science, #varieties, #faq { scroll-margin-top: 84px; }
.more-cities { margin: -0.25rem 0 1rem; max-width: 46rem; }
.more-cities summary { cursor: pointer; font-weight: 700; color: var(--moss); padding: 6px 0; }
.grow-grid { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: 32px; align-items: start; }
.grow-grid .steps { margin: 0; }
.side-card { background: var(--paper); border: 1px solid var(--line); border-radius: 12px; padding: 18px 22px 6px; }
.side-card h3 { font-size: 1.05rem; }
.side-card h3 + * { margin-top: 0; }
.side-card ul { margin: 0 0 1.1rem; }
.video { max-width: 46rem; margin: 1.75rem 0 0.5rem; }
.video-play, .video-frame { display: block; width: 100%; aspect-ratio: 16 / 9; border: 0; border-radius: 12px; overflow: hidden; background: var(--fir); }
.video-play { position: relative; padding: 0; cursor: pointer; color: #fff; font: inherit; text-align: left; }
.video-play img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: brightness(.6); }
.video-icon { position: absolute; left: 50%; top: 50%; width: 72px; height: 72px; margin: -36px 0 0 -36px; border-radius: 50%; background: rgba(0, 0, 0, .55); transition: background .15s; }
.video-icon::after { content: ""; position: absolute; left: 29px; top: 22px; border-style: solid; border-width: 14px 0 14px 22px; border-color: transparent transparent transparent #fff; }
.video-play:hover .video-icon, .video-play:focus-visible .video-icon { background: #C4302B; }
.video-t { position: absolute; left: 18px; right: 18px; bottom: 14px; font-family: var(--serif); font-weight: 700; font-size: 1.15rem; line-height: 1.25; text-shadow: 0 1px 3px rgba(0, 0, 0, .6); }
.video-meta { font-size: .9rem; color: var(--muted); margin: .5rem 0 0; }
.keys { list-style: none; padding: 0; margin: 1rem 0 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.keys li { background: var(--sky); border-radius: 12px; padding: 14px 16px; display: flex; flex-direction: column; gap: 2px; }
.k-v { font-weight: 700; font-size: 1.15rem; color: var(--fir); line-height: 1.3; }
.k-l { font-size: .9rem; color: var(--muted); }
.care-tip { margin: 12px 0 0; padding: 12px 16px; border-left: 4px solid var(--moss); background: var(--sky); border-radius: 0 12px 12px 0; line-height: 1.5; }
.care-tip strong { color: var(--fir); }
.lede-sm { color: var(--muted); margin-top: -0.25rem; }
.sci-cards { columns: 2 24rem; column-gap: 20px; }
.sci-card { break-inside: avoid; background: var(--paper); border: 1px solid var(--line); border-left: 4px solid var(--moss); border-radius: 10px; padding: 16px 20px 4px; margin-bottom: 20px; }
.sci-card h3 { font-size: 1.1rem; }
.sci-card p { font-size: 1rem; line-height: 1.6; }
.region-card .region-where { font-size: .85rem; color: var(--muted); margin: -0.4rem 0 0.5rem; line-height: 1.4; }
.var-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(15rem, 1fr)); gap: 16px; margin-bottom: 1.5rem; }
.var-card { display: flex; flex-direction: column; background: var(--paper); border: 1px solid var(--line); border-top: 4px solid var(--moss); border-radius: 10px; padding: 14px 18px; }
.var-card h3 { font-size: 1.15rem; margin-bottom: .15rem; }
.var-card p { font-size: .98rem; line-height: 1.55; margin-bottom: .6rem; }
.var-card .var-meta { color: var(--muted); font-size: .92rem; }
.var-card .var-where { margin: auto 0 0; align-self: flex-start; background: var(--moss-soft); color: var(--moss); font-weight: 600; font-size: .85rem; padding: 2px 10px; border-radius: 999px; }
.chips { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.chips a { display: inline-flex; align-items: center; gap: 6px; padding: 5px 12px 5px 6px; border-radius: 999px; background: var(--paper); border: 1px solid var(--line); text-decoration: none; color: var(--ink); font-size: .98rem; }
.chips a:hover { border-color: var(--moss); }
.topic-nav { margin: 1.2rem 0 .4rem; }
.topic-nav .chips a { padding: 6px 14px; font-weight: 700; }
.topic-nav .count { display: inline-grid; place-items: center; min-width: 1.5em; height: 1.5em; padding: 0 .35em; border-radius: 999px; background: color-mix(in srgb, var(--moss) 16%, transparent); color: var(--fir); font-size: .8rem; }
.topic-sec { scroll-margin-top: 80px; margin-top: 2rem; }
.topic-sec h2 { margin-bottom: .2rem; }
.topic-blurb { color: var(--muted); margin: 0; }
.signup { display: grid; grid-template-columns: 1.2fr 1fr; gap: 20px; align-items: center; background: var(--fir); color: var(--bg); border-radius: 14px; padding: 8px 24px 20px; margin: 2.5rem 0; }
.signup h2 { color: var(--bg); margin-top: 1rem; }
.signup-form { display: flex; gap: 8px; flex-wrap: wrap; }
.signup-form input { flex: 1 1 12rem; font: inherit; padding: 10px 12px; min-height: 48px; border-radius: 6px; border: 0; }
.signup .btn { background: var(--moss); color: var(--on-moss); }
.guide h2 { display: flex; align-items: center; gap: 12px; }
.num { flex: none; width: 36px; height: 36px; border-radius: 50%; background: var(--moss); color: var(--paper); display: grid; place-items: center; font-family: var(--sans); font-size: 1.05rem; }
.glossary { margin: 0; padding: 0 4px 4px 19px; }
.glossary div { padding: 10px 0; border-bottom: 1px solid var(--line); scroll-margin-top: 84px; }
.glossary div:last-child { border-bottom: 0; }
.glossary div:target { background: var(--sand); box-shadow: -12px 0 0 var(--sand), 12px 0 0 var(--sand); }
.glossary dt { font-weight: 700; font-size: 1.05rem; color: var(--fir); }
.glossary dd { margin: 3px 0 0; line-height: 1.55; }
.gl-rel { display: block; margin-top: 4px; font-size: .9rem; color: var(--muted); }
.gl-rel a { color: var(--fir); }
.gl-count { min-height: 1.6em; margin: .5rem 0 0; color: var(--muted); }
.gl-start { max-width: 60rem; background: var(--sky); border: 1px solid var(--line); border-radius: 14px; padding: 16px 18px; margin: 0 0 .5rem; }
.gl-start h2 { font-size: 1.15rem; margin: 0 0 6px; }
.gl-start ul { list-style: none; padding: 0; margin: 0; }
.gl-start li { padding: 7px 0; border-top: 1px solid var(--line); line-height: 1.45; }
.gl-start li:first-child { border-top: 0; }
.gl-start li a { font-weight: 700; color: var(--fir); margin-right: 4px; }
.gl-all { font-size: 1.25rem; margin: 1.75rem 0 .6rem; }
.gl-sum { display: flex; flex-direction: column; gap: 1px; flex: 1 1 0; min-width: 0; }
.gl-sum .grid-fold-n { white-space: normal; }
.gl-group[hidden], .gl-start[hidden], .gl-all[hidden] { display: none; }
@media (min-width: 900px) {
  .gl-start ul { columns: 2; column-gap: 28px; }
  .gl-start li { break-inside: avoid; }
  .gl-start li:nth-child(5) { border-top: 0; }
}
/* Glossary words on other pages: a dotted underline, and a small definition box on tap (assets/nav.js). */
a.gl { color: inherit; text-decoration: underline dotted var(--moss); text-decoration-thickness: 2px; text-underline-offset: 3px; }
a.gl:hover, a.gl[aria-expanded="true"] { color: var(--fir); text-decoration-style: solid; }
.gl-pop { position: absolute; z-index: 30; width: min(340px, calc(100vw - 32px)); background: var(--paper); color: var(--ink); border: 1px solid var(--line); border-left: 5px solid var(--moss); border-radius: 0 12px 12px 0; box-shadow: 0 10px 30px color-mix(in srgb, #000 18%, transparent); padding: 12px 40px 12px 14px; font-size: .98rem; line-height: 1.5; }
.gl-pop:focus { outline: none; }
.gl-pop p { margin: 0; }
.gl-pop .gl-t { font-family: var(--serif); font-weight: 700; color: var(--fir); font-size: 1.08rem; margin-bottom: 2px; }
.gl-pop .gl-more { display: inline-block; margin-top: 6px; font-weight: 700; color: var(--fir); font-size: .92rem; }
.gl-x { position: absolute; top: 6px; right: 6px; width: 32px; height: 32px; border: 0; border-radius: 50%; background: none; color: var(--muted); font-size: 1.4rem; line-height: 1; cursor: pointer; }
.gl-x:hover { background: var(--moss-soft); color: var(--fir); }
.reads { margin: 2rem 0; max-width: 46rem; }
.reads ul { list-style: none; padding: 0; margin: 0; }
.reads li { padding: 10px 0; border-bottom: 1px solid var(--line); display: flex; flex-direction: column; }
.reads li a { font-weight: 700; }
.reads li span { color: var(--muted); font-size: .95rem; }
.reads-grid { list-style: none; padding: 0; margin: 1rem 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(18rem, 1fr)); gap: 14px; }
.card-photo { display: block; width: calc(100% + 28px); max-width: none; height: auto; aspect-ratio: 12 / 5; object-fit: cover; margin: -14px -14px 6px; border-radius: 11px 11px 0 0; background: var(--sky); }
:root[data-theme="dark"] .card-photo { filter: brightness(.85); }
@media (max-width: 560px) {
  .card.has-photo { display: grid; grid-template-columns: 84px 1fr; grid-template-rows: auto 1fr; column-gap: 12px; row-gap: 4px; align-content: start; }
  .card.has-photo .card-photo { grid-row: 1 / span 2; width: 84px; height: 84px; margin: 0; aspect-ratio: auto; border-radius: 8px; }
}
.article .prose { font-size: 1.15rem; }
.article .prose h2 { font-size: 1.6rem; }
.article .prose li { margin-bottom: .5rem; }
.month h2 { display: flex; align-items: center; gap: 10px; }

/* Home sections and plant-type tiles */
.home-sec { margin: 3rem 0 0; }
.home-sec h2 { margin: 0; }
.sec-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: .25rem 1rem; margin-bottom: 1rem; }
.sec-head a { font-weight: 700; }
.cat-tiles { list-style: none; padding: 0; margin: 1rem 0 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(12.5rem, 1fr)); gap: 12px; }
.cat-tile { display: flex; flex-direction: column; gap: 4px; height: 100%; padding: 14px 16px; background: var(--paper); border: 1px solid var(--line); border-radius: 14px; text-decoration: none; color: var(--ink); transition: transform .15s, box-shadow .15s, border-color .15s; }
.cat-tile:hover { transform: translateY(-2px); border-color: var(--moss); box-shadow: 0 6px 18px color-mix(in srgb, var(--fir) 12%, transparent); }
.cat-photo { display: block; width: calc(100% + 32px); max-width: none; height: auto; aspect-ratio: 2 / 1; object-fit: cover; margin: -14px -16px 10px; border-radius: 13px 13px 0 0; background: var(--sky); }
.cat-icons { display: flex; margin-bottom: 6px; }
.cat-icons .ico { width: 40px; height: 40px; border-radius: 50%; border: 2px solid var(--paper); }
.cat-icons .ico + .ico { margin-left: -10px; }
.starter { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); gap: 12px 28px; align-items: center; background: var(--sand); border-radius: 14px; padding: 20px 24px; }
.starter p { margin: .35rem 0 0; }
.starter .chips { margin: 0; }
.avatar-alt, .profile .avatar-alt { background: linear-gradient(135deg, var(--ochre), #7A3E22); }
.grid-h a { color: inherit; text-decoration: none; }
.grid-h a:hover { text-decoration: underline; }

/* Ads: reserved space so the layout doesn't jump when ads load. */
.ad-slot { margin: 2rem 0; min-height: 0; }
.ad-slot:empty, .ad-slot:has(ins[data-ad-status="unfilled"]) { display: none; }

.site-foot { margin-top: 4rem; border-top: 1px solid var(--line); background: var(--paper); padding: 2rem 0 2.5rem; font-size: .95rem; color: var(--muted); }
.foot-brand { font-family: var(--serif); font-size: 1.2rem; color: var(--fir); }
.site-foot .owner { flex-basis: 100%; margin: .5rem 0 0; padding-top: 1rem; border-top: 1px solid var(--line); font-size: .88rem; }
.site-foot .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; }
.site-foot nav { display: flex; flex-wrap: wrap; gap: .25rem 1.25rem; }
.site-foot a { color: var(--muted); }

/* Header widths: full bar; then "My plan"; then no town chip; then phone layout (menu button, plan button, dark mode in the menu). */
@media (max-width: 1180px) {
  .cta-long { display: none; }
  .cta-short { display: inline; }
  .head-cta { padding: 0 14px 0 12px; }
}
@media (max-width: 1040px) {
  .town-chip-wrap { display: none; }
  .brand { margin-right: auto; }
}
@media (max-width: 860px) {
  .head-links, .head-cta { display: none; }
  .menu-btn, .plan-btn { display: grid; }
}
@media (min-width: 861px) { .site-menu { display: none; } }
@media (max-width: 420px) {
  .brand { font-size: 1.25rem; gap: 8px; }
  .site-head .wrap { gap: .5rem .6rem; }
}
@media (max-width: 720px) {
  body { font-size: 1.05rem; }
  .finder { padding: 14px; }
  .starter { grid-template-columns: 1fr; padding: 16px; }
  .cat-tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .cat-tile { padding: 12px; }
  .cat-photo { width: calc(100% + 24px); margin: -12px -12px 8px; }
  .author-box { padding: 16px; gap: 14px; }
  .profile-body { padding: 0 18px 18px; }
  .profile-cover { height: 110px; }
  .results-grid { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 12px; margin: 0 -16px; padding: 0 16px 6px; scroll-padding: 0 16px; -webkit-overflow-scrolling: touch; }
  .results-grid li { flex: 0 0 72%; scroll-snap-align: start; }
  .garden-single li { flex-basis: 100%; }
  .results-note::after { content: " Swipe to see more."; }
  .facts { grid-template-columns: 1fr; }
  .fact + .fact { padding-left: 0; border-left: 0; border-top: 1px solid var(--line); }
  .now { grid-template-columns: 1fr; gap: 16px; }
  .chart { --pad: 10px; --lbl: 6.6rem; }
  .row { min-height: 26px; }
  .lbl { font-size: .86rem; padding-right: 6px; }
  .track { height: 16px; }
  .months span { font-size: 0; padding: 0; width: calc(100% / 12); text-align: center; margin: 0; }
  .months span::before { content: attr(data-s); font-size: .78rem; }
  .bar { min-width: 7px; }
  .bar-in { border-width: 1.5px; }
  .field select { min-width: 0; width: 100%; }
  .field-select { flex: 1 1 100%; }
  .or { display: none; }
  .hero-crop { flex-direction: column; align-items: flex-start; gap: 8px; }
  .hero-crop .ico { width: 80px; height: 80px; }
  .answer { font-size: 1.12rem; }
  .two, .signup { grid-template-columns: 1fr; gap: 0; }
  .grow-grid { grid-template-columns: 1fr; gap: 8px; }
  .keys { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .keys li { padding: 12px; }
  .k-v { font-size: 1.02rem; }
  .beginner, .browse { padding: 4px 16px 18px; margin-left: -4px; margin-right: -4px; }
  table.plan thead { display: none; }
  table.plan, .plan tbody, .plan tr, .plan th, .plan td { display: block; width: 100%; }
  .plan tr { padding: 10px 12px; border-bottom: 1px solid var(--line); }
  .plan tbody th, .plan td { border: 0; padding: 2px 0; }
  .plan td { display: grid; grid-template-columns: 8.5rem 1fr; gap: 8px; }
  .plan td::before { content: attr(data-label); color: var(--muted); font-size: .9rem; }
  .plan td div { grid-column: 2; }
  /* On phones a crop row skips its empty columns instead of repeating "—". */
  .plan td:has(> .none:only-child) { display: none; }
}
@media (prefers-reduced-motion: no-preference) {
  .reveal .bar { animation: grow .6s ease-out both; transform-origin: left center; }
  @keyframes grow { from { transform: scaleX(0); } to { transform: scaleX(1); } }
}
/* My garden plan (assets/garden.js) */
a.btn { display: inline-flex; align-items: center; text-decoration: none; }
.btn-ghost { background: var(--paper); color: var(--fir); border: 1.5px solid var(--line); }
.btn-ghost:hover { border-color: var(--moss); filter: none; }
.linkish { font: inherit; padding: 0; border: 0; background: none; color: var(--moss); text-decoration: underline; cursor: pointer; }
.plan-cta { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 32px; background: var(--paper); border: 1px solid var(--line); border-radius: 16px; padding: 22px 26px; }
.plan-cta h2 { margin-top: 0; }
.plan-cta p { margin: 0; max-width: 34rem; }
.plan-link { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; color: var(--muted); font-size: 1rem; }
.gp-pick { margin: 1.5rem 0; background: var(--paper); border: 1px solid var(--line); border-radius: 14px; padding: 6px 20px 14px; }
.gp-pick > summary { cursor: pointer; font-family: var(--serif); font-weight: 800; font-size: 1.35rem; padding: 10px 0; }
.gp-count { font-family: var(--sans); font-weight: 400; font-size: 1rem; color: var(--muted); margin-left: 6px; }
.gp-pick fieldset { border: 0; padding: 0; margin: 0 0 1rem; }
.gp-pick legend { font-weight: 700; color: var(--fir); padding: 0; margin-bottom: 6px; }
.gp-opts { display: flex; flex-wrap: wrap; gap: 8px; }
.gp-opt { display: inline-flex; align-items: center; gap: 6px; padding: 5px 12px 5px 8px; border: 1.5px solid var(--line); border-radius: 999px; background: var(--bg); cursor: pointer; font-size: 1rem; user-select: none; }
.gp-opt input { position: absolute; opacity: 0; pointer-events: none; }
.gp-opt:has(input:checked) { border-color: var(--moss); background: var(--moss-soft); font-weight: 700; }
.gp-opt:has(input:focus-visible) { outline: 3px solid var(--focus); outline-offset: 2px; }
.gp-pick-foot { font-size: .95rem; color: var(--muted); margin: .5rem 0 0; }
.gp-out { scroll-margin-top: 80px; }
.gp-empty { padding: 1rem 0 2rem; }
.gp-bar { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin: 1rem 0; }
.gp-reset { color: var(--hard); }
.gp-saved { font-size: .95rem; color: var(--muted); }
.gp-saved.is-on { color: var(--moss); font-weight: 700; }
.gp-title h2 { margin-bottom: .2rem; }
.gp-title p { margin-top: 0; color: var(--muted); font-size: 1rem; }
.gp-month { font-size: 1.1rem; margin: 1.4rem 0 .3rem; color: var(--fir); }
.gp-tasks { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); max-width: 52rem; }
.gp-task { border-bottom: 1px solid var(--line); }
.gp-task label { display: grid; grid-template-columns: 26px 7.5rem 1fr; gap: 10px; align-items: start; padding: 9px 6px; cursor: pointer; }
.gp-task input { width: 20px; height: 20px; margin: 3px 0 0; accent-color: var(--moss); }
.gp-date { font-weight: 700; color: var(--fir); white-space: nowrap; }
.gp-text { display: flex; gap: 8px; align-items: flex-start; }
.gp-text .ico { flex: none; margin-top: 2px; }
.gp-task.is-soon { background: var(--moss-soft); }
.gp-task.is-done .gp-text, .gp-task.is-done .gp-date { text-decoration: line-through; color: var(--muted); }
.gp-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 14px; }
.gp-card { background: var(--paper); border: 1px solid var(--line); border-radius: 12px; padding: 14px 16px; font-size: .98rem; break-inside: avoid; }
.gp-card h3 { display: flex; align-items: center; gap: 8px; margin: 0 0 .5rem; font-size: 1.2rem; }
.gp-card dl { margin: 0; display: grid; grid-template-columns: 5.5rem 1fr; gap: 4px 10px; }
.gp-card dt { color: var(--muted); }
.gp-card dd { margin: 0; line-height: 1.4; }
.gp-mini { display: block; margin-top: 10px; font-size: .9rem; color: var(--muted); }
.gp-mini input { display: block; width: 100%; margin-top: 4px; font: inherit; font-size: 1rem; padding: 7px 10px; border: 1.5px solid var(--line); border-radius: 8px; background: var(--bg); color: var(--ink); }
.gp-notes { display: block; width: 100%; max-width: 52rem; font: inherit; font-size: 1rem; padding: 12px; border: 1.5px solid var(--line); border-radius: 10px; background: var(--paper); color: var(--ink); line-height: 1.6; }
/* Monthly chores page */
.cm-tools { position: sticky; top: 61px; z-index: 5; margin: .75rem -16px 0; padding: 10px 16px; background: color-mix(in srgb, var(--bg) 94%, transparent); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.cm-months { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; }
.cm-months::-webkit-scrollbar { display: none; }
.cm-months a { flex: 1 0 auto; text-align: center; padding: 6px 10px; border-radius: 999px; border: 1px solid var(--line); background: var(--paper); color: var(--fir); text-decoration: none; font-weight: 700; font-size: .95rem; }
.cm-months a:hover { border-color: var(--moss); }
.cm-months a.is-now { background: var(--ochre); border-color: var(--ochre); color: #fff; }
.cm-filter { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin-top: 1.25rem; font-size: .92rem; color: var(--muted); }
.cm-filter span { margin-right: 4px; }
.cm-filter button { font: inherit; padding: 3px 11px; border-radius: 999px; border: 1px solid var(--line); background: none; color: var(--fir); cursor: pointer; }
.cm-filter button:hover { border-color: var(--moss); }
.cm-filter button[aria-pressed="true"] { background: var(--moss-soft); border-color: var(--moss); font-weight: 700; }
.cm-mine { margin: 1.5rem 0 0; padding: 16px 20px; border-radius: 14px; background: var(--paper); border: 1px solid var(--line); border-left: 5px solid var(--ochre); }
.cm-mine-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 6px 16px; }
.cm-mine h2 { margin: 0 0 .5rem; font-size: 1.4rem; }
.cm-mine .station { margin: .5rem 0 0; }
.cm-list.one-month .cm:not(.is-shown) { display: none; }
.cm-months a.is-shown { border-color: var(--fir); box-shadow: inset 0 0 0 1px var(--fir); }
.cm-all { display: block; margin: .5rem 0 1rem; }
.cm { padding: 1.75rem 0 1rem; border-top: 1px solid var(--line); scroll-margin-top: 125px; }
.cm:first-child { border-top: 0; }
.cm.is-now { border-top: 3px solid var(--ochre); }
.cm-head { display: flex; align-items: flex-start; gap: 14px; margin-bottom: 1rem; }
.cm-head .ico { flex: none; margin-top: 2px; }
.cm-head > div { flex: 1; }
.cm-head h2 { margin: 0 0 .2rem; font-size: 1.6rem; }
.cm.is-now .cm-head h2::after { content: "This month"; margin-left: 10px; vertical-align: middle; padding: 2px 10px; border-radius: 999px; background: var(--ochre); color: #fff; font-family: var(--sans); font-size: .8rem; font-weight: 700; }
.cm-head p { margin: 0; color: var(--muted); max-width: 46rem; }
.cm-prog { flex: none; font-size: .88rem; color: var(--muted); padding: 3px 10px; border-radius: 999px; border: 1px solid var(--line); white-space: nowrap; }
.cm-prog:empty { display: none; }
.cm-prog.is-all { background: var(--easy-bg); color: var(--easy); border-color: transparent; font-weight: 700; }
.cm-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 12px; }
.cm-card { background: var(--paper); border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px 6px; border-top: 4px solid var(--c, var(--moss)); }
.cm-plant { --c: var(--moss); } .cm-indoor { --c: #7A8FB0; } .cm-harvest { --c: var(--ochre); } .cm-care { --c: #8A9A5B; } .cm-pests { --c: #B5838D; } .cm-perennial { --c: #9C7BB0; }
.cm-card[hidden] { display: none; }
.cm-card h3 { font-family: var(--sans); font-size: .85rem; letter-spacing: .07em; text-transform: uppercase; color: var(--muted); margin: 0 0 6px; }
.cm-card ul { list-style: none; margin: 0; padding: 0; }
.cm-card li { border-top: 1px solid var(--line); }
.cm-card li:first-child { border-top: 0; }
.cm-card label { display: grid; grid-template-columns: 22px 1fr; gap: 8px; padding: 7px 0; cursor: pointer; font-size: .98rem; line-height: 1.45; }
.cm-card input { width: 18px; height: 18px; margin: 3px 0 0; accent-color: var(--moss); }
.cm-card li.is-done span { color: var(--muted); text-decoration: line-through; }
.cm-tag { display: inline-block; margin-left: 4px; padding: 0 7px; border-radius: 999px; font-size: .78rem; font-weight: 700; white-space: nowrap; text-decoration: none; vertical-align: 1px; }
.cm-card li.is-done .cm-tag { text-decoration: none; }
.cm-tag-west { background: var(--leaf); color: var(--easy); } .cm-tag-coast { background: var(--sky); color: var(--fir); }
.cm-tag-east { background: var(--sand); color: var(--mod); } .cm-tag-high { background: var(--hard-bg); color: var(--hard); }
.cm-plant-body { padding: 0 14px 6px; }
.cm-region { padding: 8px 0; border-top: 1px solid var(--line); }
.cm-region h4 { margin: 0 0 4px; font-size: 1rem; color: var(--fir); }
.cm-region p, .cm-mine p { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin: 4px 0; }
.cm-k { flex: none; width: 6.5rem; font-size: .88rem; color: var(--muted); }
.cm-none { color: var(--muted); font-size: .95rem; }
.mp-crop { display: inline-flex; align-items: center; gap: 5px; padding: 2px 10px 2px 4px; border-radius: 999px; background: var(--bg); border: 1px solid var(--line); color: var(--ink); text-decoration: none; font-size: .92rem; }
.mp-crop:hover { border-color: var(--moss); }
.cm-reads { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 14px; margin: 12px 0 0; font-size: .95rem; }
.cm-reads > span { color: var(--muted); }
.cm-reads a { display: inline-flex; align-items: center; gap: 6px; }
.cm-foot { margin-top: 1.5rem; }
@media (max-width: 560px) {
  .cm-grid { grid-template-columns: 1fr; }
  .cm-head .ico { width: 36px; height: 36px; }
  .cm-head { flex-wrap: wrap; gap: 6px 12px; }
  .cm-head > div { flex: 1 1 calc(100% - 50px); }
  .cm-prog { margin-left: 48px; }
  .cm-k { width: 100%; }
  .cm-filter span { width: 100%; }
}
.finder[hidden], .gp-pick[hidden], .gp-share[hidden] { display: none; }
.btn-sm { min-height: 40px; padding: 0 14px; font-size: .98rem; }
/* Shared-plan preview banner */
.gp-share { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 20px; margin: 1.5rem 0 0; padding: 16px 20px; border-radius: 14px; background: var(--sky); border: 1.5px solid color-mix(in srgb, var(--moss) 45%, transparent); max-width: 52rem; }
.gp-share strong { display: block; font-family: var(--serif); font-size: 1.2rem; color: var(--fir); }
.gp-share span { color: var(--muted); font-size: 1rem; }
.gp-share-btns { display: flex; flex-wrap: wrap; gap: 10px; }
/* Section jump links */
.gp-jump { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; margin: 1rem 0 1.25rem; padding-bottom: 2px; }
.gp-jump::-webkit-scrollbar { display: none; }
.gp-jump a { flex: none; padding: 6px 14px; border-radius: 999px; border: 1px solid var(--line); background: var(--paper); color: var(--fir); text-decoration: none; font-size: .98rem; font-weight: 700; }
.gp-jump a:hover { border-color: var(--moss); }
.gp-out h2[id], .gp-sec, .gp-week { scroll-margin-top: 80px; }
/* This week */
.gp-week { max-width: 52rem; margin: 0 0 1.75rem; padding: 16px 20px 10px; border-radius: 14px; background: var(--paper); border: 1px solid var(--line); border-left: 5px solid var(--ochre); box-shadow: 0 8px 24px color-mix(in srgb, var(--fir) 7%, transparent); }
.gp-week-head { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
.gp-week-head h2 { margin: 0; font-size: 1.45rem; }
.gp-week-head span { color: var(--muted); font-size: .95rem; }
.gp-week-list { margin-top: .6rem; border-top: 0; }
.gp-week-list .gp-task:last-child { border-bottom: 0; }
.gp-week-list .gp-task.is-soon { background: none; }
.gp-week-empty { margin: .5rem 0 .6rem; color: var(--muted); }
/* Bed planner */
.gp-sec { margin-top: 2.5rem; }
.gp-sec > h2 { margin-top: 0; }
.bd-pn { flex: 1; min-width: 0; display: flex; flex-direction: column; line-height: 1.25; }
.bd-pn strong { color: var(--fir); }
.bd-pn > span { font-size: .85rem; color: var(--muted); }
.bd-step { flex: none; display: inline-flex; align-items: center; border: 1.5px solid var(--line); border-radius: 999px; background: var(--bg); }
.bd-step button { width: 34px; height: 34px; border: 0; border-radius: 50%; background: none; color: var(--moss); font: inherit; font-size: 1.3rem; font-weight: 700; line-height: 1; cursor: pointer; }
.bd-step button:disabled { color: var(--line); cursor: default; }
.bd-step output { min-width: 2.2ch; text-align: center; font-weight: 700; font-size: 1.05rem; color: var(--ink); }
.bd-step.is-auto output { color: var(--muted); font-weight: 400; }
.bd-empty { margin: 10px 0; color: var(--muted); font-size: .92rem; }
.gp-x { display: inline-grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; border: 0; background: none; color: var(--muted); font-size: 1.3rem; line-height: 1; cursor: pointer; flex: none; }
.gp-x:hover { background: color-mix(in srgb, var(--warn) 12%, transparent); color: var(--warn); }
.gp-warn { color: var(--warn); }
.gp-tag { display: inline-block; font-size: .8rem; padding: 1px 7px; border-radius: 999px; background: var(--moss-soft); color: var(--fir); }
/* Cheat card extras */
.gp-card select { display: block; width: 100%; margin-top: 4px; font: inherit; font-size: 1rem; padding: 7px 10px; border: 1.5px solid var(--line); border-radius: 8px; background: var(--bg); color: var(--ink); }
.gp-past { margin: 0 0 .6rem; padding: 4px 10px; border-radius: 8px; font-size: .95rem; display: inline-block; }
.gp-past-good { background: var(--easy-bg); color: var(--easy); }
.gp-past-ok { background: var(--mod-bg); color: var(--mod); }
.gp-past-poor { background: var(--hard-bg); color: var(--hard); }
.gp-rate { margin-top: 12px; font-size: .9rem; color: var(--muted); }
.gp-rate > div { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 4px; }
.gp-chip { font: inherit; font-size: .95rem; padding: 5px 12px; min-height: 34px; border-radius: 999px; border: 1.5px solid var(--line); background: var(--bg); color: var(--ink); cursor: pointer; }
.gp-chip:hover { border-color: var(--moss); }
.gp-chip-good[aria-pressed="true"] { background: var(--easy-bg); border-color: var(--easy); color: var(--easy); font-weight: 700; }
.gp-chip-ok[aria-pressed="true"] { background: var(--mod-bg); border-color: var(--mod); color: var(--mod); font-weight: 700; }
.gp-chip-poor[aria-pressed="true"] { background: var(--hard-bg); border-color: var(--hard); color: var(--hard); font-weight: 700; }
.gp-hcount { margin: 10px 0 0; font-size: .9rem; color: var(--muted); }
/* Harvest log */
.gp-logform { display: flex; flex-wrap: wrap; align-items: end; gap: 12px 14px; max-width: 52rem; padding: 16px 18px; background: var(--paper); border: 1px solid var(--line); border-radius: 14px; margin-bottom: .5rem; }
.gp-logform .field select { min-width: 11rem; }
.gp-logform .field input { width: auto; letter-spacing: 0; }
.gp-log-note { flex: 1 1 14rem; }
.gp-log-note input { width: 100%; }
.gp-log { list-style: none; margin: 0; padding: 0; max-width: 52rem; border-top: 1px solid var(--line); }
.gp-log li { display: grid; grid-template-columns: 4.5rem 1fr auto; gap: 10px; align-items: center; padding: 6px 0 6px 6px; border-bottom: 1px solid var(--line); }
.gp-log .gp-text { align-items: center; flex-wrap: wrap; }
.gp-log-n { color: var(--muted); }
/* Frost alerts */
.gp-alert { max-width: 52rem; padding: 18px 20px; border-radius: 14px; background: var(--sky); border: 1px solid var(--line); }
.gp-alert p { margin-top: 0; }
.gp-alert-row { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; }
.gp-alert-form { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--line); }
.gp-alert-form p { flex-basis: 100%; margin: 0; }
.gp-alert-form input[type=email] { flex: 1 1 14rem; font: inherit; font-size: 1.05rem; padding: 10px 12px; min-height: 48px; border: 1.5px solid var(--line); border-radius: 10px; background: var(--paper); color: var(--ink); }
@media (max-width: 560px) {
  .gp-task label { grid-template-columns: 24px 1fr; }
  .gp-text { grid-column: 2; }
  .gp-share, .gp-week, .gp-alert { padding-left: 16px; padding-right: 16px; }
  .gp-share-btns, .gp-share-btns .btn { width: 100%; }
  .gp-logform .field, .gp-logform .field select, .gp-logform .btn { width: 100%; min-width: 0; }
  .gp-alert-row .btn, .gp-alert-form .btn { width: 100%; }
}

/* Starter plans and season check (My garden plan) */
.gp-starters > p, .gp-pick-help { margin: .25rem 0 .6rem; color: var(--muted); font-size: .98rem; }
.gp-starter-list { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 1rem; }
.gp-starter { display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px 6px 8px; border: 1.5px solid var(--line); border-radius: 12px; background: var(--bg); color: var(--ink); font: inherit; font-weight: 700; cursor: pointer; text-align: left; }
.gp-starter:hover { border-color: var(--moss); background: var(--moss-soft); }
.gp-starter small { display: block; font-weight: 400; font-size: .82rem; color: var(--muted); }
@media (max-width: 600px) { .gp-starter-list { display: grid; grid-template-columns: 1fr 1fr; } .gp-starter { line-height: 1.25; } }
.gp-pick-note { margin: 0 0 1rem; padding: 10px 14px; border-radius: 10px; background: var(--mod-bg); color: var(--ink); border-left: 4px solid var(--mod); font-size: .98rem; }
.gp-pick-note[hidden] { display: none; }
.gp-st { display: inline-block; font-size: .74rem; font-weight: 700; line-height: 1.5; padding: 0 7px; border-radius: 999px; white-space: nowrap; vertical-align: 1px; }
.gp-st-now { background: var(--easy-bg); color: var(--easy); }
.gp-st-last { background: var(--mod-bg); color: var(--mod); }
.gp-st-indoor, .gp-st-soon { background: var(--teal-soft); color: var(--teal); }
.gp-st-later { background: var(--free); color: var(--muted); }
.gp-opt .gp-st { margin-left: 2px; }
.gp-rain { margin: .35rem 0 0; font-size: .98rem; }
.gp-rain a { color: var(--moss); }
.gp-season { margin: 1.25rem 0; padding: 16px 20px; border-radius: 14px; background: var(--paper); border: 1px solid var(--line); border-left: 5px solid var(--moss); }
.gp-season h2 { margin: 0 0 .4rem; font-size: 1.4rem; }
.gp-season > p { margin: .3rem 0; }
.gp-ready { line-height: 1.9; }
.gp-warns { list-style: none; margin: .75rem 0 0; padding: 0; border-top: 1px solid var(--line); }
.gp-warns li { display: flex; gap: 12px; align-items: flex-start; padding: 10px 0; border-bottom: 1px solid var(--line); }
.gp-warns li .ico { flex: none; margin-top: 2px; }
.gp-warns p { margin: 0 0 .2rem; line-height: 1.45; }
.gp-warn-act { font-size: .92rem; color: var(--muted); }
.gp-swaps { margin-top: .9rem; }
.gp-swaps p { margin: 0 0 .4rem; font-weight: 700; color: var(--fir); }
.gp-swaps div { display: flex; flex-wrap: wrap; gap: 8px; }
.gp-swap { display: inline-flex; align-items: center; gap: 6px; padding: 4px 12px 4px 6px; border-radius: 999px; border: 1.5px dashed var(--moss); background: var(--bg); color: var(--fir); font: inherit; font-weight: 700; cursor: pointer; }
.gp-swap:hover { background: var(--moss-soft); border-style: solid; }

/* Plant quiz (assets/quiz.js) */
.plan-cta-btns { display: flex; flex-wrap: wrap; gap: 10px; }
.plan-cta-btns .btn { justify-content: center; }
.quiz { max-width: 46rem; margin: 1rem 0 2.5rem; padding: 22px 24px 24px; background: var(--paper); border: 1px solid var(--line); border-radius: 18px; scroll-margin-top: 80px; }
.quiz-prog { height: 6px; border-radius: 999px; background: var(--free); overflow: hidden; }
.quiz-prog i { display: block; height: 100%; background: var(--moss); border-radius: 999px; transition: width .25s; }
.quiz-count { margin: .7rem 0 0; font-size: .9rem; font-weight: 700; letter-spacing: .03em; text-transform: uppercase; color: var(--muted); }
.quiz-q { margin: .2rem 0 .4rem; font-size: 1.6rem; outline: none; }
.quiz-help { margin: 0 0 1rem; color: var(--muted); }
.quiz-note { margin: 0 0 1rem; padding: 10px 14px; border-radius: 10px; background: var(--mod-bg); border-left: 4px solid var(--mod); }
.quiz-opts { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 10px; margin: 1rem 0; }
.quiz-opt { display: flex; flex-direction: column; align-items: flex-start; gap: 2px; padding: 14px 16px; border: 1.5px solid var(--line); border-radius: 12px; background: var(--bg); color: var(--ink); font: inherit; text-align: left; cursor: pointer; }
.quiz-opt strong { font-size: 1.08rem; }
.quiz-opt span { font-size: .92rem; color: var(--muted); }
.quiz-opt:hover { border-color: var(--moss); }
.quiz-opt[aria-pressed="true"] { border-color: var(--moss); background: var(--moss-soft); box-shadow: inset 0 0 0 1px var(--moss); }
.quiz-opts.is-multi .quiz-opt strong::before { content: ""; display: inline-block; width: 15px; height: 15px; margin-right: 8px; vertical-align: -1px; border: 1.5px solid var(--muted); border-radius: 4px; }
.quiz-opts.is-multi .quiz-opt[aria-pressed="true"] strong::before { background: var(--moss); border-color: var(--moss); box-shadow: inset 0 0 0 2px var(--moss-soft); }
.quiz-nav, .quiz-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 1rem; }
.quiz-nav[hidden] { display: none; }
.quiz-nav .btn[disabled] { opacity: .45; cursor: not-allowed; }
.quiz-town { margin: .5rem 0 0; }
.quiz-cards { list-style: none; margin: 1rem 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 12px; }
.quiz-card { display: flex; gap: 12px; align-items: flex-start; padding: 14px; border: 1px solid var(--line); border-radius: 14px; background: var(--bg); }
.quiz-card .ico { flex: none; border-radius: 50%; }
.quiz-card h3 { margin: 0 0 .25rem; font-size: 1.15rem; }
.quiz-card p { margin: 0 0 .3rem; font-size: .95rem; line-height: 1.4; }
.quiz-card.is-stretch { border-style: dashed; border-color: var(--ochre); }
.quiz-tags { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.quiz-sub { margin: 1.6rem 0 .2rem; font-size: 1.2rem; }
.quiz-flash { margin: .5rem 0 0; min-height: 1.4em; }
@media (max-width: 560px) {
  .quiz { padding: 16px; border-radius: 14px; }
  .quiz-q { font-size: 1.35rem; }
  .quiz-opts { grid-template-columns: 1fr; }
  .quiz-actions .btn, .plan-cta-btns .btn { width: 100%; text-align: center; }
}

/* Homepage "In season now" chart */
.season-now .sec-head { margin-bottom: .25rem; }
.season-sub, .season-empty { margin: 0 0 .75rem; color: var(--muted); }
.season-empty { color: var(--ink); background: var(--paper); border: 1px solid var(--line); border-radius: 12px; padding: 14px 16px; }
.season-now .howto { display: none; }
.season-now .legend { margin-bottom: 0; }
.season-more { margin-top: .75rem; }

/* Homepage on phones: same sections as desktop, packed tighter so the page isn't twice as long */
@media (max-width: 720px) {
  .hero-art { height: 150px; }
  .hero-art + .hero { padding-top: 1.25rem; padding-bottom: .5rem; }
  .hero-art + .hero .lede { font-size: 1.05rem; margin-bottom: 0; }
  .hero-art + .hero .finder { margin-top: 1rem; gap: 10px 12px; }
  .hero-art + .hero .finder .field input { width: 6.5rem; }
  .hero-art + .hero .finder .field-select { flex: 1 1 9rem; }
  .hero-art + .hero .finder .btn { flex: 1 1 100%; }
  .home-sec { margin-top: 2rem; }
  .home-sec.plan-cta { padding: 18px; gap: 12px; }
  .home-sec .sec-head { margin-bottom: .6rem; }
  .home-sec .cat-tiles { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin-top: 0; }
  .home-sec .cat-tile { padding: 0 8px 9px; gap: 2px; border-radius: 12px; }
  .home-sec .cat-photo { width: calc(100% + 16px); margin: 0 -8px 6px; aspect-ratio: 16 / 9; border-radius: 11px 11px 0 0; }
  .home-sec .cat-icons { display: none; }
  .home-sec .cat-tile .card-t { font-size: .9rem; }
  .home-sec .cat-tile .card-s { font-size: .78rem; }
  .home-sec.starter { padding: 16px; gap: 10px; }
  .home-sec .reads-grid { gap: 8px; margin: 0; }
  .home-sec .reads-grid .card { flex-direction: row; align-items: center; gap: 12px; padding: 12px; }
  .home-sec .reads-grid .ico { width: 36px; height: 36px; flex: none; }
  .home-sec .reads-grid .card.has-photo { grid-template-columns: 56px 1fr; grid-template-rows: auto; align-items: center; }
  .home-sec .reads-grid .card-photo { width: 56px; height: 56px; flex: none; grid-row: auto; margin: 0; aspect-ratio: auto; border-radius: 8px; }
  .home-sec .reads-grid .card-t { font-size: 1rem; }
  .home-sec .reads-grid .card-s { display: none; }
}

/* Screen-reader-only text */
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
@media print {
  .site-head, .site-foot, .finder, .site-menu, .search-pop, .ad-slot, .nav, .hero-art, .signup, .gear, .beginner, .browse, .crumbs { display: none !important; }
  body { background: #fff; }
  .cm-tools, .cm-filter, .cm-reads, .cm-prog { display: none !important; }
  .cm-card { break-inside: avoid; }
  .gp-bar, .gp-pick, .gp-privacy, #gp-form, .gp-swaps, .gp-warn-act, #gp-msg, .hero .lede, .crumbs, .plan-link, .plan-cta, .gp-share, .gp-jump, .gp-logform, .gp-alert, .gp-x, .gp-rate, .gp-hcount, .sq-actions, .sq-sizes, .sq-hint, .bd-step button, #gp-beds-sec .gp-x, .sq-trash, .sq-undo, #sq-optwrap { display: none !important; }
  .gp-task.is-soon { background: none; }
  .chart, .legend { -webkit-print-color-adjust: exact; print-color-adjust: exact; }
  .gp-task label { padding: 4px 0; }
  .gp-tasks, .gp-card, .chart { break-inside: avoid; }
  .gp-card { border-color: #999; }
  .gp-cards { grid-template-columns: 1fr 1fr; }
  .gp-mini input, .gp-notes { border: 0; border-bottom: 1px solid #999; border-radius: 0; background: none; }
  .gp-notes { min-height: 12em; border: 1px solid #999; }
}
/* "Use my location" sits inside the town form, next to the main button, so the form is one compact box. */
.finder .near-btn[hidden] { display: none; }
@media (max-width: 720px) {
  .finder { gap: 10px 12px; }
  .finder .field input { width: 6.5rem; }
  .finder .field-select { flex: 1 1 9rem; }
  .finder .btn { flex: 1 1 auto; }
  .finder .near-btn { flex: 0 1 auto; padding-left: 14px; padding-right: 14px; }
  .hero-art + .hero .finder .btn { flex: 1 1 auto; }
}
.near-btn::before { content: ""; display: inline-block; width: 1em; height: 1em; margin-right: .45em; vertical-align: -.15em; background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2a7 7 0 0 0-7 7c0 5 7 13 7 13s7-8 7-13a7 7 0 0 0-7-7zm0 9.5A2.5 2.5 0 1 1 12 6.5a2.5 2.5 0 0 1 0 5z'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2a7 7 0 0 0-7 7c0 5 7 13 7 13s7-8 7-13a7 7 0 0 0-7-7zm0 9.5A2.5 2.5 0 1 1 12 6.5a2.5 2.5 0 0 1 0 5z'/%3E%3C/svg%3E") center / contain no-repeat; }
/* Month pages */
.cm-card li.cm-plain { padding: 7px 0; font-size: .98rem; line-height: 1.45; }
.cm-month-links { display: grid; grid-template-columns: repeat(auto-fill, minmax(14rem, 1fr)); gap: 4px 16px; padding-left: 1.2rem; }
.cm-pager { display: flex; justify-content: space-between; gap: 12px; margin: 2rem 0 1rem; padding-top: 1rem; border-top: 1px solid var(--line); }
/* Plant-type pages and "plants for" pages */
.order { margin: 0 0 1rem; }
.order > div { display: grid; grid-template-columns: 8.5rem 1fr; gap: 10px; padding: 8px 0; border-top: 1px solid var(--line); }
.order dt { font-weight: 700; }
.order dd { margin: 0; }
.pick-list { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(17rem, 1fr)); gap: 10px; }
.pick-list a { display: flex; gap: 12px; align-items: flex-start; padding: 10px 12px; background: var(--paper); border: 1px solid var(--line); border-radius: 12px; text-decoration: none; height: 100%; box-sizing: border-box; }
.pick-list a:hover { border-color: var(--moss); }
.pick-list a > span { display: flex; flex-direction: column; gap: 2px; }
.pick-list .ico { flex: none; }
@media (max-width: 30rem) { .order > div { grid-template-columns: 1fr; gap: 2px; } }
/* Plant-page extras: tags, year strip, how many, neighbors, pests */
.plant-tags-h { margin: -0.4rem 0 6px; font-size: .9rem; color: var(--muted, #5b6b62); }
.plant-tags { margin: 0 0 1.2rem; }
.plant-tags a { padding: 5px 14px; font-weight: 700; color: var(--moss); }
.table-wrap:has(> .year) { position: relative; }
.year { width: 100%; border-collapse: separate; border-spacing: 3px; table-layout: fixed; min-width: 34rem; }
.year th { font-weight: 400; font-size: .88rem; color: var(--muted); text-align: center; }
.year thead th:first-child, .year tbody th { width: 9.5rem; text-align: left; color: var(--ink); font-size: .95rem; }
.year abbr { text-decoration: none; }
.year td, .year th { position: relative; }
.year td { height: 26px; background: var(--free); border-radius: 5px; }
.year td.in { background: var(--teal-soft); box-shadow: inset 0 0 0 2px var(--teal); }
.year td.plant { background: var(--moss); }
.year td.pick { background: var(--ochre); }
.year td.bloom { background: color-mix(in srgb, var(--ochre) 45%, var(--paper)); }
.hm-grid, .nb-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr)); gap: 14px; }
.hm-card, .nb-card { background: var(--paper); border: 1px solid var(--line); border-radius: 12px; padding: 14px 18px 4px; }
.hm-card h3, .nb-card h3 { font-size: 1.05rem; margin-top: 0; }
.nb-card ul { padding-left: 1.1rem; }
.nb-card li { margin-bottom: .5rem; }
.nb-good { border-top: 4px solid var(--moss); }
.nb-avoid { border-top: 4px solid var(--warn); }
.pest-card { border-left-color: var(--ochre); }
@media (max-width: 40rem) {
  .year { min-width: 0; border-spacing: 2px; }
  .year thead th:first-child, .year tbody th { width: 5.4rem; font-size: .85rem; line-height: 1.2; }
  .year th { font-size: .8rem; }
}

/* Town pages: season tag, frost-chance strip, ZIP note */
:root { --risk4: #24527F; --risk3: #6E9BCB; --risk2: #E2B13C; --risk1: #7DBB6C; }
:root[data-theme="dark"] { --risk4: #5B93D3; --risk3: #A3C7EE; --risk2: #D9A93A; --risk1: #5FA352; }
.season-tag { display: inline-block; font: 700 .78rem/1 var(--sans); letter-spacing: .05em; text-transform: uppercase; background: var(--moss-soft); color: var(--fir); padding: 6px 10px; border-radius: 999px; vertical-align: 3px; margin-right: 4px; }
.risk-card { margin: 28px 0 8px; padding: 20px 22px; border: 1px solid var(--line); border-radius: 16px; background: var(--paper); }
.risk-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 4px 16px; }
.risk-head h2 { margin: 0; font-size: 1.35rem; }
.risk-safe { margin: 0; color: var(--muted); font-size: 1rem; }
.risk-safe strong { color: var(--fir); }
.risk-bar { position: relative; display: grid; grid-template-columns: repeat(52, 1fr); gap: 2px; height: 30px; margin: 40px 0 6px; }
.risk-bar i, .risk-key i { border-radius: 3px; }
.risk-bar .k4, .risk-key .k4 { background: var(--risk4); }
.risk-bar .k3, .risk-key .k3 { background: var(--risk3); }
.risk-bar .k2, .risk-key .k2 { background: var(--risk2); }
.risk-bar .k1, .risk-key .k1 { background: var(--risk1); }
.risk-today { position: absolute; top: -20px; bottom: -4px; width: 2px; background: var(--ochre); transform: translateX(-1px); }
.risk-today em { position: absolute; top: -2px; left: 50%; transform: translate(-50%, -100%); font: 700 .8rem var(--sans); font-style: normal; color: var(--ochre); white-space: nowrap; }
.risk-months { position: relative; height: 1.3em; font-size: .8rem; color: var(--muted); }
.risk-months span { position: absolute; top: 0; }
.risk-key { list-style: none; padding: 0; margin: 12px 0 0; display: flex; flex-wrap: wrap; gap: 6px 18px; font-size: .92rem; color: var(--muted); }
.risk-key i { display: inline-block; width: 13px; height: 13px; margin-right: 6px; vertical-align: -1px; }
.risk-note { margin: 10px 0 0; font-size: .92rem; color: var(--muted); }
.now-none { margin: .5rem 0 0; }
.zips { margin: 28px 0 0; padding: 14px 18px; border-radius: 12px; background: var(--sand); font-size: 1rem; max-width: 46rem; }
@media (max-width: 40rem) {
  #live + .facts { grid-template-columns: repeat(3, 1fr); }
  #live + .facts .fact { padding: 10px 6px 12px 0; }
  #live + .facts .fact + .fact { padding-left: 10px; border-top: 0; border-left: 1px solid var(--line); }
  #live + .facts .fact-s { display: none; }
  #live + .facts .fact-v { font-size: 1.15rem; }
  #live + .facts .fact-k { font-size: .8rem; }
  .risk-card { padding: 16px 14px; }
  .risk-bar { gap: 1px; }
  .risk-months span:nth-child(even) { display: none; }
}

/* My garden plan: numbered steps, plant search, next job, compact season check, folds and sticky section buttons */
.gp-step { display: flex; align-items: center; gap: 10px; }
.gp-step-n { flex: none; display: inline-grid; place-items: center; width: 1.6em; height: 1.6em; border-radius: 50%; background: var(--moss); color: var(--on-moss, #fff); font-family: var(--sans); font-size: .8em; font-weight: 700; line-height: 1; }
h2.gp-step { font-size: 1.35rem; margin: 2rem 0 0; }
.hero + h2.gp-step { margin-top: 1.25rem; }
.gp-finder { margin-top: .75rem; }
.gp-title h2.gp-step { align-items: flex-start; }
.gp-title h2.gp-step .gp-step-n { margin-top: .15em; font-size: .62em; }
.gp-pick > summary { display: flex; align-items: center; gap: 10px; list-style: none; }
.gp-pick > summary::-webkit-details-marker { display: none; }
.gp-pick > summary .gp-step-n { font-size: .62em; }
.gp-pick > summary::after { content: ""; margin-left: auto; flex: none; width: 9px; height: 9px; border-right: 2.5px solid var(--muted); border-bottom: 2.5px solid var(--muted); transform: rotate(45deg); transition: transform .15s; }
.gp-pick[open] > summary::after { transform: rotate(-135deg); }
.gp-find { position: relative; max-width: 24rem; margin: 0 0 1rem; }
.gp-find svg { position: absolute; left: 12px; top: 50%; transform: translateY(-50%); color: var(--muted); pointer-events: none; }
.gp-find input { width: 100%; font: inherit; font-size: 1.05rem; padding: 9px 12px 9px 38px; min-height: 44px; border: 1.5px solid var(--line); border-radius: 999px; background: var(--bg); color: var(--ink); }
.gp-find input:focus { border-color: var(--moss); outline: 0; box-shadow: 0 0 0 3px color-mix(in srgb, var(--focus) 35%, transparent); }
.gp-find-none { margin: 0 0 1rem; color: var(--muted); }
.gp-opt[hidden], .gp-pick fieldset[hidden], .gp-find-none[hidden] { display: none; }
.gp-next { display: flex; gap: 12px; align-items: center; margin: 0 0 .7rem; font-size: 1.08rem; }
.gp-next .gp-text { align-items: center; }
.gp-away { color: var(--muted); font-size: .95rem; white-space: nowrap; }
.gp-week-empty { margin-bottom: .35rem; }
.gp-warns li .gp-x { margin-left: auto; margin-top: -2px; }
.gp-warns li > div { min-width: 0; }
.gp-warns p.gp-when { margin: 0; color: var(--ink); }
.gp-warns p.gp-when-note { margin: .15rem 0 0; font-size: .92rem; color: var(--muted); }
.gp-season .gp-warn-act { margin: .6rem 0 0; }
.gp-mine { margin-top: 12px; border-top: 1px solid var(--line); padding-top: 8px; }
.gp-mine summary { cursor: pointer; display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 10px; font-weight: 700; color: var(--fir); font-size: .95rem; padding: 4px 0; }
.gp-mine summary span { font-weight: 400; color: var(--muted); font-size: .88rem; }
.gp-mine summary { list-style: none; }
.gp-mine summary::-webkit-details-marker { display: none; }
.gp-mine summary::before { content: ""; align-self: center; width: 7px; height: 7px; margin-right: 2px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(-45deg); transition: transform .15s; }
.gp-mine[open] summary::before { transform: rotate(45deg); }
.gp-mine > .gp-mini:first-of-type { margin-top: 4px; }
.gp-more { margin-top: 2.5rem; border-top: 1px solid var(--line); scroll-margin-top: calc(var(--head-h, 61px) + 64px); }
.gp-more > summary { cursor: pointer; display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 14px; padding: 18px 0 6px; list-style: none; }
.gp-more > summary::-webkit-details-marker { display: none; }
.gp-more-t { font-family: var(--serif); font-weight: 800; font-size: 1.6rem; color: var(--fir); display: inline-flex; align-items: center; gap: 10px; }
.gp-more-t::after { content: ""; width: 9px; height: 9px; border-right: 2.5px solid var(--muted); border-bottom: 2.5px solid var(--muted); transform: translateY(-3px) rotate(45deg); transition: transform .15s; }
.gp-more[open] .gp-more-t::after { transform: translateY(2px) rotate(-135deg); }
.gp-more-s { color: var(--muted); font-size: .98rem; }
.gp-more > .gp-sec:first-of-type { margin-top: 1.25rem; }
.gp-jump { position: sticky; top: var(--head-h, 61px); z-index: 10; margin-left: -16px; margin-right: -16px; padding: 8px 16px; background: color-mix(in srgb, var(--bg) 94%, transparent); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.gp-out h2[id], .gp-sec, .gp-week { scroll-margin-top: calc(var(--head-h, 61px) + 64px); }
@media (max-width: 560px) {
  .gp-task label { grid-template-columns: 22px 4.4rem 1fr; gap: 8px; }
  .gp-task .gp-date { white-space: normal; font-size: .95rem; line-height: 1.3; }
  .gp-text { grid-column: auto; }
  .gp-more-t { font-size: 1.4rem; }
}
@media print {
  .gp-find, .gp-find-none, .gp-step-n, .gp-more > summary, .gp-mine > summary::before { display: none !important; }
  .gp-jump { position: static; }
  .gp-mine { border-top: 0; padding-top: 0; }
  .gp-mine > summary, .hero + h2.gp-step { display: none !important; }
}

/* Town pages: local advice and where the frost dates come from */
.local { max-width: 46rem; }
.local p:not(.region) { margin: .5rem 0 0; }
.station-box { max-width: 46rem; margin: 1.5rem 0; padding: 16px; background: var(--paper); border: 1px solid var(--line); border-radius: 12px; }
.station-box h2 { margin-top: 0; font-size: 1.2rem; }
.station-box p { margin: 0 0 .5rem; }
.station-box .station { margin: 0; }

/* Plant pages: "Is it too late to plant?" line in the town picker */
.town-pick-out .pick-now { margin: 0 0 10px; padding: 10px 12px; border-radius: 8px; background: var(--moss-soft); }
.town-pick-out .pick-now span { display: block; color: var(--muted); font-size: .85rem; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; margin-bottom: 2px; }
.town-pick-out .pick-now b { font-size: 1rem; margin-right: 0; }
/* Home hero: one ZIP-or-town box, short intro, trust line; photo beside the text on wide screens. */
.eyebrow { font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; color: var(--moss); font-weight: 700; margin: 0 0 .5rem; }
.home-top .hero h1 { margin-bottom: .6rem; }
.home-top .hero .lede { max-width: 32rem; margin: 0 0 1.1rem; }
.home-find { position: relative; max-width: 34rem; }
.home-find-box { display: flex; gap: 8px; background: var(--paper); border: 1px solid var(--line); border-radius: 14px; padding: 6px; box-shadow: 0 8px 24px color-mix(in srgb, var(--fir) 8%, transparent); }
.home-find-box:focus-within { border-color: var(--moss); }
.home-find-in { flex: 1; display: flex; align-items: center; gap: 8px; padding: 0 10px; min-width: 0; color: var(--muted); cursor: text; }
.home-find-in svg { flex: none; }
.home-find-in input { border: 0; background: none; font: inherit; font-size: 1.1rem; color: var(--ink); width: 100%; min-width: 0; min-height: 48px; outline: 0; }
.home-find-in input::placeholder { color: var(--muted); }
.home-find-box .btn { flex: none; padding: 0 18px; }
.where-list { position: absolute; z-index: 5; left: 0; right: 0; top: calc(100% + 6px); list-style: none; margin: 0; padding: 6px; background: var(--paper); border: 1px solid var(--line); border-radius: 12px; box-shadow: 0 12px 28px color-mix(in srgb, var(--fir) 14%, transparent); }
.where-list[hidden] { display: none; }
.where-list li { padding: 10px 12px; border-radius: 8px; cursor: pointer; font-size: 1.05rem; }
.where-list li:hover, .where-list [aria-selected="true"] { background: var(--moss-soft); }
.home-find-alt { display: flex; flex-wrap: wrap; gap: 6px 20px; margin: .75rem 0 0; font-size: 1rem; }
.home-find-alt a, .link-btn { color: var(--moss); font-weight: 600; text-decoration: none; }
.home-find-alt a:hover, .link-btn:hover { text-decoration: underline; }
.link-btn { font: inherit; font-weight: 600; background: none; border: 0; padding: 0; cursor: pointer; display: inline-flex; align-items: center; gap: 5px; }
.link-btn[hidden], .tbox-saved[hidden] { display: none; }
.tbox .msg:empty { min-height: 0; margin: 0; }
.tbox .msg { max-width: 34rem; }
.trust { display: flex; flex-wrap: wrap; gap: 6px 18px; margin: 1rem 0 0; padding: 0; list-style: none; color: var(--muted); font-size: .92rem; }
.trust li { display: flex; align-items: center; gap: 6px; }
.trust li::before { content: ""; width: 14px; height: 14px; flex: none; background: var(--moss); -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m5 12.5 4.5 4.5L19 7.5' fill='none' stroke='%23000' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m5 12.5 4.5 4.5L19 7.5' fill='none' stroke='%23000' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat; }
.tbox-saved { margin: 0; color: var(--muted); }
.tbox-saved strong { color: var(--ink); font-weight: 600; }
.tbox.is-saved .home-find, .tbox.is-saved .home-find-alt, .hero:has(.tbox.is-saved) .trust { display: none; }
.tbox .home-find-alt:not(:has(a, button:not([hidden]))) { display: none; }
@media (max-width: 720px) {
  .home-top .hero-art { height: 128px; }
  .home-find-box .btn { padding: 0 14px; }
}
@media (min-width: 900px) {
  .home-top { display: grid; grid-template-columns: 1.05fr 1fr; gap: 48px; align-items: center; margin-top: 1.75rem; }
  .home-top .hero-art { order: 2; margin: 0; height: 430px; }
  .home-top .hero { padding: 0; }
  .home-top .hero h1 { font-size: clamp(2.6rem, 3.6vw, 3.1rem); line-height: 1.05; }
  .home-top + #result:not(:empty) { margin-top: 2.5rem; }
}
/* Plant pages: your town's dates under the heading. */
.your-dates { margin-top: 1rem; max-width: 36rem; }
.yd-card { background: var(--paper); border: 1px solid var(--line); border-radius: 14px; padding: 14px 16px; margin-bottom: .6rem; }
.yd-card h2 { font-size: 1.2rem; margin: 0 0 .6rem; }
.yd-card .town-pick-out { margin: 0; }
.your-dates .tbox.is-saved .tbox-saved { font-size: .95rem; }
/* "On this page": one row of links that scrolls sideways on phones. */
.jump > span { color: var(--muted); font-size: .9rem; align-self: center; }
@media (max-width: 720px) {
  .jump { flex-wrap: nowrap; overflow-x: auto; white-space: nowrap; margin-left: -16px; margin-right: -16px; padding: 2px 16px 6px; scrollbar-width: none; }
  .jump::-webkit-scrollbar { display: none; }
  .jump a { flex: none; font-size: .9rem; padding: 5px 12px; }
}
/* A fold that holds the rest of a page's intro, so the list starts sooner. */
.more-fold { max-width: 46rem; margin: 0 0 1.5rem; border: 1px solid var(--line); border-radius: 12px; background: var(--paper); }
.more-fold > summary { cursor: pointer; padding: 12px 16px; font-weight: 700; color: var(--fir); }
.more-fold > .prose { padding: 0 16px 4px; }
.cat-now, .town-line { margin: .75rem 0 0; max-width: 46rem; }
.cat-now .tbox.is-saved, .town-line .tbox.is-saved { background: var(--paper); border: 1px solid var(--line); border-radius: 12px; padding: 10px 14px; }
.cat-now .tbox-saved, .town-line .tbox-saved { color: var(--ink); }
@media (max-width: 720px) {
  .pick-list.pick-list-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .pick-list.pick-list-2 li { margin: 0; }
  .pick-list.pick-list-2 a { flex-direction: column; align-items: flex-start; gap: 6px; padding: 10px 12px; height: 100%; }
  .pick-list.pick-list-2 .ico { width: 36px; height: 36px; }
  .pick-list.pick-list-2 .card-s { font-size: .85rem; }
}
/* My garden plan: plant groups fold into one row each. */
.gp-groups-h { font-weight: 700; color: var(--fir); margin: 1rem 0 .5rem; }
.gp-group { border: 1px solid var(--line); border-radius: 12px; background: var(--bg); margin: 0 0 8px; }
.gp-group > summary { cursor: pointer; padding: 11px 14px; font-weight: 700; color: var(--fir); display: flex; justify-content: space-between; gap: 10px; }
.gp-group-n { color: var(--muted); font-weight: 400; font-size: .95rem; }
.gp-group .gp-opts { padding: 0 12px 12px; }
.gp-group[hidden] { display: none; }
#gp-box { margin-bottom: .5rem; }

/* Month pages: one card per region (yours first), the full date table folded */
.mp-regions { display: grid; gap: 10px; max-width: 52rem; margin: 0 0 1rem; }
.mp-region { border: 1px solid var(--line); border-radius: 12px; background: var(--paper); }
.mp-region > summary { cursor: pointer; display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 4px 12px; padding: 12px 16px; }
.mp-region-name { font-weight: 700; color: var(--fir); }
.mp-region-n { font-size: .9rem; color: var(--muted); }
.mp-region-body { padding: 0 16px 10px; }
.mp-region-body > p:not(.station):not(.mp-mine):not(.cm-none) { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin: 6px 0; }
.mp-region-body .station { margin: 8px 0 0; }
.mp-region.is-mine { border-color: var(--moss); box-shadow: 0 0 0 1px var(--moss); }
.mp-mine { margin: 0 0 8px; font-size: .95rem; }
.mp-look { margin: 0 0 1.25rem; font-size: .95rem; }
.mp-table { max-width: none; }
.mp-table-note { padding: 0 16px; margin: 0 0 8px; color: var(--muted); font-size: .95rem; }
.mp-table .table-wrap { margin: 0 8px 8px; }
@media (max-width: 40rem) { .mp-region-body .cm-k { width: 100%; } }

/* Plant index: "Find a plant" box and folded groups */
.plant-find { max-width: 32rem; margin-top: 1rem; }
.plant-find .home-find-box { padding-right: 6px; }
.plant-find input::-webkit-search-cancel-button { cursor: pointer; }
.grid-folds { display: grid; gap: 8px; margin: 0 0 1.5rem; }
.grid-fold { border: 1px solid var(--line); border-radius: 12px; background: var(--paper); }
.grid-fold > summary { cursor: pointer; display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 12px 16px; }
.grid-fold-t { font-weight: 700; color: var(--fir); }
.grid-fold-n { font-size: .9rem; color: var(--muted); }
.grid-fold > .grid-d { padding: 0 16px; margin-bottom: 10px; }
.grid-fold > .cards { padding: 0 12px 12px; margin: 0; }
#plant-none:empty { display: none; }
.idx-browse[hidden] { display: none; }
.town-src { margin: -.25rem 0 1.25rem; }

/* Articles index: three guides per topic until "See all" */
.topic-sec.is-short .reads-grid > li:nth-child(n+4) { display: none; }
.topic-more { margin: .25rem 0 1rem; }
#term-none:empty { display: none; }
.glossary > div[hidden] { display: none; }
.how-facts { margin-bottom: 1rem; }
.cm-note { margin: .25rem 0 1rem; font-size: .95rem; color: var(--muted); }

/* Town calendars map (assets/townmap.js): Census outlines, a dot per town, area picker and the area's town list. */
.town-map { margin: 1.5rem 0 1rem; }
.town-map h2 { margin-top: 0; }
.tm-grid { display: grid; grid-template-columns: minmax(0, 1fr) 20rem; gap: 1.25rem; align-items: start; }
.tm-card, .tm-panel { background: var(--paper); border: 1px solid var(--line); border-radius: 14px; padding: 14px; min-width: 0; }
.tm-svg { display: block; width: 100%; height: auto; touch-action: pan-y; user-select: none; -webkit-user-select: none; }
.is-live .tm-svg { cursor: grab; }
.is-panned .tm-svg, .is-full .tm-svg { touch-action: none; }
.is-dragging .tm-svg { cursor: grabbing; }
.tm-stage { position: relative; }
.tm-ctrl { position: absolute; right: 8px; top: 8px; display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: 10px; background: var(--paper); overflow: hidden; box-shadow: 0 1px 4px rgb(0 0 0 / .12); }
.tm-ctrl button, .tm-full { font: 700 1.3rem/1 var(--sans); width: 38px; height: 38px; display: grid; place-items: center; border: 0; background: none; color: var(--fir); cursor: pointer; padding: 0; }
.tm-ctrl button + button { border-top: 1px solid var(--line); }
.tm-ctrl button:hover, .tm-full:hover { background: var(--moss-soft); }
.tm-ctrl svg, .tm-full svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.tm-full { position: absolute; left: 8px; top: 8px; width: auto; gap: 6px; grid-auto-flow: column; padding: 0 11px; font-size: .9rem; border: 1px solid var(--line); border-radius: 10px; background: var(--paper); box-shadow: 0 1px 4px rgb(0 0 0 / .12); }
.tm-tip { position: absolute; left: 50%; bottom: 10px; transform: translateX(-50%); margin: 0; padding: 6px 12px; border-radius: 999px; background: color-mix(in srgb, var(--ink) 85%, transparent); color: var(--bg); font-size: .85rem; white-space: nowrap; pointer-events: none; }
.tm-labels a.is-dim text { fill: var(--muted); font-weight: 600; }
html.tm-lock, html.tm-lock body { overflow: hidden; }
.town-map.is-full { position: fixed; inset: 0; z-index: 1000; margin: 0; padding: 10px; background: var(--bg); display: flex; flex-direction: column; }
.is-full > h2, .is-full .tm-credit { display: none; }
.is-full .tm-grid { flex: 1; min-height: 0; grid-template-rows: minmax(0, 1fr); }
.is-full .tm-card { height: 100%; display: flex; flex-direction: column; min-height: 0; }
.is-full .tm-stage { flex: 1; min-height: 0; }
.is-full .tm-svg { height: 100%; }
.is-full .tm-panel { max-height: 100%; overflow: auto; }
.is-full .tm-chips { display: none; }
.is-full .tm-select { display: flex; max-width: 28rem; }
@media (max-width: 52rem) {
  .is-full .tm-grid { grid-template-rows: minmax(0, 1fr) auto; gap: 8px; }
  .is-full .tm-panel { max-height: 34dvh; padding: 10px; }
  .is-full .tm-key { margin-top: 6px; font-size: .78rem; }
}
@media (max-width: 40rem) { .tm-full { height: 34px; font-size: .82rem; padding: 0 9px; } .tm-ctrl button { width: 34px; height: 34px; } }
.tm-states path { fill: var(--sand); stroke: color-mix(in srgb, var(--frost-hard) 70%, transparent); stroke-width: 1.2; stroke-linejoin: round; vector-effect: non-scaling-stroke; }
.tm-names text { font: 700 15px var(--serif); fill: var(--muted); opacity: .45; letter-spacing: .14em; text-transform: uppercase; text-anchor: middle; }
.is-live .tm-names { transition: opacity .2s; }
.is-zoomed .tm-names { opacity: 0; }
.tm-dots circle { fill: var(--moss); stroke: var(--paper); stroke-width: 1.2; }
/* Dot colors: frost-free days a year, short (cool) to long (deep green). Text and cards carry the numbers too. */
:root { --tm-s1: #BCD3E3; --tm-s2: #72B293; --tm-s3: #2B7656; --tm-s4: #0E3D29; }
:root[data-theme="dark"] { --tm-s1: #3D5D73; --tm-s2: #4E9878; --tm-s3: #93D3B3; --tm-s4: #E2F7EA; }
.tm-dots .tm-s1, .tm-key .tm-s1 { fill: var(--tm-s1); background: var(--tm-s1); }
.tm-dots .tm-s2, .tm-key .tm-s2 { fill: var(--tm-s2); background: var(--tm-s2); }
.tm-dots .tm-s3, .tm-key .tm-s3 { fill: var(--tm-s3); background: var(--tm-s3); }
.tm-dots .tm-s4, .tm-key .tm-s4 { fill: var(--tm-s4); background: var(--tm-s4); }
.tm-key { list-style: none; padding: 0; margin: 10px 0 0; display: flex; flex-wrap: wrap; align-items: center; gap: 4px 14px; font-size: .85rem; color: var(--muted); }
.tm-key li { display: flex; align-items: center; gap: 6px; }
.tm-key-h { font-weight: 700; color: var(--ink); }
.tm-key i { display: inline-block; width: 12px; height: 12px; border-radius: 50%; box-shadow: 0 0 0 1.5px var(--paper), 0 0 0 2.5px var(--line); }
.tm-labels .tm-d { font-weight: 400; fill: var(--muted); }
.tm-fact { font-size: .92rem; margin: 10px 0 0; padding-top: 10px; border-top: 1px solid var(--line); }
.tm-dots a.is-dim circle { fill: var(--frost); opacity: .7; }
.tm-dots a.is-on circle { stroke: var(--ink); }
.tm-labels text { font-family: var(--sans); font-weight: 700; fill: var(--fir); paint-order: stroke; stroke: var(--sand); }
.tm-labels a:hover text { text-decoration: underline; }
.tm-pick { margin-top: 12px; }
.tm-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.tm-chips span { width: 100%; font-size: .8rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-top: 4px; }
.tm-chips button { font: inherit; font-size: .92rem; border: 1px solid var(--line); background: var(--bg); color: var(--ink); border-radius: 999px; padding: 4px 11px; cursor: pointer; }
.tm-chips button:hover { border-color: var(--moss); }
.tm-chips button[aria-pressed="true"] { background: var(--moss); border-color: var(--moss); color: var(--on-moss); font-weight: 700; }
.tm-select { display: none; align-items: center; gap: 10px; }
.tm-select span { color: var(--muted); }
.tm-select select { flex: 1; min-width: 0; font: inherit; padding: 9px 10px; border: 1px solid var(--line); border-radius: 10px; background: var(--bg); color: var(--ink); }
.tm-panel h3 { font-size: 1.25rem; margin: 0 0 2px; }
.tm-sub, .tm-hint { color: var(--muted); font-size: .92rem; margin: 0 0 8px; }
.tm-hint { margin: 0; }
.tm-panel ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.tm-panel li a { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 7px 10px; border-radius: 8px; text-decoration: none; color: var(--ink); }
.tm-panel li a:hover, .tm-panel li a.is-on { background: var(--moss-soft); }
.tm-panel li b { color: var(--fir); }
.tm-panel li b { min-width: 0; }
.tm-panel li span { color: var(--muted); font-size: .92rem; font-variant-numeric: tabular-nums; white-space: nowrap; }
.tm-credit { font-size: .85rem; color: var(--muted); margin: 8px 0 0; }
@media (max-width: 52rem) { .tm-grid { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 40rem) { .tm-chips { display: none; } .tm-select { display: flex; } .tm-card { padding: 10px; } }

/* Town-page planting calendar: plant-group photo tiles and one card per plant */
.pc { margin: 2.5rem 0 1rem; }
.pc > h2 { margin: 0 0 .25rem; }
.pc-sub { color: var(--muted); margin: 0 0 1rem; }
.pc-find { display: flex; align-items: center; gap: 8px; max-width: 32rem; margin: 0 0 1rem; padding: 0 14px; background: var(--paper); border: 1px solid var(--line); border-radius: 14px; color: var(--muted); cursor: text; }
.pc-find:focus-within { border-color: var(--moss); }
.pc-find svg { flex: none; }
.pc-find input { border: 0; background: none; font: inherit; font-size: 1.05rem; color: var(--ink); width: 100%; min-width: 0; min-height: 48px; outline: 0; }
.pc-find input::placeholder { color: var(--muted); }
.pc-tabs { list-style: none; padding: 0; margin: 0 0 1.25rem; display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 8px; }
.pc-tab { box-sizing: border-box; cursor: pointer; display: flex; flex-direction: column; align-items: stretch; text-align: left; width: 100%; height: 100%; padding: 0; font: inherit; background: var(--paper); border: 1.5px solid var(--line); border-radius: 12px; overflow: hidden; color: var(--ink); transition: border-color .15s, transform .15s; }
.pc-tab:hover { border-color: var(--moss); transform: translateY(-1px); }
.pc-tab:focus-visible { outline: 2px solid var(--moss); outline-offset: 2px; }
.pc-tab img { display: block; width: 100%; height: auto; aspect-ratio: 2 / 1; object-fit: cover; background: var(--sky); }
.pc-tab b { font-family: var(--serif); font-size: .92rem; line-height: 1.15; padding: 6px 8px 0; }
.pc-tab small { color: var(--muted); font-size: .78rem; padding: 0 8px 7px; }
.pc-tab[aria-pressed="true"] { border-color: var(--moss); box-shadow: 0 0 0 2px var(--moss); }
.pc-tab[aria-pressed="true"] b { color: var(--moss); }
.pc-frost { display: grid; grid-template-columns: auto 1fr; align-items: center; gap: 10px; margin: 0 0 10px; font-size: .85rem; color: var(--muted); }
.pc-ftrk { position: relative; height: 12px; border-radius: 6px; overflow: hidden; }
.pc-gh { font-size: 1.1rem; margin: 1.25rem 0 .5rem; }
.pc-gh span { font-family: var(--sans); font-weight: 400; font-size: .85rem; color: var(--muted); }
.pc-on .pc-group:not(.is-on), .pc-on .pc-gh { display: none; }
.pc-on.pc-searching .pc-tabs, .pc-on.pc-searching .pc-group { display: none; }
.pc-on.pc-searching .pc-group.has-hit, .pc-on.pc-searching .has-hit .pc-gh { display: block; }
.pc-cards { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.pc-card { background: var(--paper); border: 1px solid var(--line); border-radius: 14px; padding: 12px 14px; display: grid; grid-template-columns: 44px 1fr; column-gap: 12px; row-gap: 6px; align-items: center; }
.pc-card[hidden] { display: none; }
.pc-card .ico { width: 44px; height: 44px; border-radius: 50%; }
.pc-name a { font-family: var(--serif); font-weight: 700; font-size: 1.08rem; color: var(--fir); text-decoration: none; }
.pc-name a:hover { text-decoration: underline; }
.pc-name span { display: block; color: var(--muted); font-size: .8rem; line-height: 1.2; }
.pc-yr { grid-column: 1 / -1; }
.pc-trk { position: relative; height: 14px; border-radius: 4px; background: repeating-linear-gradient(90deg, transparent 0 calc(100% / 12 - 1px), var(--line) calc(100% / 12 - 1px) calc(100% / 12)), color-mix(in srgb, var(--free) 60%, transparent); }
.pc-trk .pc-now { position: absolute; margin: 0; top: -3px; bottom: -3px; width: 2px; background: var(--warn); border-radius: 1px; }
.pc-mo { display: grid; grid-template-columns: repeat(12, 1fr); font-size: .68rem; color: var(--muted); margin-top: 2px; text-align: center; }
.pc-mo .is-now { color: var(--warn); font-weight: 700; }
/* Month letters come from CSS so the 12 letters under every plant card are not page text. */
.pc-mo span:nth-child(1)::before { content: "J"; }
.pc-mo span:nth-child(2)::before { content: "F"; }
.pc-mo span:nth-child(3)::before { content: "M"; }
.pc-mo span:nth-child(4)::before { content: "A"; }
.pc-mo span:nth-child(5)::before { content: "M"; }
.pc-mo span:nth-child(6)::before { content: "J"; }
.pc-mo span:nth-child(7)::before { content: "J"; }
.pc-mo span:nth-child(8)::before { content: "A"; }
.pc-mo span:nth-child(9)::before { content: "S"; }
.pc-mo span:nth-child(10)::before { content: "O"; }
.pc-mo span:nth-child(11)::before { content: "N"; }
.pc-mo span:nth-child(12)::before { content: "D"; }
.pc-dates { grid-column: 1 / -1; list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 4px 14px; font-size: .9rem; }
.pc-dates li { display: flex; align-items: center; gap: 6px; white-space: nowrap; }
.pc-dates i { display: inline-block; width: 14px; height: 9px; border-radius: 3px; flex: none; box-sizing: border-box; }
.pc-dates .bar-in { border-width: 1.5px; }
.pc-dates b { font-weight: 600; }
.pc-flag { grid-column: 1 / -1; font-size: .8rem; color: var(--warn); margin: 0; }
.pc-none:empty { display: none; }
.pc-legend { margin-top: 12px; }
@media (max-width: 60rem) { .pc-tabs { grid-template-columns: repeat(5, minmax(0, 1fr)); } }
@media (max-width: 40rem) {
  .pc-tabs { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; margin: 0 -16px 1rem; padding: 2px 16px 6px; scrollbar-width: none; }
  .pc-tabs::-webkit-scrollbar { display: none; }
  .pc-tabs li { flex: 0 0 108px; scroll-snap-align: start; }
  .pc-cards { grid-template-columns: 1fr; gap: 8px; }
  .pc-card { padding: 10px 12px; grid-template-columns: 38px 1fr; column-gap: 10px; }
  .pc-card .ico { width: 38px; height: 38px; }
  .pc-dates { font-size: .86rem; gap: 3px 12px; }
}
@media print { .pc-tools { display: none; } .pc-on .pc-group, .pc-on .pc-gh { display: block !important; } .pc-card { break-inside: avoid; } }
.pc-legend li[hidden] { display: none; }
.pc-searching .pc-gh span { display: none; }
.pc-legend .key-today { width: 2px; height: 14px; border: 0; border-radius: 1px; background: var(--warn); margin: 0 6px; }

/* Town cards in the map's side panel */
.tm-panel .tc-list { list-style: none; padding: 0; margin: 8px 0 0; display: grid; gap: 8px; }
.tm-panel .tc-list li a.tc { display: block; padding: 10px 12px; border: 1px solid var(--line); border-radius: 12px; background: var(--bg); color: var(--ink); text-decoration: none; transition: border-color .15s; }
.tm-panel .tc-list li a.tc:hover, .tm-panel .tc-list li a.tc.is-on { border-color: var(--moss); background: var(--moss-soft); }
.tc-top { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 0 8px; }
.tm-panel .tc-top b { font-family: var(--serif); font-size: 1.02rem; color: var(--fir); line-height: 1.2; }
.tc-top small { color: var(--muted); font-size: .78rem; white-space: nowrap; }
.tc-trk { position: relative; display: block; height: 10px; border-radius: 5px; margin: 8px 0 2px; overflow: hidden; background: repeating-linear-gradient(135deg, var(--frost-hard) 0 3px, var(--frost) 3px 7px); }
.tc-trk i { position: absolute; top: 0; bottom: 0; background: var(--teal); }
.tc-trk i.tc-now { background: var(--warn); width: 3px; }
.tc-mo { display: grid; grid-template-columns: repeat(12, 1fr); text-align: center; }
.tm-panel .tc-mo span { font-size: .62rem; color: var(--muted); white-space: normal; }
.tc-dates { display: flex; justify-content: space-between; gap: 8px; margin-top: 4px; }
.tm-panel .tc-dates span { font-size: .84rem; color: var(--muted); white-space: nowrap; }
.tc-dates b { color: var(--ink); font-weight: 700; }
.tc-legend { list-style: none; padding: 0; margin: 10px 0 0; display: flex; flex-wrap: wrap; gap: 4px 12px; font-size: .78rem; color: var(--muted); }
.tc-legend li { display: flex; align-items: center; gap: 5px; }
.tc-legend i { display: inline-block; width: 14px; height: 8px; border-radius: 2px; }
.tc-k-free { background: var(--teal); }
.tc-k-frost { background: repeating-linear-gradient(135deg, var(--frost-hard) 0 3px, var(--frost) 3px 7px); }
.tc-legend i.tc-k-now { width: 3px; height: 10px; background: var(--warn); }

.tm-panel .tc-list { grid-template-columns: minmax(0, 1fr); }
.tm-panel .tc-top b { min-width: 0; }
@media (max-width: 52rem) and (min-width: 40.01rem) { .tm-panel .tc-list { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
/* Town map: Cascade Range and major rivers (Natural Earth) */
:root { --tm-water: #6F9FC4; --tm-range: color-mix(in srgb, var(--moss) 13%, var(--sand)); --tm-peak: color-mix(in srgb, var(--moss) 45%, var(--sand)); }
:root[data-theme="dark"] { --tm-water: #4D7C9F; --tm-range: color-mix(in srgb, var(--moss) 16%, var(--sand)); --tm-peak: color-mix(in srgb, var(--moss) 40%, var(--sand)); }
.tm-range { fill: var(--tm-range); }
.tm-svg #tm-peaks path { stroke: var(--tm-peak); stroke-width: .7; opacity: .7; }
.tm-river { fill: none; stroke: var(--tm-water); stroke-linecap: round; stroke-linejoin: round; vector-effect: non-scaling-stroke; }
.tm-r1 { stroke-width: 2.4; } .tm-r2 { stroke-width: 1.6; } .tm-r3 { stroke-width: 1; opacity: .85; }
.tm-names .tm-pn { font: italic 700 12px var(--sans); paint-order: stroke; stroke: var(--sand); stroke-width: 3px; letter-spacing: .04em; text-transform: none; opacity: .9; fill: var(--tm-peak); }
.tm-names .tm-rn { fill: var(--tm-water); }
.chip-d { color: var(--muted); font-size: .85em; margin-left: .35em; }

/* Home page on phones: each "What to plant now" list is a sideways swipe row of plant cards */
.now-count { display: none; }
@media (max-width: 40rem) {
  #result .now { grid-template-columns: minmax(0, 1fr); }
  #result .now ul { display: flex; gap: 10px; overflow-x: auto; scroll-snap-type: x mandatory; margin: 0 -16px; padding: 2px 16px 8px; scroll-padding: 0 16px; }
  #result .now li { flex: 0 0 40%; scroll-snap-align: start; flex-direction: column; align-items: flex-start; gap: 4px; padding: 8px 10px 10px; border: 1px solid var(--line); border-radius: 12px; background: var(--paper); }
  #result .now li span { font-size: .85rem; line-height: 1.3; }
  #result .now-col h3 { margin-bottom: 2px; }
  #result .now-count { display: block; margin: 0 0 8px; font-size: .9rem; color: var(--muted); }
}
/* Home page on phones: the town's frost dates in one row, and plant types as a swipe row */
@media (max-width: 40rem) {
  #result .facts { grid-template-columns: repeat(3, 1fr); }
  #result .fact { padding: 10px 6px 12px 0; }
  #result .fact + .fact { padding-left: 10px; border-top: 0; border-left: 1px solid var(--line); }
  #result .fact-s { font-size: .78rem; line-height: 1.3; }
  #result .fact-v { font-size: 1.15rem; }
  #result .fact-k { font-size: .8rem; }
  .home-sec .cat-tiles { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 6px; }
  .home-sec .cat-tiles > li { flex: 0 0 38%; scroll-snap-align: start; }
  /* Tiles that open a dates list stay a grid, so the list can open under the tapped row. */
  .home-sec .cat-tiles-drop { display: grid; overflow: visible; padding-bottom: 0; }
}
/* The green-bar fold header used everywhere else a section folds open: garden calendar regions, plant index groups,
   garden plan groups, "Read more" intros, the town list areas and the How it works station list. */
.more-fold, .grid-fold, .gp-group, .mp-region, .area-group { border: 0; background: none; }
.area-groups { border-top: 0; display: grid; gap: 8px; }
.more-fold > summary, .grid-fold > summary, .gp-group > summary, .mp-region > summary, .area-list > summary, .area-group > summary {
  list-style: none; cursor: pointer; display: flex; flex-wrap: nowrap; align-items: center; justify-content: flex-start; gap: 4px 10px;
  min-height: 48px; margin: 0; padding: 10px 12px 10px 14px; background: var(--moss-soft); border: 0; border-left: 5px solid var(--moss); border-radius: 0 12px 12px 0;
}
.more-fold > summary::-webkit-details-marker, .grid-fold > summary::-webkit-details-marker, .gp-group > summary::-webkit-details-marker,
.mp-region > summary::-webkit-details-marker, .area-list > summary::-webkit-details-marker, .area-group > summary::-webkit-details-marker { display: none; }
.area-list > summary::before { content: none; }
.more-fold > summary::after, .grid-fold > summary::after, .gp-group > summary::after, .mp-region > summary::after, .area-list > summary::after, .area-group > summary::after {
  content: "+"; flex: none; margin-left: auto; width: 28px; height: 28px; display: grid; place-items: center; font-size: 1.25rem; font-weight: 700; line-height: 1; color: var(--on-moss); background: var(--moss); border-radius: 50%;
}
.more-fold[open] > summary::after, .grid-fold[open] > summary::after, .gp-group[open] > summary::after, .mp-region[open] > summary::after, .area-list[open] > summary::after, .area-group[open] > summary::after { content: "\2212"; }
.more-fold > summary:hover, .grid-fold > summary:hover, .gp-group > summary:hover, .mp-region > summary:hover, .area-list > summary:hover, .area-group > summary:hover { background: var(--teal-soft); }
.mp-region > summary { flex-wrap: wrap; }
.mp-region > summary .mp-region-n { flex: 1 1 auto; }
.area-list { margin: 8px 0 0; }
.area-list > summary span, .area-group > summary span { margin-left: 0; }
.more-fold[open] > summary, .grid-fold[open] > summary, .gp-group[open] > summary, .mp-region[open] > summary, .area-list[open] > summary, .area-group[open] > summary { margin-bottom: 10px; }
.more-fold > .prose, .mp-region-body, .grid-fold > .grid-d { padding-left: 4px; padding-right: 4px; }
.grid-fold > .cards, .gp-group .gp-opts { padding-left: 0; padding-right: 0; }
.mp-region.is-mine { box-shadow: none; }
.mp-region.is-mine > summary { background: var(--teal-soft); box-shadow: inset 0 0 0 1.5px var(--moss); }
.grid-fold-n, .mp-region-n, .gp-group-n, .area-list > summary span, .area-group > summary span { white-space: nowrap; }
/* Long lists of folds (plant groups, garden plan groups, calendar regions, town areas) stay light:
   white rows with a thin line and a small outlined +/-, so a page of them isn't a wall of green. The green bar is for section headers. */
.grid-fold > summary, .gp-group > summary, .mp-region > summary, .area-list > summary {
  background: var(--paper); border: 1px solid var(--line); border-radius: 12px;
}
.grid-fold > summary::after, .gp-group > summary::after, .mp-region > summary::after, .area-list > summary::after {
  width: 26px; height: 26px; font-size: 1.1rem; color: var(--moss); background: none; border: 1.5px solid var(--moss);
}
.grid-fold > summary:hover, .gp-group > summary:hover, .mp-region > summary:hover, .area-list > summary:hover { background: var(--paper); border-color: var(--moss); }
.mp-region.is-mine > summary { background: var(--moss-soft); box-shadow: none; border: 1.5px solid var(--moss); }

/* When to plant: plant-type tiles open a plant list under their row */
.cat-tiles-drop .cat-tile { position: relative; }
.cat-tiles-drop .cat-tile .card-s::after { content: " \25BE"; color: var(--moss); }
.cat-tiles-drop .cat-tile[aria-expanded="true"] { border-color: var(--moss); background: var(--teal-soft); transform: none; box-shadow: 0 0 0 1px var(--moss); }
.cat-tiles-drop .cat-tile[aria-expanded="true"] .card-s::after { content: " \25B4"; }
.cat-drop { grid-column: 1 / -1; background: var(--paper); border: 1px solid var(--moss); border-radius: 14px; padding: 14px 16px 10px; }
.cat-drop[hidden], .grid-folds[hidden] { display: none; }
.cat-drop-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 4px 16px; margin-bottom: 8px; }
.cat-drop-t { font-family: var(--serif, inherit); font-weight: 700; font-size: 1.1rem; color: var(--fir); }
.cat-drop-head a { font-weight: 700; font-size: .95rem; }
.drop-rows { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(15rem, 1fr)); column-gap: 20px; }
.drop-rows a { display: flex; align-items: center; gap: 10px; padding: 7px 4px; border-bottom: 1px solid var(--line); text-decoration: none; color: var(--ink); border-radius: 6px; }
.drop-rows a:hover { background: var(--teal-soft); }
.drop-rows .ico { width: 32px; height: 32px; border-radius: 50%; flex: none; }
.drop-n { flex: 1; font-weight: 600; }
.drop-rows .badge { font-size: .72rem; padding: 1px 8px; }
@media (max-width: 600px) {
  .cat-drop { padding: 12px 12px 6px; }
  .drop-rows { grid-template-columns: 1fr; }
}
/* Home: plant-type tiles double as the town's planting-dates tables */
.sec-sub { margin: -.5rem 0 1rem; color: var(--muted); }
.drop-rows[hidden] { display: none; }
/* Garden planner: the same plant-type picture tiles, opening tick boxes instead of plant links. */
.gp-tiles .cat-tiles { margin-top: .25rem; grid-template-columns: repeat(auto-fill, minmax(8.5rem, 1fr)); gap: 8px; }
.gp-tiles .cat-tile { padding: 0 10px 9px; gap: 1px; border-radius: 12px; }
.gp-tiles .cat-photo { width: calc(100% + 20px); margin: 0 -10px 7px; aspect-ratio: 16 / 9; border-radius: 11px 11px 0 0; }
.gp-tiles .cat-icons { display: none; }
.gp-tiles .cat-tile .card-t { font-size: .92rem; line-height: 1.25; }
.gp-tiles .cat-tile .card-s { font-size: .8rem; }
@media (max-width: 640px) {
  .gp-tiles .cat-tiles { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; }
  .gp-tiles .cat-tile { padding: 0 7px 8px; }
  .gp-tiles .cat-photo { width: calc(100% + 14px); margin: 0 -7px 5px; }
  .gp-tiles .cat-tile .card-t { font-size: .85rem; }
  .gp-tiles .cat-tile .card-s { font-size: .74rem; }
}
.gp-drop-hint { color: var(--muted); font-size: .9rem; }
.gp-tiles .cat-drop .gp-opts { padding: 0; }
.gp-tiles .cat-tile .card-s::after { white-space: nowrap; }
.gp-searching > li:not(.cat-drop) { display: none; }
.gp-searching > .cat-drop { order: 0 !important; }
.drop-dates .table-wrap { margin: 0 0 6px; }
.drop-dates table.plan { background: transparent; }
.dates-jump { margin: .75rem 0 0; font-weight: 700; }
@media (max-width: 720px) {
  .drop-dates .plan tr { padding: 10px 0; }
}
/* Bed planner: square-foot grid */
.sq-sum { margin: .2rem 0 .8rem; color: var(--muted); }
.sq-sum strong { color: var(--moss); }
.sq-warn { color: var(--warn); font-weight: 700; }
.sq-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 23rem), 1fr)); gap: 16px; max-width: 52rem; }
.sq-card { background: var(--paper); border: 1px solid var(--line); border-radius: 16px; padding: 14px 16px 6px; }
.sq-head { display: flex; align-items: center; gap: 8px; }
.sq-head h3 { margin: 0; font-size: 1.15rem; color: var(--fir); }
.sq-head h3 span { font-weight: 400; color: var(--muted); font-size: .95rem; margin-left: 4px; }
.sq-sizes { display: flex; flex-wrap: wrap; gap: 6px; margin: 10px 0 12px; }
.sq-size { font: inherit; font-size: .92rem; padding: 4px 12px; min-height: 34px; border-radius: 999px; border: 1px solid var(--line); background: var(--bg); color: var(--ink); cursor: pointer; transition: background .15s, border-color .15s; }
.sq-size:hover { border-color: var(--moss); }
.sq-size.is-on, .sq-own.is-on { background: var(--moss-soft); border-color: var(--moss); color: var(--fir); font-weight: 700; }
.sq-own { display: inline-flex; align-items: center; gap: 2px; padding: 0 6px; border-radius: 999px; border: 1px dashed var(--line); color: var(--muted); font-size: .9rem; }
.sq-own input { width: 2.4rem; font: inherit; font-size: .92rem; text-align: center; border: 0; background: none; color: var(--ink); min-height: 32px; padding: 0; }
.sq-grid { display: grid; gap: 3px; padding: 6px; border-radius: 12px; background: #8B6B4A; }
:root[data-theme="dark"] .sq-grid { background: #4A3A2A; }
.sq { aspect-ratio: 1; border-radius: 5px; display: grid; place-items: center; position: relative; transition: background-color .25s; }
.sq .ico { border-radius: 50%; box-shadow: 0 0 0 1.5px var(--paper); width: 60%; height: auto; max-width: 28px; }
.sq b { position: absolute; right: 2px; bottom: 0; font-size: .68rem; line-height: 1.2; color: var(--fir); }
.sq-free { background: color-mix(in srgb, #C9A77F 55%, var(--paper)); }
:root[data-theme="dark"] .sq-free { background: #3A2E22; }
.sq-cap { margin: 6px 0 4px; font-size: .82rem; color: var(--muted); }
.sq-list { list-style: none; margin: 0; padding: 0; }
.sq-list li { display: flex; align-items: center; gap: 10px; padding: 9px 0; border-top: 1px solid var(--line); }
.sq-list .bd-pn > span strong { color: var(--ink); font-weight: 700; }
.sq-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 14px; }
.sq-loose, .sq-ground { max-width: 52rem; margin-top: 16px; padding: 12px 16px; border-radius: 14px; border: 1px solid var(--line); background: var(--paper); }
.sq-loose { border-color: var(--warn); }
.sq-loose h3, .sq-ground h3 { margin: 0 0 4px; font-size: 1.05rem; color: var(--fir); }
.sq-loose h3 { color: var(--warn); }
.sq-ground p { margin: 0 0 6px; font-size: .92rem; color: var(--muted); }
.sq-loose ul, .sq-ground ul { list-style: none; margin: 0; padding: 0; }
.sq-loose li, .sq-ground li { display: flex; align-items: center; gap: 10px; padding: 6px 0; font-size: .95rem; }
.sq-loose .ico, .sq-ground .ico { border-radius: 50%; flex: none; }
:root[data-theme="dark"] .sq b { color: var(--ink); }
.sq-big .ico { max-width: 44px; width: 40%; }
.sq-cards { grid-template-columns: repeat(auto-fit, minmax(min(100%, 23rem), 1fr)); }
.sq-card { container-type: inline-size; }
@container (min-width: 620px) {
  .sq-main { display: grid; grid-template-columns: 1.15fr 1fr; gap: 0 22px; align-items: start; }
  .sq-right .sq-list li:first-child { border-top: 0; }
}
/* Bed planner: dragging, taking plants out, Optimize */
.gp-beds2 { margin-top: 2.5rem; }
.gp-beds2 > h2 { margin-bottom: .25rem; }
.sq-hint { color: var(--muted); font-size: .92rem; }
.sq-plant { background: var(--moss-soft); cursor: grab; touch-action: none; user-select: none; -webkit-user-select: none; }
.sq-plant:hover { box-shadow: inset 0 0 0 2px var(--moss); }
.sq-plant .ico { pointer-events: none; -webkit-user-drag: none; }
.sq-plant.is-lifted { opacity: .3; }
.sq-ghost { position: fixed; left: 0; top: 0; z-index: 60; pointer-events: none; display: grid; place-items: center; border-radius: 6px; background: var(--moss-soft); box-shadow: 0 10px 24px rgba(0,0,0,.25); }
.sq-ghost .ico { width: 60%; height: auto; max-width: 40px; border-radius: 50%; }
.sq-ghost b { position: absolute; right: 3px; bottom: 1px; font-size: .7rem; color: var(--fir); }
#sq-mark { border-radius: 6px; pointer-events: none; z-index: 2; }
#sq-mark.is-ok { box-shadow: inset 0 0 0 3px var(--moss); background: color-mix(in srgb, var(--moss) 18%, transparent); }
#sq-mark.is-no { box-shadow: inset 0 0 0 3px var(--warn); background: color-mix(in srgb, var(--warn) 15%, transparent); }
.sq-list li > .ico { flex: none; border-radius: 50%; }
.sq-list .gp-x, .sq-loose .gp-x, .sq-ground .gp-x { margin-left: -4px; }
.sq-ground li span, .sq-loose li span { flex: 1; }
.sq-n { color: var(--muted); font-size: .92rem; }
.sq-head .gp-x { margin-left: auto; }
.sq-trash { position: fixed; left: 50%; bottom: 18px; transform: translateX(-50%); z-index: 55; display: flex; align-items: center; gap: 8px; padding: 12px 20px; border-radius: 999px; background: var(--paper); color: var(--warn); border: 2px dashed var(--warn); font-weight: 700; box-shadow: 0 8px 24px rgba(0,0,0,.18); }
.sq-trash.is-hot { background: var(--warn); color: var(--paper); border-style: solid; }
.sq-undo { position: fixed; left: 50%; bottom: 18px; transform: translate(-50%, 140%); z-index: 56; display: flex; align-items: center; gap: 14px; padding: 10px 12px 10px 18px; border-radius: 12px; background: var(--fir); color: var(--bg); box-shadow: 0 8px 24px rgba(0,0,0,.2); transition: transform .25s; max-width: calc(100% - 32px); }
.sq-undo.is-on { transform: translate(-50%, 0); }
.sq-undo button { font: inherit; font-weight: 700; color: var(--fir); background: var(--moss-soft); border: 0; border-radius: 8px; padding: 6px 14px; min-height: 36px; cursor: pointer; }
.sq-actions .btn { margin: 0; }
.sq-size:disabled { cursor: default; }
.sq-trash[hidden] { display: none; }
.sq-own input { width: 1.9rem; }
.sq-size { padding: 4px 11px; }
.sq-opt { max-width: 52rem; margin: .5rem 0 1rem; padding: 14px 16px 16px; border-radius: 16px; background: var(--paper); border: 1.5px solid var(--moss); box-shadow: 0 8px 24px color-mix(in srgb, var(--fir) 8%, transparent); }
.sq-opt-head { display: flex; align-items: center; justify-content: space-between; }
.sq-opt-head h3 { margin: 0; font-size: 1.15rem; color: var(--fir); }
.sq-opt-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 14rem), 1fr)); gap: 12px; margin-top: 10px; }
.sq-opt-card { display: flex; flex-direction: column; gap: 8px; padding: 12px; border-radius: 12px; border: 1px solid var(--line); background: var(--bg); }
.sq-opt-card h4 { margin: 0; font-size: 1.02rem; color: var(--fir); }
.sq-opt-card p { margin: 0; font-size: .88rem; color: var(--muted); line-height: 1.35; }
.sq-opt-card .btn { margin-top: auto; align-self: flex-start; }
.sq-opt-stat { color: var(--ink) !important; }
.sq-mini { display: grid; gap: 2px; padding: 3px; border-radius: 8px; background: #8B6B4A; }
:root[data-theme="dark"] .sq-mini { background: #4A3A2A; }
.sq-mini i { aspect-ratio: 1; border-radius: 3px; display: grid; place-items: center; }
.sq-mini .ico { border-radius: 50%; width: 70%; height: auto; max-width: 22px; }
.sq-mini .sq-plant { cursor: default; }
.sq-mini .sq-plant:hover { box-shadow: none; }
.sq-undo { left: 16px; right: 16px; margin: 0 auto; width: fit-content; transform: translateY(140%); }
.sq-undo.is-on { transform: translateY(0); }
.sq-undo span { flex: 1; }
.sq-opt-list { grid-template-columns: repeat(auto-fit, minmax(min(100%, 11.5rem), 1fr)); }
@media (max-width: 560px) {
  .sq-opt { padding: 12px 0 14px 12px; }
  .sq-opt-head { padding-right: 8px; }
  .sq-opt-list { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; padding-right: 12px; gap: 10px; }
  .sq-opt-card { flex: 0 0 82%; scroll-snap-align: start; }
}
/* Planner tidy-up: "Right now" card, colour-coded beds */
.gp-rn-h { margin: .7rem 0 .3rem; font-weight: 700; color: var(--fir); font-size: .98rem; }
.gp-rn { list-style: none; margin: 0 0 .5rem; padding: 0; }
.gp-rn li { padding: 7px 0; border-top: 1px solid var(--line); line-height: 1.5; }
.gp-rn li:first-child { border-top: 0; }
.gp-rn .gp-date { display: inline-block; min-width: 4.2rem; font-weight: 700; color: var(--fir); }
.gp-rn-more a { font-size: .95rem; }
.gp-week > .gp-when-note { margin: .2rem 0 .5rem; font-size: .92rem; color: var(--muted); }
.gp-print-only { display: none; }
@media print { .gp-print-only { display: inline; } #gp-guide { display: none !important; } }
.gp-title + .gp-bar { margin-top: .4rem; }
.sq-plant.pc0, .sq-list .pc0 .sq-sw { --pc: #D5E8C4; } .sq-plant.pc1, .sq-list .pc1 .sq-sw { --pc: #F4E1A8; }
.sq-plant.pc2, .sq-list .pc2 .sq-sw { --pc: #F3CDBB; } .sq-plant.pc3, .sq-list .pc3 .sq-sw { --pc: #CFE0EF; }
.sq-plant.pc4, .sq-list .pc4 .sq-sw { --pc: #E2D3F0; } .sq-plant.pc5, .sq-list .pc5 .sq-sw { --pc: #F2CFDD; }
.sq-plant.pc6, .sq-list .pc6 .sq-sw { --pc: #C8E8DF; } .sq-plant.pc7, .sq-list .pc7 .sq-sw { --pc: #E8D7BF; }
:root[data-theme="dark"] .sq-plant.pc0, :root[data-theme="dark"] .sq-list .pc0 .sq-sw { --pc: #3D5A30; }
:root[data-theme="dark"] .sq-plant.pc1, :root[data-theme="dark"] .sq-list .pc1 .sq-sw { --pc: #5E5024; }
:root[data-theme="dark"] .sq-plant.pc2, :root[data-theme="dark"] .sq-list .pc2 .sq-sw { --pc: #633A2A; }
:root[data-theme="dark"] .sq-plant.pc3, :root[data-theme="dark"] .sq-list .pc3 .sq-sw { --pc: #2E4860; }
:root[data-theme="dark"] .sq-plant.pc4, :root[data-theme="dark"] .sq-list .pc4 .sq-sw { --pc: #4B3B62; }
:root[data-theme="dark"] .sq-plant.pc5, :root[data-theme="dark"] .sq-list .pc5 .sq-sw { --pc: #62344A; }
:root[data-theme="dark"] .sq-plant.pc6, :root[data-theme="dark"] .sq-list .pc6 .sq-sw { --pc: #2C564D; }
:root[data-theme="dark"] .sq-plant.pc7, :root[data-theme="dark"] .sq-list .pc7 .sq-sw { --pc: #554532; }
.sq-plant[class*="pc"] { background: var(--pc); }
.sq-plant.is-hl { box-shadow: inset 0 0 0 3px var(--fir); }
.sq-sw { flex: none; width: 6px; align-self: stretch; border-radius: 3px; background: var(--pc); margin-right: -2px; }
.sq-list li[data-pid] { cursor: default; }
.sq-big { position: relative; }
.sq-big em { position: absolute; left: 4px; right: 4px; bottom: 4px; font-style: normal; font-size: .72rem; font-weight: 700; color: var(--fir); text-align: center; line-height: 1.1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
:root[data-theme="dark"] .sq-big em { color: var(--ink); }
.bd-step output { display: flex; flex-direction: column; align-items: center; line-height: 1.05; min-width: 3.4rem; }
.bd-step output small { font-size: .66rem; font-weight: 600; color: var(--muted); }
.gp-rn li { display: grid; grid-template-columns: 4.4rem 1fr; gap: 0 8px; align-items: baseline; }
.gp-rn li > .gp-st:first-child { grid-column: 1 / -1; justify-self: start; margin-bottom: 2px; }
.gp-rn li.gp-rn-more { display: block; }
.gp-bar { gap: 8px; }


/* ==========================================================================
   Site design (Nov 2026): dark header with a search box and a row of section links,
   dark photo page headers with big serif capitals, lime buttons, Inter for text.
   ========================================================================== */
:root {
  --bg: #F5F2EA; --paper: #FFFFFF; --ink: #16211C; --fir: #0F2B22; --muted: #59625C; --line: #E2DCCD;
  --night: #0B1A15; --lime: #C6F06A; --on-night: #FFFFFF; --night-soft: #C9D4CE;
  --btn-bg: #0F2B22; --btn-fg: #C6F06A;
}
:root[data-theme="dark"] {
  --bg: #0E1512; --paper: #16201B; --line: #26332D; --night: #08110D; --btn-bg: #C6F06A; --btn-fg: #0F2B22;
}
html, body { overflow-x: clip; }
body { font-size: 1.0625rem; line-height: 1.65; }
h1, h2 { font-family: var(--display); font-weight: 600; text-transform: uppercase; letter-spacing: .01em; line-height: 1.02; }
h1 { font-size: clamp(2.4rem, 5.4vw, 4rem); }
h2 { font-size: clamp(1.75rem, 3.2vw, 2.4rem); }
h3 { font-family: var(--sans); font-weight: 700; letter-spacing: -.01em; }
.prose h2, .article .prose h2 { text-transform: none; font-size: clamp(1.7rem, 3vw, 2.1rem); line-height: 1.1; }
.yd-card h2, .cm-head h2 { font-family: var(--sans); text-transform: none; font-weight: 700; letter-spacing: -.01em; line-height: 1.2; }
.yd-card h2 { font-size: 1.05rem; }
.eyebrow { font-size: .74rem; letter-spacing: .18em; font-weight: 800; }
.btn { background: var(--btn-bg); color: var(--btn-fg); border-radius: 8px; font-weight: 800; }
.btn-ghost { background: var(--paper); color: var(--fir); }
.signup .btn { background: var(--btn-bg); color: var(--btn-fg); }

/* Header bar */
.site-head { background: var(--night); border-bottom: 0; backdrop-filter: none; -webkit-backdrop-filter: none; color: var(--on-night); }
.site-head::before { display: none; }
.site-head > .wrap { gap: .5rem 1rem; padding-top: 12px; padding-bottom: 12px; }
.brand { color: #fff; font: 600 1.08rem var(--display); letter-spacing: .26em; text-transform: uppercase; gap: 12px; }
.brand img { border-radius: 7px; }
.head-search { flex: 1 1 auto; width: auto; max-width: 26rem; height: 40px; margin-left: .75rem; justify-content: flex-start; gap: 10px; padding: 0 14px; border-radius: 8px; border: 0; background: #fff; color: #5C635E; font-size: .95rem; }
.head-search span { display: inline; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.head-search:hover, .head-search[aria-expanded="true"] { color: var(--fir); box-shadow: 0 0 0 3px color-mix(in srgb, var(--lime) 55%, transparent); }
.town-chip-wrap { margin-right: 0; margin-left: auto; }
.town-chip { color: var(--lime); background: transparent; border-color: color-mix(in srgb, var(--lime) 50%, transparent); }
.town-chip > svg:first-child { color: var(--lime); }
.town-chip .chev { color: var(--night-soft); }
.town-chip:hover, .town-chip[aria-expanded="true"] { border-color: var(--lime); }
.head-cta { border-radius: 8px; background: var(--lime); color: #0F2B22; }
.head-cta[aria-current="page"] { background: #fff; color: #0F2B22; }
.plan-btn { background: var(--lime); color: #0F2B22; border-radius: 8px; }
.plan-btn[aria-current="page"] { background: #fff; color: #0F2B22; }
.menu-btn { background: transparent; border-color: rgba(255, 255, 255, .3); color: #fff; border-radius: 8px; }
@media (max-width: 860px) {
  .head-search { flex: none; width: 40px; max-width: none; margin-left: auto; padding: 0; justify-content: center; border-radius: 8px; border: 1px solid rgba(255, 255, 255, .3); background: transparent; color: #fff; }
  .head-search span { display: none; }
  .brand { margin-right: 0; }
}
@media (max-width: 480px) { .brand { font-size: .84rem; letter-spacing: .14em; gap: 8px; } .brand img { width: 26px; height: 26px; } }
@media (max-width: 350px) { .brand span { display: none; } }

/* Page headers: a dark band under the bar, with the page photo behind the title when there is one. */
main > .crumbs:first-child, main > .hero:first-child, main > .crumbs:first-child + .hero, main > .crumbs:first-child + .article > .hero:first-child {
  background: var(--night); box-shadow: 0 0 0 100vmax var(--night); clip-path: inset(0 -100vmax); color: var(--on-night); }
main > .crumbs:first-child ol { margin: 0; padding-top: 1rem; color: var(--night-soft); font-size: .86rem; }
main > .crumbs:first-child a { color: var(--night-soft); }
main > .hero:first-child, main > .crumbs:first-child + .hero, main > .crumbs:first-child + .article > .hero:first-child { padding: 1.25rem 0 2.75rem; margin-bottom: 2.25rem; }
main > .crumbs:first-child + .hero h1, main > .crumbs:first-child + .article > .hero h1, main > .hero:first-child h1 { color: #fff; }
main > .crumbs:first-child + .hero .lede, main > .crumbs:first-child + .article > .hero .lede, main > .hero:first-child .lede { color: #D2DDD6; }
main > .crumbs:first-child + .hero .eyebrow, main > .crumbs:first-child + .article > .hero .eyebrow, main > .hero:first-child .eyebrow { color: var(--lime); }
main > .crumbs:first-child + .hero > p a, main > .crumbs:first-child + .hero > div > p a, main > .crumbs:first-child + .hero .lede a, main > .hero:first-child .lede a, .hero .byline a { color: var(--lime); }
.hero .byline-d { color: var(--night-soft); }
.hero .home-find-alt a, .hero .link-btn, .hero .tbox-saved, .hero .tbox-saved strong { color: var(--lime); }
.hero .msg { color: #fff; }
.hero .btn { background: var(--lime); color: #0F2B22; }
.hero .ico { background: #fff; border-radius: 50%; }
.hero.has-photo { position: relative; isolation: isolate; display: flex; flex-direction: column; justify-content: flex-end; min-height: clamp(320px, 42vw, 520px); padding-top: 5rem !important; }
.hero-crop.has-photo { align-items: stretch; }
.hero.has-photo > .photo-banner { position: absolute; top: 0; bottom: 0; left: calc(50% - 50vw); right: calc(50% - 50vw); z-index: -2; margin: 0; width: auto; height: auto; max-height: none; aspect-ratio: auto; border-radius: 0; background: var(--night); }
.hero.has-photo > .photo-banner img { filter: none; }
.hero.has-photo::before { content: ""; position: absolute; top: 0; bottom: 0; left: calc(50% - 50vw); right: calc(50% - 50vw); z-index: -1;
  background: linear-gradient(90deg, rgba(8, 20, 15, .9) 0%, rgba(8, 20, 15, .62) 48%, rgba(8, 20, 15, .25) 100%), linear-gradient(0deg, rgba(8, 20, 15, .85), rgba(8, 20, 15, 0) 45%), linear-gradient(180deg, var(--night), rgba(8, 20, 15, 0) 22%); }
.hero.has-photo > div, .hero.has-photo > .lede, .hero.has-photo > h1 { max-width: 44rem; }
@media (max-width: 720px) {
  .hero.has-photo { min-height: 0; padding-top: 7.5rem !important; }
  .hero.has-photo::before { background: linear-gradient(0deg, rgba(8, 20, 15, .95) 0%, rgba(8, 20, 15, .75) 55%, rgba(8, 20, 15, .35) 100%), linear-gradient(180deg, var(--night), rgba(8, 20, 15, 0) 20%); }
  main > .hero:first-child, main > .crumbs:first-child + .hero, main > .crumbs:first-child + .article > .hero:first-child { padding-bottom: 2rem; margin-bottom: 1.75rem; }
}

/* Home: a full photo header with the town box, quick links and the main sections. */
.home-hero { position: relative; isolation: isolate; display: flex; flex-direction: column; min-height: min(86vh, 760px); color: #fff; background: var(--night); box-shadow: 0 0 0 100vmax var(--night); clip-path: inset(0 -100vmax); margin-bottom: 2.5rem; }
.home-photo { position: absolute; top: 0; bottom: 0; left: calc(50% - 50vw); right: calc(50% - 50vw); z-index: -2; margin: 0; }
.home-photo picture, .home-photo img { display: block; width: 100%; height: 100%; object-fit: cover; }
.home-hero::before { content: ""; position: absolute; top: 0; bottom: 0; left: calc(50% - 50vw); right: calc(50% - 50vw); z-index: -1;
  background: linear-gradient(90deg, rgba(8, 20, 15, .9) 0%, rgba(8, 20, 15, .6) 45%, rgba(8, 20, 15, .15) 100%), linear-gradient(0deg, rgba(8, 20, 15, .92), rgba(8, 20, 15, 0) 35%); }
.home-hero .hero { flex: 1; display: flex; flex-direction: column; justify-content: center; padding: 4rem 0 2.25rem; max-width: 40rem; }
.home-hero h1 { color: #fff; font-size: clamp(2.8rem, 6.4vw, 4.8rem); line-height: .96; margin-bottom: 1rem; }
.home-hero .lede { color: #D2DDD6; max-width: 32rem; margin: 0 0 1.4rem; }
.home-hero .eyebrow { color: var(--lime); }
.home-hero .home-find-box { border: 0; border-radius: 10px; box-shadow: 0 20px 50px -20px rgba(0, 0, 0, .6); }
.quick { list-style: none; margin: 1rem 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.quick a { display: inline-flex; align-items: center; gap: 4px; padding: 6px 12px; border-radius: 8px; border: 1px solid rgba(255, 255, 255, .55); background: rgba(255, 255, 255, .06); color: #fff; font-size: .9rem; font-weight: 600; text-decoration: none; white-space: nowrap; }
.quick a:hover { border-color: var(--lime); color: var(--lime); }
.home-hero .trust { color: var(--night-soft); }
.home-hero .trust li::before { background: var(--lime); }
@media (max-width: 720px) {
  .home-hero { min-height: 0; }
  .home-hero .hero { padding: 2.75rem 0 1.5rem; }
  .quick { flex-wrap: nowrap; overflow-x: auto; margin-right: -16px; padding-right: 16px; scrollbar-width: none; }
}

/* Cards and sections */
.cat-tile, .card, .finder, .yd-card { border-radius: 12px; }
.cat-photo { border-radius: 11px 11px 0 0; }
.sec-head a, .home-find-alt a { color: var(--moss); }
.site-foot { background: var(--night); border-top: 0; color: #93A89C; }
.site-foot a { color: #D7E3DC; }
.foot-brand { font-family: var(--display); font-weight: 600; text-transform: uppercase; letter-spacing: .22em; color: #fff; }
.site-foot .owner { border-top-color: rgba(255, 255, 255, .12); }
.hero .gp-privacy summary, .hero .gp-privacy { color: var(--night-soft); }
.hero .gp-privacy summary::before, .hero .gp-privacy summary svg { color: var(--lime); }
.hero .cat-now .tbox-saved, .hero .town-line .tbox-saved, .hero .cat-now .tbox-saved strong, .hero .town-line .tbox-saved strong { color: var(--ink); }
.hero .cat-now .tbox-saved a, .hero .town-line .tbox-saved a, .hero .cat-now .link-btn, .hero .town-line .link-btn { color: var(--moss); }
main > .crumbs:first-child + .hero, main > .crumbs:first-child + .article > .hero:first-child { margin-top: -1px; }


/* ==========================================================================
   Simplify + polish (Nov 2026): one card style, one heading style, one accordion style.
   Color now marks meaning with a small dot or tag, not a thick card edge.
   ========================================================================== */
/* Dark bands: paint the full-width background with border-image instead of a shadow + clip,
   which left a faint line at the bottom edge on some screens. */
main > .crumbs:first-child, main > .hero:first-child, main > .crumbs:first-child + .hero, main > .crumbs:first-child + .article > .hero:first-child, .home-hero {
  box-shadow: none; clip-path: none; border-image: linear-gradient(var(--night), var(--night)) fill 0 / / 0 100vmax; }

/* One card: white, thin line, 12px corners. */
.sci-card, .var-card, .hm-card, .nb-card, .cm-card { border: 1px solid var(--line); border-radius: 12px; }
.pest-card { border-left-color: var(--line); }
.nb-card h3, .cm-card h3, .pest-card h3 { display: flex; align-items: center; gap: 8px; }
.nb-card h3::before, .cm-card h3::before, .pest-card h3::before { content: ""; flex: none; width: 9px; height: 9px; border-radius: 50%; background: var(--dot, var(--moss)); }
.nb-avoid { --dot: var(--warn); }
.pest-card { --dot: var(--ochre); }
.cm-card { --dot: var(--c, var(--moss)); }
.region-card h3 { margin-bottom: .5rem; }

/* One heading: folding sections look like every other section heading, with a small Show/Hide on the right. */
.fold > summary { background: none; border: 0; border-radius: 0; padding: 0; margin: 2.75rem 0 .75rem; min-height: 0; align-items: flex-end; }
.fold > summary h2, .fold > summary h2 { font-size: clamp(1.75rem, 3.2vw, 2.4rem); }
.fold > summary:hover { background: none; }
.fold > summary::after { content: "Show"; width: auto; height: auto; padding: 5px 14px; margin-bottom: 4px; font: 700 .82rem/1.2 var(--sans); letter-spacing: .02em; color: var(--moss); background: none; border: 1px solid var(--line); border-radius: 999px; }
.fold[open] > summary::after { content: "Hide"; }
.fold > summary:hover::after { border-color: var(--moss); }
.fold + .fold > summary { margin-top: 2.25rem; }
.fold:not([open]) > summary { padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.fold:not([open]) + .fold > summary { margin-top: 1.25rem; }

/* One accordion row: the last green-bar folds ("Read more", "Every planting date", town areas) match the white rows. */
.more-fold > summary, .area-group > summary { background: var(--paper); border: 1px solid var(--line); border-radius: 12px; }
.more-fold > summary::after, .area-group > summary::after { width: 26px; height: 26px; font-size: 1.1rem; color: var(--moss); background: none; border: 1.5px solid var(--moss); }
.more-fold > summary:hover, .area-group > summary:hover { background: var(--paper); border-color: var(--moss); }

/* Town pages: an empty "start indoors" or "coming up" column becomes a small box beside the list. */
.now-col.is-empty { align-self: start; background: var(--paper); border: 1px solid var(--line); border-radius: 12px; padding: 14px 18px; }
.now-col.is-empty h3 { font-size: 1rem; margin: 0 0 4px; }
.now-col.is-empty .empty { margin: 0; color: var(--muted); font-size: .95rem; }
@media (min-width: 721px) {
  .now.n1 { grid-template-columns: 2fr 1fr; grid-auto-flow: row dense; }
  .now.n1 > .now-col:not(.is-empty) { grid-column: 1; grid-row: 1 / span 2; }
  .now.n1 > .is-empty { grid-column: 2; }
  .now.n1 > .now-col:not(.is-empty) ul { columns: 2; column-gap: 28px; }
  .now.n1 li { break-inside: avoid; }
  .now.n2 { grid-template-columns: 1fr 1fr; }
  .now.n2 > .is-empty { grid-column: 1 / -1; }
}

/* Home */
.why-dates h2 { text-transform: uppercase; font-size: clamp(1.75rem, 3.2vw, 2.4rem); line-height: 1.02; }
.garden-photos .garden-grid img { aspect-ratio: 3 / 2; height: auto; object-fit: cover; }
@media (min-width: 721px) {
  .plan-cta { flex-wrap: nowrap; }
  .plan-cta > div:first-child { flex: 1 1 auto; }
  .plan-cta-btns { flex: none; flex-direction: column; align-items: stretch; }
  .plan-cta-btns .btn { text-align: center; }
}

/* Plant pages: the how-to video is a supporting item, so it's smaller. */
@media (min-width: 721px) { .video { max-width: 34rem; } }

/* Articles on wide screens: "On this page" moves to a sticky column on the right. */
@media (min-width: 1100px) {
  .article { display: grid; grid-template-columns: minmax(0, 46rem) minmax(0, 1fr); column-gap: 4rem; }
  .article > * { grid-column: 1 / -1; }
  .article > .prose, .article > .sprout-rule, .article > .author-box { grid-column: 1; }
  .article > .prose { grid-row: 2; }
  .article > .jump { grid-column: 2; grid-row: 2 / span 3; align-self: start; position: sticky; top: 1.5rem; flex-direction: column; flex-wrap: nowrap; gap: 2px; margin: 0; padding: 4px 0 4px 20px; border-left: 1px solid var(--line); }
  .article > .jump > span { font-size: .72rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-bottom: 6px; align-self: flex-start; }
  .article > .jump a { padding: 6px 0; border-radius: 0; background: none; color: var(--fir); font-weight: 600; line-height: 1.35; }
  .article > .jump a:hover { background: none; color: var(--moss); text-decoration: underline; }
}

/* Jump links land below the header bar. */
main [id] { scroll-margin-top: 84px; }

/* White cards inside the dark page header use dark text (they were inheriting the header's white text). */
.hero .yd-card, .hero .cat-now, .hero .town-line { color: var(--ink); }
.hero .yd-card .pick-now b { color: var(--fir); }
.hero .yd-card a { color: var(--moss); }

/* Plant page intro: what the plant is, right under the header (scripts/plant-intros.js). */
.plant-intro { font-size: 1.12rem; line-height: 1.65; max-width: 44rem; margin: 1.5rem 0 1.25rem; }
/* Plant page "Add to my garden plan" button, under the intro. */
.plan-add { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 18px; margin: 0 0 1.75rem; }
.plan-add .btn { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; }
.plan-add .btn-ghost svg { color: var(--moss); }
.plan-add-note { margin: 0; color: var(--muted); font-size: .98rem; max-width: 26rem; }
@media (max-width: 560px) { .plan-add .btn { width: 100%; justify-content: center; } }
@media print { .plan-add { display: none; } }
/* Just added from a plant page: pulse the plant's squares and its row in the beds. */
@keyframes rl-new { 0%, 100% { box-shadow: 0 0 0 0 rgba(166, 214, 70, 0); } 30%, 70% { box-shadow: 0 0 0 4px var(--moss); } }
.sq.is-new, .sq-list li.is-new, .sq-ground li.is-new { animation: rl-new 1.4s ease-in-out 3; position: relative; z-index: 1; }
.sq-list li.is-new, .sq-ground li.is-new { background: color-mix(in srgb, var(--moss) 10%, transparent); border-radius: 10px; }
@media (prefers-reduced-motion: reduce) { .sq.is-new, .sq-list li.is-new, .sq-ground li.is-new { animation: none; box-shadow: 0 0 0 3px var(--moss); } }

/* Header: one row. Logo, three main links + Learn dropdown, search, town, My garden plan.
 * After scrolling past the page header (nav.js adds .is-small) the bar gets shorter. */
.site-head > .wrap { transition: padding .2s; }
.site-head .brand { flex: none; }
.head-links { flex: none; display: flex; align-items: center; gap: 18px; margin-left: 24px; font-size: .94rem; font-weight: 600; }
.head-links > a, .head-links .nav-more-btn { padding: 8px 0; border-radius: 0; background: none; color: var(--night-soft); text-decoration: none; white-space: nowrap; }
.head-links > a:hover, .head-links .nav-more-btn:hover, .head-links .nav-more-btn[aria-expanded="true"] { background: none; color: #fff; }
.head-links > a[aria-current="page"], .head-links .nav-more-btn.is-current { background: none; color: #fff; font-weight: 600; box-shadow: inset 0 -2px 0 var(--lime); }
.head-links .nav-more-btn { font-weight: 600; }
.head-links .nav-menu { left: 0; transform: none; width: 20rem; color: var(--ink); }
.nav-menu .theme-row { margin-top: 6px; padding: 9px 12px; font-size: .98rem; }
.site-head .head-search { margin-left: auto; background: rgba(255, 255, 255, .08); color: var(--night-soft); border: 1px solid rgba(255, 255, 255, .2); }
.site-head .head-search:hover, .site-head .head-search[aria-expanded="true"] { color: #fff; border-color: rgba(255, 255, 255, .45); box-shadow: none; }
.site-head .town-chip-wrap { flex: 0 1 auto; min-width: 0; margin-left: 0; }
.site-head .town-chip { max-width: 100%; }
.head-where { display: none; align-items: center; gap: 6px; min-width: 0; margin: 0 0 0 14px; color: var(--night-soft); font-size: .93rem; font-weight: 600; white-space: nowrap; }
.head-where b { overflow: hidden; text-overflow: ellipsis; color: #fff; }
.site-head.is-small > .wrap { padding-top: 7px; padding-bottom: 7px; }
.site-head.is-small { box-shadow: 0 6px 18px rgba(0, 0, 0, .18); }
/* Wide screens keep every menu link in the slim bar. Phones (where the links live in the menu) swap the
 * site name for where you are. */
@media (max-width: 860px) {
  .site-head.is-small.has-where .brand span { display: none; }
  .site-head.is-small.has-where .head-where { display: flex; }
}
/* The bar is as wide as the page column, so search is an icon and the plan button says "My plan" at every width. */
.site-head .head-search { flex: none; width: 40px; padding: 0; justify-content: center; }
.site-head .head-search span { display: none; }
.site-head .cta-long { display: none; }
.site-head .cta-short { display: inline; }
.site-head .brand { letter-spacing: .16em; }
@media (max-width: 1240px) {
  .site-head .brand { margin-right: 0; }
  .site-head .town-chip-wrap { display: none; }
  .head-links { gap: 18px; margin-left: 18px; }
  .site-head .brand { letter-spacing: .14em; }
}
@media (max-width: 940px) { .brand span { display: none; } }
@media (max-width: 860px) {
  .head-links { display: none; }
  .brand span { display: inline; }
  .site-head .head-search { margin-left: auto; background: transparent; }
  .head-where { margin-left: 4px; font-size: .95rem; }
  .head-where .hw-sec { display: none; }
}
/* Phone menu: dark like the bar, with a search box at the top. */
.site-menu { background: var(--night); color: #fff; border-top: 1px solid rgba(255, 255, 255, .1); }
.site-menu .menu-h { color: var(--lime); }
.site-menu .menu-cols a { color: #fff; border-color: rgba(255, 255, 255, .1); }
.site-menu .menu-cols a[aria-current="page"] { color: var(--lime); }
.site-menu .menu-town { background: rgba(198, 240, 106, .12); color: #fff; }
.site-menu .menu-town a { color: var(--lime); }
.site-menu .theme-row { background: rgba(255, 255, 255, .06); border-color: rgba(255, 255, 255, .14); color: #fff; }
.menu-search { display: flex; align-items: center; gap: 10px; width: 100%; height: 46px; margin: 0 0 14px; padding: 0 14px; border: 0; border-radius: 8px; background: #fff; color: #5C635E; font: inherit; font-size: 1rem; cursor: pointer; }

/* Town note: a pin card under the frost dates on town pages (scripts/town-notes.js) */
.town-note { display: flex; gap: 14px; align-items: flex-start; background: var(--paper); border: 1px solid var(--line); border-left: 4px solid var(--moss); border-radius: 12px; padding: 16px 18px; margin: 1.25rem 0 1.5rem; max-width: 46rem; }
.town-note > svg { flex: none; color: var(--moss); margin-top: 3px; }
.town-note h2 { font-family: var(--sans); text-transform: none; letter-spacing: 0; font-size: 1.05rem; line-height: 1.3; margin: 0 0 .3rem; color: var(--fir); font-weight: 800; }
.town-note p { margin: 0; line-height: 1.6; }

/* Plant now (/plant-now/, assets/plantnow.js): your town this week, coming up, and a few of this month's jobs */
.pnf-hero { padding-bottom: 1.6rem; }
.pnf-hero h1 { margin-bottom: .7rem; }
.pnf-hero .pn-change { color: var(--lime); font-size: inherit; letter-spacing: inherit; text-transform: inherit; text-decoration: underline; text-underline-offset: 3px; margin-left: .3rem; }
.pnf-facts { display: flex; flex-wrap: wrap; gap: .45rem; margin: 0; padding: 0; list-style: none; }
.pnf-facts li { font-size: .88rem; padding: .3rem .7rem; border-radius: 99px; border: 1px solid rgba(255, 255, 255, .2); color: var(--night-soft); }
.pnf-facts li strong { color: var(--on-night); font-weight: 600; }
.pnf-facts li.tag { background: var(--lime); color: #0F2B22; border-color: transparent; font-weight: 700; }
.pnf-pick { max-width: 40rem; margin: 1.5rem 0 2rem; }
.pnf-popular { display: flex; flex-wrap: wrap; gap: .4rem; align-items: center; font-size: .92rem; margin-top: 1rem; }
.pnf-popular span { color: var(--muted); margin-right: .2rem; }
.pnf-popular a { padding: .25rem .75rem; border: 1px solid var(--line); border-radius: 99px; background: var(--paper); color: var(--ink); text-decoration: none; }
.pnf-popular a:hover { border-color: var(--moss); }
.pnf-sec { margin: 1.6rem 0; }
.pnf-sec h2 { font-size: clamp(1.45rem, 2.4vw, 1.8rem); margin: 0; }
.pnf-head { display: flex; align-items: baseline; gap: .8rem; flex-wrap: wrap; margin: 0 0 .7rem; }
.pnf-head p { margin: 0; color: var(--muted); font-size: .92rem; }
.pnf-cards { display: grid; grid-template-columns: repeat(6, 1fr); gap: .7rem; }
.pnf-card { display: block; background: var(--paper); border: 1px solid var(--line); border-radius: 12px; overflow: hidden; color: var(--ink); text-decoration: none; }
.pnf-card:hover { border-color: var(--moss); }
.pnf-card > img, .pnf-card .ph-ico { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; display: grid; place-items: center; background: var(--sand); }
.pnf-card .t { display: block; padding: .45rem .6rem .6rem; }
.pnf-card strong { display: block; font-size: .95rem; }
.pnf-card .t > span { display: block; font-size: .78rem; color: var(--muted); }
.pnf-card em { font-style: normal; display: inline-block; margin-top: .3rem; font-size: .74rem; font-weight: 700; padding: .1rem .45rem; border-radius: 99px; background: var(--moss-soft); color: var(--moss); }
.pnf-card em.last { background: var(--mod-bg); color: var(--mod); }
:root[data-theme="dark"] .pnf-card > img { filter: brightness(.85); }
.pnf-empty { display: flex; gap: .9rem; align-items: center; flex-wrap: wrap; background: var(--paper); border: 1px solid var(--line); border-left: 5px solid var(--moss); border-radius: 12px; padding: .8rem 1rem; }
.pnf-empty p { margin: 0; }
.pnf-empty .big { font-weight: 700; }
.pnf-empty .small { color: var(--muted); font-size: .9rem; }
.pnf-empty .chips { display: flex; flex-wrap: wrap; gap: .3rem; }
.pnf-empty .chips a { display: inline-flex; align-items: center; gap: .3rem; font-size: .8rem; padding: .1rem .5rem .1rem .2rem; border: 1px solid var(--line); border-radius: 99px; color: var(--muted); text-decoration: none; background: var(--bg); }
.pnf-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 2.2rem; align-items: start; }
.pnf-box { background: var(--paper); border: 1px solid var(--line); border-radius: 12px; }
.pnf-jobs { list-style: none; margin: 0; padding: 0; }
.pnf-jobs li { padding: .6rem .85rem; border-bottom: 1px solid var(--line); font-size: .94rem; line-height: 1.4; }
.pnf-jobs li:last-child { border-bottom: 0; }
.pnf-jobs small { display: block; font-size: .7rem; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); font-weight: 700; }
.pnf-tl { list-style: none; margin: 0; padding: .3rem .9rem; }
.pnf-tl li { display: grid; grid-template-columns: 4.6rem 1fr; gap: .6rem; padding: .55rem 0; border-bottom: 1px solid var(--line); }
.pnf-tl li:last-child { border-bottom: 0; }
.pnf-tl .d { font-weight: 700; color: var(--moss); font-size: .9rem; line-height: 1.2; }
.pnf-tl .d small { display: block; font-weight: 500; color: var(--muted); font-size: .74rem; margin-top: .15rem; }
.pnf-tl .row { display: flex; flex-wrap: wrap; gap: .3rem; }
.pnf-tl .row a { display: inline-flex; align-items: center; gap: .3rem; padding: .12rem .55rem .12rem .15rem; background: var(--bg); border: 1px solid var(--line); border-radius: 99px; color: var(--ink); text-decoration: none; font-size: .84rem; }
.pnf-tl .row a img { width: 22px; height: 22px; border-radius: 50%; object-fit: cover; }
.pnf-links { display: flex; gap: 1rem; flex-wrap: wrap; align-items: center; margin: .7rem 0 0; font-size: .92rem; }
.pnf-src { font-size: .8rem; color: var(--muted); margin: 1.6rem 0 1rem; }
@media (max-width: 980px) { .pnf-cards { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 820px) {
  .pnf-cols { grid-template-columns: 1fr; gap: 0; }
  .pnf-cards { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; margin: 0 -16px; padding: 0 16px .3rem; }
  .pnf-card { flex: 0 0 38%; scroll-snap-align: start; }
}

/* Month by month pages: your town's region, one summary table of what goes in, then jobs filtered to your region */
.mb-mine { background: var(--paper); border: 1px solid var(--line); border-left: 5px solid var(--moss); border-radius: 12px; padding: .9rem 1.1rem; margin: 1.5rem 0 0; max-width: 52rem; }
.mb-mine p { margin: .15rem 0; }
.mb-mine-links { display: flex; gap: 1rem; flex-wrap: wrap; align-items: center; margin-top: .6rem !important; }
.mb-lede { color: var(--muted); }
.mb-plants { display: flex; flex-wrap: wrap; gap: .5rem; margin: .4rem 0 1rem; }
.mb-plants a { display: inline-flex; align-items: center; gap: .45rem; padding: .3rem .8rem .3rem .3rem; border: 1px solid var(--line); border-radius: 99px; background: var(--paper); color: var(--ink); text-decoration: none; }
.mb-plants a:hover { border-color: var(--moss); }
.mb-reg { width: 100%; border-collapse: collapse; background: var(--paper); }
.mb-reg th, .mb-reg td { padding: .6rem .9rem; text-align: left; border-bottom: 1px solid var(--line); font-size: .95rem; }
.mb-reg thead th { font-size: .75rem; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
.mb-reg tr.is-mine { background: var(--moss-soft); }
.mb-reg tr.is-mine th::after { content: "Your town"; margin-left: .5rem; font-size: .7rem; font-weight: 700; padding: .1rem .45rem; border-radius: 99px; background: var(--moss); color: var(--on-moss); white-space: nowrap; }
.mb-closed { color: var(--muted); }
.mb-bar { position: relative; display: block; height: 10px; background: var(--line); border-radius: 99px; min-width: 120px; }
.mb-bar i { position: absolute; top: 0; bottom: 0; background: var(--moss); border-radius: 99px; }
.mb-filter { margin: .3rem 0 1rem; }
.mb-jobs .cm-card[hidden], .mb-jobs li[hidden] { display: none; }
@media (max-width: 820px) { .mb-barcell { display: none; } }
