/* Design tokens — palette, type scale, spacing, radii, and disclosure values. */
:root{
  /* Mahidol blue, healthcare teal */
  --brand-mahidol:#21428e;
  --brand-deep:#193968;
  --brand-teal:#167b76;
  --brand-blue:#397fc5;
  --brand-sky:#eaf5ff;

  /* Surfaces & semantic colors */
  --canvas:#f6f9fc;
  --surface:#ffffff;
  --surface-soft:#fafdff;
  --surface-teal:#e6f8f2;
  --surface-blue:#edf4ff;
  --surface-warm:#fff5ef;
  --border:#dde8ef;
  --border-strong:#cbdce9;
  --ink:#19364b;
  --ink-muted:#546c7e;
  --ink-subtle:#667e8d;
  --alert:#ae584b;
  --alert-bg:#fff4f1;
  --glass-surface:rgba(255,255,255,.84);
  --glass-line:rgba(255,255,255,.96);

  /* User-provided font; see styles/fonts.css + install_fonts.py */
  --font-th:'DB Helvethaica X',Tahoma,Arial,sans-serif;
  --font-en:'DB Helvethaica X',Tahoma,Arial,sans-serif;
  --font-size-xs:.75rem;
  --font-size-sm:.84rem;
  --font-size-md:1rem;
  --font-size-lg:1.12rem;
  --font-size-xl:1.4rem;
  --font-size-hero:clamp(2.4rem,5.2vw,3.5rem);

  /* Spacing system: 4px foundation */
  --space-1:4px;
  --space-2:8px;
  --space-3:12px;
  --space-4:16px;
  --space-5:20px;
  --space-6:24px;
  --space-8:32px;
  --space-10:40px;
  --space-12:48px;

  --radius-sm:10px;
  --radius-md:14px;
  --radius-lg:18px;
  --radius-xl:24px;
  --radius-pill:100px;
  --max-width:1080px;
  --shadow-soft:0 11px 36px rgba(43,83,126,.065),0 1px 4px rgba(42,67,93,.024);
  --shadow-pop:0 20px 70px rgba(12,36,69,.19);
}

/* Shared disclosure tokens */
:root{
  --ui-outline:#dbe8ed;
  --ui-outline-active:#b9d6df;
  --ui-ink:#24445b;
  --ui-subtle:#627c8a;
  --ui-teal:#18766f;
  --ui-blue:#24558c;
}

/* Service-category palette — accessible dark accents on light surfaces.
   To recolor the app, change these semantic tokens rather than individual icons. */
:root {
  --rainbow-green: #0c7160;
  --rainbow-green-soft: #e6f8ef;
  --rainbow-green-line: #b8e7d2;
  --rainbow-blue: #2056a0;
  --rainbow-blue-soft: #eaf3ff;
  --rainbow-blue-line: #c5dcfa;
  --rainbow-amber: #915108;
  --rainbow-amber-soft: #fff3da;
  --rainbow-amber-line: #f3d9a6;
  --rainbow-coral: #b13d55;
  --rainbow-coral-soft: #fff0f2;
  --rainbow-coral-line: #f4c3cc;
  --rainbow-indigo: #3f4eae;
  --rainbow-indigo-soft: #ecefff;
  --rainbow-indigo-line: #cdd4ff;
  --rainbow-violet: #7041a3;
  --rainbow-violet-soft: #f3edff;
  --rainbow-violet-line: #ddc9f5;
  --rainbow-cyan: #0b7289;
  --rainbow-cyan-soft: #e7f8fc;
  --rainbow-cyan-line: #b8e4ed;
  --rainbow-slate: #4d6380;
  --rainbow-slate-soft: #edf3f9;
  --rainbow-slate-line: #cbd9e8;
  --rainbow-text: #19364b;
  --rainbow-muted: #4c6576;
}
