/* ──────────────────────────────────────────────────────────────────
   Design Tokens · FCGS Registry
   Single source of truth for color / radius / spacing / typography.
   Extracted from _design_reference/治療紀錄系統.html <style> :root block.
   ────────────────────────────────────────────────────────────────── */
:root {
  /* Accent — user-selected green. To revert to clinical blue, use #1570ef. */
  --accent: #15803d;
  --accent-soft: color-mix(in oklch, var(--accent) 12%, white);
  --accent-soft-strong: color-mix(in oklch, var(--accent) 32%, white);
  --accent-strong: color-mix(in oklch, var(--accent) 100%, black 10%);

  --bg: #f4f6f8;
  --surface: #ffffff;
  --surface-2: #f8fafb;
  --border: #e4e7ec;
  --border-strong: #d0d5dd;

  --text: #0c111d;
  --text-2: #475467;
  --text-3: #98a2b3;
  --muted: #98a2b3;
  --muted-strong: #667085;

  --success: #027a48;
  --success-strong: #054f31;
  --success-soft: #ecfdf5;
  --warn: #b54708;
  --warn-soft: #fff8eb;
  --danger: #b42318;
  --danger-soft: #fee4e2;
  --critical: #7a271a;

  --radius: 3px;
  --row-h: 38px;
  --pad-card: 16px;

  --font-sans: 'IBM Plex Sans', 'Noto Sans TC', system-ui, sans-serif;
  --font-mono: 'IBM Plex Mono', ui-monospace, monospace;
}
