/* Design-Tokens nach PLAN.md 8.1. Einzige Quelle für Farben, Abstände,
   Radien und Schriftgrößen. Der PDF-Writer gleicht seine Konstanten per
   Test mit dieser Datei ab. Die Primärfarbe des Mandanten überschreibt
   --color-primary und --color-on-primary über /brand.css. */
:root {
  /* Neutrale Grundpalette */
  --color-bg: #ffffff;
  --color-surface: #f6f7f9;
  --color-border: #d8dde3;
  --color-border-strong: #b9c1cb;
  --color-text: #1f2933;
  --color-text-muted: #5b6771;
  --color-text-subtle: #7b8690;

  /* Akzent: Standard, wird je Mandant ersetzt */
  --color-primary: #1f4e79;
  --color-primary-hover: #183d5e;
  --color-on-primary: #ffffff;
  --color-focus: #1f4e79;

  /* Zustände, gedeckt */
  --color-success: #2f6f4e;
  --color-success-bg: #eaf3ee;
  --color-warning: #8a6515;
  --color-warning-bg: #f8f1df;
  --color-danger: #9b3535;
  --color-danger-bg: #f8e9e9;

  /* Abstände, 8-px-Skala */
  --space-1: 8px;
  --space-2: 16px;
  --space-3: 24px;
  --space-4: 32px;
  --space-5: 40px;
  --space-6: 48px;
  --space-8: 64px;

  /* Radien und Linien */
  --radius: 8px;
  --radius-sm: 4px;
  --border-width: 1px;

  /* Typografie */
  --font-sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
  --text-xs: 12px;
  --text-sm: 14px;
  --text-md: 16px;
  --text-lg: 20px;
  --text-xl: 24px;
  --text-2xl: 32px;
  --text-3xl: 40px;
  --leading: 1.5;
  --leading-tight: 1.25;

  /* Layout */
  --width-form: 720px;
  --width-dashboard: 1100px;
  --touch-target: 44px;
}
