/* Yezbi Homestead's color roles (November 28, 2026), mapped onto the shared Yezbi tokens in
   /shared/brand/yezbi-tokens.css (shared/brand/README.md, "Colors"). styles.css uses only these roles; the one exception
   is the map's own artwork (plant pins, outlines, parcel lines, the GPS dot), which sits on aerial photos and keeps its
   colors in both themes. test/yezbi-look.test.mjs holds both rules.
   The tokens change with data-yezbi-theme on <html> (frontend/appearance.js), so most roles need no dark values of their
   own; only shadows and scrims do.
   - Surfaces stay neutral: page, cards, the sidebar and pale fills.
   - Primary actions, links, the selected menu item and focus use Yezbi's primary blue, as in the other Yezbi apps.
   - The app keeps its own green for plant things (the leaf accent: dots, badges, the growing-story line), from the
     tokens' success green, plus its serif headings and botanical art. */
:root,
[data-yezbi-theme="light"] {
  --g-paper: var(--yz-background);
  --g-card: var(--yz-surface);
  --g-sidebar: var(--yz-surface);
  --g-soft: var(--yz-raised);
  --g-hover: var(--yz-raised);
  --g-line: var(--yz-border);
  --g-control-line: var(--yz-control-border);
  --g-ink: var(--yz-text);
  --g-muted: var(--yz-muted);
  --g-primary: var(--yz-primary);
  --g-primary-hover: var(--yz-primary-hover);
  --g-on-primary: var(--yz-on-primary);
  --g-primary-soft: var(--yz-primary-soft);
  --g-primary-on-soft: var(--yz-primary-on-soft);
  --g-focus: var(--yz-focus);
  --g-leaf: var(--yz-success);
  --g-leaf-soft: var(--yz-success-soft);
  --g-berry-soft: var(--yz-plum-soft);
  --g-gold: var(--yz-gold);
  --g-gold-soft: var(--yz-gold-soft);
  --g-emphasis: var(--yz-emphasis);
  --g-emphasis-soft: var(--yz-emphasis-soft);
  --g-danger: var(--yz-danger);
  --g-danger-soft: var(--yz-danger-soft);
  --g-on-danger: var(--yz-on-danger);
  --g-inverse: var(--yz-inverse);
  --g-on-inverse: var(--yz-on-inverse);
  --g-header: var(--yz-header-bg);
  --g-header-line: var(--yz-header-border);
  /* Shadows and scrims: a red, green, blue triple, used as rgb(var(--g-shadow-rgb) / alpha). */
  --g-shadow-rgb: 24 36 52;
  --g-scrim-rgb: 20 27 38;
  color-scheme: light;
}
[data-yezbi-theme="dark"] {
  --g-sidebar: var(--yz-surface);
  --g-shadow-rgb: 0 0 0;
  --g-scrim-rgb: 0 0 0;
  color-scheme: dark;
}
