/* gr-wholesale-cloud-tokens.css — the wholesale storefront and buyer workspace on the canonical
   GreenReach tokens (School Board ERP Release B).

   GR-wholesale.html owns a private :root palette (--primary, --accent, --bg, --surface, --border,
   --text, --text-secondary and four status colours) read by ~200 rules. This sheet, linked after
   the page's own <style>, rebinds those names onto the canonical cloud tokens in
   marketing-tokens.css, and the page's body text onto the GreenReach operator font stack — so the
   storefront shares the Light Engine palette, type and status colours without restyling its own
   controls. The storefront is a buyer-facing (public-light) surface, so it deliberately does not
   take the operator cloud-light profile's button rules. Its one colour literal is --accent-green below. */
:root {
  --primary: var(--gr-cloud-primary);
  --primary-light: var(--gr-brand-primary);
  --primary-dark: var(--gr-cloud-primary-hover);
  --accent: var(--gr-brand-accent);
  --bg: var(--gr-cloud-bg);
  --surface: var(--gr-cloud-surface);
  --border: var(--gr-cloud-border);
  --text: var(--gr-cloud-text);
  --text-secondary: var(--gr-cloud-muted);
  --error: var(--gr-cloud-critical);
  --success: var(--gr-cloud-success);
  --warning: var(--gr-cloud-warning);
  --info: var(--gr-cloud-info);

  /* Foundation aliases this page and wholesale.js also read. le-foundation.css (linked before
     this sheet) binds them to the operator-dark theme — --text-primary #f1f5f9, --accent-blue
     #60a5fa, --text-muted #8695ab, --surface-alt slate — so on this light page the Volume
     Discount Tier values rendered near-white on white (1.10:1, operator report 2026-11-12).
     Bound here, beside the page palette, to the cloud tokens the foundation's own cloud-light
     profile uses for these names (le-foundation.css, body.gr-theme[data-gr-profile=cloud-light]),
     except --accent-green: the cloud success token is near-black, so a credit gain takes a
     green that still reads green and clears AA (#047857, 5.48:1 on white). --border-color and --warm-text-muted are read
     with dark-page fallbacks (#ddd, #888 = 3.54:1) and were never defined. */
  --text-primary: var(--gr-cloud-text);
  --text-muted: var(--gr-cloud-muted);
  --surface-alt: var(--gr-cloud-surface-alt);
  --accent-blue: var(--gr-cloud-info);
  --accent-green: #047857;
  --accent-red: var(--gr-cloud-critical);
  --border-color: var(--gr-cloud-border);
  --warm-text-muted: var(--gr-cloud-muted);
}
body {
  font-family: var(--gr-operator-font-stack);
}
