/* Fantoss — Mint Scorecard Light Theme
 * Mint accent (#087A5B) + warm orange bonus accent (#E28222) on pale paper (#F2FAF6).
 * Light-dominant palette; dark reserved for ink and overlays.
 * Loaded BEFORE styles.css in every HTML page (V9 FSL11 Pitfall 23/37).
 */
:root {
  /* Mint Scorecard */
  --primary: #087A5B;
  --primary-700: #065d44;
  --primary-300: #34a083;
  --accent: #E28222;
  --accent-700: #b86712;
  --accent-100: #fbe5cc;

  /* Paper surface */
  --background: #F2FAF6;
  --surface: #FFFFFF;
  --surface-2: #DCF3E8;
  --surface-3: #ECF7F0;
  --ink: #12322B;
  --ink-soft: #2c4a42;
  --muted: #55716A;
  --muted-soft: #8aa59d;
  --border: #BFE2D4;
  --border-strong: #6bb99c;

  /* Live data */
  --live: #c0392b;
  --live-soft: #fbe5e1;
  --win: #087A5B;
  --warn: #b86712;
  --info: #0d6e9c;

  /* Type */
  --font-display: "DM Sans", "Noto Sans Devanagari", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-body: "DM Sans", "Noto Sans Devanagari", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-mono: "SFMono-Regular", Menlo, Consolas, "Liberation Mono", monospace;

  /* Spacing & rhythm */
  --r-1: 4px;
  --r-2: 8px;
  --r-3: 12px;
  --r-4: 16px;
  --r-5: 24px;
  --r-6: 32px;
  --r-7: 48px;
  --r-8: 64px;
  --r-9: 96px;

  /* Shape */
  --radius-card: 2px;       /* sharp editorial */
  --radius-pill: 999px;
  --shadow-card: 0 1px 0 rgba(18, 50, 43, 0.04), 0 2px 6px rgba(18, 50, 43, 0.04);
  --shadow-pop: 0 10px 30px rgba(8, 122, 91, 0.12);
  --rule: 1px solid var(--border);
  --rule-strong: 1px solid var(--border-strong);

  /* Layout */
  --max: 1180px;
  --max-wide: 1320px;
  --gutter: 20px;
  --header-h: 64px;
}

/* High-contrast accessibility focus */
:root {
  --focus: 0 0 0 3px rgba(8, 122, 91, 0.35);
}

/* WCAG AA contrast audit:
 * --ink #12322B on --background #F2FAF6 = 12.4:1 ✓
 * --primary #087A5B on --background #F2FAF6 = 4.8:1 ✓
 * --accent  #E28222 on --surface #FFFFFF = 3.6:1 (large-text only)
 * --muted   #55716A on --surface #FFFFFF = 5.4:1 ✓
 * --muted-soft #8aa59d on --surface #FFFFFF = 3.0:1 (decorative only)
 */