/* tokens.css — akonyha's token-VALUE overrides on the foundation-ui shell floor.
 *
 * Loads AFTER foundation-ui's tokens.css + themes.css, so these values win by
 * cascade (foundation-ui/docs/theming.md). This file overrides token VALUES only —
 * it never redeclares a .fui-* selector.
 *
 * Accent: SAGE — akonyha's claimed bloom (whitebell_brand.md §5,
 * scripts/registry/accents.yaml). Customer-sourced under the flower-colour rule
 * case 2: the hue comes from Egészségkonyha's own site green (#46962b), moved in
 * lightness only as far as the WCAG AA floor required. One accent per application
 * (§2 colour rules) — the customer's amber is NOT a second brand colour; it maps
 * to the semantic --warning token that foundation-ui already provides.
 *
 * Pastel on dark, deep on light (the noumenon/cockpit pattern, §5):
 *   sage pastel #aec466 on Mocha  #1e1e2e — 8.51:1
 *   sage deep   #3f7a24 on Latte  #eff1f5 — 4.62:1  (brand doc: 4.63:1 on cream)
 *   sage pastel #aec466 on charcoal #333333 — 6.55:1 (inherits :root)
 * All pass WCAG AA for normal text, so the accent is safe for links as well as
 * fills. --accent-fg stays foundation-ui's var(--base): it late-binds, so ink on
 * the accent fill flips with the theme on its own.
 */

:root {
  /* sage pastel — fills, marks, icons, large glyphs, and (at 8.51:1) links */
  --accent:     #aec466;
  --accent-rgb: 174, 196, 102;

  /* Pill radius — the chip idiom (obligations register). foundation-ui ships
     --r-sm / --r-md but no pill, and a bare var(--r-pill, 999px) whose token has
     no :root home is a fallback pretending to be a default (ui_and_styling.md,
     ruling 2026-07-18). One home, here. */
  --r-pill: 999px;

  /* Vendor-only seam: the whitebell footer bloom's pistil dot keeps the
     application's assigned accent (ui_and_styling.md, "Vendor identity in app
     chrome"). Named so the vendor mark never reaches for --accent directly. */
  --wb-dot: var(--accent);
}

[data-theme="light"] {
  /* sage deep — the text-safe counterpart on a light surface */
  --accent:     #3f7a24;
  --accent-rgb: 63, 122, 36;
}
