/* ──────────────────────────────────────────────────────────────
   Michigan Medicine OCME&LL — Design Tokens
   Single source of truth for the CME Application Tools suite.
   Canonical custom-property names; reference these via var(--…).

   Colours verified against the official University of Michigan brand
   guidelines (brand.umich.edu): Maize #FFCB05 (PMS 7406) and Blue
   #00274C (PMS 282) are the official primary "signature" colours;
   Arboretum Blue #2F65A7 (PMS 660) is an official supporting colour.
   Body font Nunito Sans is an officially recommended U-M Google Font.
   ────────────────────────────────────────────────────────────── */
:root {
  /* Brand — primary (official U-M signature palette) */
  --michigan-blue: #00274c; /* "Blue" — header background, primary buttons, headings */
  --michigan-maize: #ffcb05; /* "Maize" — accent stripe, section rules, focus ring */
  --arboretum-blue: #2f65a7; /* "Arboretum Blue" — interactive elements, links, labels */

  /* Text */
  --text-primary: #00274c;
  --text-secondary: #4a6785;
  --text-muted: #556f8c; /* WCAG AA: 5.20:1 on white, 4.64:1 on page bg */
  --text-faint: #566e85; /* small uppercase labels, footers — AA: 5.30:1 white, 4.72:1 bg */

  /* Borders — control boundaries need ≥3:1 non-text contrast (SC 1.4.11) */
  --border-light: #79899d; /* 3.57:1 on white, 3.19:1 on page bg */
  --border-mid: #647689; /* darker boundary for emphasis */

  /* Backgrounds */
  --bg-main: #f0f2f5;
  --bg-card: #ffffff;
  --bg-blue-tint: #eef2f7;
  --bg-blue-tint-2: #f0f4f9; /* reasoning box fill */

  /* Interactive hovers */
  --blue-hover: #1a3a5c;
  --maize-hover: #f0bc00;

  /* Print / document ink */
  --ink: #1a2a3a;

  /* Status — pass / warn / fail / error */
  --pass-bg: #dcfce7;
  --pass-fg: #15803d;
  --pass-border: #86efac;
  --warn-bg: #fef3c7;
  --warn-fg: #92400e;
  --fail-bg: #fee2e2;
  --fail-fg: #b91c1c;
  --error-bg: #fff5f5;
  --error-fg: #c53030;
  --error-border: #feb2b2;

  /* Tooltip / dark surface */
  --surface-dark: #1e293b;
  --surface-dark-text: #f0f2f5;

  /* Radii */
  --radius-sm: 8px;
  --radius-md: 10px;
  --radius-lg: 14px;
  --radius-xl: 16px;

  /* Official U-M supporting palette (brand.umich.edu) — available for
     accents; not currently applied. Never replace maize/blue as primaries. */
  --um-tappan-red: #9a3324;
  --um-ross-orange: #d86018;
  --um-rackham-green: #75988d;
  --um-wave-field-green: #a5a508;
  --um-taubman-teal: #00b2a9;
  --um-a2-amethyst: #702082;
  --um-matthaei-violet: #575294;
  --um-peony-pink: #e01f7c;
  --um-umma-tan: #cfc096;
  --um-burton-tower-beige: #9b9a6d;
  --um-angell-hall-ash: #989c97;
  --um-law-quad-stone: #655a52;
  --um-puma-black: #131516;
}
