:root {
  --bg: #fbf7f0; --surface: #ffffff; --surface-2: #f4eee4; --surface-3: #ece4d7;
  --text: #1b150f; --text-2: #4a3f33; --muted: #6e6253; --border: #e8dfd1; --border-strong: #d6cab8;
  --accent: #ffaa1c; --accent-hover: #f59e0b; --accent-ink: #15100b; --accent-text: #8f5200; --accent-soft: #fff1d6;
  --ok: #1f7a4d; --ok-soft: #e3f3ea; --warn: #9a5b00; --warn-soft: #fff1d6; --bad: #b3261e; --bad-soft: #fbe6e4;
  --info: #2d5bd7; --info-soft: #e6ecfb;
  --focus: #8f5200;
  --overlay: rgb(27 21 15 / .45);
  --shadow-1: 0 1px 2px rgb(27 21 15 / .06), 0 1px 1px rgb(27 21 15 / .04);
  --shadow-2: 0 8px 24px rgb(27 21 15 / .10);
  --shadow-3: 0 20px 60px rgb(27 21 15 / .22);
  --radius-s: 6px; --radius-m: 10px; --radius-l: 16px;
  --space-1: 4px; --space-2: 8px; --space-3: 12px; --space-4: 16px; --space-5: 24px; --space-6: 32px; --space-7: 48px;
  --font: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --mono: ui-monospace, 'SFMono-Regular', Menlo, Consolas, monospace;
  --fs-xs: 12px; --fs-s: 14px; --fs-m: 16px; --fs-l: 20px; --fs-xl: 25px; --fs-2xl: 31px;
  --ease: cubic-bezier(.2, .7, .2, 1); --dur: 160ms;
  --sidebar-w: 248px; --topbar-h: 60px; --tabbar-h: 60px; --content-max: 1280px;
  --checker-a: #f1ebe0; --checker-b: #fbf7f0;
  color-scheme: light;
}
:root[data-theme="dark"] {
  --bg: #15100b; --surface: #1f1711; --surface-2: #2a2017; --surface-3: #33281d;
  --text: #fcf3e4; --text-2: #e4d6c1; --muted: #c2b19b; --border: #3a2d22; --border-strong: #4d3c2d;
  --accent: #ffaa1c; --accent-hover: #ffbb45; --accent-ink: #15100b; --accent-text: #ffbf4d; --accent-soft: #3a2a12;
  --ok: #4cc38a; --ok-soft: #173326; --warn: #ffb84d; --warn-soft: #3a2a12; --bad: #ff7a6e; --bad-soft: #3d1d1a;
  --info: #8aa8ff; --info-soft: #1c2640;
  --focus: #ffbf4d;
  --overlay: rgb(0 0 0 / .62);
  --shadow-1: 0 1px 2px rgb(0 0 0 / .4); --shadow-2: 0 8px 24px rgb(0 0 0 / .5); --shadow-3: 0 20px 60px rgb(0 0 0 / .65);
  --checker-a: #241b13; --checker-b: #1b140e;
  color-scheme: dark;
}
