/* DISPO · Variante 2 · digitale CI-Erweiterung · 27.10.2026 */
:root {
  color-scheme: light;
  --brand: #c20d19;
  --brand-hover: #a60d19;
  --brand-soft: #fcedef;
  --ci-black: #000000;
  --ci-mid-grey: #9b9b9b;
  --ci-light-grey: #e2e2e2;
  --surface: rgba(255,255,255,.94);
  --canvas: #dfd8d2;
  --sidebar: #eeeeF1;
  --subtle: #f8f9fa;
  --text: #1b1a1e;
  --muted: #56545b;
  --line: rgba(106,98,94,.17);
  --control-line: #d8d5d5;
  --focus: #2559a7;
  --customer-bg: #fff0b8;
  --customer-line: #e6ca76;
  --customer-text: #30271d;
  --travel-bg: #d6e9ff;
  --travel-line: #b4d0ed;
  --travel-text: #29465f;
  --office-bg: #e6e1e5;
  --office-line: #c2b9c0;
  --office-text: #4f4550;
  --pause-bg: #e6e3e4;
  --pause-line: #cbc5c8;
  --pause-text: #48434a;
  --absence-bg: #eee8f5;
  --absence-line: #9174ad;
  --absence-text: #604579;
  --hint-bg: #f3f8f3;
  --hint-line: #679370;
  --hint-text: #385e3c;
  --select-bg: #e2f1e5;
  --select-line: #76a985;
  --select-text: #234f32;
  --error-bg: #fff0ef;
  --error-line: #b42318;
  --error-text: #8b1d15;
  --info-bg: #eef4fd;
  --info-text: #284d7a;
  --font: Calibri, Carlito, "Segoe UI", Arial, sans-serif;
  --font-body: 15px;
  --font-calendar: 14px;
  --font-small: 13px;
  --font-section: 17px;
  --font-title: 26px;
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 20px;
  --space-6: 24px;
  --space-8: 32px;
  --control-height: 40px;
  --radius-control: 6px;
  --radius-panel: 6px;
  --radius-dialog: 6px;
  --radius-event: 6px;
  --shadow-panel: 0 6px 22px rgba(40,30,50,.06);
  --shadow-dialog: 0 20px 64px rgba(18,24,32,.18);
  --sidebar-width: 64px;
  --mini-day-height: 24px;
  --mini-dialog-day-height: 36px;
  --hour-height: 72px;
  --surface-solid: #ffffff;
  --proposal-border: #aab3bf;
  --proposal-header: #edf0f4;
  --surface-raised: #faf9f8;
  --surface-sunken: #f3f1ef;
  --bar-bg: #e9e6e3;
  --bar-hover: #ffffff;
  --control-bg: #ffffff;
  --control-hover: #f0eeec;
  --quiet-bg: #f6f4f2;
  --control-strong-line: #a0a6af;
  --disabled-bg: #eeeef0;
  --disabled-text: #767b83;
  --link: #294f7b;
  --accent-text: #c20d19;
  --on-brand: #ffffff;
  --selected-line: #d7a6aa;
  --selected-bg: #fbe5e7;
  --selected-hover: #cce7d3;
  --nav-bg: rgba(250,249,248,.82);
  --workspace-bg: rgba(249,248,247,.85);
  --background-shade: rgba(39,41,44,0);
  --logo-plate: transparent;
  --calendar-surface: #fbfaf9;
  --calendar-header: #f2efed;
  --calendar-axis: #eee9e6f0;
  --calendar-hint-row: #f6f3f1;
  --calendar-divider: #ffffff8a;
  --grid-half: #ffffff28;
  --grid-hour: #86777f29;
  --nonworking: #d9d0d23a;
  --event-line: #ffffff80;
  --event-muted: #5d5147;
  --track-bg: #b7afb6;
  --track-fill: #c20d19;
  --capacity-bg: #e8eaed;
  --capacity-fill: #616c7e;
  --warning-bg: #fff0c9;
  --warning-text: #59472b;
  --warning-line: #dfc784;
  --notice-bg: #fff8e5c9;
  --success-bg: #e7f3ecdd;
  --success-text: #3f594a;
  --success-line: #76a08a;
  --info-line: #7594b8;
  --error-border: #e6c5c2;
  --scroll-thumb: #8d82844d;
  --backdrop: #40313930;
  --shadow-ink: #382d230b;
  --shadow-dialog-ink: #30202c30;
  --toast-bg: #26303c;
  --toast-text: #ffffff;
  --opaque-workspace: #eee9e7;
  --opaque-panel: #faf8f7;
  /* Intranet shell */
  --shell-bg: #ffffff;
  --content-bg: #f4f4f6;
  --rail-bg: linear-gradient(180deg,#d6131f,#b50b16);
  --rail-shadow: rgba(40,20,25,.18);
  --card-line: transparent;
}

/* Neutral charcoal, not black. Brand red and artwork remain unchanged. */
:root[data-theme="dark"] {
  color-scheme: dark;
  --canvas: #27292c;
  --surface: #34373b;
  --subtle: #3b3e43;
  --text: #f1f1f2;
  --muted: #c2c6cc;
  --line: #51575f;
  --control-line: #79818b;
  --brand-soft: #53353d;
  --focus: #a7d0ff;
  --customer-bg: #514831;
  --customer-line: #bda35d;
  --customer-text: #ffedb1;
  --travel-bg: #31485c;
  --travel-line: #759ac0;
  --travel-text: #d1e8ff;
  --office-bg: #4b4049;
  --office-line: #b58fa9;
  --office-text: #f1deeb;
  --pause-bg: #454a50;
  --pause-line: #89929d;
  --pause-text: #e6e8eb;
  --absence-bg: #4a3e57;
  --absence-line: #ad90c6;
  --absence-text: #ebdbff;
  --hint-bg: #32463b;
  --hint-line: #88a892;
  --hint-text: #d0ead6;
  --select-bg: #2f4b3a;
  --select-line: #81b491;
  --select-text: #d7f2df;
  --error-bg: #55343a;
  --error-line: #f39ba4;
  --error-text: #ffd6da;
  --info-bg: #31475c;
  --info-text: #d0e6ff;
  --shadow-panel: 0 2px 7px #14171b28;
  --shadow-dialog: 0 20px 64px #14171b66;
  --surface-solid: #34373b;
  --proposal-border: #7c8794;
  --proposal-header: #414750;
  --surface-raised: #3b3f44;
  --surface-sunken: #2e3135;
  --bar-bg: #3d4147;
  --bar-hover: #50565d;
  --control-bg: #303337;
  --control-hover: #4a4f55;
  --quiet-bg: #383c41;
  --control-strong-line: #7d858f;
  --disabled-bg: #373a3e;
  --disabled-text: #a0a5ac;
  --link: #b1d5ff;
  --accent-text: #ff96a1;
  --on-brand: #ffffff;
  --selected-line: #b77680;
  --selected-bg: #53353d;
  --selected-hover: #3b5c47;
  --nav-bg: rgba(48,51,55,.96);
  --workspace-bg: rgba(45,48,52,.97);
  --background-shade: rgba(39,41,44,.94);
  --logo-plate: #eeece9;
  --calendar-surface: #303337;
  --calendar-header: #393d42;
  --calendar-axis: #35393e;
  --calendar-hint-row: #32363b;
  --calendar-divider: #535960;
  --grid-half: #3d4248;
  --grid-hour: #565d65;
  --nonworking: #454a50;
  --event-line: #69717b;
  --event-muted: #e0e1e4;
  --track-bg: #525860;
  --track-fill: #f1929f;
  --capacity-bg: #525860;
  --capacity-fill: #b8c6d8;
  --warning-bg: #51462d;
  --warning-text: #ffebae;
  --warning-line: #b89b5c;
  --notice-bg: #423c2e;
  --success-bg: #31483d;
  --success-text: #cee9d5;
  --success-line: #779e85;
  --info-line: #7d9dbd;
  --error-border: #bd737b;
  --scroll-thumb: #80868f;
  --backdrop: rgba(25,27,30,.66);
  --shadow-ink: #14171b28;
  --shadow-dialog-ink: #14171b66;
  --toast-bg: #454b53;
  --toast-text: #f3f3f3;
  --opaque-workspace: #2d3034;
  --opaque-panel: #34373b;
  --shell-bg: #2f3236;
  --content-bg: #26282b;
  --rail-bg: linear-gradient(180deg,#b3111c,#8f0a13);
  --rail-shadow: rgba(0,0,0,.45);
  --card-line: #51575f;
}
