/* MathilLabs design tokens v1.0. Single source of truth; copy into each product as static/mathil.css.
   Do not edit per product. Change here, then sync. */
:root {
  /* Brand */
  --m-fort: #1F3A5F;        /* Fort Blue: primary, headers, primary buttons */
  --m-fort-strong: #152A46;
  --m-laterite: #B5462F;    /* Laterite: accent, highlights, links on hover */
  --m-sand: #F6F1E7;        /* Sand: page background tint */
  /* Neutrals */
  --m-ink: #1B1F24; --m-ink-2: #4B5563; --m-line: #DDD8CC; --m-surface: #FFFFFF; --m-bg: #FAF8F3;
  /* Status */
  --m-good: #2E7D4F; --m-good-bg: #E7F3EC;
  --m-warn: #9A6212; --m-warn-bg: #FBF0DC;
  --m-bad: #B42318;  --m-bad-bg: #FDECEA;
  /* Type: system stack only, no third-party font requests (privacy) */
  --m-font: system-ui, -apple-system, "Segoe UI", Roboto, "Noto Sans", "Noto Sans Tamil", "Noto Sans Devanagari", sans-serif;
  --m-mono: ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
  --m-radius: 8px; --m-radius-lg: 12px;
  --m-space: 8px;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --m-fort: #8FB3E0; --m-fort-strong: #B5CDEB; --m-laterite: #E58A72; --m-sand: #1E2329;
    --m-ink: #ECEFF3; --m-ink-2: #A9B1BC; --m-line: #343B45; --m-surface: #171B21; --m-bg: #101317;
    --m-good: #6CC594; --m-good-bg: #13291D; --m-warn: #E2B15B; --m-warn-bg: #2E2410;
    --m-bad: #F08A80; --m-bad-bg: #331614;
  }
}
:root[data-theme="dark"] {
  --m-fort: #8FB3E0; --m-fort-strong: #B5CDEB; --m-laterite: #E58A72; --m-sand: #1E2329;
  --m-ink: #ECEFF3; --m-ink-2: #A9B1BC; --m-line: #343B45; --m-surface: #171B21; --m-bg: #101317;
  --m-good: #6CC594; --m-good-bg: #13291D; --m-warn: #E2B15B; --m-warn-bg: #2E2410;
  --m-bad: #F08A80; --m-bad-bg: #331614;
}
