:root {
  --bg: #F2F4F6;
  --paper: #FFFFFF;
  --ink: #1A232B;
  --fir: #24374A;
  --muted: #56636E;
  --line: #D6DCE2;
  --moss: #3E7C8C;
  --moss-soft: #D6E7EC;
  --ochre: #B85C34;
  --frost: #C3CDD6;
  --frost-hard: #8C9DAD;
  --free: #F3EEDF;
  --warn: #9A3412;
  --focus: #2F6FA3;
  --sand: #F6EFE0; --sky: #E3EEF4; --leaf: #E2F0DA;
  --easy-bg: #E2F0DA; --easy: #2F5D26; --mod-bg: #FBEBD3; --mod: #8A5A12; --hard-bg: #F9DED6; --hard: #9A3412;
  --serif: "Alegreya", Georgia, serif;
  --sans: "Alegreya Sans", system-ui, sans-serif;
  color-scheme: light;
}
:root[data-theme="dark"] {
  --bg: #11161B; --paper: #172029; --ink: #E3E8EC; --fir: #C9D8E6; --muted: #A0ACB6; --line: #2A3540;
  --moss: #6FB0C0; --moss-soft: #1E3540; --ochre: #E08A5E; --frost: #3A4A58; --frost-hard: #566878;
  --free: #2A2922; --warn: #F0A27A; --focus: #8CC0EA; color-scheme: dark;
    --sand: #2A2620; --sky: #1B2A35; --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. Fine slanted strokes 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);
  background-image: repeating-linear-gradient(105deg, transparent 0 14px, color-mix(in srgb, var(--frost) 55%, transparent) 14px 15px); }
.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; margin-right: auto; }
.brand img { display: block; border-radius: 8px; }
.nav { display: flex; gap: 2px; font-size: 1rem; }
.nav a { text-decoration: none; color: var(--muted); padding: 6px 12px; border-radius: 999px; white-space: nowrap; transition: background-color .15s, color .15s; }
.nav a:hover { color: var(--fir); background: color-mix(in srgb, var(--moss) 12%, transparent); }
.nav a[aria-current="page"] { color: var(--fir); background: var(--moss-soft); font-weight: 700; }
.theme-btn { flex: none; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line); background: var(--paper); color: var(--fir); cursor: pointer; }
.theme-btn:hover { border-color: var(--moss); }
.theme-btn .i-sun { display: none; }
:root[data-theme="dark"] .theme-btn .i-sun { display: block; }
:root[data-theme="dark"] .theme-btn .i-moon { display: none; }
: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); }
.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; }
.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; }
.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: 52rem; }
.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(--fir); color: var(--bg); 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; }

.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 { position: relative; margin: 1rem 0 .5rem; background: var(--paper); border: 1px solid var(--line); border-radius: 8px; padding: 10px 14px 12px; }
.row { display: grid; grid-template-columns: 11.5rem 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%; }
.row-head .track { height: 22px; background: none; }
.months span { position: absolute; top: 0; font-size: .85rem; color: var(--muted); padding-left: 3px; }
.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; }
.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(--moss); }
.bar-fall { background: var(--ochre); }
.bar-in { border: 2px dashed var(--moss); background: var(--moss-soft); }
.today { position: absolute; top: 34px; bottom: 10px; pointer-events: none; border-left: 2px solid var(--warn);
  left: calc(14px + 11.5rem + (100% - 28px - 11.5rem) * var(--f)); }
.today span { position: absolute; top: -24px; left: -2px; font-size: .8rem; font-weight: 700; color: var(--warn); background: var(--paper); padding: 0 4px; }
.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; }
.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 { margin: 1.25rem 0 0; border-radius: 14px; overflow: hidden; height: clamp(170px, 30vw, 330px); background: var(--sky); }
.hero-art img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 100%; display: block; }
.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; }
.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); }
.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: #fff; }
.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 div { padding: 12px 0; border-bottom: 1px solid var(--line); scroll-margin-top: 16px; }
.glossary div:target { background: var(--sand); }
.glossary dt { font-family: var(--serif); font-weight: 700; font-size: 1.15rem; color: var(--fir); }
.glossary dd { margin: 4px 0 0; }
.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; }
.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-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 { 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); }

@media (max-width: 860px) {
  .site-head .wrap { flex-wrap: wrap; }
  .nav { order: 3; flex-basis: 100%; overflow-x: auto; scrollbar-width: none; margin: 0 -16px; padding: 0 12px 2px; }
  .nav::-webkit-scrollbar { display: none; }
}
@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; }
  .author-box { padding: 16px; gap: 14px; }
  .profile-body { padding: 0 18px 18px; }
  .profile-cover { height: 110px; }
  .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 { padding: 8px 10px 10px; }
  .row { grid-template-columns: 1fr; min-height: 0; }
  .lbl { padding: 6px 0 2px; font-size: .92rem; }
  .row-head .lbl { display: none; }
  .months span { font-size: .72rem; padding-left: 1px; }
  .row-head .track { height: 18px; }
  .today { top: 30px; left: calc(10px + (100% - 20px) * var(--f)); }
  .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; }
  .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; }
}
@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-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; }
@media (max-width: 560px) {
  .gp-task label { grid-template-columns: 24px 1fr; }
  .gp-text { grid-column: 2; }
}

/* Plant helper (assets/helper.js): glass panel with the same rain-line texture as the header */
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.hb-btn, .hb-panel { --hb-glass: color-mix(in srgb, var(--paper) 93%, transparent); --hb-rain: repeating-linear-gradient(105deg, transparent 0 14px, color-mix(in srgb, var(--frost) 45%, transparent) 14px 15px); --hb-shadow: 0 24px 60px -12px rgba(16, 30, 44, .35), 0 0 0 1px color-mix(in srgb, var(--fir) 8%, transparent); }
.hb-btn { position: fixed; right: 22px; bottom: 22px; z-index: 40; display: flex; align-items: center; gap: 10px; font: inherit; font-weight: 700; font-size: 1rem; height: 50px; padding: 0 10px 0 6px; border: 1px solid var(--line); border-radius: 16px; background: var(--hb-glass); background-image: var(--hb-rain); backdrop-filter: blur(14px) saturate(1.4); -webkit-backdrop-filter: blur(14px) saturate(1.4); color: var(--fir); cursor: pointer; box-shadow: var(--hb-shadow); transition: transform .2s, box-shadow .2s, opacity .2s; }
.hb-btn:hover { transform: translateY(-2px); border-color: var(--moss); }
.hb-btn.is-open { opacity: 0; pointer-events: none; transform: scale(.9); }
.hb-btn-ico { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 11px; background: var(--paper); box-shadow: inset 0 0 0 1px var(--line); }
.hb-btn-ico img, .hb-logo img { display: block; border-radius: 6px; }
.hb-kbd { font: 700 .78rem/1 ui-monospace, SFMono-Regular, Menlo, monospace; padding: 5px 7px; border-radius: 6px; border: 1px solid var(--line); border-bottom-width: 2px; color: var(--muted); background: var(--paper); }
.hb-panel { position: fixed; right: 22px; bottom: 22px; z-index: 41; width: min(400px, calc(100vw - 44px)); height: min(640px, calc(100vh - 110px)); display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: 22px; background: var(--hb-glass); backdrop-filter: blur(18px) saturate(1.4); -webkit-backdrop-filter: blur(18px) saturate(1.4); box-shadow: var(--hb-shadow); overflow: hidden; transform-origin: bottom right; animation: hb-in .24s cubic-bezier(.2, .8, .3, 1); }
.hb-panel[hidden] { display: none; }
@keyframes hb-in { from { opacity: 0; transform: translateY(14px) scale(.96); } to { opacity: 1; transform: none; } }
.hb-head { display: flex; align-items: center; gap: 12px; padding: 12px 12px 12px 14px; border-bottom: 1px solid var(--line); background-image: var(--hb-rain); }
.hb-logo { flex: none; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: var(--paper); box-shadow: inset 0 0 0 1px var(--line), 0 2px 6px rgba(16, 30, 44, .08); }
.hb-logo-sm { width: 28px; height: 28px; border-radius: 9px; }
.hb-logo-sm img { width: 16px; height: 16px; }
.hb-logo-lg { width: 56px; height: 56px; border-radius: 16px; margin: 0 auto 12px; }
.hb-logo-lg img { width: 30px; height: 30px; }
.hb-title { flex: 1; min-width: 0; line-height: 1.25; }
.hb-title strong { display: block; font-family: var(--serif); font-size: 1.15rem; color: var(--fir); }
.hb-title span { display: flex; align-items: center; gap: 6px; font-size: .82rem; color: var(--muted); }
.hb-dot { width: 7px; height: 7px; border-radius: 50%; background: #3FA36B; box-shadow: 0 0 0 3px color-mix(in srgb, #3FA36B 22%, transparent); }
.hb-icon { flex: none; display: grid; place-items: center; width: 34px; height: 34px; border: 1px solid var(--line); border-radius: 50%; background: var(--paper); color: var(--muted); cursor: pointer; transition: color .15s, border-color .15s; }
.hb-icon:hover { color: var(--fir); border-color: var(--moss); }
.hb-log { flex: 1; overflow-y: auto; padding: 18px 16px; display: flex; flex-direction: column; gap: 14px; font-size: .98rem; line-height: 1.55; scrollbar-width: thin; }
.hb-welcome { margin: auto 0; text-align: center; padding: 6px 4px; }
.hb-welcome h2 { font-size: 1.45rem; margin: 0 0 .3rem; color: var(--fir); }
.hb-welcome p { margin: 0 auto 16px; max-width: 30ch; color: var(--muted); font-size: .95rem; }
.hb-sugs { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; text-align: left; }
.hb-sug { display: flex; align-items: center; gap: 9px; min-height: 54px; padding: 8px 10px; font: inherit; font-size: .9rem; line-height: 1.3; color: var(--ink); border: 1px solid var(--line); border-radius: 14px; background: var(--paper); cursor: pointer; text-align: left; transition: border-color .15s, transform .15s, box-shadow .15s; }
.hb-sug:hover { border-color: var(--moss); transform: translateY(-1px); box-shadow: 0 6px 16px -8px rgba(16, 30, 44, .3); }
.hb-sug-i { flex: none; display: grid; place-items: center; width: 32px; height: 32px; border-radius: 10px; background: var(--moss-soft); color: var(--moss); }
.hb-sugs-inline { margin-top: 10px; }
.hb-msg { animation: hb-msg .25s ease-out; }
@keyframes hb-msg { from { opacity: 0; transform: translateY(6px); } }
.hb-you { align-self: flex-end; max-width: 82%; padding: 8px 14px; border-radius: 16px 16px 4px 16px; background: var(--fir); color: var(--paper); overflow-wrap: anywhere; }
.hb-bot { display: flex; gap: 10px; align-items: flex-start; max-width: 100%; }
.hb-body { flex: 1; min-width: 0; padding-top: 2px; overflow-wrap: anywhere; }
.hb-body strong { color: var(--fir); }
.hb-body ul { margin: 6px 0; padding-left: 1.1rem; }
.hb-body li + li { margin-top: 4px; }
.hb-link { display: flex; width: fit-content; align-items: center; gap: 2px; margin-top: 8px; padding: 5px 12px; border: 1px solid color-mix(in srgb, var(--moss) 35%, var(--line)); border-radius: 999px; background: var(--moss-soft); color: var(--fir); font-size: .88rem; font-weight: 700; text-decoration: none; transition: border-color .15s; }
.hb-link:hover { border-color: var(--moss); }
.hb-note { display: block; margin-top: 6px; padding: 6px 10px; border-radius: 10px; font-size: .85rem; color: var(--muted); background: color-mix(in srgb, var(--frost) 25%, transparent); }
.hb-typing .hb-body { display: flex; gap: 5px; padding-top: 10px; }
.hb-typing i { width: 7px; height: 7px; border-radius: 50%; background: var(--moss); opacity: .35; animation: hb-blink 1s infinite ease-in-out; }
.hb-typing i:nth-child(2) { animation-delay: .15s; } .hb-typing i:nth-child(3) { animation-delay: .3s; }
@keyframes hb-blink { 40% { opacity: 1; transform: translateY(-3px); } }
.hb-form { padding: 10px 14px 10px; border-top: 1px solid var(--line); }
.hb-input { display: flex; align-items: center; gap: 8px; padding: 5px 5px 5px 14px; border: 1px solid var(--line); border-radius: 14px; background: var(--paper); transition: border-color .15s, box-shadow .15s; }
.hb-input:focus-within { border-color: var(--moss); box-shadow: 0 0 0 4px color-mix(in srgb, var(--moss) 18%, transparent); }
.hb-input input { flex: 1; min-width: 0; font: inherit; font-size: 1rem; padding: 8px 0; border: 0; background: transparent; color: var(--ink); outline: none; }
.hb-send { flex: none; display: grid; place-items: center; width: 36px; height: 36px; border: 0; border-radius: 10px; background: linear-gradient(160deg, var(--moss), color-mix(in srgb, var(--moss) 60%, var(--fir))); color: #fff; cursor: pointer; transition: opacity .15s, transform .15s; }
.hb-send:disabled { opacity: .35; cursor: default; }
.hb-send:not(:disabled):hover { transform: translateY(-1px); }
.hb-foot { margin: 7px 0 0; text-align: center; font-size: .74rem; color: var(--muted); }
:root[data-theme="dark"] .hb-btn, :root[data-theme="dark"] .hb-panel { --hb-glass: color-mix(in srgb, var(--paper) 94%, transparent); --hb-shadow: 0 24px 60px -12px rgba(0, 0, 0, .6), 0 0 0 1px rgba(255, 255, 255, .04); }
:root[data-theme="dark"] .hb-send, :root[data-theme="dark"] .hb-you { color: #0E1A20; }
@media (prefers-reduced-motion: reduce) { .hb-panel, .hb-msg { animation: none; } .hb-btn, .hb-sug { transition: none; } }
@media (max-width: 560px) {
  .hb-btn { right: 14px; bottom: 14px; padding: 0 5px; height: 52px; }
  .hb-btn-t, .hb-kbd { display: none; }
  .hb-btn-ico { width: 40px; height: 40px; }
  .hb-panel { right: 0; bottom: 0; width: 100vw; height: 88vh; height: 88dvh; border-radius: 22px 22px 0 0; border-bottom: 0; }
  .hb-sug { font-size: .86rem; }
}
@media (hover: none) { .hb-kbd { display: none; } }
@media print {
  .site-head, .site-foot, .finder, .theme-btn, .ad-slot, .nav, .hero-art, .signup, .gear, .beginner, .browse, .crumbs, .hb-btn, .hb-panel { display: none !important; }
  body { background: #fff; }
  .gp-bar, .gp-pick, #gp-form, #gp-msg, .hero .lede, .crumbs, .plan-link, .plan-cta { 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; }
}
