:root {
  color-scheme: light;
  --ui-font: "Segoe UI", system-ui, sans-serif;
  --theme-canvas: 244 247 251;
  --theme-surface: 255 255 255;
  --theme-field: 255 255 255;
  --theme-text: 20 33 58;
  --theme-muted: 82 100 124;
  --theme-border: 220 229 240;
  --theme-primary: 36 89 211;
  --theme-selection: 232 240 255;
  --canvas: rgb(var(--theme-canvas));
  --white: rgb(var(--theme-surface));
  --field: rgb(var(--theme-field));
  --ink: rgb(var(--theme-text));
  --muted: rgb(var(--theme-muted));
  --border: rgb(var(--theme-border));
  --blue: rgb(var(--theme-primary));
  --selection: rgb(var(--theme-selection));
  --blue-dark: #1947b7;
  --primary-ink: #fff;
  --focus: #5b8bf8;
  --hover: #f8faff;
  --control-border: #d4deec;
  --field-border: #ccd8e9;
  --field-ink: #172740;
  --shell: #0e1930;
  --shell-text: #aab9d1;
  --shell-link: #bac8de;
  --shell-strong: #fff;
  --shell-control: #172740;
  --shell-border: #293a55;
  --shell-hover: #1e2e4b;
  --shell-selected: #213b69;
  --shell-selected-border: #345489;
  --success: #0f7158;
  --danger: #a82441;
  --warning: #865901;
  --warning-fill: #fff1d2;
  --warning-ink: #7a5010;
  --control-radius: 8px;
  --card-radius: 13px;
  --dialog-radius: 15px;
  --topbar-height: 71px;
  --topbar-mobile: 59px;
  --card-shadow: 0 2px 5px #22396008;
  --dialog-shadow: 0 24px 80px #08162755;
  --divider-mask: #08142781;
}

:root[data-theme="dark"] {
  color-scheme: dark;
  --theme-canvas: 16 22 33;
  --theme-surface: 24 35 51;
  --theme-field: 18 29 44;
  --theme-text: 228 237 249;
  --theme-muted: 164 180 205;
  --theme-border: 51 66 88;
  --theme-primary: 65 112 207;
  --theme-selection: 38 58 89;
  --blue-dark: #3964b7;
  --hover: #25354b;
  --control-border: var(--border);
  --field-border: var(--border);
  --field-ink: var(--ink);
  --shell: #101825;
  --success: #91dfbe;
  --danger: #ffadc0;
  --warning: #ffd58a;
  --warning-fill: #3a2f1c;
  --warning-ink: var(--warning);
  --card-shadow: 0 2px 8px #080e1940;
}
