/* ---------- Palette + tokens (Profile v2 "Warm Clinical on white" / white-B) ----------
   Token NAMES are load-bearing (components.css, tour.js fallbacks); this
   pass remaps VALUES to the approved white-B palette (design candidate B)
   and adds the white-B family tokens the profile v2 sections use.
   Deliberately unchanged: --stale/--coupon and the --class-* pastels
   (semantic legend families white-B does not redefine). */
:root {
  --canvas: #ffffff;
  --surface: #ffffff;
  --surface-2: #f7f8fa;
  --ink: #1f2937;
  --ink-muted: #556070;
  --ink-soft: #68717f;
  --divider: #e2e6eb;
  --accent: #0f766e;
  --accent-ink: #0a5d56;

  --ok: #e9f7ee;
  --ok-ink: #166534;
  --warn: #fbf1dd;
  --warn-ink: #8a5806;
  --risk: #fdeeea;
  --risk-ink: #b23c2e;
  --stale: #D5CFE8;
  --stale-ink: #4F4575;
  --coupon: #F6D8EA;
  --coupon-ink: #7E3261;

  --class-antihypertensive: #C8D5F0;
  --class-antidiabetic:     #C6E4CC;
  --class-lipid:            #F5D6BF;
  --class-antibiotic:       #F2C6C6;
  --class-antidepressant:   #D9C8E8;
  --class-anxiolytic:       #E3D0F0;
  --class-anticonvulsant:   #D7CDBE;
  --class-opioid:           #E8B8A8;
  --class-anticoagulant:    #F0C3C3;
  --class-bronchodilator:   #BED8EC;
  --class-ppi-gi:           #F4E7B8;
  --class-thyroid:          #BEDCD4;
  --class-nsaid:            #F4CFA8;
  --class-stimulant:        #E8C8B8;
  --class-vitamin:          #D5E8C5;
  --class-topical:          #E4D4C0;
  --class-supply:           #B8DCD1;
  --class-unclassified:     #E0E0DC;

  --radius-card: 10px;
  --radius-pill: 999px;
  --shadow-1: 0 1px 2px rgba(31, 41, 55, 0.04);
  --shadow-2: 0 2px 6px -2px rgba(31, 41, 55, 0.12);

  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 24px;
  --space-6: 32px;

  --text-xs: 11px;
  --text-sm: 12.5px;
  --text-base: 14px;
  --text-md: 15.5px;
  --text-lg: 17px;
  --text-xl: 20px;

  --shadow-hero: 0 4px 16px rgba(31, 41, 55, 0.10), 0 1px 4px rgba(31, 41, 55, 0.08);
  --focus-ring: 0 0 0 3px rgba(15, 118, 110, 0.35);

  --guidance-bg: #f1faf7;
  --guidance-border: var(--accent);
  --guidance-ink: var(--accent-ink);

  /* White-B family tokens (additive, profile v2 sections). */
  --wash: #f3f5f7;
  --line: #d2d7dd;
  --line-strong: #a9b1bb;
  --teal-mid: #17a08f;
  --teal-tint: #e2f3ef;
  --coral-mid: #e0654f;
  --amber-mid: #e0a437;
  --amber-wash: #fdf7ea;
  --gray-txt: #57606c;
  --gray-mid: #c3cad2;
  --gray-tint: #eef0f2;
  --serif: "Iowan Old Style", Charter, Georgia, "Times New Roman", serif;
}
