/* Generated by scripts/build_tokens.py — Refactoring UI Workflow A.
   Ramps: amber (brand), stone (warm neutral), green (profit), red (loss).
   Do not hand-edit; regenerate. */
:root {
  --bg: #fdfdf6;
  --surface: #ffffff;
  --surface-2: #fdfdf6;
  --fg: #352722;
  --muted: #796a5c;
  --faint: #8f8270;
  --border: #e4e2d3;
  --border-strong: #c8c3b1;
  --accent: #ac4404;
  --accent-fg: #ffffff;
  --accent-soft: #fffceb;
  --accent-line: #ffdb70;
  --pos: #1c7f42;
  --pos-soft: #ebfffc;
  --neg: #a51710;
  --neg-soft: #fff3eb;
  --shadow: rgba(28,25,23,0.08);
  --shadow-strong: rgba(28,25,23,0.14);
}
@media (prefers-color-scheme: dark) {
  :root {
  --bg: #352722;
  --surface: #4c3c35;
  --surface-2: #625349;
  --fg: #fdfdf6;
  --muted: #c8c3b1;
  --faint: #aca391;
  --border: #625349;
  --border-strong: #796a5c;
  --accent: #f3b23f;
  --accent-fg: #352722;
  --accent-soft: rgba(243,178,63,0.14);
  --accent-line: #ac4404;
  --pos: #7be0c5;
  --pos-soft: rgba(74,180,120,0.16);
  --neg: #fcad78;
  --neg-soft: rgba(220,90,80,0.16);
  --shadow: rgba(0,0,0,0.4);
  --shadow-strong: rgba(0,0,0,0.6);
}
}
:root {
  color-scheme: light dark;
  /* type scale (1.25 ratio) */
  --text-xs: 0.75rem; --text-sm: 0.875rem; --text-base: 1rem;
  --text-lg: 1.25rem; --text-xl: 1.563rem; --text-2xl: 1.953rem;
  /* spacing scale (4px base) */
  --sp-1: 4px; --sp-2: 8px; --sp-3: 12px; --sp-4: 16px;
  --sp-5: 24px; --sp-6: 32px; --sp-7: 48px; --sp-8: 64px;
  /* radius */
  --r-sm: 6px; --r-md: 10px; --r-lg: 16px; --r-pill: 999px;
  /* elevation */
  --e1: 0 1px 2px var(--shadow);
  --e2: 0 2px 6px var(--shadow), 0 1px 2px var(--shadow);
  --e3: 0 8px 24px var(--shadow-strong);
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  --mono: "SF Mono", ui-monospace, "Cascadia Code", Menlo, monospace;
}
