/* =========================================================
   DentaFlow — design tokens + base
   Palette: enamel white, clinical teal, deep ink, gum-rose accent
   ========================================================= */
:root {
  --ink: #12303a;
  --ink-soft: #3d5862;
  --muted: #5b7279;          /* 4.9:1 on white — readable secondary text (WCAG AA) */
  --line: #dbe5e3;
  --line-soft: #ebf1ef;
  --enamel: #f4f8f7;
  --surface: #ffffff;
  --teal: #0e7c7b;
  --teal-deep: #0a5d5c;
  --teal-tint: #e1f1ee;
  --night: #0d2b30;
  --night-2: #13383e;
  --rose: #d4646f;
  --rose-tint: #fbe9ea;
  --amber: #b97710;
  --amber-tint: #fdf2de;
  --green: #3f7f4b;
  --green-tint: #e5f2e6;
  --blue: #33689a;
  --blue-tint: #e4eef8;
  --violet: #6c4fa6;
  --violet-tint: #efeaf8;
  --grey-tint: #eef1f2;

  --font-display: "Sora", "Segoe UI", system-ui, sans-serif;
  --font-body: "Figtree", "Segoe UI", system-ui, sans-serif;

  --r-sm: 6px;
  --r: 10px;
  --r-lg: 16px;
  --shadow: 0 1px 2px rgba(18, 48, 58, .06), 0 4px 14px rgba(18, 48, 58, .05);
  --shadow-pop: 0 18px 50px rgba(13, 43, 48, .22);
  --sidebar-w: 248px;
  --header-h: 72px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.55;
  color: var(--ink);
  background: var(--enamel);
}
h1, h2, h3, h4 { font-family: var(--font-display); color: var(--ink); margin: 0; line-height: 1.25; letter-spacing: -.01em; }
h1 { font-size: 1.6rem; font-weight: 600; }
h2 { font-size: 1.2rem; font-weight: 600; }
h3 { font-size: 1.02rem; font-weight: 600; }
p { margin: 0 0 .6em; }
a { color: var(--teal); text-decoration: none; }
a:hover { color: var(--teal-deep); text-decoration: underline; }
small, .small { font-size: .84rem; }
.muted { color: var(--muted); }
.mono { font-variant-numeric: tabular-nums; }
.num { font-variant-numeric: tabular-nums; text-align: right; white-space: nowrap; }
img { max-width: 100%; }
:focus-visible { outline: 3px solid rgba(14, 124, 123, .35); outline-offset: 2px; border-radius: 4px; }
[hidden] { display: none !important; }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 100; padding: 10px 14px; border-radius: var(--r); background: var(--night); color: #fff; }
.skip-link:focus { top: 12px; color: #fff; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
svg.lucide { width: 18px; height: 18px; stroke-width: 1.9; flex-shrink: 0; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
