:root {
  /* Claude-inspired warm editorial system from DESIGN.md */
  --bg: #faf9f5;
  --bg-subtle: #f5f0e8;
  --bg-pattern: linear-gradient(180deg, #faf9f5 0%, #f5f0e8 100%);
  --panel: #faf9f5;
  --panel-strong: #faf9f5;
  --panel-gradient: #faf9f5;
  --glass-highlight: transparent;
  --glass-sheen: linear-gradient(135deg, transparent, transparent);
  --glass-blur: 0;
  --glass-saturate: 1;
  --border: #e6dfd8;
  --border-subtle: #ebe6df;
  --text: #141413;
  --text-muted: #6c6a64;
  --text-subtle: #8e8b82;
  --accent: #cc785c;
  --accent-hover: #a9583e;
  --accent-soft: rgba(204, 120, 92, 0.12);
  --accent-glow: rgba(204, 120, 92, 0.15);
  --accent-glow-strong: rgba(204, 120, 92, 0.24);
  --danger: #c64545;
  --danger-soft: rgba(198, 69, 69, 0.12);
  --success: #5db872;
  --success-soft: rgba(93, 184, 114, 0.14);
  --warning: #d4a017;
  --warning-soft: rgba(212, 160, 23, 0.14);
  --surface-card: #efe9de;
  --surface-soft: #f5f0e8;
  --surface-cream-strong: #e8e0d2;
  --surface-dark: #181715;
  --surface-dark-elevated: #252320;
  --surface-dark-soft: #1f1e1b;
  --on-primary: #ffffff;
  --on-dark: #faf9f5;
  --on-dark-soft: #a09d96;
  --accent-teal: #5db8a6;
  --accent-amber: #e8a55a;
  --shadow-xs: 0 1px 2px rgba(20, 20, 19, 0.04);
  --shadow-sm: 0 1px 3px rgba(20, 20, 19, 0.08);
  --shadow-md: 0 8px 22px rgba(20, 20, 19, 0.08);
  --shadow-lg: 0 14px 36px rgba(20, 20, 19, 0.10);
  --shadow-xl: 0 22px 54px rgba(20, 20, 19, 0.12);
  --radius-xs: 4px;
  --radius-sm: 6px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-xl: 16px;
  --radius-full: 9999px;
  --transition-fast: 120ms ease;
  --transition-base: 200ms ease;
  --transition-slow: 300ms ease;
  --transition-theme: 400ms ease;
  --font-display: "Cormorant Garamond", "Tiempos Headline", Garamond, "Times New Roman", serif;
  --font-sans: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  --font-mono: "JetBrains Mono", "Cascadia Mono", "SF Mono", Consolas, "Liberation Mono", monospace;
  --bg-secondary: var(--surface-soft);
  --text-primary: var(--text);
}

[data-theme="dark"] {
  --bg: #181715;
  --bg-subtle: #1f1e1b;
  --bg-pattern: linear-gradient(180deg, #181715 0%, #1f1e1b 100%);
  --panel: #1f1e1b;
  --panel-strong: #252320;
  --panel-gradient: #1f1e1b;
  --glass-highlight: transparent;
  --glass-sheen: linear-gradient(135deg, transparent, transparent);
  --border: rgba(250, 249, 245, 0.12);
  --border-subtle: rgba(250, 249, 245, 0.08);
  --text: #faf9f5;
  --text-muted: #a09d96;
  --text-subtle: #8e8b82;
  --accent: #cc785c;
  --accent-hover: #e08b6f;
  --accent-soft: rgba(204, 120, 92, 0.16);
  --accent-glow: rgba(204, 120, 92, 0.20);
  --accent-glow-strong: rgba(204, 120, 92, 0.30);
  --danger: #e05b5b;
  --danger-soft: rgba(224, 91, 91, 0.16);
  --success: #5db872;
  --success-soft: rgba(93, 184, 114, 0.16);
  --warning: #e8a55a;
  --warning-soft: rgba(232, 165, 90, 0.16);
  --surface-card: #252320;
  --surface-soft: #1f1e1b;
  --surface-cream-strong: #252320;
  --surface-dark: #141413;
  --surface-dark-elevated: #252320;
  --surface-dark-soft: #1f1e1b;
  --shadow-xs: 0 1px 2px rgba(0, 0, 0, 0.26);
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.28);
  --shadow-md: 0 8px 22px rgba(0, 0, 0, 0.30);
  --shadow-lg: 0 14px 36px rgba(0, 0, 0, 0.34);
  --shadow-xl: 0 22px 54px rgba(0, 0, 0, 0.38);
}
