/* GENERATED by .theme/build.py from .theme/theme-src.css. Edit the source and run it again. */
/* Ploti website: the light/dark theme (17 Nov 2026). Loaded after styles.css / business.css / institutions.css.
   Source file: every dark rule starts with "D". build-theme.py writes theme.css from it, twice over, the way the
   Business and Institutions apps do it:
     :root[data-theme="dark"] …                                   (chosen by hand)
     @media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) … }   (System)
   Values come from apps/web/src/app/business/business-mock.css (the .pb dark block) unless a line says otherwise.
   Everything above the @@DARK@@ line is plain CSS for both themes (the toggle, and the light tokens it needs). */

/* ---------- Light: the few tokens the toggle and the dark rules share (light values = today's site) ---------- */
:root {
  --raised: #F6F8F4; --sunk: #E4EADF; --faint: #7A877F; --line-soft: #E6ECE3; --control: #C3CCC1;
  --pop: 0 20px 56px rgba(20, 33, 26, .22), 0 2px 8px rgba(20, 33, 26, .08);
  --on-accent: #FFFFFF;
  color-scheme: light;
}

/* ---------- Type weights, both themes (the user's rule): never 700; 600 only for names and figures; headings 500
   (display included); labels, pills, tabs, buttons and kickers 500. Bricolage at 500 keeps the hero strong. ---------- */
b, strong, .abroad-list strong, .pay-with b, .bz-fee b { font-weight: 500; }
h1, h2, h3, h4, .hero h1, .bz-hero-copy h1, .bz-demo h1, .dv-hero h1, .doc h1, .ct-head h2, .ct-done h2, summary, .fc-title.sm { font-weight: 500; }
.btn, .kicker, .site-footer h4, .skip, .phone-top, .biz-pill, .nav .nav-biz, .nav .nav-signin, .biz-link, .biz-link-tag,
.pay-seg button[aria-pressed='true'], .pay-save, .soon, .plan-badge, .switcher a[aria-current], .step-num, .bz-steps li > span, .fc-icon { font-weight: 500; }
.step-art text { font-weight: 500; }
/* Names and figures stay 600: plot, project and parcel names, prices, big numbers. */
.fc-title:not(.sm), .biz-head, .biz-stats b, .bz-project-head b, .bz-stats b, .bz-layout b, .bz-myplot b, .price .amount, .bz-price b, .bz-limits b { font-weight: 600; }
/* At 500 the big display headlines lose a little bulk: a touch less negative tracking keeps the letters from crowding. */
.hero h1 { letter-spacing: -0.03em; }

/* ---------- A field at fault keeps its red edge while focused (the green focus rule used to win), both themes ---------- */
.bz-field input[aria-invalid='true'], .bz-field input[aria-invalid='true']:focus { border-color: var(--red); }
.bz-field input[aria-invalid='true']:focus { outline-color: rgba(155, 35, 53, .28); }

/* ---------- The theme toggle (header): the apps' 36px ghost icon button + their .pop / .opt menu ---------- */
.theme-pick { position: relative; flex: none; display: flex; }
.theme-btn { width: 40px; height: 40px; border-radius: 10px; border: 0; background: transparent; color: var(--ink-2); display: grid; place-items: center; cursor: pointer; padding: 0; }
.theme-btn:hover, .theme-btn[aria-expanded='true'] { background: var(--sunk); color: var(--ink); }
.theme-btn svg { width: 19px; height: 19px; }
.theme-btn .ti { display: none; }
:root[data-theme-choice='system'] .theme-btn .ti-system,
:root[data-theme-choice='light'] .theme-btn .ti-light,
:root[data-theme-choice='dark'] .theme-btn .ti-dark { display: block; }
:root:not([data-theme-choice]) .theme-btn .ti-system { display: block; }
.theme-menu { position: absolute; top: calc(100% + 8px); right: 0; z-index: 80; width: 244px; max-width: calc(100vw - 24px); padding: 6px; background: var(--surface); border: 1px solid var(--line); border-radius: 12px; box-shadow: var(--pop); display: flex; flex-direction: column; }
.theme-menu-l { font-size: 11px; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); padding: 8px 10px 4px; }
.theme-opt { display: grid; grid-template-columns: 16px minmax(0, 1fr) 16px; align-items: center; gap: 10px; width: 100%; padding: 8px 10px; border: 0; border-radius: 8px; background: none; text-align: left; cursor: pointer; color: var(--ink); font: 400 14px/1.3 var(--font-body); }
.theme-opt:hover, .theme-opt:focus-visible { background: var(--sunk); outline: 0; }
.theme-opt svg { width: 16px; height: 16px; color: var(--muted); }
.theme-opt small { display: block; font-size: 12px; color: var(--muted); margin-top: 1px; }
.theme-opt .tick { visibility: hidden; color: var(--field); }
.theme-opt[aria-checked='true'] { color: var(--title); font-weight: 500; }
.theme-opt[aria-checked='true'] .tick { visibility: visible; }
.theme-opt[aria-checked='true'] > svg:first-child { color: var(--field); }
/* Phones: the header has room for one more 40px button beside Start free and the menu. */
@media (max-width: 760px) {
  .header-actions { gap: 6px; }
  /* The menu hangs from the header row's right edge, not the button, so it never runs off the left of the screen. */
  .header-row { position: relative; }
  .header-actions .theme-pick { position: static; }
  .header-actions .theme-menu { top: 60px; right: var(--gutter); width: min(260px, calc(100vw - 2 * var(--gutter))); }
}
/* Room for the toggle on a laptop: the links never break inside, and the gaps close up a little (both themes). */
.nav a, .header-actions .link-quiet { white-space: nowrap; }
@media (min-width: 1181px) { .header-row { gap: 22px; } .nav { gap: 22px; } .header-actions { gap: 12px; } }
/* The 404 page's top row: the toggle sits beside the way back. */
.doc-top-r { display: flex; align-items: center; gap: 12px; }
/* No JavaScript, no menu: the toggle ships with hidden (theme.js shows it) and the page follows the device. */

/* ---------------- Dark, chosen by hand ---------------- */
/* ======================= Tokens: light → dark (README has the full table and sources) ======================= */
:root[data-theme="dark"] {
  --title: #8FD3AC;        /* green-deep */
  --field: #4FAE7C;        /* green */
  --field-deep: #5DB487;   /* p-title: the hover one step lighter, as dark hovers go up not down */
  --beacon: #E08A2E;       /* the brand mark orange is unchanged (logo dots, beacons, underline) */
  --beacon-ink: #F2B48A;   /* beacon-ink */
  --ground: #121915; --ground-2: #0E1411; --surface: #18211C; --raised: #1C2620; --sunk: #0E1411;
  --ink: #E7EEE9; --ink-2: #C5D1C9; --muted: #98A79D; --faint: #6F7E74;
  --line: #2A3730; --line-soft: #222D27; --control: #3A4940; --line-strong: #4A574F;
  --control-strong: #5F7066; /* form field edges only: the apps' --control (#3A4940) is 1.7:1, under WCAG 1.4.11's 3:1 */
  --red: #E37B8C;
  --soft: #1C2620;
  --on-accent: #0E2418;    /* text on a light-green fill (business-mock.css:141 .btn-primary) */
  --shadow: 0 1px 2px rgba(0, 0, 0, .35);
  --pop: 0 20px 56px rgba(0, 0, 0, .55), 0 2px 8px rgba(0, 0, 0, .3);
  color-scheme: dark;
}

/* ======================= styles.css ======================= */
:root[data-theme="dark"] .skip { background: var(--ink); color: var(--ground); }
/* Buttons: light-green fill with deep-green text, as the apps' primary button in dark. */
:root[data-theme="dark"] .btn-primary { color: var(--on-accent); box-shadow: 0 6px 18px rgba(0, 0, 0, .35); }
:root[data-theme="dark"] .btn-primary:hover { color: var(--on-accent); box-shadow: 0 10px 24px rgba(0, 0, 0, .4); }
:root[data-theme="dark"] .btn-ghost { border-color: rgba(143, 211, 172, .34); }
:root[data-theme="dark"] .btn-ghost:hover { background: rgba(255, 255, 255, .05); border-color: var(--title); }
/* btn-light sits on the fixed dark-green bands: it keeps its light look, so its text must stay deep green. */
:root[data-theme="dark"] .btn-light { background: #FFFFFF; color: #0F4A2C; }

/* Header */
:root[data-theme="dark"] .site-header { background: rgba(18, 25, 21, .78); }
:root[data-theme="dark"] .site-header.scrolled { background: rgba(18, 25, 21, .92); }
:root[data-theme="dark"] .switcher { background: var(--sunk); box-shadow: inset 0 0 0 1px var(--line-soft); }
:root[data-theme="dark"] .switcher a:hover { background: var(--raised); color: var(--ink); }
:root[data-theme="dark"] .switcher a[aria-current] { background: var(--surface); color: var(--title); box-shadow: 0 1px 2px rgba(0, 0, 0, .45), inset 0 0 0 1px var(--line); }
@media (max-width: 1180px) { :root[data-theme="dark"] .nav { box-shadow: 0 20px 40px rgba(0, 0, 0, .45); } }

/* Contours: the green lines barely show on dark, so the motif goes pale and quiet. */
:root[data-theme="dark"] .contours:not(.light) { opacity: .5; filter: brightness(2.6) saturate(.6); }

/* Hero */
:root[data-theme="dark"] .eyebrow { background: rgba(24, 33, 28, .72); }
:root[data-theme="dark"] .hero-points { box-shadow: 0 6px 18px rgba(0, 0, 0, .3); }
:root[data-theme="dark"] .hp-icon, :root[data-theme="dark"] .tile-icon, :root[data-theme="dark"] .fc-icon.paper { background: #1E3428; color: var(--field); }   /* green-tint */
:root[data-theme="dark"] .fc-icon.alert { background: #3A1E24; color: #F0A3B0; }                                 /* red-tint / red-ink */
:root[data-theme="dark"] .map-art { box-shadow: 0 30px 70px rgba(0, 0, 0, .55), 0 0 0 1px rgba(255, 255, 255, .06); }
:root[data-theme="dark"] .float-card { background: rgba(28, 38, 32, .94); box-shadow: 0 18px 40px rgba(0, 0, 0, .5), 0 0 0 1px var(--line); }
:root[data-theme="dark"] .fc-meta span { background: var(--sunk); }
@media (max-width: 640px) { :root[data-theme="dark"] .get-app { background: rgba(24, 33, 28, .72); } }
:root[data-theme="dark"] .live-dot { background: #4FAE7C; box-shadow: 0 0 0 3px rgba(79, 174, 124, .25); }

/* Parcel status dots: the app's dark-theme versions of the same hues, so a 10px dot still reads on dark. */
:root[data-theme="dark"] .dot-mine { --c: #4FAE7C; }        /* green */
:root[data-theme="dark"] .dot-inherited { --c: #7FB0E3; }   /* blue */
:root[data-theme="dark"] .dot-offer { --c: #E8955E; }       /* beacon */
:root[data-theme="dark"] .dot-interested { --c: #E0A162; }  /* ochre */
:root[data-theme="dark"] .dot-disputed { --c: #E37B8C; }    /* red */
:root[data-theme="dark"] .dot-sold { --c: #98A79D; }        /* muted */

/* "How it works" step pictures: their light paper and card fills follow the tokens. */
:root[data-theme="dark"] .step-art rect[fill='#E4EADF'] { fill: #0E1411; }
:root[data-theme="dark"] .step-art rect[fill='#fff'] { fill: #1C2620; }
:root[data-theme="dark"] .step-art rect[stroke='#C9D3C6'] { stroke: #3A4940; }
:root[data-theme="dark"] .step-art rect[fill='#B5C2B5'] { fill: #3A4940; }
:root[data-theme="dark"] .step-art rect[fill='#0F4A2C'] { fill: #8FD3AC; }
:root[data-theme="dark"] .step-art rect[fill='#1D6B43'], :root[data-theme="dark"] .step-art path[stroke='#1D6B43'] { fill: #4FAE7C; }
:root[data-theme="dark"] .step-art path[stroke='#1D6B43'] { fill: rgba(79, 174, 124, .18); stroke: #4FAE7C; }
:root[data-theme="dark"] .step-art path[d^='M24 66'] { fill: none; }
:root[data-theme="dark"] .step-art g[fill='#E08A2E'] { stroke: #121915; }
:root[data-theme="dark"] .step-num { color: var(--on-accent); box-shadow: 0 0 0 6px rgba(224, 138, 46, .2); }

/* Cards that were always dark (feature tile, biz card, institutions card) get a hairline so they lift off the ground. */
:root[data-theme="dark"] .tile:hover { box-shadow: 0 1px 2px rgba(0, 0, 0, .35), 0 22px 44px rgba(0, 0, 0, .4); }
/* The phone shows the app as it looks in dark. */
:root[data-theme="dark"] .phone { background: var(--surface); box-shadow: 0 40px 80px rgba(0, 0, 0, .55), 0 0 0 8px #0A2A18, 0 0 0 9px rgba(255, 255, 255, .12); }
:root[data-theme="dark"] .phone-docs span { background: var(--sunk); }
:root[data-theme="dark"] .phone-docs span::before { color: var(--field); }

/* Business band on the home page */
:root[data-theme="dark"] .biz-list li::before { box-shadow: 0 0 0 4px rgba(79, 174, 124, .18); }
:root[data-theme="dark"] .biz-card { background: #0B110E; box-shadow: 0 0 0 1px var(--line), 0 30px 60px rgba(0, 0, 0, .45); }  /* --nav dark, business-mock.css:540 */
:root[data-theme="dark"] .biz-link { background: rgba(24, 33, 28, .72); border-color: rgba(143, 211, 172, .3); }
:root[data-theme="dark"] .biz-link:hover { background: var(--surface); border-color: var(--title); }
:root[data-theme="dark"] .biz-teaser { background: var(--surface); box-shadow: 0 4px 14px rgba(0, 0, 0, .3); }
:root[data-theme="dark"] .teaser-inst { background: #2F5F92; }   /* p-paying dark: the institutions blue, one step lighter */

/* Pricing */
:root[data-theme="dark"] .pay-bar { box-shadow: 0 8px 24px rgba(0, 0, 0, .3); }
:root[data-theme="dark"] .pay-seg { background: var(--sunk); }
:root[data-theme="dark"] .pay-seg button[aria-pressed='true'] { color: var(--on-accent); box-shadow: 0 6px 16px rgba(0, 0, 0, .35); }
:root[data-theme="dark"] .pay-save { background: #33261A; color: #EBB884; }                                     /* ochre-tint / ochre-ink */
:root[data-theme="dark"] .pay-seg button[aria-pressed='true'] .pay-save { background: rgba(14, 36, 24, .16); color: var(--on-accent); }
:root[data-theme="dark"] .soon { background: #3A2618; color: var(--beacon-ink); }                              /* beacon-tint */
:root[data-theme="dark"] .plan { box-shadow: 0 0 0 1px var(--line-soft); }
:root[data-theme="dark"] .plan-featured { background: linear-gradient(180deg, #18211C, #17241D); box-shadow: 0 0 0 2px var(--field), 0 24px 54px rgba(0, 0, 0, .45); }  /* surface → green-wash */
@media (max-width: 860px) { :root[data-theme="dark"] .plan-featured { box-shadow: inset 0 0 0 2px var(--field), 0 24px 54px rgba(0, 0, 0, .45); } }
:root[data-theme="dark"] .plan-badge { color: var(--on-accent); }

/* Promises, disclaimer */
:root[data-theme="dark"] .promise { background: var(--surface); border-color: var(--line-soft); }
:root[data-theme="dark"] .promise-mark { background: #1D6B43; }   /* keeps the brand green square: the light-green token made it look like a button */
:root[data-theme="dark"] .disclaimer { background: var(--surface); }

/* FAQ */
:root[data-theme="dark"] .faq-list details { box-shadow: 0 0 0 1px var(--line-soft); }
:root[data-theme="dark"] summary::after { background-color: var(--sunk); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 6v12M6 12h12' stroke='%238FD3AC' stroke-width='2.4' stroke-linecap='round'/%3E%3C/svg%3E"); }
:root[data-theme="dark"] details[open] summary::after { background-color: #3A2618; }

/* Closing band and store badges: the band keeps its brand green (white text on it passes AA). */
:root[data-theme="dark"] .store-badge.is-soon img { opacity: .72; filter: none; }   /* official badges stay legible: grey edge visible on dark */

/* Brand-green bands stay bright, with soft edges: an inner hairline and a gentle inner shade so they sit in the dark
   ground instead of cutting out of it. Text on them: white 6.5:1, #CFE0D4 4.9:1+, kickers #BFE3CC. */
:root[data-theme="dark"] .abroad { box-shadow: inset 0 1px 0 rgba(143, 211, 172, .18), inset 0 -1px 0 rgba(143, 211, 172, .12), inset 0 40px 60px -40px rgba(0, 0, 0, .45), inset 0 -40px 60px -40px rgba(0, 0, 0, .45); border: 0; }
:root[data-theme="dark"] .cta-inner, :root[data-theme="dark"] .bz-final-card, :root[data-theme="dark"] .inst-card, :root[data-theme="dark"] .tile-dark { box-shadow: inset 0 0 0 1px rgba(143, 211, 172, .18), inset 0 -30px 60px -30px rgba(0, 0, 0, .35), 0 24px 60px rgba(0, 0, 0, .45); }
:root[data-theme="dark"] .kicker.on-dark { color: #BFE3CC; }
:root[data-theme="dark"] .inst-outline, :root[data-theme="dark"] .bz-btn-outline { border-color: rgba(255, 255, 255, .62); }
:root[data-theme="dark"] .btn-light:hover { box-shadow: 0 10px 28px rgba(0, 0, 0, .45); }

/* Footer */
:root[data-theme="dark"] .footer-credit { color: var(--muted); }

/* Ask Ploti: the apps' own button in dark, an ink pill with surface text (business-mock.css:454). */
:root[data-theme="dark"] .chat-fab { background: var(--ink); color: var(--surface); box-shadow: 0 12px 30px rgba(0, 0, 0, .5); }
:root[data-theme="dark"] .chat-fab:hover { background: #FFFFFF; }
:root[data-theme="dark"] .chat-panel { background: var(--surface); box-shadow: 0 24px 60px rgba(0, 0, 0, .6); }
:root[data-theme="dark"] .chat-suggest button { background: var(--raised); border-color: var(--line); }
:root[data-theme="dark"] .chat-suggest button:hover { border-color: var(--control); }
:root[data-theme="dark"] .chat-msg.user { background: #1D6B43; color: #FFFFFF; }
:root[data-theme="dark"] .chat-msg.assistant { background: var(--raised); }
:root[data-theme="dark"] .chat-input textarea { background: var(--sunk); border-color: var(--control-strong); color: var(--ink); }
:root[data-theme="dark"] .chat-input button { color: var(--on-accent); }

/* The contact form (contact.js) */
:root[data-theme="dark"] .ct-dialog { box-shadow: 0 24px 64px rgba(0, 0, 0, .6); }
:root[data-theme="dark"] .ct-dialog::backdrop { background: rgba(0, 0, 0, .6); }
:root[data-theme="dark"] .ct-x { background: var(--sunk); }
:root[data-theme="dark"] .ct-field input, :root[data-theme="dark"] .ct-field textarea { background: var(--sunk); border-color: var(--control-strong); color: var(--ink); }
:root[data-theme="dark"] .ct-field input:focus, :root[data-theme="dark"] .ct-field textarea:focus { outline-color: rgba(79, 174, 124, .45); border-color: var(--field); }
:root[data-theme="dark"] .ct-error, :root[data-theme="dark"] .bz-form-error { background: #3A1E24; color: #F0A3B0; }
:root[data-theme="dark"] .ct-req, :root[data-theme="dark"] .ct-ferr { color: #F0A3B0; }
:root[data-theme="dark"] .ct-field input.ct-ok, :root[data-theme="dark"] .ct-field textarea.ct-ok { border-color: #4FAE7C; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%234FAE7C' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; background-size: 18px; }
:root[data-theme="dark"] .ct-field textarea.ct-ok { background-position: right 14px top 14px; }
:root[data-theme="dark"] .ct-field input[aria-invalid='true'], :root[data-theme="dark"] .ct-field textarea[aria-invalid='true'] { border-color: #E37B8C; }
:root[data-theme="dark"] .ct-remove { color: #F0A3B0; }
:root[data-theme="dark"] .ct-foot { border-top-color: var(--line-soft); }
:root[data-theme="dark"] .ct-done-mark { background: #1E3428; color: var(--field); }
:root[data-theme="dark"] .chat-input textarea:focus, :root[data-theme="dark"] .chat-input textarea:focus-visible { outline-color: rgba(79, 174, 124, .45); }

/* Plain pages and the 404 */
:root[data-theme="dark"] .nf .nf-links li { background: var(--surface); }
:root[data-theme="dark"] .nf-plot polygon { stroke: #6F7E74; }   /* faint: the dashed outline of the plot that isn't there */

/* Status banners (status.js): the app's dark tints. */
:root[data-theme="dark"] .pst-info { background: #1C2B3B; border-color: rgba(127, 176, 227, .3); color: #E7EEE9; }
:root[data-theme="dark"] .pst-info svg { color: #7FB0E3; }
:root[data-theme="dark"] .pst-slow { background: #33261A; border-color: rgba(224, 161, 98, .35); color: #EBB884; }
:root[data-theme="dark"] .pst-outage { background: #3A1E24; border-color: rgba(227, 123, 140, .35); color: #F0A3B0; }
:root[data-theme="dark"] .pst-maint { background: #1C2620; border-color: #2A3730; color: #C5D1C9; }
:root[data-theme="dark"] .pst-card { background: var(--surface); }
:root[data-theme="dark"] .pst-back { background: #33261A; color: #EBB884; }

/* ======================= business/business.css ======================= */
:root[data-theme="dark"] .bz-built-chips li { background: rgba(24, 33, 28, .72); border-color: rgba(79, 174, 124, .45); }
:root[data-theme="dark"] .bz-project { background: #0B110E; box-shadow: 0 0 0 1px var(--line), 0 30px 60px rgba(0, 0, 0, .45); }
:root[data-theme="dark"] .bz-nomore { background: #3A1E24; color: #F0A3B0; }
:root[data-theme="dark"] .bz-nomore svg { color: #0E2418; }
:root[data-theme="dark"] .bz-tabs button { border-color: var(--control); }
:root[data-theme="dark"] .bz-tabs button:hover { border-color: var(--ink-2); }
:root[data-theme="dark"] .bz-tabs button[aria-selected='true'] { background: var(--ink); border-color: var(--ink); color: var(--ground); }
/* The round tick: a light-green disc with a deep-green tick. */
:root[data-theme="dark"] .bz-ticks li::before { background: var(--field) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m6 12 4 4 8-9' fill='none' stroke='%230E2418' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 13px no-repeat; }
/* Status pills: the app's dark tint + ink pairs. */
:root[data-theme="dark"] .t-good { background: #1E3428; color: #8FD3AC; }   /* green-tint / green-deep */
:root[data-theme="dark"] .t-warn { background: #33261A; color: #EBB884; }   /* ochre-tint / ochre-ink */
:root[data-theme="dark"] .t-bad { background: #3A1E24; color: #F0A3B0; }    /* red-tint / red-ink */
:root[data-theme="dark"] .t-info { background: #1C2B3B; color: #A9CBEF; }   /* blue-tint / blue-ink */
:root[data-theme="dark"] .t-plain { background: #222D27; color: #C5D1C9; }  /* line-soft / ink-2 */
/* Smart layout band: was the same near-black as the new ground, now the app's darkest panel with a hairline. */
:root[data-theme="dark"] .bz-dark { background: #0B110E; border-top: 1px solid var(--line-soft); border-bottom: 1px solid var(--line-soft); }
:root[data-theme="dark"] .bz-phone { box-shadow: 0 0 0 1px var(--line), 0 24px 48px rgba(0, 0, 0, .45); }
:root[data-theme="dark"] .bz-phone-screen { background: var(--surface); }
:root[data-theme="dark"] .bz-myplot { background: #17241D; }   /* green-wash */
:root[data-theme="dark"] .bz-bar { background: #1E3428; }
:root[data-theme="dark"] .bz-sms { background: var(--sunk); }
:root[data-theme="dark"] .bz-steps li { background: #17241D; border: 1px solid var(--line-soft); }
:root[data-theme="dark"] .bz-steps li > span { color: var(--on-accent); }
:root[data-theme="dark"] .bz-plan.is-featured { box-shadow: 0 16px 40px rgba(0, 0, 0, .4); }
:root[data-theme="dark"] .bz-plan-tag { color: var(--on-accent); }
:root[data-theme="dark"] .bz-limits div { background: var(--raised); }
:root[data-theme="dark"] .bz-feats li.on i { color: var(--on-accent); }
:root[data-theme="dark"] .bz-feats li.off { color: var(--muted); }
:root[data-theme="dark"] .bz-feats li.off i { background: var(--sunk); color: var(--muted); }
:root[data-theme="dark"] .bz-feats li.addon i, :root[data-theme="dark"] .bz-addon { background: #3A2618; color: #F2B48A; }   /* beacon-tint / beacon-ink */
:root[data-theme="dark"] .bz-payg { border-color: var(--control); }
:root[data-theme="dark"] .bz-trust svg { background: #1E3428; }
/* The last call: the brand-green card of the home page's closing band, not the light-green token. */
:root[data-theme="dark"] .bz-final-card { background: linear-gradient(150deg, #1D6B43, #0F4A2C 70%); }
/* Forms (book a demo, try the demo) */
:root[data-theme="dark"] .bz-field input, :root[data-theme="dark"] .bz-field textarea { background: var(--sunk); border-color: var(--control-strong); color: var(--ink); }
:root[data-theme="dark"] .bz-field input:focus, :root[data-theme="dark"] .bz-field textarea:focus { outline-color: rgba(79, 174, 124, .45); }
:root[data-theme="dark"] .bz-field input[aria-invalid='true'], :root[data-theme="dark"] .bz-field input[aria-invalid='true']:focus { border-color: var(--red); }
:root[data-theme="dark"] .bz-field input[aria-invalid='true']:focus { outline-color: rgba(227, 123, 140, .38); }
:root[data-theme="dark"] .bz-chip span { background: var(--surface); border-color: var(--control-strong); }
:root[data-theme="dark"] .bz-chip input:checked + span { background: var(--ink); border-color: var(--ink); color: var(--ground); }
:root[data-theme="dark"] .bz-done-mark { color: var(--on-accent); }
:root[data-theme="dark"] .bz-check input { accent-color: #4FAE7C; }
/* Professionals › Register: the county picker (box like a .bz-field input, chips like a chosen .bz-chip) */
:root[data-theme="dark"] .pro-cbox { background: var(--sunk); border-color: var(--control-strong); }
:root[data-theme="dark"] .pro-cbox:focus-within { outline-color: rgba(79, 174, 124, .45); }
:root[data-theme="dark"] .pro-county-chip { color: var(--ground); }
:root[data-theme="dark"] .pro-county-list li.is-active { background: #1E3428; }
/* Data API guide */
:root[data-theme="dark"] .dv-toc a:hover { background: var(--raised); }
:root[data-theme="dark"] .dv-section code { background: var(--sunk); color: var(--ink-2); box-shadow: inset 0 0 0 1px var(--line-soft); }
:root[data-theme="dark"] .dv-code { background: #0B110E; color: #DCE8E0; box-shadow: inset 0 0 0 1px var(--line); }
:root[data-theme="dark"] .dv-code code { background: none; box-shadow: none; color: inherit; }
:root[data-theme="dark"] .dv-table td { border-bottom-color: var(--line-soft); }
:root[data-theme="dark"] .dv-req { color: #E0A162; }
:root[data-theme="dark"] .dv-method { background: #1C2B3B; color: #A9CBEF; }
:root[data-theme="dark"] .dv-post { background: #1E3428; color: #8FD3AC; }
:root[data-theme="dark"] .dv-patch, :root[data-theme="dark"] .dv-put { background: #33261A; color: #EBB884; }
:root[data-theme="dark"] .dv-schema { background: #26223D; color: #C7BEF4; }   /* no app token: a violet tint/ink pair built the same way */
:root[data-theme="dark"] .dv-op-body { border-top-color: var(--line-soft); }
:root[data-theme="dark"] .dv-op > summary code { color: var(--ink); background: none; box-shadow: none; }

/* ======================= institutions/institutions.css ======================= */
:root[data-theme="dark"] .inst-tag { background: #1C2B3B; color: #A9CBEF; }
:root[data-theme="dark"] .in-hero { background: radial-gradient(1200px 520px at 85% 10%, rgba(79, 174, 124, .08), transparent 60%), radial-gradient(900px 420px at 0% 100%, rgba(232, 163, 90, .06), transparent 60%); }
:root[data-theme="dark"] .in-estate { box-shadow: 0 0 0 1px var(--line), 0 30px 60px rgba(0, 0, 0, .45); }
:root[data-theme="dark"] .in-alert em { background: #3A1E24; color: #F0A3B0; }
:root[data-theme="dark"] .in-who article { background: linear-gradient(180deg, #18211C, #1C2620); }
:root[data-theme="dark"] .in-who article:hover { box-shadow: 0 18px 36px rgba(0, 0, 0, .4); }
:root[data-theme="dark"] .in-who-icon { background: linear-gradient(135deg, #1E3428, #17241D); }
:root[data-theme="dark"] .in-who dl { border-top-color: var(--line); }
:root[data-theme="dark"] .in-agent-card { background: linear-gradient(160deg, #18211C, #17241D); box-shadow: 0 24px 48px rgba(0, 0, 0, .45); }
:root[data-theme="dark"] .in-agent-card li::before { background: var(--line); }
:root[data-theme="dark"] .in-agent-card li > span { border-color: var(--control); background: var(--surface); }
:root[data-theme="dark"] .in-agent-card li.done > span { border-color: var(--field); background: var(--field) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m6 12 4 4 8-9' fill='none' stroke='%230E2418' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 13px no-repeat; }
:root[data-theme="dark"] .in-agent-card li.done::before { background: var(--field); }

/* ======================= mobile/mobile.css (dev/test/stage only) ======================= */
:root[data-theme="dark"] .open { background: var(--surface); }   /* the QR code itself keeps its white quiet zone */

/* ---------------- Dark, following the device (System) ---------------- */
@media (prefers-color-scheme: dark) {
/* ======================= Tokens: light → dark (README has the full table and sources) ======================= */
:root:not([data-theme="light"]) {
  --title: #8FD3AC;        /* green-deep */
  --field: #4FAE7C;        /* green */
  --field-deep: #5DB487;   /* p-title: the hover one step lighter, as dark hovers go up not down */
  --beacon: #E08A2E;       /* the brand mark orange is unchanged (logo dots, beacons, underline) */
  --beacon-ink: #F2B48A;   /* beacon-ink */
  --ground: #121915; --ground-2: #0E1411; --surface: #18211C; --raised: #1C2620; --sunk: #0E1411;
  --ink: #E7EEE9; --ink-2: #C5D1C9; --muted: #98A79D; --faint: #6F7E74;
  --line: #2A3730; --line-soft: #222D27; --control: #3A4940; --line-strong: #4A574F;
  --control-strong: #5F7066; /* form field edges only: the apps' --control (#3A4940) is 1.7:1, under WCAG 1.4.11's 3:1 */
  --red: #E37B8C;
  --soft: #1C2620;
  --on-accent: #0E2418;    /* text on a light-green fill (business-mock.css:141 .btn-primary) */
  --shadow: 0 1px 2px rgba(0, 0, 0, .35);
  --pop: 0 20px 56px rgba(0, 0, 0, .55), 0 2px 8px rgba(0, 0, 0, .3);
  color-scheme: dark;
}

/* ======================= styles.css ======================= */
:root:not([data-theme="light"]) .skip { background: var(--ink); color: var(--ground); }
/* Buttons: light-green fill with deep-green text, as the apps' primary button in dark. */
:root:not([data-theme="light"]) .btn-primary { color: var(--on-accent); box-shadow: 0 6px 18px rgba(0, 0, 0, .35); }
:root:not([data-theme="light"]) .btn-primary:hover { color: var(--on-accent); box-shadow: 0 10px 24px rgba(0, 0, 0, .4); }
:root:not([data-theme="light"]) .btn-ghost { border-color: rgba(143, 211, 172, .34); }
:root:not([data-theme="light"]) .btn-ghost:hover { background: rgba(255, 255, 255, .05); border-color: var(--title); }
/* btn-light sits on the fixed dark-green bands: it keeps its light look, so its text must stay deep green. */
:root:not([data-theme="light"]) .btn-light { background: #FFFFFF; color: #0F4A2C; }

/* Header */
:root:not([data-theme="light"]) .site-header { background: rgba(18, 25, 21, .78); }
:root:not([data-theme="light"]) .site-header.scrolled { background: rgba(18, 25, 21, .92); }
:root:not([data-theme="light"]) .switcher { background: var(--sunk); box-shadow: inset 0 0 0 1px var(--line-soft); }
:root:not([data-theme="light"]) .switcher a:hover { background: var(--raised); color: var(--ink); }
:root:not([data-theme="light"]) .switcher a[aria-current] { background: var(--surface); color: var(--title); box-shadow: 0 1px 2px rgba(0, 0, 0, .45), inset 0 0 0 1px var(--line); }
@media (max-width: 1180px) { :root:not([data-theme="light"]) .nav { box-shadow: 0 20px 40px rgba(0, 0, 0, .45); } }

/* Contours: the green lines barely show on dark, so the motif goes pale and quiet. */
:root:not([data-theme="light"]) .contours:not(.light) { opacity: .5; filter: brightness(2.6) saturate(.6); }

/* Hero */
:root:not([data-theme="light"]) .eyebrow { background: rgba(24, 33, 28, .72); }
:root:not([data-theme="light"]) .hero-points { box-shadow: 0 6px 18px rgba(0, 0, 0, .3); }
:root:not([data-theme="light"]) .hp-icon, :root:not([data-theme="light"]) .tile-icon, :root:not([data-theme="light"]) .fc-icon.paper { background: #1E3428; color: var(--field); }   /* green-tint */
:root:not([data-theme="light"]) .fc-icon.alert { background: #3A1E24; color: #F0A3B0; }                                 /* red-tint / red-ink */
:root:not([data-theme="light"]) .map-art { box-shadow: 0 30px 70px rgba(0, 0, 0, .55), 0 0 0 1px rgba(255, 255, 255, .06); }
:root:not([data-theme="light"]) .float-card { background: rgba(28, 38, 32, .94); box-shadow: 0 18px 40px rgba(0, 0, 0, .5), 0 0 0 1px var(--line); }
:root:not([data-theme="light"]) .fc-meta span { background: var(--sunk); }
@media (max-width: 640px) { :root:not([data-theme="light"]) .get-app { background: rgba(24, 33, 28, .72); } }
:root:not([data-theme="light"]) .live-dot { background: #4FAE7C; box-shadow: 0 0 0 3px rgba(79, 174, 124, .25); }

/* Parcel status dots: the app's dark-theme versions of the same hues, so a 10px dot still reads on dark. */
:root:not([data-theme="light"]) .dot-mine { --c: #4FAE7C; }        /* green */
:root:not([data-theme="light"]) .dot-inherited { --c: #7FB0E3; }   /* blue */
:root:not([data-theme="light"]) .dot-offer { --c: #E8955E; }       /* beacon */
:root:not([data-theme="light"]) .dot-interested { --c: #E0A162; }  /* ochre */
:root:not([data-theme="light"]) .dot-disputed { --c: #E37B8C; }    /* red */
:root:not([data-theme="light"]) .dot-sold { --c: #98A79D; }        /* muted */

/* "How it works" step pictures: their light paper and card fills follow the tokens. */
:root:not([data-theme="light"]) .step-art rect[fill='#E4EADF'] { fill: #0E1411; }
:root:not([data-theme="light"]) .step-art rect[fill='#fff'] { fill: #1C2620; }
:root:not([data-theme="light"]) .step-art rect[stroke='#C9D3C6'] { stroke: #3A4940; }
:root:not([data-theme="light"]) .step-art rect[fill='#B5C2B5'] { fill: #3A4940; }
:root:not([data-theme="light"]) .step-art rect[fill='#0F4A2C'] { fill: #8FD3AC; }
:root:not([data-theme="light"]) .step-art rect[fill='#1D6B43'], :root:not([data-theme="light"]) .step-art path[stroke='#1D6B43'] { fill: #4FAE7C; }
:root:not([data-theme="light"]) .step-art path[stroke='#1D6B43'] { fill: rgba(79, 174, 124, .18); stroke: #4FAE7C; }
:root:not([data-theme="light"]) .step-art path[d^='M24 66'] { fill: none; }
:root:not([data-theme="light"]) .step-art g[fill='#E08A2E'] { stroke: #121915; }
:root:not([data-theme="light"]) .step-num { color: var(--on-accent); box-shadow: 0 0 0 6px rgba(224, 138, 46, .2); }

/* Cards that were always dark (feature tile, biz card, institutions card) get a hairline so they lift off the ground. */
:root:not([data-theme="light"]) .tile:hover { box-shadow: 0 1px 2px rgba(0, 0, 0, .35), 0 22px 44px rgba(0, 0, 0, .4); }
/* The phone shows the app as it looks in dark. */
:root:not([data-theme="light"]) .phone { background: var(--surface); box-shadow: 0 40px 80px rgba(0, 0, 0, .55), 0 0 0 8px #0A2A18, 0 0 0 9px rgba(255, 255, 255, .12); }
:root:not([data-theme="light"]) .phone-docs span { background: var(--sunk); }
:root:not([data-theme="light"]) .phone-docs span::before { color: var(--field); }

/* Business band on the home page */
:root:not([data-theme="light"]) .biz-list li::before { box-shadow: 0 0 0 4px rgba(79, 174, 124, .18); }
:root:not([data-theme="light"]) .biz-card { background: #0B110E; box-shadow: 0 0 0 1px var(--line), 0 30px 60px rgba(0, 0, 0, .45); }  /* --nav dark, business-mock.css:540 */
:root:not([data-theme="light"]) .biz-link { background: rgba(24, 33, 28, .72); border-color: rgba(143, 211, 172, .3); }
:root:not([data-theme="light"]) .biz-link:hover { background: var(--surface); border-color: var(--title); }
:root:not([data-theme="light"]) .biz-teaser { background: var(--surface); box-shadow: 0 4px 14px rgba(0, 0, 0, .3); }
:root:not([data-theme="light"]) .teaser-inst { background: #2F5F92; }   /* p-paying dark: the institutions blue, one step lighter */

/* Pricing */
:root:not([data-theme="light"]) .pay-bar { box-shadow: 0 8px 24px rgba(0, 0, 0, .3); }
:root:not([data-theme="light"]) .pay-seg { background: var(--sunk); }
:root:not([data-theme="light"]) .pay-seg button[aria-pressed='true'] { color: var(--on-accent); box-shadow: 0 6px 16px rgba(0, 0, 0, .35); }
:root:not([data-theme="light"]) .pay-save { background: #33261A; color: #EBB884; }                                     /* ochre-tint / ochre-ink */
:root:not([data-theme="light"]) .pay-seg button[aria-pressed='true'] .pay-save { background: rgba(14, 36, 24, .16); color: var(--on-accent); }
:root:not([data-theme="light"]) .soon { background: #3A2618; color: var(--beacon-ink); }                              /* beacon-tint */
:root:not([data-theme="light"]) .plan { box-shadow: 0 0 0 1px var(--line-soft); }
:root:not([data-theme="light"]) .plan-featured { background: linear-gradient(180deg, #18211C, #17241D); box-shadow: 0 0 0 2px var(--field), 0 24px 54px rgba(0, 0, 0, .45); }  /* surface → green-wash */
@media (max-width: 860px) { :root:not([data-theme="light"]) .plan-featured { box-shadow: inset 0 0 0 2px var(--field), 0 24px 54px rgba(0, 0, 0, .45); } }
:root:not([data-theme="light"]) .plan-badge { color: var(--on-accent); }

/* Promises, disclaimer */
:root:not([data-theme="light"]) .promise { background: var(--surface); border-color: var(--line-soft); }
:root:not([data-theme="light"]) .promise-mark { background: #1D6B43; }   /* keeps the brand green square: the light-green token made it look like a button */
:root:not([data-theme="light"]) .disclaimer { background: var(--surface); }

/* FAQ */
:root:not([data-theme="light"]) .faq-list details { box-shadow: 0 0 0 1px var(--line-soft); }
:root:not([data-theme="light"]) summary::after { background-color: var(--sunk); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 6v12M6 12h12' stroke='%238FD3AC' stroke-width='2.4' stroke-linecap='round'/%3E%3C/svg%3E"); }
:root:not([data-theme="light"]) details[open] summary::after { background-color: #3A2618; }

/* Closing band and store badges: the band keeps its brand green (white text on it passes AA). */
:root:not([data-theme="light"]) .store-badge.is-soon img { opacity: .72; filter: none; }   /* official badges stay legible: grey edge visible on dark */

/* Brand-green bands stay bright, with soft edges: an inner hairline and a gentle inner shade so they sit in the dark
   ground instead of cutting out of it. Text on them: white 6.5:1, #CFE0D4 4.9:1+, kickers #BFE3CC. */
:root:not([data-theme="light"]) .abroad { box-shadow: inset 0 1px 0 rgba(143, 211, 172, .18), inset 0 -1px 0 rgba(143, 211, 172, .12), inset 0 40px 60px -40px rgba(0, 0, 0, .45), inset 0 -40px 60px -40px rgba(0, 0, 0, .45); border: 0; }
:root:not([data-theme="light"]) .cta-inner, :root:not([data-theme="light"]) .bz-final-card, :root:not([data-theme="light"]) .inst-card, :root:not([data-theme="light"]) .tile-dark { box-shadow: inset 0 0 0 1px rgba(143, 211, 172, .18), inset 0 -30px 60px -30px rgba(0, 0, 0, .35), 0 24px 60px rgba(0, 0, 0, .45); }
:root:not([data-theme="light"]) .kicker.on-dark { color: #BFE3CC; }
:root:not([data-theme="light"]) .inst-outline, :root:not([data-theme="light"]) .bz-btn-outline { border-color: rgba(255, 255, 255, .62); }
:root:not([data-theme="light"]) .btn-light:hover { box-shadow: 0 10px 28px rgba(0, 0, 0, .45); }

/* Footer */
:root:not([data-theme="light"]) .footer-credit { color: var(--muted); }

/* Ask Ploti: the apps' own button in dark, an ink pill with surface text (business-mock.css:454). */
:root:not([data-theme="light"]) .chat-fab { background: var(--ink); color: var(--surface); box-shadow: 0 12px 30px rgba(0, 0, 0, .5); }
:root:not([data-theme="light"]) .chat-fab:hover { background: #FFFFFF; }
:root:not([data-theme="light"]) .chat-panel { background: var(--surface); box-shadow: 0 24px 60px rgba(0, 0, 0, .6); }
:root:not([data-theme="light"]) .chat-suggest button { background: var(--raised); border-color: var(--line); }
:root:not([data-theme="light"]) .chat-suggest button:hover { border-color: var(--control); }
:root:not([data-theme="light"]) .chat-msg.user { background: #1D6B43; color: #FFFFFF; }
:root:not([data-theme="light"]) .chat-msg.assistant { background: var(--raised); }
:root:not([data-theme="light"]) .chat-input textarea { background: var(--sunk); border-color: var(--control-strong); color: var(--ink); }
:root:not([data-theme="light"]) .chat-input button { color: var(--on-accent); }

/* The contact form (contact.js) */
:root:not([data-theme="light"]) .ct-dialog { box-shadow: 0 24px 64px rgba(0, 0, 0, .6); }
:root:not([data-theme="light"]) .ct-dialog::backdrop { background: rgba(0, 0, 0, .6); }
:root:not([data-theme="light"]) .ct-x { background: var(--sunk); }
:root:not([data-theme="light"]) .ct-field input, :root:not([data-theme="light"]) .ct-field textarea { background: var(--sunk); border-color: var(--control-strong); color: var(--ink); }
:root:not([data-theme="light"]) .ct-field input:focus, :root:not([data-theme="light"]) .ct-field textarea:focus { outline-color: rgba(79, 174, 124, .45); border-color: var(--field); }
:root:not([data-theme="light"]) .ct-error, :root:not([data-theme="light"]) .bz-form-error { background: #3A1E24; color: #F0A3B0; }
:root:not([data-theme="light"]) .ct-req, :root:not([data-theme="light"]) .ct-ferr { color: #F0A3B0; }
:root:not([data-theme="light"]) .ct-field input.ct-ok, :root:not([data-theme="light"]) .ct-field textarea.ct-ok { border-color: #4FAE7C; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%234FAE7C' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; background-size: 18px; }
:root:not([data-theme="light"]) .ct-field textarea.ct-ok { background-position: right 14px top 14px; }
:root:not([data-theme="light"]) .ct-field input[aria-invalid='true'], :root:not([data-theme="light"]) .ct-field textarea[aria-invalid='true'] { border-color: #E37B8C; }
:root:not([data-theme="light"]) .ct-remove { color: #F0A3B0; }
:root:not([data-theme="light"]) .ct-foot { border-top-color: var(--line-soft); }
:root:not([data-theme="light"]) .ct-done-mark { background: #1E3428; color: var(--field); }
:root:not([data-theme="light"]) .chat-input textarea:focus, :root:not([data-theme="light"]) .chat-input textarea:focus-visible { outline-color: rgba(79, 174, 124, .45); }

/* Plain pages and the 404 */
:root:not([data-theme="light"]) .nf .nf-links li { background: var(--surface); }
:root:not([data-theme="light"]) .nf-plot polygon { stroke: #6F7E74; }   /* faint: the dashed outline of the plot that isn't there */

/* Status banners (status.js): the app's dark tints. */
:root:not([data-theme="light"]) .pst-info { background: #1C2B3B; border-color: rgba(127, 176, 227, .3); color: #E7EEE9; }
:root:not([data-theme="light"]) .pst-info svg { color: #7FB0E3; }
:root:not([data-theme="light"]) .pst-slow { background: #33261A; border-color: rgba(224, 161, 98, .35); color: #EBB884; }
:root:not([data-theme="light"]) .pst-outage { background: #3A1E24; border-color: rgba(227, 123, 140, .35); color: #F0A3B0; }
:root:not([data-theme="light"]) .pst-maint { background: #1C2620; border-color: #2A3730; color: #C5D1C9; }
:root:not([data-theme="light"]) .pst-card { background: var(--surface); }
:root:not([data-theme="light"]) .pst-back { background: #33261A; color: #EBB884; }

/* ======================= business/business.css ======================= */
:root:not([data-theme="light"]) .bz-built-chips li { background: rgba(24, 33, 28, .72); border-color: rgba(79, 174, 124, .45); }
:root:not([data-theme="light"]) .bz-project { background: #0B110E; box-shadow: 0 0 0 1px var(--line), 0 30px 60px rgba(0, 0, 0, .45); }
:root:not([data-theme="light"]) .bz-nomore { background: #3A1E24; color: #F0A3B0; }
:root:not([data-theme="light"]) .bz-nomore svg { color: #0E2418; }
:root:not([data-theme="light"]) .bz-tabs button { border-color: var(--control); }
:root:not([data-theme="light"]) .bz-tabs button:hover { border-color: var(--ink-2); }
:root:not([data-theme="light"]) .bz-tabs button[aria-selected='true'] { background: var(--ink); border-color: var(--ink); color: var(--ground); }
/* The round tick: a light-green disc with a deep-green tick. */
:root:not([data-theme="light"]) .bz-ticks li::before { background: var(--field) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m6 12 4 4 8-9' fill='none' stroke='%230E2418' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 13px no-repeat; }
/* Status pills: the app's dark tint + ink pairs. */
:root:not([data-theme="light"]) .t-good { background: #1E3428; color: #8FD3AC; }   /* green-tint / green-deep */
:root:not([data-theme="light"]) .t-warn { background: #33261A; color: #EBB884; }   /* ochre-tint / ochre-ink */
:root:not([data-theme="light"]) .t-bad { background: #3A1E24; color: #F0A3B0; }    /* red-tint / red-ink */
:root:not([data-theme="light"]) .t-info { background: #1C2B3B; color: #A9CBEF; }   /* blue-tint / blue-ink */
:root:not([data-theme="light"]) .t-plain { background: #222D27; color: #C5D1C9; }  /* line-soft / ink-2 */
/* Smart layout band: was the same near-black as the new ground, now the app's darkest panel with a hairline. */
:root:not([data-theme="light"]) .bz-dark { background: #0B110E; border-top: 1px solid var(--line-soft); border-bottom: 1px solid var(--line-soft); }
:root:not([data-theme="light"]) .bz-phone { box-shadow: 0 0 0 1px var(--line), 0 24px 48px rgba(0, 0, 0, .45); }
:root:not([data-theme="light"]) .bz-phone-screen { background: var(--surface); }
:root:not([data-theme="light"]) .bz-myplot { background: #17241D; }   /* green-wash */
:root:not([data-theme="light"]) .bz-bar { background: #1E3428; }
:root:not([data-theme="light"]) .bz-sms { background: var(--sunk); }
:root:not([data-theme="light"]) .bz-steps li { background: #17241D; border: 1px solid var(--line-soft); }
:root:not([data-theme="light"]) .bz-steps li > span { color: var(--on-accent); }
:root:not([data-theme="light"]) .bz-plan.is-featured { box-shadow: 0 16px 40px rgba(0, 0, 0, .4); }
:root:not([data-theme="light"]) .bz-plan-tag { color: var(--on-accent); }
:root:not([data-theme="light"]) .bz-limits div { background: var(--raised); }
:root:not([data-theme="light"]) .bz-feats li.on i { color: var(--on-accent); }
:root:not([data-theme="light"]) .bz-feats li.off { color: var(--muted); }
:root:not([data-theme="light"]) .bz-feats li.off i { background: var(--sunk); color: var(--muted); }
:root:not([data-theme="light"]) .bz-feats li.addon i, :root:not([data-theme="light"]) .bz-addon { background: #3A2618; color: #F2B48A; }   /* beacon-tint / beacon-ink */
:root:not([data-theme="light"]) .bz-payg { border-color: var(--control); }
:root:not([data-theme="light"]) .bz-trust svg { background: #1E3428; }
/* The last call: the brand-green card of the home page's closing band, not the light-green token. */
:root:not([data-theme="light"]) .bz-final-card { background: linear-gradient(150deg, #1D6B43, #0F4A2C 70%); }
/* Forms (book a demo, try the demo) */
:root:not([data-theme="light"]) .bz-field input, :root:not([data-theme="light"]) .bz-field textarea { background: var(--sunk); border-color: var(--control-strong); color: var(--ink); }
:root:not([data-theme="light"]) .bz-field input:focus, :root:not([data-theme="light"]) .bz-field textarea:focus { outline-color: rgba(79, 174, 124, .45); }
:root:not([data-theme="light"]) .bz-field input[aria-invalid='true'], :root:not([data-theme="light"]) .bz-field input[aria-invalid='true']:focus { border-color: var(--red); }
:root:not([data-theme="light"]) .bz-field input[aria-invalid='true']:focus { outline-color: rgba(227, 123, 140, .38); }
:root:not([data-theme="light"]) .bz-chip span { background: var(--surface); border-color: var(--control-strong); }
:root:not([data-theme="light"]) .bz-chip input:checked + span { background: var(--ink); border-color: var(--ink); color: var(--ground); }
:root:not([data-theme="light"]) .bz-done-mark { color: var(--on-accent); }
:root:not([data-theme="light"]) .bz-check input { accent-color: #4FAE7C; }
/* Professionals › Register: the county picker (box like a .bz-field input, chips like a chosen .bz-chip) */
:root:not([data-theme="light"]) .pro-cbox { background: var(--sunk); border-color: var(--control-strong); }
:root:not([data-theme="light"]) .pro-cbox:focus-within { outline-color: rgba(79, 174, 124, .45); }
:root:not([data-theme="light"]) .pro-county-chip { color: var(--ground); }
:root:not([data-theme="light"]) .pro-county-list li.is-active { background: #1E3428; }
/* Data API guide */
:root:not([data-theme="light"]) .dv-toc a:hover { background: var(--raised); }
:root:not([data-theme="light"]) .dv-section code { background: var(--sunk); color: var(--ink-2); box-shadow: inset 0 0 0 1px var(--line-soft); }
:root:not([data-theme="light"]) .dv-code { background: #0B110E; color: #DCE8E0; box-shadow: inset 0 0 0 1px var(--line); }
:root:not([data-theme="light"]) .dv-code code { background: none; box-shadow: none; color: inherit; }
:root:not([data-theme="light"]) .dv-table td { border-bottom-color: var(--line-soft); }
:root:not([data-theme="light"]) .dv-req { color: #E0A162; }
:root:not([data-theme="light"]) .dv-method { background: #1C2B3B; color: #A9CBEF; }
:root:not([data-theme="light"]) .dv-post { background: #1E3428; color: #8FD3AC; }
:root:not([data-theme="light"]) .dv-patch, :root:not([data-theme="light"]) .dv-put { background: #33261A; color: #EBB884; }
:root:not([data-theme="light"]) .dv-schema { background: #26223D; color: #C7BEF4; }   /* no app token: a violet tint/ink pair built the same way */
:root:not([data-theme="light"]) .dv-op-body { border-top-color: var(--line-soft); }
:root:not([data-theme="light"]) .dv-op > summary code { color: var(--ink); background: none; box-shadow: none; }

/* ======================= institutions/institutions.css ======================= */
:root:not([data-theme="light"]) .inst-tag { background: #1C2B3B; color: #A9CBEF; }
:root:not([data-theme="light"]) .in-hero { background: radial-gradient(1200px 520px at 85% 10%, rgba(79, 174, 124, .08), transparent 60%), radial-gradient(900px 420px at 0% 100%, rgba(232, 163, 90, .06), transparent 60%); }
:root:not([data-theme="light"]) .in-estate { box-shadow: 0 0 0 1px var(--line), 0 30px 60px rgba(0, 0, 0, .45); }
:root:not([data-theme="light"]) .in-alert em { background: #3A1E24; color: #F0A3B0; }
:root:not([data-theme="light"]) .in-who article { background: linear-gradient(180deg, #18211C, #1C2620); }
:root:not([data-theme="light"]) .in-who article:hover { box-shadow: 0 18px 36px rgba(0, 0, 0, .4); }
:root:not([data-theme="light"]) .in-who-icon { background: linear-gradient(135deg, #1E3428, #17241D); }
:root:not([data-theme="light"]) .in-who dl { border-top-color: var(--line); }
:root:not([data-theme="light"]) .in-agent-card { background: linear-gradient(160deg, #18211C, #17241D); box-shadow: 0 24px 48px rgba(0, 0, 0, .45); }
:root:not([data-theme="light"]) .in-agent-card li::before { background: var(--line); }
:root:not([data-theme="light"]) .in-agent-card li > span { border-color: var(--control); background: var(--surface); }
:root:not([data-theme="light"]) .in-agent-card li.done > span { border-color: var(--field); background: var(--field) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m6 12 4 4 8-9' fill='none' stroke='%230E2418' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 13px no-repeat; }
:root:not([data-theme="light"]) .in-agent-card li.done::before { background: var(--field); }

/* ======================= mobile/mobile.css (dev/test/stage only) ======================= */
:root:not([data-theme="light"]) .open { background: var(--surface); }   /* the QR code itself keeps its white quiet zone */
}
