/* Monocle paper / black / yellow; Kinfolk neutral dividers. See docs/前端视觉改版计划-v0.2.md. */
:root {
  color-scheme: light;
  --bg-0: #fdfcf3; --bg-1: #f7f4f2;
  --panel: #ffffff; --panel-alt: #fdfbe4;
  --ink: #22211e; --muted: #655f56;
  --line: #d5d1c8; --control-line: #797164;
  --yellow: #edc84c; --on-yellow: #22211e;
  --good: #17613b; --bad: #a12c29;
  --good-bg: #eaf2eb; --bad-bg: #f7ebe8;
  --accent: var(--ink); --accent-cyan: var(--ink);
  --glass-bg: var(--panel); --glass-brd: var(--line); --glass-hi: transparent;
  --glass-shadow: 0 4px 16px rgba(0,0,0,.12); --glass-blur: 0px;
  --radius-xs: 2px; --radius-sm: 3px; --radius-md: 3px; --radius-lg: 6px; --radius-xl: 8px; --radius-pill: 3px;
  --space-1: 4px; --space-2: 8px; --space-3: 12px; --space-4: 16px; --space-5: 24px; --space-6: 32px;
  --text-xs: 12px; --text-sm: 14px; --text-base: 16px; --control-min: 44px; --content-max: 1360px;
  --shadow-sm: 2px 2px 0 var(--line); --shadow-lift: 4px 4px 0 var(--ink);
  --font-sans: "Noto Sans SC", "Microsoft YaHei", system-ui, sans-serif;
  --font-mono: "Noto Sans SC", ui-monospace, monospace;
  --sidebar-w: 220px; --ease: ease;
}
[data-theme="dark"] {
  color-scheme: dark;
  --bg-0: #2a2929; --bg-1: #252424; --panel: #2c2c2c; --panel-alt: #3f3f3f;
  --ink: #ffffff; --muted: #d9d9d9; --line: #6e6e6e; --control-line: #b3b3b3;
  --good: #b2dbbd; --bad: #f3b5ac; --good-bg: #293a2e; --bad-bg: #422d29;
}
