/* MriaCRM tokens, generated from the design system tokens.json. Theme: <html data-theme="light|dark">, otherwise the system setting. */
:root {
  --focus: var(--accent);
  --stage-done: var(--accent);
  --stage-cancel: var(--control);
  --font-sans: "IBM Plex Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, Menlo, Consolas, monospace;
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-6: 24px;
  --space-8: 32px;
  --space-10: 40px;
  --radius-none: 0px;
  --control-h: 36px;
  --control-h-sm: 28px;
  --sidebar-w: 220px;
  --panel-w: 440px;
  --content-max: 1440px;
  --mark: 8px;
}
:root, [data-theme="light"] {
  color-scheme: light;
  --bg: #f5f5f1;
  --surface: #ffffff;
  --sidebar: #f0f1eb;
  --soft: #edf2eb;
  --ink: #242b28;
  --muted: #646b67;
  --line: #dfe3dc;
  --control: #7c847e;
  --accent: #315d46;
  --on-accent: #ffffff;
  --error: #a3332f;
  --error-soft: #f7e9e7;
  --warning: #8a5a0b;
  --warning-soft: #f6eedf;
  --info: #2f5d8a;
  --info-soft: #e6eef6;
  --stage-pay: #b0832c;
  --stage-work: #a5684f;
  --stage-transit: #3e6c9c;
  --overlay: rgba(10, 20, 12, 0.25);
}
[data-theme="dark"] {
  color-scheme: dark;
  --bg: #161b18;
  --surface: #1e2521;
  --sidebar: #19201b;
  --soft: #28382d;
  --ink: #e6ebe5;
  --muted: #a1ada4;
  --line: #343e37;
  --control: #66736a;
  --accent: #a9cbb2;
  --on-accent: #142019;
  --error: #f0a29c;
  --error-soft: #3a2523;
  --warning: #e3bd78;
  --warning-soft: #352c1c;
  --info: #9dc0e6;
  --info-soft: #1f2c3a;
  --stage-pay: #d9b36a;
  --stage-work: #d29a82;
  --stage-transit: #8fb5df;
  --overlay: rgba(0, 0, 0, 0.55);
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    color-scheme: dark;
    --bg: #161b18;
    --surface: #1e2521;
    --sidebar: #19201b;
    --soft: #28382d;
    --ink: #e6ebe5;
    --muted: #a1ada4;
    --line: #343e37;
    --control: #66736a;
    --accent: #a9cbb2;
    --on-accent: #142019;
    --error: #f0a29c;
    --error-soft: #3a2523;
    --warning: #e3bd78;
    --warning-soft: #352c1c;
    --info: #9dc0e6;
    --info-soft: #1f2c3a;
    --stage-pay: #d9b36a;
    --stage-work: #d29a82;
    --stage-transit: #8fb5df;
    --overlay: rgba(0, 0, 0, 0.55);
  }
}
