@font-face { font-family: "Libre Baskerville"; font-weight: 400; font-display: swap; src: url(/fonts/libre-baskerville-400.woff2) format("woff2"); }
@font-face { font-family: "Inter"; font-weight: 400; font-display: swap; src: url(/fonts/inter-400.woff2) format("woff2"); }
@font-face { font-family: "Inter"; font-weight: 500; font-display: swap; src: url(/fonts/inter-500.woff2) format("woff2"); }
@font-face { font-family: "Inter"; font-weight: 600; font-display: swap; src: url(/fonts/inter-600.woff2) format("woff2"); }

:root {
  --paper: #e5e6d7; --ink: #26332b; --pine: #2e4632; --pine-sub: #d3dcc8; --muted: #58624f; --line: #6f7666; --hair: #cdcfbd;
  --surface: #eeeee3; --press: #dcdecb; --field: #f4f4ec;
  --water: #24648a; --rain: #5d6f7f; --need: var(--pine); --ours: #80600f; --nbr: #7a8175; --heat: #983a1c;
  --track: #d3d5c2; --art: #6f7666; --lawn: #4a6a4e; --leaf: #4a6a4e;   /* the lawn's own green: lot bar, share-card grass (illustration, not UI) */ --pave: #c2c4af;
  --shadow: rgba(0, 0, 0, .12); --print-paper: #fff;
  --old-opacity: .38; --old-filter: none; --tan-filter: none;
  --serif: "Libre Baskerville", Georgia, serif; --sans: "Inter", -apple-system, "Segoe UI", sans-serif;
  --r: 8px; --rd: 2px; --g: 20px;
  /* "use my current location" (design-2): named from the palette above, so they follow the theme */
  --loc-icon: var(--need); --loc-busy: var(--need); --loc-sugg: var(--water); --loc-hint: var(--ink);
  --loc-panel: var(--paper); --loc-line: var(--hair); --loc-press: var(--press); --loc-muted: var(--muted);
  --loc-shadow: var(--shadow);

  /* ---- design tokens (docs/DESIGN.md §5; tools/design_guard.py enforces them). Fitted to the sizes already in use, so
     moving onto them changed nothing visible. */
  /* type scale, ~1.15 steps from the 17 px body (Utopia step names; fixed today, tools/gen_scale.py emits clamp() if
     we go fluid). Off-scale sizes still in use are listed in tools/design_baseline.json and may only shrink. */
  --step--2: 17px; --step--1: 17px; --step-0: 17px; --step-1: 20px; --step-2: 24px; --step-3: 24px; --step-4: 34px;
  --step-5: 34px; --step-6: 34px; --step-7: 34px;
  /* space scale: 2 px steps to 16, 4 px steps to 32, then 40 · 48 · 56 · 64. Use the raw px on the scale or these. */
  --sp-1: 4px; --sp-2: 8px; --sp-3: 12px; --sp-4: 16px; --sp-5: 20px; --sp-6: 24px; --sp-7: 28px; --sp-8: 32px;
  --sp-10: 40px; --sp-12: 48px; --sp-14: 56px; --sp-16: 64px;
  /* strokes: flat and thin, all the way round (never a coloured edge on one side) */
  --stroke: 1px; --stroke-focus: 1.5px; --stroke-sel: 2.5px; --stroke-icon: 1.6;
  /* the report's dark week hero (design-4): its subline and icons */
  --hero-sub: var(--pine-sub); --hero-ic: #a9d0e8;
  /* depth: two elevations only, for things that float over the page: a dropdown panel (suggestions, location list) and
     the sticky report tab bar. Everything else is flat. */
  --elev-pop: 0 12px 28px var(--shadow); --elev-sticky: 0 6px 16px var(--shadow);
  /* motion: UI is short (press, toggle, enter/leave); the art (intro lawn, report build) may be longer and springy */
  --dur-1: .12s; --dur-2: .2s; --dur-3: .3s; --dur-4: .4s; --dur-loop: 1s;
  --dur-art-1: .5s; --dur-art-2: .6s; --dur-art-3: .9s;
  --ease: ease; --ease-loop: ease-in-out;
  --ease-grow: cubic-bezier(.2, .9, .3, 1.2); --ease-pop: cubic-bezier(.2, 1.4, .4, 1);   /* art only */
  /* the home lawn (motion round 5 "I · Real", lawn-real.js reads these as --lawn-<name>): colours sampled from real
     timelapses (straw -> yellow-green -> green), muted to sit on --paper; each stage has a dark base, a mid and a light tip.
     The share card's lawn uses them too. --lawn-h: an accent, never the show (<= 22 % of the screen). */
  --lawn-soil-far: #cdc3a2; --lawn-soil: #b5a67f; --lawn-soil-speck: #8f7f5e; --lawn-straw: #b2a46e; --lawn-straw-dark: #8f8358;
  --lawn-g0-base: #86a08a; --lawn-g0-mid: #a0b8a3; --lawn-g0-tip: #bccfbe;
  --lawn-g1-base: #587a5e; --lawn-g1-mid: #76967b; --lawn-g1-tip: #a0b9a3;
  --lawn-g2-base: #3d5a42; --lawn-g2-mid: #5a7a5f; --lawn-g2-tip: #8aa78d;
  --lawn-runner: #9b8058; --lawn-petal: #fbfaf4; --lawn-petal-line: #cfcdb8; --lawn-eye: #d29a23;
  --lawn-h: clamp(130px, 22vh, 196px); --lawn-h: clamp(130px, 22svh, 196px);
  color-scheme: light;
}
/* Light only for now (Ken, 2026-10-13). Every colour above is a token, so dark mode later is a token swap. */

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; background: var(--paper); }
/* p1-15 (Muse live QA 2): a control the browser scrolls to (focus, Tab, a form error) stops above the docked bar, never under it */
html:has(.dock) { scroll-padding-bottom: calc(64px + 16px + env(safe-area-inset-bottom)); }
body {
  margin: 0; min-height: 100vh; background: var(--paper); color: var(--ink); font: 400 var(--step-0)/1.5 var(--sans);
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
h1, h2, h3, p, figure, ul, ol, dl, dd { margin: 0; padding: 0; }
ul, ol { list-style: none; }
a { color: inherit; text-underline-offset: 3px; text-decoration-color: var(--line); }
button, input { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--water); outline-offset: 2px; }
.col { max-width: 480px; margin: 0 auto; padding: 0 var(--g); }
.muted { color: var(--muted); }
.small { font-size: var(--step--1); line-height: 1.4; color: var(--muted); }
.src { margin-top: 10px; font-size: var(--step--2); line-height: 1.4; color: var(--muted); }
b { font-weight: 600; }
.sr { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; border: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
h1, h2, h3, .num { font-family: var(--serif); font-weight: 400; letter-spacing: -.01em; text-wrap: balance; }

/* top bar: wordmark + Beta */
.top { display: flex; align-items: center; justify-content: space-between; min-height: 52px; }
.mark { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; text-decoration: none;
  font: 400 var(--step-1)/1 var(--serif); }
.mark svg { width: 24px; height: 24px; }
.leaf path { fill: none; stroke: var(--need); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }

/* ---------------------------------------------------------------- home */
.home .hero { padding-top: 12svh; min-height: calc(100vh - 52px); min-height: calc(100svh - 52px); text-align: center; }
.home .hero .leaf { width: 44px; height: 44px; }
.home h1 { margin-top: 14px; font-size: var(--step-7); line-height: 1.02; letter-spacing: -.025em; }
.home .promise { margin: 14px auto 0; max-width: 300px; font-size: 17px; line-height: 1.4; color: var(--muted); }
.find { position: relative; margin-top: 28px; text-align: left; }
.field { display: flex; align-items: center; height: 56px; background: var(--field); border-radius: var(--r);
  box-shadow: inset 0 0 0 var(--stroke) var(--need); }
.field:focus-within { box-shadow: inset 0 0 0 var(--stroke-focus) var(--need); }
.field input { flex: 1; min-width: 0; height: 100%; border: 0; background: none; padding: 0 0 0 18px;
  font: 400 var(--step-1)/1 var(--serif); }
.field input::placeholder { color: var(--muted); opacity: .85; }
.field input:focus { outline: none; }
.field input::-webkit-search-cancel-button { display: none; }
.go { width: 52px; height: 56px; border: 0; background: none; display: grid; place-items: center; cursor: pointer; }
.go svg { width: 22px; height: 22px; fill: none; stroke: var(--need); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.assure { margin-top: 14px; font-size: var(--step--1); color: var(--muted); text-align: center; }
.assure span + span::before { content: "·"; margin: 0 8px; }
/* autocomplete: the list overlays what's below (nothing shifts) and scrolls inside itself above the keyboard */
.bar { display: flex; align-items: center; gap: 4px; }
.bar .field { flex: 1; min-width: 0; }
.clr { flex: none; width: 40px; height: 56px; border: 0; background: none; display: grid; place-items: center; cursor: pointer; }
.clr svg { width: 18px; height: 18px; fill: none; stroke: var(--muted); stroke-width: 2; stroke-linecap: round; }
.field .clr + .go { width: 44px; }
/* use my current location: an icon inside the field's right edge, shown only while the field is empty (the clear
   control takes its place once there is text), then an "Is this your home?" panel under the field */
.locate { flex: none; width: 44px; height: 56px; border: 0; background: none; display: grid; place-items: center; cursor: pointer; }
.locate svg { width: 22px; height: 22px; fill: none; stroke: var(--loc-icon); stroke-width: 1.8; stroke-linecap: round; }
.locate .dot { fill: var(--loc-icon); stroke: none; }
.locate:focus-visible { outline-offset: -4px; border-radius: var(--r); }
.locate[aria-busy="true"] { cursor: progress; }
.locate[aria-busy="true"] svg { stroke: var(--loc-busy); animation: locpulse var(--dur-loop) var(--ease-loop) infinite; }
.locate[aria-busy="true"] .dot { fill: var(--loc-busy); }
@keyframes locpulse { 50% { opacity: .35; } }
@media (prefers-reduced-motion: reduce) { .locate[aria-busy="true"] svg { animation: none; opacity: .6; } }
.clr:not([hidden]) + .locate { display: none; }
.field .clr:not([hidden]) ~ .go, .field .locate:not([hidden]) + .go { width: 44px; }
.field.suggest input { color: var(--loc-sugg); }
.lochint:not(:empty) { margin-top: 10px; padding: 0 2px; font-size: var(--step--1); line-height: 1.4; color: var(--loc-hint); }
.here { margin-top: 8px; padding: 16px; background: var(--loc-panel); border-radius: var(--r);
  box-shadow: 0 0 0 1px var(--loc-line), var(--elev-pop); }
.here h2 { font: 600 var(--step--1)/1.3 var(--sans); letter-spacing: 0; color: var(--loc-muted); }
.here-top { margin: 6px 0 14px; }
.here-top .t { display: block; font: 400 20px/1.25 var(--serif); }
.here-top .m { display: block; margin-top: 2px; font-size: var(--step--1); line-height: 1.3; color: var(--loc-muted); }
.here-or { margin-top: 16px; font-size: var(--step--1); color: var(--loc-muted); }
.here-alts { margin-top: 4px; }
.here-alts li + li { box-shadow: inset 0 1px 0 var(--loc-line); }
.here-alts button { display: flex; align-items: center; gap: 12px; width: 100%; min-height: 56px; padding: 6px 0;
  border: 0; background: none; text-align: left; cursor: pointer; }
.here-alts button:active { background: var(--loc-press); }
.here-alts .txt { flex: 1; }
.here-alts .t { display: block; font-weight: 600; font-size: var(--step-0); line-height: 1.3; }
.here-alts .m { display: block; font-size: var(--step--1); line-height: 1.3; color: var(--loc-muted); }
.here-alts .chev { flex: none; width: 16px; height: 16px; fill: none; stroke: var(--loc-muted); stroke-width: 1.8; }
.here-no { display: block; min-height: 44px; margin-top: 8px; padding: 0; border: 0; background: none; font-size: var(--step--1);
  text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--line); cursor: pointer; }
.sugg { position: absolute; z-index: 5; left: 0; right: 0; margin-top: 6px; overflow-y: auto; overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch; background: var(--paper); border-radius: var(--r); box-shadow: 0 0 0 1px var(--hair), var(--elev-pop); }
.sugg li { display: flex; align-items: center; gap: 12px; min-height: 64px; padding: 8px 16px; cursor: pointer; }
.sugg li + li { box-shadow: inset 0 1px 0 var(--hair); }
.sugg li[aria-selected="true"], .sugg li:active { background: var(--press); }
.sugg .none { padding: 16px; }
.sugg .hint { padding: 12px 16px; font-size: var(--step--1); color: var(--water); font-weight: 600; }
.sugg .none .t { font-weight: 600; }
.sugg .none .m { margin-top: 4px; font-size: var(--step--1); line-height: 1.4; color: var(--muted); }
.sugg .none .q span { color: var(--ink); }
.sugg .t { display: block; font-weight: 600; font-size: var(--step-0); line-height: 1.3; }
.sugg .m { display: block; font-size: var(--step--1); color: var(--muted); line-height: 1.3; }
.sugg .txt { flex: 1; }
.sugg .chev { width: 16px; height: 16px; fill: none; stroke: var(--muted); stroke-width: 1.8; }
.below { padding: 24px 0 32px; }
.below h2 { font-size: var(--step-3); line-height: 1.15; }
.peek { margin-top: 20px; padding: 22px 20px; background: var(--surface); border-radius: var(--r); text-decoration: none; display: block; }
.peek .ct { margin-bottom: 6px; }
.peek .open { margin-top: 14px; font-weight: 600; font-size: var(--step--1); display: flex; align-items: center; gap: 6px; }
.rows-ic { margin-top: 28px; }
.rows-ic li { display: flex; gap: 16px; align-items: flex-start; min-height: 64px; padding: 12px 0; }
.rows-ic svg { flex: none; width: 28px; height: 28px; margin-top: 2px; fill: none; stroke: var(--art); stroke-width: 1.5;
  stroke-linecap: round; stroke-linejoin: round; }
.rows-ic .t { display: block; font-weight: 600; }
.rows-ic .m { display: block; font-size: var(--step--1); color: var(--muted); line-height: 1.35; }

/* ---------------------------------------------------------------- report */
.addr { padding-top: 20px; }
.addr h1 { font-size: var(--step-4); line-height: 1.12; }
.addr p { margin-top: 6px; font-size: var(--step--2); color: var(--muted); }
.status { margin-top: 14px; max-height: 40px; font-size: var(--step--1); color: var(--muted); display: flex; flex-direction: column; gap: 8px;
  overflow: hidden; transition: opacity var(--dur-4) var(--ease), transform var(--dur-4) var(--ease), display var(--dur-4) allow-discrete; }
/* the build line fades and lifts away, then leaves the layout in one step (no height/margin animation: DESIGN.md §3) */
.status.done { display: none; opacity: 0; transform: translateY(-4px); }
.status i { display: block; height: 2px; background: var(--hair); position: relative; overflow: hidden; }
.status i b { position: absolute; inset: 0; background: var(--ink); transform-origin: 0 50%; transform: scaleX(1); transition: transform var(--dur-4) var(--ease); }
.card { padding: 40px 0 0; }
.card + .card { margin-top: 40px; border-top: 1px solid var(--hair); }
/* card title: sentence case, body size, bold; the confidence marker sits on the right */
.ct { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.ct h2, .ct h3, span.ct { font: 400 var(--step-2)/1.2 var(--serif); letter-spacing: -.01em; color: var(--ink); }  /* journal titles */
.conf { flex: none; font-size: 17px; font-weight: 400; color: var(--muted); display: inline-flex; align-items: center; gap: 6px; }
.conf svg { width: 12px; height: 12px; }
.conf circle { stroke: var(--muted); stroke-width: 1.4; fill: none; }
.conf .fill { fill: var(--muted); stroke: none; }
.num { display: block; margin-top: 10px; font-size: 34px; line-height: 1; letter-spacing: -.02em; }
.num small { font-size: var(--step-3); letter-spacing: 0; margin-left: 4px; }
.num.mid { font-size: 34px; }
.say { margin-top: 10px; font-size: var(--step-0); line-height: 1.4; text-wrap: balance; }
.vis { display: block; width: 100%; height: auto; margin-top: 22px; overflow: visible; }
.vis text { font-family: var(--sans); font-size: 17px; fill: var(--muted); }
.vis .lab { fill: var(--ink); font-weight: 600; }
.vis .trk { fill: var(--track); }
.vis .ink { fill: var(--ink); }
.vis .ring { fill: var(--paper); stroke: var(--muted); stroke-width: 2; }
.vis .rain { fill: var(--rain); }
.vis .need { fill: var(--need); }
.vis .need-o { fill: none; stroke: var(--need); stroke-width: 1.5; stroke-dasharray: 3 3; }
.vis .water { fill: var(--water); }
.vis .wateri { fill: var(--water); opacity: .35; }
.vis .day { fill: none; stroke: none; }
.vis .day-on { fill: var(--water); }
.vis .daytxt { font-size: var(--step--1); fill: var(--muted); text-anchor: middle; }
.vis .daytxt-on { fill: var(--paper); font-weight: 600; }
.vis .tick { stroke: var(--ink); stroke-width: 1.5; }
.vis .soil { fill: var(--ours); }
.vis .soil-o { fill: var(--nbr); opacity: .45; }
.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 22px 16px; margin-top: 24px; }
.grid2 .n { display: block; font: 400 24px/1.1 var(--serif); }
.grid2 .n small { font-size: 17px; margin-left: 2px; }
.grid2 .l { display: block; margin-top: 4px; font-size: var(--step--2); color: var(--muted); }
/* lawn card: the lot as one stacked bar, to scale, with a legend that carries the counts */
.lotbar { margin-top: 22px; }
.lotbar .p-lawn, .parts .p-lawn { fill: var(--lawn); background: var(--lawn); }
.lotbar .p-house, .parts .p-house { fill: var(--art); background: var(--art); }
.lotbar .p-pave, .parts .p-pave { fill: var(--pave); background: var(--pave); }
.parts { display: grid; grid-template-columns: repeat(3, auto); justify-content: space-between; gap: 8px; margin-top: 14px; }
.parts dt { display: flex; align-items: center; gap: 8px; font-size: 17px; color: var(--muted); white-space: nowrap; }
.parts dt i { flex: none; width: 12px; height: 12px; border-radius: var(--rd); }
.parts dd { margin-top: 2px; font: 400 var(--step-3)/1.1 var(--serif); }
.parts dd small { font-size: 17px; margin-left: 3px; }
.ask { margin-top: 28px; }
.ask > span { display: block; font-weight: 600; }
.seg { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 10px; border-radius: var(--r); box-shadow: inset 0 0 0 1px var(--hair); }
.seg button { min-height: 48px; border: 0; background: none; font-size: 17px; cursor: pointer; }
.seg button + button { box-shadow: inset 1px 0 0 var(--hair); }
.seg button:active { background: var(--press); }
.seg button[aria-pressed="true"] { background: var(--pine); color: var(--paper); font-weight: 600; box-shadow: none; }
.seg button:first-child { border-radius: var(--r) 0 0 var(--r); }
.seg button:last-child { border-radius: 0 var(--r) var(--r) 0; }
/* to-do rows */
.todo { margin-top: 20px; }
.todo li { display: flex; gap: 16px; align-items: flex-start; min-height: 64px; padding: 12px 0; border-bottom: 1px solid var(--hair); }
.todo li:last-child { border-bottom: 0; }
.todo svg { flex: none; width: 28px; height: 28px; margin-top: 2px; fill: none; stroke: var(--art); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.todo .t { display: block; font-weight: 600; }
.todo .m { display: block; font-size: var(--step--1); color: var(--muted); line-height: 1.35; }
/* tiles + actions */
.tiles { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 20px; }
.tile { display: flex; flex-direction: column; gap: 10px; min-height: 148px; padding: 20px 16px; border-radius: var(--r);
  background: var(--surface); text-decoration: none; box-shadow: inset 0 0 0 1px var(--hair); }
.tile:active { background: var(--press); }
.tile svg { width: 30px; height: 30px; fill: none; stroke: var(--ink); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.tile .t { font-weight: 600; font-size: var(--step-0); line-height: 1.25; }
.tile .m { font-size: var(--step--1); color: var(--muted); line-height: 1.3; }
.tile .free { margin-top: auto; font-size: var(--step--2); font-weight: 600; color: var(--need); }
.btn { display: flex; align-items: center; justify-content: center; gap: 8px; width: 100%; min-height: 54px; padding: 0 20px;
  border: 0; border-radius: var(--r); background: var(--pine); color: var(--paper); font-weight: 600; font-size: var(--step-0);
  text-decoration: none; cursor: pointer; }
.btn.ghost { background: none; color: var(--ink); box-shadow: inset 0 0 0 var(--stroke) var(--ink); }
.btn svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.btn + .btn { margin-top: 12px; }
.paid { margin-top: 20px; padding: 24px 20px; border-radius: var(--r); box-shadow: inset 0 0 0 1.5px var(--ink); }
.paid .row { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.paid .row .num { margin: 0; font-size: 34px; }
.paid ul { margin: 16px 0 20px; }
.paid li { display: flex; gap: 10px; padding: 6px 0; font-size: 17px; }
.paid li svg { flex: none; width: 18px; height: 18px; margin-top: 3px; fill: none; stroke: var(--need); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.paid .alt { margin-top: 12px; text-align: center; font-size: var(--step--1); color: var(--muted); }
footer.col { margin-top: 64px; padding: 28px var(--g) 56px; border-top: 1px solid var(--hair); font-size: var(--step--1); color: var(--muted); }
footer p + p { margin-top: 10px; }
footer a { display: inline-flex; align-items: center; min-height: 44px; }
footer .links { display: flex; flex-wrap: wrap; gap: 0 20px; margin-top: 6px; }
details.credits { margin-top: 8px; }
details.credits > summary { list-style: none; cursor: pointer; min-height: 44px; display: flex; align-items: center; color: var(--ink); font-weight: 600; }
details.credits > summary::-webkit-details-marker { display: none; }
details.credits > summary::after { content: "+"; margin-left: 8px; font-weight: 300; font-size: var(--step-2); color: var(--muted); }
details.credits[open] > summary::after { content: "−"; }
details.credits ul { display: grid; gap: 6px; padding: 6px 0 12px; font-size: var(--step--2); line-height: 1.4; list-style: none; overflow-wrap: anywhere; }

/* staged build: only when app.js adds .building (no-JS shows everything) */
.js .building .stage { opacity: 0; transform: translateY(12px); }
.js .stage { transition: opacity var(--dur-art-2) var(--ease), transform var(--dur-art-2) var(--ease); }
.js .building .stage.on { opacity: 1; transform: none; }
.js .building .lotbar rect { transform: scaleX(0); transform-origin: 0 50%; transition: transform var(--dur-art-3) var(--ease) var(--dur-3); }
.js .building .stage.on .lotbar rect { transform: none; }
@media (prefers-reduced-motion: reduce) {
  .js .stage, .js .building .lotbar rect, .status, .status i b { transition: none; }
}
/* enter/leave (docs/DESIGN.md §3; app.js MOTION BLOCK has fx.swap for in-page changes): toggling `hidden` on a .fx element
   fades and lifts it in and out, no JS. Browsers without @starting-style / allow-discrete just show and hide it. */
.fx { transition: opacity var(--dur-3) var(--ease), transform var(--dur-3) var(--ease), display var(--dur-3) allow-discrete; }
.fx[hidden] { display: none; opacity: 0; transform: translateY(4px); }
@starting-style { .fx { opacity: 0; transform: translateY(4px); } }
@media (prefers-reduced-motion: reduce) { .fx { transition: none; } }

/* ---------------------------------------------------------------- deeper / checkout / share / unavailable */
.page-h { padding-top: 24px; }
.page-h h1 { font-size: var(--step-5); line-height: 1.1; }
.page-h p { margin-top: 10px; color: var(--muted); }
.page-h + .opts, .page-h + fieldset.opts { margin-top: 32px; }
.back { display: inline-flex; align-items: center; gap: 4px; min-height: 44px; font-size: var(--step--1); color: var(--muted); text-decoration: none; }
.back svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.8; }
.slots { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 20px; }
.slot { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px;
  aspect-ratio: 3 / 4; border-radius: var(--r); background: var(--surface); box-shadow: inset 0 0 0 1px var(--hair);
  cursor: pointer; overflow: hidden; text-align: center; padding: 8px; }
.slot svg { width: 26px; height: 26px; fill: none; stroke: var(--ink); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.slot span { font-size: var(--step--2); line-height: 1.25; color: var(--muted); }
.slot input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.slot img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.read { margin-top: 20px; }
.read li { display: flex; justify-content: space-between; gap: 16px; min-height: 52px; align-items: center; border-bottom: 1px solid var(--hair); }
.read li:last-child { border-bottom: 0; }
.read .k { color: var(--muted); font-size: var(--step--1); }
.read .v { font-weight: 600; text-align: right; }
.galf { display: flex; align-items: center; gap: 10px; height: 56px; margin-top: 20px; padding: 0 16px; background: var(--field);
  border-radius: var(--r); box-shadow: inset 0 0 0 var(--stroke) var(--water); }
.galf:focus-within { box-shadow: inset 0 0 0 var(--stroke-focus) var(--water); }
.galf input { flex: 1; min-width: 0; height: 100%; border: 0; background: none; font: 400 24px/1 var(--serif); }
.galf input:focus { outline: none; }
.galf span { color: var(--muted); font-size: var(--step--1); }
.tog { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 56px; margin-top: 8px; cursor: pointer; }
.tog input { appearance: none; -webkit-appearance: none; flex: none; width: 48px; height: 28px; margin: 0; border-radius: var(--r);
  background: var(--track); position: relative; cursor: pointer; transition: background var(--dur-2); }
.tog input::after { content: ""; position: absolute; top: 3px; left: 3px; width: 22px; height: 22px; border-radius: 6px; background: var(--paper);
  transition: transform var(--dur-2); }
.tog input:checked { background: var(--water); }
.tog input:checked::after { transform: translateX(20px); }
@media (prefers-reduced-motion: reduce) { .tog input, .tog input::after { transition: none; } }
fieldset.opts { border: 0; margin: 0; padding: 0; min-width: 0; }
.opts { display: grid; gap: 10px; margin-top: 20px; }
.opt { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 72px; padding: 14px 18px;
  border-radius: var(--r); box-shadow: inset 0 0 0 1px var(--hair); background: var(--surface); cursor: pointer; }
.opt input { position: absolute; opacity: 0; pointer-events: none; }
.opt:has(input:checked) { box-shadow: inset 0 0 0 2px var(--ink); }
.opt:has(input:focus-visible) { outline: 2px solid var(--water); outline-offset: 2px; }
.opt .t { display: block; font-weight: 600; }
.opt .m { display: block; font-size: var(--step--1); color: var(--muted); }
.opt .p { font: 400 var(--step-3)/1 var(--serif); white-space: nowrap; }
.mail { display: block; width: 100%; height: 56px; margin-top: 20px; padding: 0 16px; border: 0; border-radius: var(--r); background: var(--field);
  box-shadow: inset 0 0 0 1px var(--hair); font-size: var(--step-0); }
.mail:focus { outline: none; box-shadow: inset 0 0 0 1.5px var(--ink); }
.note { margin-top: 12px; font-size: var(--step--2); color: var(--muted); text-align: center; }
.flash { margin-top: 14px; padding: 14px 16px; border-radius: var(--r); background: var(--press); font-size: var(--step--1); }
.sharecard { margin-top: 24px; aspect-ratio: 1200 / 630; padding: 22px 22px 18px; border-radius: var(--r); background: var(--surface);
  box-shadow: inset 0 0 0 1px var(--hair); display: flex; flex-direction: column; }
.sharecard .top2 { display: flex; align-items: center; gap: 8px; font: 400 var(--step--1)/1 var(--serif); }
.sharecard .top2 svg { width: 20px; height: 20px; }
.sharecard .big { margin-top: auto; font: 400 var(--step-4)/1.08 var(--serif); letter-spacing: -.01em; }
.sharecard .big b { font-weight: 500; }
.sharecard .meta { margin-top: 8px; font-size: var(--step--2); color: var(--muted); }
.sharecard svg.vis { margin-top: 12px; }
.empty { padding-top: 120px; text-align: center; }
.empty .leaf { width: 44px; height: 44px; }
.empty h1 { margin-top: 16px; font-size: 34px; line-height: 1.08; }
.empty p { margin: 12px auto 0; max-width: 300px; color: var(--muted); }
.empty .acts { margin-top: 36px; }
.sec { margin-top: 48px; }
.sec h2 { font-size: var(--step-3); line-height: 1.15; }
.sec h2 + p { margin-top: 8px; color: var(--muted); }
[hidden] { display: none !important; }

.year { margin-top: 4px; }
.year > summary { list-style: none; cursor: pointer; min-height: 48px; display: flex; align-items: center; font-weight: 600; }
.year > summary::-webkit-details-marker { display: none; }
.year > summary::after { content: "+"; margin-left: 8px; font-weight: 300; font-size: var(--step-2); color: var(--muted); }
.year[open] > summary::after { content: "\2212"; }
.year ol li { display: grid; grid-template-columns: 44px 1fr; gap: 12px; padding: 10px 0; border-top: 1px solid var(--hair); font-size: var(--step--1); line-height: 1.35; }
.year ol li b { font-weight: 600; }
.year ol li.now { color: var(--ink); }
.year ol li:not(.now) { color: var(--muted); }
.remind { margin-top: 20px; }
.peek .open svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
svg:not([width]):not(.vis) { max-width: 44px; max-height: 44px; }

.steps .cost { font-weight: 600; color: var(--need); }
.cant { margin-top: 16px; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.cant li { padding: 10px 0; border-top: 1px solid var(--hair); font-size: var(--step--1); line-height: 1.3; color: var(--muted); }
.paid .row .num { font-size: 34px; }
@media print {
  .top, .tiles, .paid, #print, footer .links, .btn, .status, .flash { display: none !important; }
  :root { --paper: var(--print-paper); }
  body { font-size: 17px; }
  .card { break-inside: avoid; }
  details.year > ol { display: grid; }
  /* the credits print once, as one small run-on line (a licence's notice must travel with the printed report) */
  details.credits > summary { display: none; }
  details.credits > ul { display: block; margin: 0; padding: 6px 0 0; font-size: 17px; line-height: 1.3; }
  details.credits li { display: inline; }
  details.credits li + li::before { content: " \00b7 "; }
}

.vis .drop { fill: var(--heat); opacity: .3; }
.vis .old { opacity: var(--old-opacity); filter: var(--old-filter); }
.sharecard .ct { margin-top: auto; }
.sharecard .big { margin-top: 2px; font: 400 34px/1 var(--serif); letter-spacing: -.02em; }
.sharecard .big small { font-size: var(--step-2); margin-left: 2px; }
.sharecard svg.vis { margin-top: 2px; }
.sharecard .vis text { font-size: var(--step--1); }
/* keyboard follow (app.js KBD BLOCK): the page slides up with the keyboard and back, nothing hidden */
.kbd-lift { transition: transform var(--dur-3) var(--ease); }
@media (prefers-reduced-motion: reduce) { .kbd-lift { transition: none; } }
.sharecard { aspect-ratio: auto; padding: 22px 22px 20px; }
.sharecard .ct { margin-top: 32px; }

.sharecard .vis text { font-size: 17px; }
@media print { .card:has(.tiles), .card:has(.paid) { display: none !important; } }
.vis .now-tan { filter: var(--tan-filter); }

/* missing values: say "can't tell" plainly; a month with no clear satellite view is an empty outlined cell */
.vis .gap { fill: none; stroke: var(--line); stroke-width: 1; stroke-dasharray: 2 2; }
.legend { display: flex; flex-wrap: wrap; gap: 6px 16px; margin-top: 12px; font-size: var(--step--2); color: var(--muted); }
.legend i.gap { display: inline-block; width: 12px; height: 12px; margin-right: 6px; vertical-align: -1px; border: 1px dashed var(--line); border-radius: var(--rd); }
.unread { margin-top: 16px; }
.unread li { padding: 12px 0; border-top: 1px solid var(--hair); }
.unread .t { display: block; font-weight: 600; }
.unread .m { display: block; font-size: var(--step--1); color: var(--muted); line-height: 1.35; }
.priv { display: flex; align-items: center; gap: 8px; margin-top: 16px; font-size: 17px; color: var(--muted); }
.priv svg { flex: none; width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.peek .num.mid { margin-top: 4px; }
.linkbtn { display: inline-flex; align-items: center; min-height: 44px; margin-top: 8px; padding: 0; border: 0; background: none;
  font-size: var(--step--1); color: var(--ink); text-decoration: underline; text-decoration-color: var(--line); text-underline-offset: 3px; cursor: pointer; }
.near { margin-top: 4px; }
.near .t { font-weight: 600; }
.near ul { margin-top: 6px; }
.near li + li { border-top: 1px solid var(--hair); }
.near button, .near a { display: flex; align-items: center; width: 100%; min-height: 52px; padding: 0; border: 0; background: none;
  font-size: var(--step-0); text-align: left; cursor: pointer; }
.near a { color: var(--muted); font-size: var(--step--1); }
.status span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* P0b polish: the lead card is the answer (a soft panel, like the home preview); a tighter rhythm between cards;
   share and print side by side; say-lines wrap naturally */
.card { padding-top: 32px; }
.card + .card { margin-top: 32px; }
.card.lead { margin-top: 24px; padding: 22px 20px 20px; border-radius: var(--r); background: var(--surface); box-shadow: inset 0 0 0 1px var(--hair); }
.card.lead + .card { border-top: 0; margin-top: 8px; }
.card.lead .num.mid { margin-top: 8px; }
.say { text-wrap: pretty; }
.acts2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.acts2 .btn + .btn { margin-top: 0; }
@media print { .card.lead { background: none; box-shadow: none; padding: 32px 0 0; } }
/* the first screen ends with "What you get" peeking in, so it's clear there's more below */
.home .hero { min-height: calc(100vh - 150px); min-height: calc(100svh - 150px); }

/* ---------------------------------------------------------------- alpha (Ken's go, 2026-10-13) */
.markrow { display: inline-flex; align-items: center; gap: 10px; }
.beta { font-size: var(--step--2); color: var(--muted); letter-spacing: .01em; }
.top > .beta { min-height: 44px; display: inline-flex; align-items: center; }
.assure { font-size: 17px; }
/* two quick questions */
.qs .ct { align-items: center; }
.qs .skip { margin: 0; font-size: var(--step--1); color: var(--muted); }
.q { margin-top: 20px; }
.ql { font-size: var(--step--1); color: var(--muted); }
.seg { margin-top: 10px; }
.seg5 { grid-template-columns: repeat(5, 1fr); }
.seg5 button { font-size: 17px; padding: 0 2px; }
.looks { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin-top: 10px; }
.look { display: flex; flex-direction: column; align-items: stretch; gap: 6px; padding: 6px 6px 8px; border: 0; border-radius: var(--r);
  background: none; box-shadow: inset 0 0 0 1px var(--hair); cursor: pointer; font-size: var(--step--1); }
.look svg { display: block; width: 100%; height: auto; max-width: none; max-height: none; border-radius: var(--rd); }
.look svg path { fill: none; stroke-width: 1.6; stroke-linecap: round; }
.look[aria-pressed="true"] { box-shadow: inset 0 0 0 2px var(--ink); font-weight: 600; }
.look:active { background: var(--press); }
/* was this right */
#right .seg { margin-top: 14px; }
/* waitlist */
.wl { display: grid; grid-template-columns: 1fr auto; gap: 10px; margin-top: 14px; }
.wl .mail { margin-top: 0; }
.wl .btn { width: auto; min-height: 56px; }
.mail[aria-invalid="true"] { box-shadow: inset 0 0 0 1.5px var(--heat); }
.note.left { text-align: left; }
/* water bill */
.billf { margin-top: 4px; }
.dates { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 10px; }
.datef { display: flex; flex-direction: column; gap: 4px; font-size: var(--step--2); color: var(--muted); }
.datef input { height: 48px; padding: 0 12px; border: 0; border-radius: var(--r); background: var(--field); box-shadow: inset 0 0 0 1px var(--hair);
  font-size: 17px; color: var(--ink); min-width: 0; }
.billout { margin-top: 28px; }
.billout .num { font-size: 34px; }
.vis .needline { stroke: var(--ink); stroke-width: 1.5; stroke-dasharray: 3 3; }
.bparts .b-rain { background: var(--rain); }
.bparts .b-gap { background: var(--need); }
.bparts .b-use { background: var(--water); }
.bparts { grid-template-columns: repeat(3, auto); }
.bparts dd { font-size: var(--step-2); }
/* alpha review fixes: the swatches fill their tile (the old 44 px cap on unsized icons outranked .look svg),
   no blue tap flash, a compact delete link in the waitlist's done line */
button, a { -webkit-tap-highlight-color: transparent; }
.looks .look svg { width: 100%; max-width: none; max-height: none; height: auto; }
.looks .look svg path { stroke-width: 2.2; }
.flash .linkbtn { display: inline; min-height: 0; margin: 0; font-size: inherit; }
.bparts dd { white-space: nowrap; font-size: 20px; }
/* real sample lots: one tap apart, under the address */
.samples { display: flex; align-items: center; gap: 4px; margin-top: 12px; font-size: 17px; color: var(--muted); }
.samples span { margin-right: 6px; }
.samples a { display: inline-grid; place-items: center; min-width: 44px; min-height: 44px; border-radius: var(--r);
  text-decoration: none; color: var(--ink); box-shadow: inset 0 0 0 1px var(--hair); font-size: var(--step--1); }
.samples a[aria-current="page"] { background: var(--pine); color: var(--paper); box-shadow: none; font-weight: 600; }
/* real-data fixes: the top bar fits at 375 with Beta; the switcher label sits above its six 44 px buttons */
.markrow { gap: 6px; }
.mark span { white-space: nowrap; }
.beta { font-size: 17px; }
.samples { display: block; }
.samples p { font-size: var(--step--2); color: var(--muted); }
.samples div { display: flex; gap: 4px; margin-top: 6px; }
@media (max-width: 359px) {
  .col { padding: 0 14px; }
  .mark { font-size: var(--step-0); gap: 6px; }
  .mark svg { width: 20px; height: 20px; }
}
.dates { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
.datef input { width: 100%; padding: 0 8px; }
/* this week's watering call + the inline correction (batch 9) */
.wk { margin-top: 14px; font-size: var(--step--1); line-height: 1.45; }
.fix { margin-top: 6px; }
/* design-5 (Ken's eye): the fix reads as a quiet line with a chevron, like the panel's quiet line, not a full-width underlined link */
.fix > summary { list-style: none; cursor: pointer; min-height: 44px; display: flex; align-items: center; gap: 6px; font-size: 17px;
  line-height: 1.4; color: var(--muted); }
.fix > summary .chev { flex: none; width: 14px; height: 14px; fill: none; stroke: var(--line); stroke-width: 1.7;
  stroke-linecap: round; stroke-linejoin: round; transition: transform var(--dur-2); }
.fix[open] > summary .chev { transform: rotate(90deg); }
.fix > summary::-webkit-details-marker { display: none; }
.r7f { margin-top: 4px; }
.peek .keep { display: block; margin-top: 12px; font-size: 17px; color: var(--muted); }
/* validator m1: on home, nothing above the fold but the leaf, the logo and the field (Ken); "What you get" starts below
   the fold */
.home .hero { min-height: calc(100vh - 52px); min-height: calc(100svh - 52px); }
/* validator m2: nothing Ken reads below 13 px */
.beta { font-size: var(--step--2); }
.lead .vis text, .peek .vis text { font-size: 17px; }
@media (max-width: 359px) { .beta { font-size: var(--step--2); } }
/* m2: fold 15 px onto 14 on the report's first screen (7 sizes) */
.addr .linkbtn, .ql, .qs .skip, .samples a { font-size: 17px; }
/* share (flag off): the card carries a line, not a number */
.sharecard .big.sm { font-size: var(--step-5); line-height: 1.08; letter-spacing: -.01em; }
/* launch polish (p1a-polish): light-tone marks get a full-strength edge so every bar reads at 3:1 or better; the bill
   chart's words sit on a paper halo above its need line; the bill legend wraps instead of running off a 375 screen */
.vis .soil-o { opacity: 1; fill: var(--nbr); fill-opacity: .45; stroke: var(--nbr); stroke-width: 1.5; }
.vis .wateri { opacity: 1; fill: var(--water); fill-opacity: .35; stroke: var(--water); stroke-width: 1.5; }
.lotbar .p-pave { stroke: var(--line); stroke-width: 1.5; }
.parts .p-pave { box-shadow: inset 0 0 0 1.5px var(--line); }
.billv text { paint-order: stroke; stroke: var(--paper); stroke-width: 4px; stroke-linejoin: round; }
.billv .need { stroke: var(--paper); stroke-width: 1.5; }
.bparts { display: flex; flex-wrap: wrap; justify-content: flex-start; gap: 10px 24px; }
.qs .skip { min-width: 44px; justify-content: center; }
/* lot pages have no Share action (P1), so Print stands alone: full width, not half a row */
.acts2 > :only-child { grid-column: 1 / -1; }
.billv .lbg { fill: var(--paper); }
/* P1 lot pages: Share, then Download PDF (the page's one print action), each full width like the lone Print */
.acts2 > #share, .acts2 > #pdf { grid-column: 1 / -1; }

/* ---------------------------------------------------------------- design-4: the report as tabs (Ken, 2026-10-14: layout A)
   No JS: the tablist stays hidden and every panel shows, stacked, under its own heading. app.js's TABS block unhides the
   tablist and shows one panel. Each fact is one row (icon, label, value, chevron); its detail opens on a tap. */
.tabs { position: sticky; top: 8px; z-index: 4; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin-top: 18px;
  border-radius: var(--r); background: var(--field); box-shadow: inset 0 0 0 var(--stroke) var(--hair); }
.tabs [role="tab"] { min-height: 52px; padding: 0 4px; border: 0; border-radius: var(--r); background: none; color: var(--muted);
  font-size: var(--step-0); font-weight: 600; white-space: nowrap; cursor: pointer; }
.tabs [role="tab"][aria-selected="true"] { background: var(--pine); color: var(--paper); }
.tabs [role="tab"]:focus-visible { outline-offset: -3px; }
.panel > h2 { margin-top: 40px; font-size: var(--step-3); line-height: 1.15; }
.tabbed .panel > h2 { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.tabbed .panel { padding-top: 4px; }
/* swipe between tabs (app.js TABS): the browser keeps vertical scroll and pinch-zoom; zoomed in it pans sideways too. main
   too: mid-slide a touch can land on the strip the outgoing panel left. main clips the panel's slide (clip, not hidden: no
   scroll box, so the sticky strip stays put) */
.tabbed main.sliding, .tabbed .panel { touch-action: pan-y pinch-zoom; }
/* a tab switch changes the page's height above the footer; scroll anchoring would then scroll to hold the footer still, which
   un-sticks the strip and moves it from under the finger (a tap right after a swipe hit the text). The strip stays put. */
.tabbed { overflow-anchor: none; }
.tabbed.zoomed main, .tabbed.zoomed .panel { touch-action: auto; }
.tabbed main { overflow-x: clip; }
.panel > .card:first-of-type { padding-top: 24px; }
/* this week: the verdict, one dark line */
.wkhero { display: grid; grid-template-columns: 28px 1fr; gap: 4px 14px; margin-top: 18px; padding: 20px; border-radius: var(--r);
  background: var(--pine); color: var(--paper); }
.wkhero .hi { grid-row: 1 / span 2; width: 28px; height: 28px; margin-top: 3px; fill: none; stroke: var(--hero-ic); stroke-width: 1.7;
  stroke-linecap: round; stroke-linejoin: round; }
.wkhero .num.mid { margin: 0; font-size: var(--step-4); line-height: 1.1; }
.wkhero .say { margin: 0; font-size: var(--step--1); line-height: 1.35; color: var(--hero-sub); }
/* rows */
.rows { margin-top: 10px; }
.row { border-bottom: 1px solid var(--hair); }
.row > summary, .row > .line { display: flex; align-items: center; gap: 10px; min-height: 56px; padding: 6px 0; list-style: none; cursor: pointer; }
.row > .line { cursor: default; }
.row > summary::-webkit-details-marker { display: none; }
.row > summary svg, .row > .line svg { flex: none; width: 20px; height: 20px; margin: 0; fill: none; stroke: var(--line); stroke-width: 1.7;
  stroke-linecap: round; stroke-linejoin: round; }
.row .rl { flex: none; width: 84px; font-size: var(--step--1); line-height: 1.25; color: var(--muted); }
/* a value wraps onto a second line rather than being cut off (overseer: never an ellipsis on a row) */
.row .rv, .row .t { flex: 1; min-width: 0; font-weight: 600; line-height: 1.3; overflow-wrap: anywhere; }
.row .rv small { font-size: inherit; margin-left: 2px; }
.row > summary .chev { width: 16px; height: 16px; transition: transform var(--dur-2); }
.row[open] > summary .chev { transform: rotate(90deg); }
.row .more { padding: 0 0 16px 30px; font-size: var(--step--1); line-height: 1.4; color: var(--muted); }
.row .more .rd + .rd, .row .more .vis + .rd { margin-top: 6px; }
.row .more .vis { margin-top: 12px; }
.row .more .rd + .vis { margin-top: 12px; }
.row .more .m { display: block; }
/* a panel that left a row out (no data yet) ends with one quiet line; what couldn't be read opens behind its tap */
.soon { margin-top: 14px; font-size: 17px; line-height: 1.4; color: var(--muted); }
.soon > summary { display: flex; align-items: center; gap: 6px; min-height: 44px; list-style: none; cursor: pointer; }
.soon > summary::-webkit-details-marker { display: none; }
.soon > summary .chev { flex: none; width: 14px; height: 14px; margin: 0; fill: none; stroke: var(--line); stroke-width: 1.7;
  stroke-linecap: round; stroke-linejoin: round; transition: transform var(--dur-2); }
.soon[open] > summary .chev { transform: rotate(90deg); }
@media (prefers-reduced-motion: reduce) { .row > summary .chev, .soon > summary .chev, .fix > summary .chev { transition: none; } }
.soon .unread { margin-top: 2px; }
.soon .src { margin-top: 8px; }
/* inside a panel the rows draw the dividers: a card after them (the questions, "Was this right", This month) adds no
   second line above itself, so no empty bordered strip opens between them */
.panel .card + .card, .panel .rows ~ .card, .panel .soon ~ .card { border-top: 0; }
.panel .card + .card { margin-top: 28px; }
.panel .rows ~ .card, .panel .soon ~ .card, .panel .card + .card { padding-top: 12px; }
.more > .card, .more > section.card { margin: 0; padding: 4px 0 0; border: 0; }
.more .num { font-size: var(--step-6); }
.more .num.mid { font-size: var(--step-4); }
.more .ask { margin-top: 18px; }
.more .fix { margin-top: 8px; }
.more .grid2 { margin-top: 16px; }
.more #bill > p:first-child { color: var(--muted); }
.days7 { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 4px; margin-top: 4px; text-align: center; font-size: var(--step--2); }
.days7 li { padding: 6px 0; border-radius: var(--r); background: var(--surface); color: var(--water); font-weight: 600; }
.days7 li b { display: block; color: var(--ink); }
.days7 li.wd { box-shadow: inset 0 0 0 2px var(--ink); }
.days7 + .rd { margin-top: 8px; }
/* to do: the steps and this month as rows too */
.panel .todo { margin-top: 8px; }
.panel .todo li { display: block; min-height: 0; padding: 0; border: 0; }
.panel .todo .row svg { width: 20px; height: 20px; margin: 0; stroke: var(--line); }
.panel .steps .row .more { padding-left: 30px; }
.year.row > summary::after { content: none; }
.year.row > summary { font-weight: 400; }
.year.row ol { margin-top: 4px; }
/* the docked bar: Get monthly checks, plus Share and Download PDF on a lot page (their words stay for screen readers) */
.dock { position: sticky; bottom: 0; z-index: 5; margin: 28px calc(-1 * var(--g)) 0; padding: 10px var(--g) calc(10px + env(safe-area-inset-bottom));
  background: var(--paper); box-shadow: 0 -1px 0 var(--hair); }
.dockrow { display: flex; gap: 8px; }
.dockrow .btn + .btn { margin-top: 0; }
.dockrow .wlbtn { flex: 1; min-width: 0; padding: 0 14px; white-space: nowrap; background: var(--need); }   /* one line at 360 px */
/* design-5: while the waitlist's own form is on screen (app.js TABS sets .wl-in) the dock doesn't offer monthly checks a
   second time; Share and Download PDF take the row, with their words */
.dock.wl-in .wlbtn { display: none; }
.dock.wl-in #share, .dock.wl-in #pdf { flex: 1; width: auto; padding: 0 12px; font-size: 17px; }
.dock.wl-in:not(:has(#pdf)) { display: none; }
.dockrow #share, .dockrow #pdf { flex: none; width: 54px; padding: 0; font-size: 0; }
.dockrow #share svg, .dockrow #pdf svg { width: 22px; height: 22px; }
.dock .flash { margin: 0 0 8px; }
.dock .flash:empty { display: none; }
@media (max-width: 359px) { .row .rl { width: 74px; } .dock { margin: 28px -14px 0; padding-left: 14px; padding-right: 14px; } }
@media print {
  .tabs, .dock, .qs, #right, #waitlist, #rsv, .fix, .row:has(#bill), .row > summary .chev { display: none !important; }
  .panel[hidden] { display: block !important; }
  .tabbed .panel > h2 { position: static; width: auto; height: auto; margin: 14pt 0 2pt; overflow: visible; clip-path: none; white-space: normal; }
  .panel > h2 { margin: 14pt 0 2pt; font-size: 20px; }
  .wkhero { margin-top: 6pt; padding: 8pt 10pt; background: none; color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--ink); }
  .wkhero .say { color: var(--muted); }
  .wkhero .hi { stroke: var(--ink); }
  .row > summary, .row > .line { min-height: 0; padding: 3pt 0; }
  .row { break-inside: avoid; }
  details.row::details-content { content-visibility: visible; display: block; }
  .row .more { padding: 0 0 6pt 30px; font-size: 17px; }
  .more .num { font-size: 34px; }
  .more .vis { max-width: 320px; }
  .card { padding-top: 10pt; }
  .card + .card, .panel .card + .card { margin-top: 10pt; }
  /* one to two pages: two columns per tab, the charts' numbers stay in words, the sources list stays on screen */
  body { font-size: 17px; }
  .col { max-width: none; padding: 0; }
  .addr .linkbtn, .ask, #asked, .more .vis:not(.lotbar), .more .num + .say + .vis, .panel .card .say { display: none !important; }
  .panel { columns: 2; column-gap: 18pt; }
  .panel > h2, .wkhero { column-span: all; }
  .panel .card, .panel .rows { break-inside: auto; }
  .panel > .card:first-of-type { padding-top: 0; }
  .year.row ol li { padding: 2pt 0; font-size: 17px; grid-template-columns: 26pt 1fr; gap: 4pt; }
  .row .rl { width: 64pt; }
  .row .more { padding-left: 26px; }
  .days7 li { padding: 2pt 0; }
  .more .num { font-size: 20px; margin-top: 2pt; }
  .more .parts dd { font-size: 17px; }
  .ct h2, .ct h3 { font-size: 17px; }
  footer.col { margin-top: 12pt; padding: 8pt 0 0; font-size: 17px; }
}
/* H0 (design-5): the quick questions on Your lawn (app.js QS). Each is a chip: "+ Grass type", or "Grass type: Bahia" once
   answered; a tap opens its answers as pills (one open at a time). Without JS every question shows, its answers as pills. */
.qs .seg { display: flex; flex-wrap: wrap; gap: 8px; border-radius: 0; box-shadow: none; }
.qs .seg button, .qs .seg button + button { flex: 1 1 auto; min-width: 60px; min-height: 44px; padding: 0 14px; border-radius: var(--r);
  background: var(--field); box-shadow: inset 0 0 0 1px var(--hair); }
.qs .seg button:first-child, .qs .seg button:last-child { border-radius: var(--r); }
.qs .seg button[aria-pressed="true"] { background: var(--ink); color: var(--paper); box-shadow: none; }
.qs .q + .q { margin-top: 16px; }
.qs.chipped .q { display: none; }
.qs.chipped .q.open { display: block; margin-top: 14px; }
.qs.chipped .q.open .ql { color: var(--ink); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.chip { min-height: 44px; padding: 0 14px; border: 0; border-radius: var(--r); background: none; box-shadow: inset 0 0 0 1.5px var(--line);
  font: 500 17px/1.2 var(--sans); color: var(--ink); cursor: pointer; }
.chip.done { background: var(--field); box-shadow: inset 0 0 0 1px var(--hair); font-weight: 400; }
.chip[aria-expanded="true"] { box-shadow: inset 0 0 0 2px var(--ink); }
.chip:active { background: var(--press); }
.qs .clr { display: block; margin-top: 14px; font-size: 17px; color: var(--muted); }
.rv small.you { margin-left: 4px; font-size: 17px; font-weight: 400; color: var(--muted); white-space: nowrap; }
.qs [data-q="photo"] button svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; }
.qn { margin-top: 10px; font-size: 17px; line-height: 1.4; color: var(--muted); }
.pidm { margin: 8px 0 0; padding-left: 18px; font-size: 17px; line-height: 1.45; }
/* print: no question links or "can't tell yet" lines on paper (the fullest lot stays within 2 Letter pages) */
@media print { .chips, .qs .clr, #lawn-now { display: none !important; } }

/* FOUNDING (growth S7): the reservation card's three steps (tools/founding.py). Without JS all three read in order. */
.fm-step h3 { margin: 14px 0 0; font: 600 20px/1.25 var(--serif); }
.fm-step + .fm-step { margin-top: 18px; }
.fm-list { margin: 10px 0 0; padding-left: 20px; }
.fm-list li { margin-top: 6px; font-size: 17px; line-height: 1.35; }
.fm-nav { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 14px; }
.fm-nav .btn { width: auto; margin-left: auto; }
.fm-nav .linkbtn { margin-top: 0; }
.fm-plans { display: grid; gap: 10px; margin-top: 12px; }
.fm-plan { display: grid; grid-template-columns: 1fr auto; align-content: center; gap: 2px 12px; width: 100%; min-height: 64px; padding: 12px 14px;
  border: 1px solid var(--line); border-radius: var(--r); background: var(--field); color: var(--ink); font: inherit; text-align: left; }
.fm-plan[aria-pressed="true"] { border: 2px solid var(--need); padding: 11px 13px; background: var(--surface); }
.fm-plan .fm-pl { font-size: 17px; }
.fm-plan .fm-pr { font-size: 17px; font-weight: 600; text-align: right; }
.fm-plan .fm-pm, .fm-plan .fm-cmp { font-size: 17px; color: var(--muted); }
.fm-plan .fm-pm { text-align: right; grid-column: 2; }
.fm-plan .fm-tag { grid-column: 1; grid-row: 2; font-size: 17px; color: var(--need); font-weight: 600; }
.fm-plan .fm-cmp { grid-column: 1 / -1; }
.fm-cal { color: var(--water); }

/* OUTLINE (growth-c, plan 2026-10-14-growth §8): the dated aerial card on a lot page and the drag-the-dots sheet
   (tools/outline.js). Strokes on the photo use the near-white field token so they read on grass and roofs alike. */
.aerial .aer-pic { position: relative; margin-top: 14px; border-radius: var(--r); overflow: hidden; background: var(--track); aspect-ratio: 1 / 1; }
.aerial .aer-pic img, .aerial .aer-pic svg { position: absolute; inset: 0; width: 100%; height: 100%; display: block; max-width: none; max-height: none; }
.aerial .aer-src, .ed-src { margin-top: 8px; font-size: 17px; color: var(--muted); }
.aerial .aer-n { margin-top: 12px; font-size: 17px; }
.aerial .aer-n b { font: 500 24px/1.1 var(--serif); margin-right: 6px; }
.aerial .aer-rough, .aerial .aer-stale { margin-top: 4px; font-size: 17px; color: var(--ours); }
.aerial .btn { margin-top: 16px; }
.aerial.aer-nopic .aer-pic, .aerial.aer-nopic .aer-n, .aerial.aer-nopic #aer-edit { display: none; }
.aerial .aer-off p { margin-top: 12px; font-size: 17px; }
.aerial .aer-off .btn { margin-right: 8px; }
.aerial .aer-ask { display: inline-block; min-height: 44px; line-height: 44px; margin-top: 8px; }
.aer-lot, .ed-lot { fill: none; stroke: var(--field); stroke-width: 1.5; stroke-dasharray: 6 4; vector-effect: non-scaling-stroke; }
.aer-out { fill: var(--lawn); fill-opacity: .38; stroke: var(--field); stroke-width: 2; vector-effect: non-scaling-stroke; }
.aer-tree { fill: none; stroke: var(--field); stroke-width: 1.5; stroke-dasharray: 3 3; vector-effect: non-scaling-stroke; }
.ed { margin-top: 14px; }
.ed .ed-hint { margin: 0 0 10px; }
.ed-stage { position: relative; width: 100%; aspect-ratio: 1 / 1; border-radius: var(--r); overflow: hidden; background: var(--track); touch-action: none; user-select: none; -webkit-user-select: none; }
.ed-svg { position: absolute; inset: 0; width: 100%; height: 100%; display: block; max-width: none; max-height: none; }
.ed-shape { fill: var(--lawn); fill-opacity: .3; stroke: var(--field); stroke-width: 2; vector-effect: non-scaling-stroke; }
.ed-shape.on { fill-opacity: .45; stroke-width: 3; }
.ed-shape:not(.on) { cursor: pointer; }
.ed-shape:focus { outline: none; }
.ed-shape:focus-visible { stroke: var(--water); stroke-width: 4; }
.ed-shape.cut { fill: var(--paper); fill-opacity: .45; stroke: var(--ink); stroke-dasharray: 5 3; }
.ed-h .hit, .ed-mid .hit { fill: var(--ink); fill-opacity: 0; cursor: grab; }
.ed-h .dot { fill: var(--field); stroke: var(--ink); stroke-width: 2; vector-effect: non-scaling-stroke; }
.ed-h:not(.on) .dot { fill-opacity: .7; }
.ed-h.cut .dot { fill: var(--ink); stroke: var(--field); }
.ed-h:focus { outline: none; }
.ed-h:focus-visible .dot { stroke: var(--water); stroke-width: 4; }
.ed-mid .plus { stroke: var(--field); stroke-width: 2.5; stroke-linecap: round; vector-effect: non-scaling-stroke; opacity: .85; }
.ed-n { margin-top: 12px; font-size: 17px; }
.ed-n b { font: 500 24px/1.1 var(--serif); margin-right: 6px; }
.ed-hint { margin-top: 2px; font-size: 17px; color: var(--muted); }
.ed-tools { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 14px; }
.ed-tools button { min-height: 44px; padding: 6px 10px; border: 0; border-radius: var(--r); background: none; box-shadow: inset 0 0 0 1px var(--hair); font-size: 17px; line-height: 1.2; cursor: pointer; }
.ed-tools button:active { background: var(--press); }
.ed-tools button:disabled { color: var(--muted); opacity: .55; cursor: default; }
.ed-tools [data-a="cut"] { grid-column: span 2; }
.ed-foot { margin-top: 16px; }
.ed-foot .ed-x { border: 0; box-shadow: none; text-decoration: underline; text-underline-offset: 3px; }
.ed-foot .btn:disabled { opacity: .5; }
/* C6: the bar legend's "Paving, beds, other" (design-7 m2) is wider than its column at 375/390: legend labels may wrap */
.parts dt { white-space: normal; align-items: flex-start; }
.parts dt i { margin-top: 3px; }
/* C7 (design-13 yes): the three values sit on one baseline (labels top, values bottom) when a label wraps */
.parts > div:not([hidden]) { display: flex; flex-direction: column; gap: 2px; }
.parts dd { margin-top: auto; }
/* END OUTLINE */
/* P1 dead ends (a): the out-of-area page (unavailable.html). Plumbing styles; design owns the look. */
.outarea .out-head { padding-top: 48px; text-align: center; }
.outarea .out-head .leaf { width: 44px; height: 44px; }
.outarea .out-head h1 { margin-top: 16px; font-size: 34px; line-height: 1.08; }
.outarea .out-head p { margin: 12px auto 0; max-width: 320px; color: var(--muted); }
.digits { margin-top: 14px; }
.digits .dg { display: grid; grid-template-columns: repeat(10, 1fr); margin-top: 6px; border-radius: var(--r); box-shadow: inset 0 0 0 1px var(--hair); }
.digits button { min-height: 44px; border: 0; background: none; font-size: 17px; cursor: pointer; }
.digits button + button { box-shadow: inset 1px 0 0 var(--hair); }
.digits button[aria-pressed="true"] { background: var(--pine); color: var(--paper); font-weight: 600; box-shadow: none; }
.dist { margin-top: 22px; }
.dist h3 { font-size: var(--step-0); }
.dist .when { margin-top: 8px; font-size: var(--step--1); color: var(--muted); }
.dist .days { margin: 4px 0 0; padding: 0; list-style: none; }
.dist .days li { padding: 4px 8px; border-radius: var(--rd); }
.dist .days li.off { color: var(--muted); }
.dist .days li.mine { background: var(--press); font-weight: 600; }
.months { margin: 12px 0 0; padding: 0; list-style: none; }
.months li { padding: 4px 0; }
.months b { margin-right: 6px; }
#fl-try .find { margin-top: 12px; }
.outarea .out-head .for { color: var(--ink); font-weight: 600; }
.mine-sum { margin-top: 12px; padding: 8px; border-radius: var(--rd); background: var(--press); font-weight: 600; white-space: pre-line; }

/* ---- POLISH Q (proposal prototype, 2026-10-16): quick polish, no look choice. Even line ends, a small press. */
p, li, .small, .src { text-wrap: pretty; }
.btn, .seg button, .tabs [role="tab"] { transition: transform var(--dur-1) var(--ease); }
.btn:active, .seg button:active, .tabs [role="tab"]:active { transform: scale(.98); }
@media (prefers-reduced-motion: reduce) { .btn, .seg button, .tabs [role="tab"] { transition: none; } }
/* hairlines on sharp screens: device-pixel */
@media (min-resolution: 2dppx) { .row { border-bottom-width: .5px; } footer.col { border-top-width: .5px; } }
/* the home lawn (Ken 2026-10-16: ship the approved round-5 "I · Real" motion; 29 A: nothing covers content). A band at
   the foot of the first screen, in flow: the hero reserves its height, so it never sits over text or controls, never
   takes a tap, and the suggestions list floats over it. The soil strip is plain CSS, there from the first paint (no
   layout shift, no script needed); lawn-boot.js brings the canvas in after load + idle and it fades in over the soil. */
.home .hero { position: relative; padding-bottom: var(--lawn-h); }
.lawn-slot { position: absolute; left: calc(-1 * var(--g)); right: calc(-1 * var(--g)); bottom: 0; height: var(--lawn-h); overflow: hidden;
  pointer-events: none; --soil-h: calc(clamp(30px, calc(var(--lawn-h) * 0.23), 46px) + 6px);
  background: linear-gradient(to bottom, transparent 0, var(--lawn-soil-far) 7px, var(--lawn-soil) 100%) left bottom / 100% var(--soil-h) no-repeat; }
.lawn-slot canvas { position: absolute; left: 0; top: 0; display: block; width: 100%; height: 100%; }
.lawn-slot .turf { opacity: 0; transition: opacity var(--dur-4) var(--ease); }
.lawn-slot .turf.on { opacity: 1; }
@media (max-width: 359px) { .lawn-slot { left: -14px; right: -14px; } }
@media (prefers-reduced-motion: reduce) { .lawn-slot .turf { transition: none; } }
@media print { .home .hero { padding-bottom: 0; } .lawn-slot { display: none; } }
/* growth S6a: the street board page (board.html); design owns the final look */
.board .rows li { padding: 12px 0; border-bottom: 1px solid var(--hair); }
.board .rows .bd-row { display: block; text-decoration: none; color: inherit; }
.board .rows .t { display: block; font-weight: 600; }
.board .rows .m { display: block; font-size: 17px; color: var(--muted); line-height: 1.35; }
.board label { display: block; margin-top: 16px; }
.board label + .mail { margin-top: 6px; }
.board .acts { margin-top: 16px; }
.board .chip[aria-pressed="true"] { box-shadow: inset 0 0 0 2px var(--ink); background: var(--field); font-weight: 600; }
/* p1-15: a lot page's watering verdict, rain hero and Gallons row are hidden until report-live.js has replaced any
   exported skip or "rain covered it" line (theme.js html.wpend), and never shown with scripts off: the old export
   still carries them. Two rules: a browser without :has() drops only the no-JS one, never the wpend one */
.wpend #wk-t, .wpend #wk-m, .wpend .steps li[data-water] .t, .wpend .steps li[data-water] .m,
.wpend #rain .ct + .num, .wpend span.rv[data-live=gal30], .wpend span.rdv[data-live=gal30d] { visibility: hidden; }
.no-js body:has(> #lot) #wk-t, .no-js body:has(> #lot) #wk-m, .no-js body:has(> #lot) .steps li[data-water] .t,
.no-js body:has(> #lot) .steps li[data-water] .m, .no-js body:has(> #lot) #rain .ct + .num,
.no-js body:has(> #lot) span.rv[data-live=gal30], .no-js body:has(> #lot) span.rdv[data-live=gal30d] { visibility: hidden; }
