/* CANONICAL ASTRUM BRAND PALETTE — shared :root vars (single source of truth).
 *
 * Mirrors shared/brand-tokens.cjs (the JS source the portal Tailwind config reads).
 * <link>ed by the brand site AND the admin console BEFORE their own stylesheet, so a
 * palette change happens in ONE place. Each platform's own structural/semantic tokens
 * (radius, type scale, status tints, portal's near-black body ink) stay in that
 * platform's stylesheet — only the brand colours live here.
 *
 * Keep these in lockstep with shared/brand-tokens.cjs. AA contrast notes live there.
 * Aliases below preserve every var name the existing CSS already references, so the
 * three platforms keep working unchanged (e.g. brand uses --orange + --btn-ink,
 * admin uses --brand-orange + --btn-ink; both resolve to the same canonical value). */
:root {
  /* canonical names — OFFICIAL 2026-06 Astrum palette (guide Rev1). Brand site overrides
     these locally with the same values; portal+admin now inherit them from here. */
  --brand:#F47231;            /* Astrum Orange (158C) — primary-button fill + energy accent */
  --brand-ink:#1a1208;        /* dark warm text ON orange (AA 6.44:1 at button size) */
  --brand-hover:#ff8a52;      /* lighter-orange button hover (text stays dark) */
  --brand-navy:#184669;       /* Astrum Dark Blue (427C) — primary text/headings + dark chrome */
  --brand-orange-text:#c0480f;/* small orange TEXT label when needed (AA on white) */
  --brand-sky:#3D86C6;        /* Astrum Light Blue (2193C) — secondary accent */
  --brand-skylink:#2f6da6;    /* link TEXT colour on white (AA) */
  --brand-bg-grey:#f6f4f1;    /* warm light section/card background */

  /* ===== STOCK-STATUS TOKENS — canonical across all 3 platforms (2026-06-30) ===== */
  --stk-ok:#059669;   /* green  — in_stock */
  --stk-low:#B45309;  /* amber  — low stock */
  --stk-out:#DC2626;  /* red    — out of stock */

  /* aliases used by existing brand + admin CSS (do not remove — kept for compat) */
  --orange:#F47231;
  --brand-orange:#F47231;
  --btn-ink:#1a1208;
  --orange-text:#c0480f;
  --sky:#3D86C6;
  --sky-link:#2f6da6;
  --bg-grey:#f6f4f1;
  --navy:#184669;
}
