/* Clinicflow Designschema, Version 1. Einzige Quelle für Farben, Schrift, Ecken und Größen.
   Keine Seite und kein Baustein legt eigene Werte fest. Änderungen nur hier, per Pull Request. */

@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("fonts/inter-latin-wght-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("fonts/inter-latin-ext-wght-normal.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  /* Schrift */
  --cf-font: "Inter", system-ui, sans-serif;
  --cf-text-title: 26px;
  --cf-text-section: 20px;
  --cf-text-card: 16px;
  --cf-text-body: 14px;
  --cf-text-small: 12.5px;
  --cf-text-scale: 1;

  /* Grundfarben */
  --cf-ground: #F1F3F5;
  --cf-surface: #FFFFFF;
  --cf-field: #EEF1F4;
  --cf-ink: #0F172A;
  --cf-ink-muted: #475569;
  --cf-ink-disabled: #6B7280;
  --cf-line-color: #DDE1E6;
  --cf-line-soft-color: #ECEEF1;
  --cf-input-line-color: #7C8794;
  --cf-accent: #0B5F59;
  --cf-accent-soft: #E0F2EF;
  --cf-on-accent: #FFFFFF;
  --cf-switch-off: #6B7785;

  /* Bedeutungsfarben: jede steht immer für dasselbe */
  --cf-critical-bg: #FEECEC;
  --cf-critical-ink: #7F1D1D;
  --cf-critical-strong: #B91C1C;
  --cf-warn-bg: #FFF4E0;
  --cf-warn-ink: #7A4100;
  --cf-warn-strong: #9A4A06;
  --cf-auto-bg: #EEF2FF;
  --cf-auto-ink: #3730A3;
  --cf-done-bg: #E7F5EA;
  --cf-done-ink: #14532D;

  /* Linien, Ecken, Schatten */
  --cf-border: 1px solid var(--cf-line-color);
  --cf-border-soft: 1px solid var(--cf-line-soft-color);
  --cf-border-input: 1px solid var(--cf-input-line-color);
  --cf-radius: 10px;
  --cf-radius-small: 7px;
  --cf-radius-chip: 6px;
  --cf-shadow-menu: 0 6px 18px rgba(15, 23, 42, 0.10);

  /* Größen und Abstände */
  --cf-control-large: 44px;
  --cf-control-medium: 36px;
  --cf-control-small: 28px;
  --cf-input-height: 40px;
  --cf-row-height: 44px;
  --cf-space-1: 4px;
  --cf-space-2: 8px;
  --cf-space-3: 12px;
  --cf-space-4: 16px;
  --cf-space-5: 20px;
  --cf-space-6: 24px;
  --cf-space-8: 32px;
}
