/* Winterbrook HOA — site styles. Built from the Winterbrook Brand Standards v1.1.
   Material 3 skeleton · liquid-glass chrome · hard-edged content cards. */

:root {
  --ink: #010033; --ink-soft: #4A4B63; --ink-muted: #6B6C80;
  --bg: #F5F2EA; --surface: #FBF8F1; --surface-high: #EFEADF; --sand: #DCCDB6;
  --oak: #3E5B3A; --sabal: #6F7F45; --moss: #A3AB94; --lake: #3F6E8C;
  --bronze: #8A5A2B; --coreopsis: #E0A526; --firebush: #B5412B;
  --on-strong: #FBF8F1; /* text on Oak/Bronze/Firebush/Ink fills */
  --primary-fill: #010033; --on-primary: #F5F2EA;
  --font-display: "Bitter", Georgia, serif;
  --font-sans: "Figtree", system-ui, -apple-system, "Segoe UI", sans-serif;
  --radius-xs: 4px; --radius-sm: 8px; --radius-md: 12px; --radius-lg: 16px; --radius-xl: 28px; --radius-pill: 999px;
  --space-1: 4px; --space-2: 8px; --space-3: 12px; --space-4: 16px; --space-5: 24px; --space-6: 32px; --space-7: 48px; --space-8: 64px;
  --card-border: 2px solid var(--ink);
  --shadow-hard: 4px 4px 0 var(--ink);
  --shadow-hard-lead: 6px 6px 0 var(--oak);
  --shadow-hard-pressed: 1px 1px 0 var(--ink);
  --hairline: 1px solid rgba(1, 0, 51, 0.14);
  --glass-bg: rgba(245, 242, 234, 0.72);
  --glass-border: 1px solid rgba(255, 255, 255, 0.55);
  --glass-edge: inset 0 1px 0 rgba(255, 255, 255, 0.6);
  --glass-shadow: 0 8px 24px rgba(1, 0, 51, 0.10);
  --glass-blur: saturate(160%) blur(18px);
  --focus: 0 0 0 3px var(--bg), 0 0 0 5px var(--lake);
  --ease: cubic-bezier(0.2, 0, 0, 1);
  --dur-short: 150ms; --dur-medium: 250ms;
  --primary-container: #E3E2F3; --secondary-container: #DDE6D6; --on-secondary-container: #1E2E1C;
  --outline: rgba(1, 0, 51, 0.38); --outline-variant: rgba(1, 0, 51, 0.14);
  --elev-1: 0 1px 2px rgba(1,0,51,.18), 0 1px 3px 1px rgba(1,0,51,.10);
  --elev-2: 0 1px 2px rgba(1,0,51,.18), 0 2px 6px 2px rgba(1,0,51,.10);
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --ink: #EFEBE1; --ink-soft: #C3C1CC; --ink-muted: #9A99AB;
    --bg: #0B0D24; --surface: #14173A; --surface-high: #1C1F46; --sand: #2A2D4D;
    --oak: #8FB088; --sabal: #A7B57E; --moss: #6F7766; --lake: #8DB8D3; --bronze: #D3A06C;
    --coreopsis: #E9B949; --firebush: #E58A73; --on-strong: #0B0D24;
    --primary-fill: #C9C8F0; --on-primary: #010033;
    --card-border: 2px solid rgba(239, 235, 225, 0.7);
    --shadow-hard: 4px 4px 0 #000014; --shadow-hard-lead: 6px 6px 0 #2C3F2A; --shadow-hard-pressed: 1px 1px 0 #000014;
    --hairline: 1px solid rgba(239, 235, 225, 0.16);
    --glass-bg: rgba(20, 23, 58, 0.66); --glass-border: 1px solid rgba(239, 235, 225, 0.14);
    --glass-edge: inset 0 1px 0 rgba(239, 235, 225, 0.10); --glass-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
    --primary-container: #22245A; --secondary-container: #2C3F2A; --on-secondary-container: #DDE6D6;
    --outline: rgba(239,235,225,.42); --outline-variant: rgba(239,235,225,.16);
    --elev-1: 0 1px 3px rgba(0,0,0,.5); --elev-2: 0 2px 8px rgba(0,0,0,.55);
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --ink: #EFEBE1; --ink-soft: #C3C1CC; --ink-muted: #9A99AB;
  --bg: #0B0D24; --surface: #14173A; --surface-high: #1C1F46; --sand: #2A2D4D;
  --oak: #8FB088; --sabal: #A7B57E; --moss: #6F7766; --lake: #8DB8D3; --bronze: #D3A06C;
  --coreopsis: #E9B949; --firebush: #E58A73; --on-strong: #0B0D24;
  --primary-fill: #C9C8F0; --on-primary: #010033;
  --card-border: 2px solid rgba(239, 235, 225, 0.7);
  --shadow-hard: 4px 4px 0 #000014; --shadow-hard-lead: 6px 6px 0 #2C3F2A; --shadow-hard-pressed: 1px 1px 0 #000014;
  --hairline: 1px solid rgba(239, 235, 225, 0.16);
  --glass-bg: rgba(20, 23, 58, 0.66); --glass-border: 1px solid rgba(239, 235, 225, 0.14);
  --glass-edge: inset 0 1px 0 rgba(239, 235, 225, 0.10); --glass-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
  --primary-container: #22245A; --secondary-container: #2C3F2A; --on-secondary-container: #DDE6D6;
  --outline: rgba(239,235,225,.42); --outline-variant: rgba(239,235,225,.16);
  --elev-1: 0 1px 3px rgba(0,0,0,.5); --elev-2: 0 2px 8px rgba(0,0,0,.55);
  color-scheme: dark;
}

/* light/dark asset swapping */
.when-dark { display: none !important; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .when-dark { display: revert !important; } :root:not([data-theme="light"]) .when-light { display: none !important; } }
:root[data-theme="dark"] .when-dark { display: revert !important; }
:root[data-theme="dark"] .when-light { display: none !important; }

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 96px; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--font-sans); font-size: 1.0625rem; line-height: 1.6; -webkit-font-smoothing: antialiased; min-height: 100vh; display: flex; flex-direction: column; }
@media (min-width: 840px) { body { font-size: 1.125rem; } }
.small { font-size: 0.9375rem; }
main { flex: 1; }
img, svg { max-width: 100%; height: auto; }
a { color: var(--lake); text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { color: var(--ink); }
:focus-visible { outline: none; box-shadow: var(--focus); border-radius: var(--radius-xs); }
h1, h2, .display { font-family: var(--font-display); color: var(--ink); margin: 0 0 var(--space-3); }
.display { font-weight: 800; font-size: clamp(2.25rem, 1.6rem + 3vw, 3.5rem); line-height: 1.05; letter-spacing: -0.005em; }
h1 { font-weight: 800; font-size: clamp(1.875rem, 1.5rem + 1.5vw, 2.5rem); line-height: 1.1; }
h2 { font-weight: 700; font-size: clamp(1.5rem, 1.3rem + 0.8vw, 1.875rem); line-height: 1.15; }
h3 { font-weight: 700; font-size: clamp(1.25rem, 1.2rem + 0.3vw, 1.375rem); line-height: 1.25; margin: 0 0 var(--space-2); }
h4 { font-weight: 600; font-size: 1.0625rem; line-height: 1.3; margin: 0 0 var(--space-2); }
p { margin: 0 0 var(--space-3); }
.eyebrow { font-family: var(--font-sans); font-size: 0.8125rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-soft); line-height: 1.3; margin: 0 0 var(--space-2); }
.small { font-size: 0.875rem; line-height: 1.5; }
.muted { color: var(--ink-soft); }
.card p, .card li { line-height: 1.6; }
.num, table { font-variant-numeric: tabular-nums; }
.measure { max-width: 68ch; }
.wrap { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 16px; }
@media (min-width: 600px) { .wrap { padding: 0 24px; } }
@media (min-width: 840px) { .wrap { padding: 0 32px; } }
.skip { position: absolute; left: -999px; top: 8px; z-index: 100; background: var(--surface); padding: 8px 12px; border: 1px solid var(--outline); border-radius: var(--radius-sm); }
.skip:focus { left: 12px; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.ms { font-family: "Material Symbols Rounded"; font-weight: normal; font-style: normal; font-size: 24px; line-height: 1; letter-spacing: normal; text-transform: none; display: inline-block; white-space: nowrap; direction: ltr; -webkit-font-smoothing: antialiased; font-variation-settings: 'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 24; vertical-align: middle; flex-shrink: 0; width: 1em; overflow: hidden; }
.ms.fill { font-variation-settings: 'FILL' 1, 'wght' 400, 'GRAD' 0, 'opsz' 24; }
.ms.sm { font-size: 20px; }

/* ---------- Glass chrome ---------- */
.glass { background: var(--glass-bg); -webkit-backdrop-filter: var(--glass-blur); backdrop-filter: var(--glass-blur); border: var(--glass-border); box-shadow: var(--glass-edge), var(--glass-shadow); }
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) { .glass { background: var(--surface); } }
.topbar { position: sticky; top: 0; z-index: 50; padding: 12px 12px 0; }
.pill { max-width: 1200px; margin: 0 auto; height: 60px; border-radius: var(--radius-xl); display: flex; align-items: center; gap: var(--space-3); padding: 0 10px 0 22px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); min-width: 0; }
.brand-mono { width: 36px; height: 36px; border-radius: 8px; }
.brand-word { height: 18px; width: auto; }
.brand-tag { font-size: 0.75rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; padding: 2px 8px; border-radius: var(--radius-pill); background: var(--primary-fill); color: var(--on-primary); }
@media (max-width: 380px) { .brand-word { height: 15px; } }
.topnav { display: none; margin: 0 auto; gap: 4px; }
.topnav a { color: var(--ink); text-decoration: none; font-weight: 600; font-size: 0.9375rem; padding: 10px 14px; border-radius: var(--radius-pill); transition: background var(--dur-short) var(--ease); }
.topnav a:hover { background: rgba(127, 127, 160, .12); }
.topnav a[aria-current="page"] { background: var(--primary-fill); color: var(--on-primary); }
@media (min-width: 840px) { .topnav { display: flex; } }
.top-actions { margin-left: auto; display: flex; align-items: center; gap: 4px; }
@media (min-width: 840px) { .top-actions { margin-left: 0; } }
.iconbtn { width: 48px; height: 48px; display: inline-grid; place-items: center; border-radius: 50%; border: 0; background: transparent; color: var(--ink); cursor: pointer; text-decoration: none; }
.iconbtn:hover { background: rgba(127, 127, 160, .12); }
.bottomnav { position: fixed; z-index: 50; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom)); height: 68px; border-radius: var(--radius-xl); display: flex; justify-content: space-around; align-items: center; }
.bottomnav a { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 2px; font-size: 0.75rem; font-weight: 600; color: var(--ink); text-decoration: none; min-height: 48px; justify-content: center; }
.bottomnav .ind { display: grid; place-items: center; width: 56px; height: 30px; border-radius: var(--radius-pill); transition: background var(--dur-short) var(--ease); }
.bottomnav a[aria-current="page"] .ind { background: var(--primary-fill); color: var(--on-primary); }
.bottomnav a[aria-current="page"] .ms { font-variation-settings: 'FILL' 1, 'wght' 400, 'GRAD' 0, 'opsz' 24; }
@media (min-width: 840px) { .bottomnav { display: none; } }
@media (max-width: 839px) { body { padding-bottom: calc(96px + env(safe-area-inset-bottom)); } .hide-sm { display: none !important; } }

/* ---------- Buttons (Material 3: filled, tonal, outlined, text) ---------- */
.btn { --b-bg: transparent; --b-fg: var(--ink); --b-bd: var(--outline); position: relative; overflow: hidden; display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 24px; border-radius: var(--radius-pill); border: 1px solid var(--b-bd); background: var(--b-bg); color: var(--b-fg); font: 600 0.9375rem/1 var(--font-sans); letter-spacing: .01em; text-decoration: none; cursor: pointer; white-space: nowrap; transition: box-shadow var(--dur-short) var(--ease), background-color var(--dur-short) var(--ease); }
.btn::after { content: ""; position: absolute; inset: 0; background: currentColor; opacity: 0; transition: opacity var(--dur-short) var(--ease); pointer-events: none; }
.btn:hover::after { opacity: var(--state-hover, .08); }
.btn:active::after, .btn:focus-visible::after { opacity: .12; }
.btn:hover { color: var(--b-fg); }
.btn-primary { --b-bg: var(--primary-fill); --b-fg: var(--on-primary); --b-bd: transparent; }
.btn-primary:hover { box-shadow: var(--elev-1); }
.btn-tonal { --b-bg: var(--secondary-container); --b-fg: var(--on-secondary-container); --b-bd: transparent; }
.btn-sm { min-height: 40px; padding: 0 16px; font-size: 0.875rem; }
.btn-text { --b-bd: transparent; --b-fg: var(--lake); padding: 0 12px; }
.btn-danger { --b-fg: var(--firebush); }
.btn[disabled] { opacity: .38; pointer-events: none; }
.btn-row { display: flex; flex-wrap: wrap; gap: var(--space-3); align-items: center; }
.btn .ms { font-size: 20px; }

/* ---------- Cards (Material 3 outlined / elevated) ---------- */
.card { background: var(--surface); border: 1px solid var(--outline-variant); border-radius: var(--radius-lg); padding: var(--space-5); color: var(--ink); }
.card--lead { border: 2px solid var(--oak); background: var(--surface); }
.card--flat { background: transparent; }
a.card, button.card { display: block; text-decoration: none; transition: box-shadow var(--dur-short) var(--ease), border-color var(--dur-short) var(--ease); cursor: pointer; text-align: left; font: inherit; width: 100%; }
a.card:hover, button.card:hover { box-shadow: var(--elev-2); border-color: var(--outline); color: var(--ink); }
.card h3:last-child, .card p:last-child { margin-bottom: 0; }
.grid { display: grid; gap: var(--space-5); }
.g2 { grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr)); }
.g3 { grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr)); }
.g4 { grid-template-columns: repeat(auto-fill, minmax(min(100%, 210px), 1fr)); }
.section { margin: var(--space-7) 0; }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: var(--space-4); margin-bottom: var(--space-5); flex-wrap: wrap; }
.section-head h2 { margin: 0; }
.tile-icon { width: 48px; height: 48px; border-radius: var(--radius-md); display: grid; place-items: center; background: var(--secondary-container); color: var(--on-secondary-container); margin-bottom: var(--space-3); flex: none; aspect-ratio: 1; }
.tile-title { display: flex; align-items: center; justify-content: space-between; gap: 8px; font-weight: 700; font-size: 1.125rem; margin-bottom: 4px; }
.list { list-style: none; margin: 0; padding: 0; }
.list > li { border-top: 1px solid var(--outline-variant); padding: 14px 0; }
.list > li:first-child { border-top: 0; }

/* ---------- Chips & badges ---------- */
.chips { display: flex; gap: 8px; flex-wrap: wrap; }
.chips.scroll { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; padding: 4px 2px 8px; -webkit-mask-image: linear-gradient(to right, #000 85%, transparent); mask-image: linear-gradient(to right, #000 85%, transparent); }
.chips.scroll::-webkit-scrollbar { display: none; }
/* Mouse and trackpad users can't swipe, so chip rows wrap instead of scrolling sideways. */
@media (hover: hover) and (pointer: fine) { .chips.scroll { flex-wrap: wrap; overflow: visible; -webkit-mask-image: none; mask-image: none; } }
.chip { display: inline-flex; align-items: center; gap: 6px; min-height: 40px; padding: 0 16px; border-radius: var(--radius-sm); border: 1px solid var(--outline); background: var(--surface); color: var(--ink); font: 600 0.875rem/1 var(--font-sans); cursor: pointer; text-decoration: none; white-space: nowrap; }
.chip:hover { background: var(--surface-high); }
.chip[aria-pressed="true"], .chip.on { background: var(--secondary-container); color: var(--on-secondary-container); border-color: transparent; }
.chip .ms { font-size: 18px; }
.limit { display: inline-flex; align-items: center; min-height: 32px; padding: 0 12px; border-radius: var(--radius-sm); background: var(--surface-high); border: 0; font-size: 0.875rem; font-weight: 600; font-variant-numeric: tabular-nums; }
.cite { display: inline-flex; align-items: center; gap: 4px; min-height: 32px; padding: 0 12px; border-radius: var(--radius-sm); border: 1px solid var(--lake); color: var(--lake); font-size: 0.8125rem; font-weight: 600; text-decoration: none; background: transparent; cursor: pointer; }
.cite:hover { background: color-mix(in srgb, var(--lake) 10%, transparent); color: var(--lake); }
.badge { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px 4px 8px; border-radius: var(--radius-pill); font-size: 0.8125rem; font-weight: 700; line-height: 1.2; }
.badge .ms { font-size: 18px; font-variation-settings: 'FILL' 1, 'wght' 500, 'GRAD' 0, 'opsz' 20; }
.b-allowed { background: var(--oak); color: var(--on-strong); }
.b-approval { background: var(--bronze); color: var(--on-strong); }
.b-no { background: var(--firebush); color: var(--on-strong); }
.b-limits { background: var(--coreopsis); color: #010033; }
.b-info { border: 1.5px solid var(--lake); color: var(--lake); }

/* ---------- Forms ---------- */
.field { display: grid; gap: 6px; margin-bottom: var(--space-4); }
.field label, .label { font-weight: 500; font-size: 0.9375rem; }
.input, select.input, textarea.input { width: 100%; min-height: 52px; padding: 12px 14px; border-radius: var(--radius-sm); border: 1px solid var(--outline); background: var(--surface); color: var(--ink); font: 400 1rem/1.4 var(--font-sans); }
textarea.input { min-height: 140px; resize: vertical; }
.input:focus { outline: none; border: 2px solid var(--lake); padding: 11px 13px; }
.help { font-size: 0.875rem; color: var(--ink-soft); }
.err { color: var(--firebush); font-size: 0.875rem; display: flex; gap: 6px; align-items: center; }
.hp { position: absolute; left: -5000px; }
.searchbar { display: flex; align-items: center; gap: 8px; min-height: 56px; padding: 0 6px 0 18px; border-radius: var(--radius-pill); background: var(--surface-high); border: 1px solid var(--outline-variant); }
.searchbar input { flex: 1; border: 0; background: transparent; font: 500 1.0625rem var(--font-sans); color: var(--ink); min-width: 0; height: 52px; }
.searchbar input:focus { outline: none; }
.searchbar:focus-within { box-shadow: var(--focus); background: var(--surface); }

/* ---------- Snackbars / notices ---------- */
.snack { display: flex; gap: 10px; align-items: center; margin: var(--space-4) 0; padding: 14px 16px; border-radius: var(--radius-sm); border: 0; background: var(--primary-fill); color: var(--on-primary); box-shadow: var(--elev-2); }
.snack-err { background: var(--firebush); color: var(--on-strong); }
.snack .ms { color: inherit; }
.notice { display: flex; gap: 12px; padding: 16px; border-radius: var(--radius-md); background: var(--surface-high); border-left: 4px solid var(--lake); }
.notice.law { border-left-color: var(--bronze); }
.notice.dev { border-left-color: var(--sabal); }
.notice .ms { color: var(--lake); }
.notice.law .ms { color: var(--bronze); }
.notice.dev .ms { color: var(--sabal); }
.notice p:last-child { margin: 0; }

/* ---------- Hero ---------- */
.hero { display: grid; gap: var(--space-6); align-items: center; padding: var(--space-6) 0 var(--space-5); }
.hero > *, .two-col > *, .grid > * { min-width: 0; }
@media (min-width: 900px) { .hero { grid-template-columns: 1.05fr 1fr; padding-top: var(--space-7); } }
/* Watercolor art: paper is color-matched to --bg and edges are feathered in the image itself (build/blend_art.py),
   so in light mode the art melts into the page. In dark mode it sits on a soft cream paper card. */
.hero-art, .banner-art, .spot-art { margin: 0; }
.hero-art img, .banner-art img, .spot-art img, .mini-art { display: block; width: 100%; height: auto; }
.banner-art { margin: var(--space-4) 0; }
.spot-art { max-width: 680px; margin: var(--space-6) auto 0; }
.paper { border-radius: var(--radius-xl); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .paper { background: #F5F2EA; padding: 6px; } }
:root[data-theme="dark"] .paper { background: #F5F2EA; padding: 6px; }
.lede { font-size: 1.125rem; color: var(--ink-soft); max-width: 60ch; }
.ask-chips { margin-top: var(--space-3); }

/* ---------- Tables ---------- */
.table-wrap { overflow-x: auto; border: 1px solid var(--outline-variant); border-radius: var(--radius-lg); background: var(--surface); }
table.data { width: 100%; border-collapse: collapse; font-size: 0.9375rem; }
table.data th, table.data td { text-align: left; padding: 14px 16px; border-bottom: 1px solid var(--outline-variant); vertical-align: top; }
table.data th { font-size: 0.8125rem; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-soft); font-weight: 600; background: var(--surface-high); position: sticky; top: 0; }
table.data tr:last-child td { border-bottom: 0; }
table.data td .linkish { background: none; border: 0; padding: 0; font: 600 1em var(--font-sans); color: var(--lake); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; text-align: left; }
.sci { font-style: italic; color: var(--ink-soft); }

/* ---------- Dialog / bottom sheet ---------- */
dialog.sheet { border: 0; border-radius: var(--radius-xl); box-shadow: var(--elev-2); background: var(--surface); color: var(--ink); padding: 0; width: min(640px, calc(100% - 24px)); max-height: 88vh; }
dialog.sheet::backdrop { background: rgba(1, 0, 51, 0.4); }
.sheet-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 12px 12px 0 20px; }
.sheet-body { padding: 8px 20px 24px; overflow: auto; }
@media (max-width: 599px) { dialog.sheet { margin: auto 0 0; width: 100%; max-width: 100%; border-radius: var(--radius-xl) var(--radius-xl) 0 0; } }

/* ---------- Footer ---------- */
.foot { margin-top: var(--space-8); border-top: 1px solid var(--outline-variant); background: var(--surface-high); padding: var(--space-6) 0 var(--space-5); }
.foot-grid { display: grid; gap: var(--space-5); }
@media (min-width: 840px) { .foot-grid { grid-template-columns: 2fr 1fr 1fr; } }
.foot-logo { width: 240px; height: auto; margin-bottom: 12px; }
.foot-links { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.foot-legal { margin-top: var(--space-5); border-top: var(--hairline); padding-top: var(--space-4); }

/* ---------- Home: issues band ---------- */
.issue-card { display: flex; flex-direction: column; gap: 8px; }
.issue-card .tile-icon { background: var(--primary-container); color: var(--ink); }
.issue-card ul { margin: 4px 0 0; padding-left: 1.1em; font-size: 0.9375rem; color: var(--ink-soft); }
.issue-card ul li { margin: 2px 0; }
.ann { display: grid; gap: 4px; }
.ann time { font-size: 0.8125rem; color: var(--ink-soft); font-weight: 600; letter-spacing: .04em; }
.pin { color: var(--bronze); }
.doc-row { display: flex; gap: 14px; align-items: center; }
.doc-row .tile-icon { margin: 0; }
.doc-row .grow { flex: 1; min-width: 0; }

/* ---------- Guide ---------- */
.guide { display: grid; gap: var(--space-5); padding-top: var(--space-5); }
@media (min-width: 840px) { .guide { grid-template-columns: 280px minmax(0, 1fr); align-items: start; } }
.toc { position: sticky; top: 88px; max-height: calc(100vh - 100px); overflow: auto; padding: var(--space-4); display: none; }
@media (min-width: 840px) { .toc { display: block; } }
.toc a { display: flex; align-items: center; gap: 10px; padding: 8px 10px; border-radius: var(--radius-sm); color: var(--ink); text-decoration: none; font-weight: 500; font-size: 0.9375rem; min-height: 40px; }
.toc a:hover { background: rgba(127,127,160,.12); }
.toc a[aria-current="true"] { background: var(--primary-fill); color: var(--on-primary); }
.toc .ms { font-size: 20px; }
.toc hr { border: 0; border-top: var(--hairline); margin: 8px 0; }
.reader { min-width: 0; }
.reader > * + * { margin-top: var(--space-5); }
.crumbs { display: flex; flex-wrap: wrap; gap: 4px; align-items: center; font-size: 0.875rem; }
.crumbs a { text-decoration: none; font-weight: 600; }
.intent-grid { display: grid; gap: 10px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 250px), 1fr)); }
.intent { display: flex; align-items: center; gap: 12px; min-height: 56px; padding: 10px 12px 10px 16px; border-radius: var(--radius-md); border: 1px solid var(--outline-variant); background: var(--surface); color: var(--ink); text-decoration: none; font-weight: 600; transition: background-color var(--dur-short) var(--ease); }
.intent:hover { color: var(--ink); background: var(--surface-high); }
.intent .dot { width: 10px; height: 10px; border-radius: 50%; flex-shrink: 0; }
.intent .grow { flex: 1; }
.d-allowed { background: var(--oak); } .d-approval { background: var(--bronze); } .d-no { background: var(--firebush); } .d-limits { background: var(--coreopsis); } .d-info { background: var(--lake); }
.rule-card .rule-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.rule-card h4 { margin: 0; font-size: 1.125rem; }
.rule-card .summary { margin: 10px 0; }
.rule-card .meta { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
details.official { margin-top: 14px; border-top: var(--hairline); padding-top: 10px; }
details.official summary { cursor: pointer; font-weight: 600; display: flex; align-items: center; gap: 6px; min-height: 40px; list-style: none; }
details.official summary::-webkit-details-marker { display: none; }
details.official[open] summary .ms { transform: rotate(180deg); }
details.official summary .ms { transition: transform var(--dur-short) var(--ease); }
blockquote.quote { margin: 12px 0; padding: 14px 18px; border-left: 3px solid var(--lake); background: var(--surface-high); border-radius: 0 var(--radius-sm) var(--radius-sm) 0; font-size: 0.9375rem; max-width: 80ch; }
blockquote.quote footer { margin-top: 8px; font-size: 0.8125rem; font-weight: 600; color: var(--ink-soft); display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
mark { background: var(--coreopsis); color: #010033; padding: 0 2px; border-radius: 2px; }
.answer { font-size: 1.125rem; }
.stepper { list-style: none; margin: 0; padding: 0; counter-reset: s; }
.stepper li { position: relative; padding: 0 0 20px 52px; counter-increment: s; }
.stepper li::before { content: counter(s); position: absolute; left: 0; top: 0; width: 36px; height: 36px; font-size: .9375rem; border-radius: 50%; display: grid; place-items: center; font-weight: 700; background: var(--primary-fill); color: var(--on-primary); }
.stepper li::after { content: ""; position: absolute; left: 17px; top: 40px; bottom: 4px; width: 2px; background: var(--sand); }
.stepper li:last-child::after { display: none; }
.stepper b { display: block; }
.status-legend { display: flex; flex-wrap: wrap; gap: 8px; }
.switch { display: inline-flex; align-items: center; gap: 10px; cursor: pointer; font-weight: 500; font-size: 0.9375rem; min-height: 48px; }
.switch input { appearance: none; width: 52px; height: 32px; border-radius: 16px; background: var(--surface-high); border: 2px solid var(--ink-muted); position: relative; cursor: pointer; transition: background var(--dur-short) var(--ease); margin: 0; flex-shrink: 0; }
.switch input::after { content: ""; position: absolute; top: 6px; left: 6px; width: 16px; height: 16px; border-radius: 50%; background: var(--ink-muted); transition: all var(--dur-short) var(--ease); }
.switch input:checked { background: var(--oak); border-color: var(--oak); }
.switch input:checked::after { left: 24px; top: 2px; width: 24px; height: 24px; background: var(--on-strong); }
.mini-art { width: 100%; max-width: 320px; margin: 0 auto; }
.empty { text-align: center; padding: var(--space-6) var(--space-4); }
.kbd-note { font-size: 0.8125rem; color: var(--ink-soft); }

/* ---------- Help / tickets ---------- */
.thread { display: grid; gap: var(--space-4); }
.msg { border: 1px solid var(--outline-variant); border-radius: var(--radius-lg); background: var(--surface); padding: 16px 18px; }
.msg.board { border-color: transparent; background: var(--secondary-container); color: var(--on-secondary-container); }
.msg.internal { background: var(--surface-high); border-style: dashed; }
.msg.system { border: 0; background: transparent; padding: 0 4px; font-size: 0.875rem; color: var(--ink-soft); }
.msg-head { display: flex; justify-content: space-between; gap: 8px; flex-wrap: wrap; font-size: 0.875rem; color: var(--ink-soft); margin-bottom: 8px; font-weight: 600; }
.msg-body p:last-child { margin-bottom: 0; }
.att { display: inline-flex; gap: 6px; align-items: center; font-size: 0.875rem; margin: 6px 8px 0 0; }
.status-pill { display: inline-flex; padding: 3px 10px; border-radius: var(--radius-pill); font-size: 0.8125rem; font-weight: 700; border: 1.5px solid currentColor; }
.st-new { color: var(--bronze); } .st-open { color: var(--lake); } .st-waiting { color: var(--sabal); } .st-closed { color: var(--ink-muted); }
.faq details { border-top: var(--hairline); padding: 6px 0; }
.faq details:first-child { border-top: 0; }
.faq summary { cursor: pointer; font-weight: 600; min-height: 48px; display: flex; align-items: center; justify-content: space-between; gap: 12px; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq details[open] summary .ms { transform: rotate(180deg); }
.faq .ans { padding: 0 0 12px; color: var(--ink-soft); max-width: 70ch; }
.two-col { display: grid; gap: var(--space-6); }
@media (min-width: 960px) { .two-col { grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); align-items: start; } }

/* ---------- Admin ---------- */
.admin-stats { display: grid; gap: var(--space-4); grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); }
.stat b { display: block; font-family: var(--font-display); font-size: 2rem; line-height: 1; }
.tabs { display: flex; gap: 4px; border-bottom: var(--hairline); margin-bottom: var(--space-4); overflow-x: auto; }
.tabs a { padding: 12px 16px; text-decoration: none; color: var(--ink-soft); font-weight: 600; border-bottom: 3px solid transparent; white-space: nowrap; }
.tabs a[aria-current="page"] { color: var(--ink); border-color: var(--ink); }
.row-link { color: var(--ink); text-decoration: none; font-weight: 600; }
.row-link:hover { text-decoration: underline; }
.form-grid { display: grid; gap: 0 var(--space-4); grid-template-columns: repeat(auto-fill, minmax(min(100%, 240px), 1fr)); }
.check { display: inline-flex; align-items: center; gap: 8px; min-height: 40px; font-weight: 500; }
.check input { width: 20px; height: 20px; accent-color: var(--oak); }

@media (prefers-reduced-motion: reduce) { * { transition-duration: 0ms !important; animation-duration: 0ms !important; scroll-behavior: auto !important; } }
@media print { .topbar, .bottomnav, .foot, .toc, .no-print { display: none !important; } }

/* ---------- Neighborhood ---------- */
.svc { display: flex; flex-direction: column; }
.svc-top { display: flex; gap: 14px; align-items: center; }
.svc .btn-row { margin-top: auto !important; padding-top: 14px; }
.days { display: grid; gap: 6px; }
.days-row { display: grid; grid-template-columns: minmax(110px, 1.4fr) repeat(5, minmax(0, 1fr)); gap: 6px; align-items: center; }
.days-row > span { min-height: 44px; display: grid; place-items: center; border-radius: var(--radius-sm); background: var(--surface-high); font-variant-numeric: tabular-nums; }
.days-row > span.on { background: var(--secondary-container); color: var(--on-secondary-container); }
.days-head > span { background: transparent; min-height: 28px; font-size: .8125rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-soft); }
.days-row .days-what { place-items: center start; padding: 0 12px; gap: 8px; display: flex; align-items: center; font-weight: 600; background: transparent; }
@media (max-width: 480px) { .days-row { grid-template-columns: 92px repeat(5, minmax(0, 1fr)); gap: 4px; } .days-row .days-what { padding: 0 4px; font-size: .9375rem; } .days-what .ms { display: none; } }
@media (max-width: 400px) { .bottomnav a { font-size: .6875rem; } .bottomnav .ind { width: 48px; } }
.svc .btn { white-space: normal; text-align: left; line-height: 1.25; padding-block: 8px; }
/* Page header with art beside the text (Help Center). Art stays modest so the content sits above the fold. */
.page-hero { display: grid; gap: var(--space-5); align-items: center; padding-top: var(--space-5); }
.page-hero > * { min-width: 0; }
.page-hero-art { margin: 0; max-width: 560px; justify-self: center; }
.page-hero-art img { display: block; width: 100%; height: auto; max-height: 340px; object-fit: contain; }
@media (min-width: 900px) { .page-hero { grid-template-columns: 1.15fr 1fr; } }
@media (max-width: 599px) { .page-hero-art { display: none; } }

/* ---------- Navigation bars: "Liquid Glass" ----------
   Header: a navy-tinted glass pill (like a tinted glass button). Mostly opaque so links stay legible, with a
   faint view of the page through it, a bright periwinkle rim, a specular highlight on the top edge and a soft
   inner glow. Phone tab bar: a nearly clear frosted capsule; the current page sits in a soft tinted pill. */
:root {
  --nav-bg: linear-gradient(180deg, rgba(38, 40, 112, 0.80) 0%, rgba(1, 0, 51, 0.86) 55%, rgba(1, 0, 51, 0.90) 100%);
  --nav-border: rgba(170, 190, 255, 0.55);
  --nav-fg: #F5F2EA;
  --nav-fg-soft: rgba(245, 242, 234, 0.82);
  --nav-hover: rgba(245, 242, 234, 0.12);
  --nav-active-bg: rgba(245, 242, 234, 0.94);
  --nav-active-fg: #010033;
  --nav-edge: inset 0 1px 0 rgba(255, 255, 255, 0.45), inset 0 -1px 0 rgba(141, 184, 211, 0.30),
              inset 0 0 0 1px rgba(255, 255, 255, 0.06), inset 0 0 18px rgba(141, 160, 255, 0.22);
  --nav-shadow: 0 12px 30px rgba(1, 0, 51, 0.26), 0 2px 6px rgba(1, 0, 51, 0.16);
  --nav-focus: 0 0 0 2px #010033, 0 0 0 4px #8DB8D3;
  /* Tab bar (frosted, nearly clear) */
  --tab-bg: linear-gradient(180deg, rgba(251, 248, 241, 0.80), rgba(245, 242, 234, 0.68));
  --tab-border: rgba(255, 255, 255, 0.85);
  --tab-edge: inset 0 1px 1px rgba(255, 255, 255, 0.95), inset 0 -1px 1px rgba(1, 0, 51, 0.05), inset 0 0 14px rgba(255, 255, 255, 0.55);
  --tab-shadow: 0 10px 28px rgba(1, 0, 51, 0.14), 0 1px 3px rgba(1, 0, 51, 0.10);
  --tab-fg: #2A2B45;
  --tab-active-bg: rgba(1, 0, 51, 0.08);
  --tab-active-fg: #010033;
}
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) {
  --nav-bg: linear-gradient(180deg, rgba(74, 78, 168, 0.78) 0%, rgba(44, 47, 112, 0.86) 55%, rgba(30, 32, 86, 0.90) 100%);
  --nav-border: rgba(190, 200, 255, 0.45);
  --nav-edge: inset 0 1px 0 rgba(255, 255, 255, 0.35), inset 0 -1px 0 rgba(141, 184, 211, 0.25), inset 0 0 18px rgba(160, 175, 255, 0.20);
  --nav-shadow: 0 12px 30px rgba(0, 0, 0, 0.55), 0 2px 6px rgba(0, 0, 0, 0.4);
  --nav-focus: 0 0 0 2px #2C2F70, 0 0 0 4px #8DB8D3;
  --tab-bg: linear-gradient(180deg, rgba(40, 44, 96, 0.62), rgba(20, 23, 58, 0.58));
  --tab-border: rgba(255, 255, 255, 0.16);
  --tab-edge: inset 0 1px 1px rgba(255, 255, 255, 0.18), inset 0 0 14px rgba(160, 175, 255, 0.10);
  --tab-shadow: 0 10px 28px rgba(0, 0, 0, 0.5), 0 1px 3px rgba(0, 0, 0, 0.4);
  --tab-fg: #C3C1CC; --tab-active-bg: rgba(255, 255, 255, 0.12); --tab-active-fg: #EFEBE1;
} }
:root[data-theme="dark"] {
  --nav-bg: linear-gradient(180deg, rgba(74, 78, 168, 0.78) 0%, rgba(44, 47, 112, 0.86) 55%, rgba(30, 32, 86, 0.90) 100%);
  --nav-border: rgba(190, 200, 255, 0.45);
  --nav-edge: inset 0 1px 0 rgba(255, 255, 255, 0.35), inset 0 -1px 0 rgba(141, 184, 211, 0.25), inset 0 0 18px rgba(160, 175, 255, 0.20);
  --nav-shadow: 0 12px 30px rgba(0, 0, 0, 0.55), 0 2px 6px rgba(0, 0, 0, 0.4);
  --nav-focus: 0 0 0 2px #2C2F70, 0 0 0 4px #8DB8D3;
  --tab-bg: linear-gradient(180deg, rgba(40, 44, 96, 0.62), rgba(20, 23, 58, 0.58));
  --tab-border: rgba(255, 255, 255, 0.16);
  --tab-edge: inset 0 1px 1px rgba(255, 255, 255, 0.18), inset 0 0 14px rgba(160, 175, 255, 0.10);
  --tab-shadow: 0 10px 28px rgba(0, 0, 0, 0.5), 0 1px 3px rgba(0, 0, 0, 0.4);
  --tab-fg: #C3C1CC; --tab-active-bg: rgba(255, 255, 255, 0.12); --tab-active-fg: #EFEBE1;
}

/* Header pill: navy tinted glass */
.topbar .navbar { position: relative; isolation: isolate; border-radius: 999px; background: var(--nav-bg); border: 1px solid var(--nav-border);
  -webkit-backdrop-filter: blur(14px) saturate(180%); backdrop-filter: blur(14px) saturate(180%);
  box-shadow: var(--nav-edge), var(--nav-shadow); color: var(--nav-fg); }
/* Specular sheen across the top half of the glass */
.topbar .navbar::before { content: ""; position: absolute; inset: 1px 1px 50% 1px; border-radius: 999px 999px 40% 40% / 999px 999px 100% 100%; z-index: -1; pointer-events: none;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0)); }
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) { .topbar .navbar { background: #010033; } }
.navbar a, .navbar .iconbtn, .navbar .brand { color: var(--nav-fg); }
.navbar :focus-visible { box-shadow: var(--nav-focus); }
.navbar .topnav a { color: var(--nav-fg-soft); }
.navbar .topnav a:hover, .navbar .iconbtn:hover { background: var(--nav-hover); color: var(--nav-fg); }
.navbar .topnav a[aria-current="page"] { background: var(--nav-active-bg); color: var(--nav-active-fg); box-shadow: inset 0 1px 0 #fff, 0 1px 3px rgba(0, 0, 0, 0.25); }
.navbar .brand-tag { background: var(--nav-active-bg); color: var(--nav-active-fg); }
.nav-cta, .navbar a.nav-cta { --b-bg: #F5F2EA; --b-fg: #010033; --b-bd: transparent; color: #010033; box-shadow: inset 0 1px 0 #fff, 0 1px 3px rgba(0, 0, 0, 0.25); }
.nav-cta:hover { box-shadow: inset 0 1px 0 #fff, 0 2px 8px rgba(0, 0, 0, 0.3); }

/* Phone tab bar: frosted, nearly clear capsule */
.bottomnav.navbar { left: 16px; right: 16px; height: 64px; padding: 0 5px; border-radius: 999px; background: var(--tab-bg); border: 1px solid var(--tab-border);
  -webkit-backdrop-filter: blur(24px) saturate(190%); backdrop-filter: blur(24px) saturate(190%);
  box-shadow: var(--tab-edge), var(--tab-shadow); color: var(--tab-fg); }
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) { .bottomnav.navbar { background: var(--surface); } }
.bottomnav.navbar a { color: var(--tab-fg); gap: 1px; height: 54px; min-height: 0; border-radius: 999px; font-size: 0.6875rem; font-weight: 500;
  transition: background var(--dur-short) var(--ease), color var(--dur-short) var(--ease); }
.bottomnav.navbar .ind, .bottomnav.navbar a:hover .ind, .bottomnav.navbar a[aria-current="page"] .ind { width: auto; height: 28px; background: none; color: inherit; }
.bottomnav.navbar .ms { font-size: 26px; font-variation-settings: 'FILL' 1, 'wght' 500, 'GRAD' 0, 'opsz' 24; }
.bottomnav.navbar a:hover { background: color-mix(in srgb, var(--tab-active-bg) 60%, transparent); }
.bottomnav.navbar a[aria-current="page"] { background: var(--tab-active-bg); color: var(--tab-active-fg); font-weight: 700; }
.bottomnav.navbar a:active { transform: scale(0.96); }
@media (max-width: 400px) { .bottomnav.navbar a { font-size: 0.625rem; } }
@media (prefers-reduced-motion: reduce) { .bottomnav.navbar a:active { transform: none; } }

/* How our HOA works (quick reference) */
.hw { scroll-margin-top: 96px; }
.hw h2 { margin: 0; }
.facts .fact { padding: 16px 0; border-top: 1px solid var(--outline-variant); }
.facts .fact:first-child { border-top: 0; padding-top: 4px; }
.facts .fact:last-child { padding-bottom: 0; }
.fact h3 { font-family: var(--font-sans); font-size: 1.0625rem; font-weight: 700; margin: 0 0 4px; }
.fact p { margin: 0; max-width: 72ch; }
.fact-cites { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.cite .ms.sm { font-size: 16px; }
.cite-law { border-color: var(--bronze); color: var(--bronze); }
.cite-law:hover { background: color-mix(in srgb, var(--bronze) 10%, transparent); color: var(--bronze); }
.hw-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 140px), 1fr)); gap: 12px; margin: 8px 0 20px; }
.hw-stats .stat { padding: 14px 16px; border-radius: var(--radius-md); background: var(--surface-high); }
.hw-stats .stat span { display: block; margin-top: 6px; font-size: 0.875rem; color: var(--ink-soft); }
.hw-list { margin: 0; padding-left: 1.2em; }
.hw-list li { margin: 0 0 10px; }
.chips.jump .chip { white-space: nowrap; }
.hw-2 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); }
.notice .grow { flex: 1; min-width: 0; }
.other-wb { margin-top: 14px; gap: 12px; }
.other-wb .card { padding: 16px; }
.other-wb h3 { font-family: var(--font-sans); font-size: 1.0625rem; margin: 0; }
.other-wb h3 a { display: inline-flex; align-items: center; gap: 4px; }
.other-wb p { margin: 4px 0 0; }
.other-wb p.small:last-child { margin-top: 10px; }
.svc-top .grow { flex: 1; min-width: 0; }

/* Winterbrook 2030 */
.vis { scroll-margin-top: 96px; }
.vis h2 { margin: 0; }
.vis-compare { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr)); gap: 16px; margin-top: 20px; }
.vis-fig { position: relative; margin: 0; border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--outline-variant); background: #F5F2EA; }
.vis-fig img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; }
.vis-fig figcaption { position: absolute; left: 12px; top: 12px; }
.vis-tag { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 999px; font-size: 0.8125rem; font-weight: 700; letter-spacing: .02em; background: rgba(1, 0, 51, .78); color: #F5F2EA; backdrop-filter: blur(6px); }
.is-concept .vis-tag { background: rgba(245, 242, 234, .9); color: #010033; }
.vis-tag .ms.sm { font-size: 16px; }
.vis-groups { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); gap: 8px 28px; }
.vis-groups h4 { font-family: var(--font-sans); font-size: 0.8125rem; text-transform: uppercase; letter-spacing: .08em; color: var(--ink-soft); margin: 12px 0 8px; }
.vis-groups ul { margin: 0; padding-left: 1.1em; }
.vis-groups li { margin: 0 0 8px; }
.vis-steps { list-style: none; padding: 0; margin: 16px 0 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr)); gap: 12px; }
.vis-steps li { display: flex; gap: 12px; padding: 16px; border: 1px solid var(--outline-variant); border-radius: var(--radius-lg); background: var(--surface); }
.vis-n { flex: none; width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; font-weight: 700; background: var(--primary-container); color: var(--ink); }
.vis-cta { display: flex; gap: 20px; align-items: flex-start; }
.vis-cta .grow { flex: 1; min-width: 0; }
@media (max-width: 599px) { .vis-cta { flex-direction: column; } }
a.card.vision-feature { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); gap: 28px; align-items: center; padding: 16px; text-decoration: none; color: inherit; }
.vision-feature img { width: 100%; height: auto; border-radius: var(--radius-md); display: block; }
@media (max-width: 719px) { a.card.vision-feature { grid-template-columns: 1fr; gap: 16px; } }

/* Lawn-alternative comparison */
.gc-table { font-size: 0.9rem; }
.gc-table thead th:first-child { min-width: 230px; }
table.data.gc-table tbody th { font-weight: 400; text-transform: none; letter-spacing: 0; font-size: inherit; color: inherit; background: transparent; position: static; }
table.data.gc-table thead th { position: static; }
.gc-plant-in { display: flex; gap: 12px; align-items: flex-start; }
.gc-plant img, .gc-ph { flex: none; width: 72px; height: 72px; border-radius: 50%; object-fit: cover; background: #F5F2EA; border: 1px solid var(--outline-variant); }
.gc-ph { display: grid; place-items: center; color: var(--ink-soft); }
.gc-name { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.gc-name strong { font-size: 1rem; }
.gc-name em { color: var(--ink-soft); font-size: 0.8125rem; }
.gc-badges { display: flex; flex-wrap: wrap; gap: 4px; margin-top: 6px; }
.gc-badge { display: inline-flex; align-items: center; gap: 3px; padding: 2px 8px; border-radius: 999px; font-size: 0.75rem; font-weight: 600; background: var(--surface-high); color: var(--ink-soft); }
.gc-badge .ms.sm { font-size: 14px; }
.gc-badge.is-native { background: color-mix(in srgb, #3E7D4F 16%, transparent); color: #2F6B40; }
.gc-badge.is-pick { background: var(--primary-container); color: var(--ink); }
:root[data-theme="dark"] .gc-badge.is-native { color: #9ED3AC; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .gc-badge.is-native { color: #9ED3AC; } }
table.data.gc-table tr.gc-pick > * { background: color-mix(in srgb, var(--primary-container) 35%, transparent); }
.gc-list { margin: 0; padding-left: 1.05em; }
.gc-list li { margin: 0 0 4px; }
.gc-list.pros li::marker { content: "+  "; color: #2F6B40; font-weight: 700; }
.gc-list.cons li::marker { content: "–  "; color: #A4472E; font-weight: 700; }
@media (max-width: 899px) {
  .gc-wrap { border: 0; background: none; overflow: visible; }
  .gc-table, .gc-table tbody, .gc-table tr, .gc-table th, .gc-table td { display: block; width: 100%; }
  .gc-table thead { display: none; }
  .gc-table tr { border: 1px solid var(--outline-variant); border-radius: var(--radius-lg); background: var(--surface); margin-bottom: 12px; overflow: hidden; }
  .gc-table td { border-bottom: 0; padding: 4px 16px 10px; }
  .gc-table td::before { content: attr(data-label); display: block; font-size: 0.75rem; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-soft); font-weight: 600; margin-bottom: 2px; }
  .gc-table .gc-plant { padding: 16px 16px 8px; border-bottom: 0; }
}
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

/* Plant finder thumbnails + not-recommended note */
.pname { display: flex; align-items: center; gap: 10px; }
.pthumb { flex: none; width: 40px; height: 40px; border-radius: 50%; object-fit: cover; background: #F5F2EA; border: 1px solid var(--outline-variant); }
.pthumb.ph { background: #F5F2EA url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%2393a28b' d='M12 22c4.97 0 9-4.03 9-9-4.97 0-9 4.03-9 9zM5.6 10.25c0 1.38 1.12 2.5 2.5 2.5.53 0 1.01-.16 1.42-.44l-.02.19c0 1.38 1.12 2.5 2.5 2.5s2.5-1.12 2.5-2.5l-.02-.19c.4.28.89.44 1.42.44 1.38 0 2.5-1.12 2.5-2.5 0-1-.59-1.85-1.43-2.25.84-.4 1.43-1.25 1.43-2.25 0-1.38-1.12-2.5-2.5-2.5-.53 0-1.01.16-1.42.44l.02-.19C14.5 2.12 13.38 1 12 1S9.5 2.12 9.5 3.5l.02.19c-.4-.28-.89-.44-1.42-.44-1.38 0-2.5 1.12-2.5 2.5 0 1 .59 1.85 1.43 2.25-.84.4-1.43 1.25-1.43 2.25zM12 5.5c1.38 0 2.5 1.12 2.5 2.5s-1.12 2.5-2.5 2.5S9.5 9.38 9.5 8s1.12-2.5 2.5-2.5zM3 13c0 4.97 4.03 9 9 9 0-4.97-4.03-9-9-9z'/%3E%3C/svg%3E") center / 22px no-repeat; }
.notrec summary { display: flex; align-items: center; gap: 12px; cursor: pointer; list-style: none; }
.notrec summary::-webkit-details-marker { display: none; }
.notrec summary > span:not(.ms) { flex: 1; min-width: 0; }
.notrec .chev { transition: transform .2s; }
.notrec[open] .chev { transform: rotate(180deg); }
.notrec-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.notrec-list li { padding: 12px 14px; border-radius: var(--radius-md); background: var(--surface-high); }
.notrec-list .ms.sm { font-size: 16px; vertical-align: -3px; margin-right: 2px; }
.ptype { display: none; }
@media (max-width: 839px) {
  .ptype { display: block; margin-top: 2px; }
  #ptable td { padding: 12px 10px; }
  #ptable td:last-child .limit, #ptable td:last-child .badge { display: inline-flex; margin: 2px 2px 2px 0 !important; }
}

/* Plant details sheet: image beside details on larger screens */
.pdlg-media img { display: block; width: 100%; height: auto; aspect-ratio: 1; object-fit: cover; border-radius: 16px; margin-bottom: 12px; background: #F5F2EA; }
@media (max-width: 719px) { .pdlg-media img { max-width: 360px; margin-inline: auto; } }
@media (min-width: 720px) {
  dialog.sheet#pdlg.has-img { width: min(880px, calc(100% - 48px)); }
  #pdlg.has-img .sheet-body { display: grid; grid-template-columns: minmax(220px, 300px) minmax(0, 1fr); gap: 28px; align-items: start; }
  #pdlg.has-img .pdlg-media { position: sticky; top: 0; }
  #pdlg.has-img .pdlg-media img { margin-bottom: 0; }
  #pdlg .pdlg-info h3 { margin-top: 0; }
}
