:root {
  color-scheme: light;
  --bg: #f7f6f3;
  --surface: #fff;
  --surface-2: #fbfaf8;
  --soft: #f0eee9;
  --line: #e4e1da;
  --line-strong: #c8c4bc;
  --ink: #1c1f26;
  --muted: #555d6b;
  --primary: #3640c8;
  --primary-hover: #2a33a8;
  --primary-soft: #eceefd;
  --primary-plot: #6571dc;
  --on-primary: #fff;
  --accent: #b87916;
  --accent-soft: #fff3dc;
  --success: #1c6944;
  --success-bg: #e6f4ec;
  --warn: #794900;
  --warn-bg: var(--accent-soft);
  --risk: #a82c25;
  --risk-bg: #fdecea;
  --info: #205d92;
  --info-bg: #e8f1fa;
  --slate: #43566b;
  --slate-bg: #e8eef2;
  --rose: #88425e;
  --rose-bg: #faeaf0;
  --toast: #252936;
  --on-toast: #fff;
  --veil: #14161e73;
  --paper: #fff;
  --print-ink: #000;
  --r1: 8px;
  --r2: 12px;
  --r3: 20px;
  --s1: 0 2px 6px #2321370d;
  --s2: 0 12px 32px #23213719;
  --s3: 0 24px 64px #12142630;
  --speed: 160ms;
  --font: "PingFang SC", "Microsoft YaHei", "Noto Sans SC", system-ui, sans-serif;
}
html[data-theme="dark"] {
  color-scheme: dark;
  --bg: #12141a;
  --surface: #1b1e27;
  --surface-2: #171a22;
  --soft: #232733;
  --line: #363c49;
  --line-strong: #60697d;
  --ink: #eceef3;
  --muted: #b1b7c5;
  --primary: #a2acff;
  --primary-hover: #c0c8ff;
  --primary-soft: #292e50;
  --primary-plot: #8e9cff;
  --on-primary: #10122b;
  --accent: #f5b552;
  --accent-soft: #3a2e14;
  --success: #7fd4a6;
  --success-bg: #173022;
  --warn: #f5c26b;
  --risk: #ffaaa0;
  --risk-bg: #3b1f1d;
  --info: #a3cff9;
  --info-bg: #182c40;
  --slate: #bed0e4;
  --slate-bg: #252e3b;
  --rose: #f2b3cf;
  --rose-bg: #3c2333;
  --veil: #0b0c14a8;
  --s1: 0 2px 6px #0002;
  --s2: 0 12px 30px #0004;
  --s3: 0 24px 64px #0007;
}