:root {
  color-scheme: light;
  --font-scale: 1;
  --color-primary: #356f65;
  --color-primary-strong: #24564e;
  --color-primary-soft: #edf5f2;
  --color-primary-softer: #f5f9f7;
  --color-background: #f5f7f6;
  --color-surface: #ffffff;
  --color-surface-muted: #f8faf9;
  --color-surface-strong: #f0f3f2;
  --color-sidebar: #fbfcfb;
  --color-header: rgb(255 255 255 / 95%);
  --color-border: #dde5e2;
  --color-border-strong: #c7d2ce;
  --color-text: #202b27;
  --color-text-muted: #68756f;
  --color-text-soft: #87938e;
  --color-nav-text: #53615b;
  --color-steel: #5f6d74;
  --color-warning: #8b641d;
  --color-warning-soft: #fff6e4;
  --color-success: #356f5f;
  --color-success-soft: #eaf4f0;
  --color-success-border: #d6e7e0;
  --shadow-sm: 0 1px 2px rgb(20 48 39 / 5%);
  --shadow-md: 0 8px 24px rgb(27 54 45 / 7%);
  --radius-sm: 7px;
  --radius-md: 10px;
  --radius-lg: 14px;
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 20px;
  --space-6: 24px;
  --sidebar-width: 56px;
  --sidebar-expanded-width: 212px;
  --header-height: 58px;
  --content-max-width: 1440px;
}

html[data-font-size="xs"] { --font-scale: 0.86; }
html[data-font-size="sm"] { --font-scale: 0.93; }
html[data-font-size="md"] { --font-scale: 1; }
html[data-font-size="lg"] { --font-scale: 1.09; }
html[data-font-size="xl"] { --font-scale: 1.18; }

html[data-theme="dark"] {
  color-scheme: dark;
  --color-primary: #6ca89c;
  --color-primary-strong: #9bc9c0;
  --color-primary-soft: #193b35;
  --color-primary-softer: #17302c;
  --color-background: #111715;
  --color-surface: #19201e;
  --color-surface-muted: #202825;
  --color-surface-strong: #252e2b;
  --color-sidebar: #151c1a;
  --color-header: rgb(25 32 30 / 96%);
  --color-border: #303b37;
  --color-border-strong: #46534e;
  --color-text: #edf3f0;
  --color-text-muted: #aab7b2;
  --color-text-soft: #83918c;
  --color-nav-text: #b6c1bd;
  --color-steel: #a8b5b0;
  --color-success: #8fc3b5;
  --color-success-soft: #17372f;
  --color-success-border: #2d554a;
  --shadow-sm: 0 1px 2px rgb(0 0 0 / 24%);
  --shadow-md: 0 10px 28px rgb(0 0 0 / 30%);
}
