:root {
  color-scheme: light;
  /* === noleji v2 "Paper-Teal Editorial" (2026-07-05) — synthesized from redesign-lab v2 ===
     One base system, four surface modes: discover(home/chrome) · digest+brew(daily) ·
     library(archive/deep-read) · studio(dark visual panels only).
     paper bg · ink text · teal accent · bronze eyebrow · library deep-green · quiet lines.
     Token NAMES are unchanged so core.css keeps working; only values changed.
     REVERSIBLE: previous noleji-report values are backed up in the comment below. */
  --bg: #faf9f4;            /* paper (digest) — global canvas */
  --bg-soft: #f3f1e8;
  --bg-2: #ece9de;
  --surface: #ffffff;       /* content card */
  --surface-2: #f6f4ec;
  --surface-warm: #f2eadc;  /* library cream — CTA / trust panels */
  --line: #e6e2d6;          /* warm quiet line */
  --line-soft: rgba(16, 24, 32, 0.10);
  --text: #101820;          /* ink (discover) */
  --text-soft: #4a555c;
  --text-dim: #8a9299;
  --ink: #101820;           /* primary button / wordmark */
  --ink-soft: #232d36;
  --ink-muted: #4a555c;
  --accent: #0f766e;        /* teal — interactive emphasis, eyebrows */
  --accent-soft: rgba(15, 118, 110, 0.10);
  --accent-ink: #0c5f59;
  --blue: #0f766e;          /* legacy alias → teal */
  --blue-soft: rgba(15, 118, 110, 0.10);
  --amber: #8f5e2e;         /* bronze — editorial eyebrows (library/digest) */
  --amber-soft: rgba(143, 94, 46, 0.12);
  --sage: #213826;          /* library deep green — premium/dark-CTA panels */
  --sage-soft: rgba(33, 56, 38, 0.10);
  --accent-2: #8f5e2e;      /* bronze (named alias) */
  --brand-deep: #213826;    /* library spine green (named alias) */
  --bg-dark: #101216;       /* studio dark — .panel.dark visual showcases only */
  --surface-dark: #181c24;
  --text-on-dark: #c8d0dc;
  --text-on-dark-soft: #aab3c2;
  --accent-on-dark: #8be9fd;
  --danger: #9b3d36;
  --danger-soft: #f1e3e0;
  --container: 1180px;
  --container-narrow: 860px;
  --radius: 10px;           /* content card radius (quieter than 14) */
  --radius-sm: 8px;
  --radius-pill: 99px;      /* chips / badges / CTA pills */
  --shadow: rgba(16, 24, 32, 0.08) 0 14px 40px -24px;
  --shadow-card: rgba(16, 24, 32, 0.05) 0 8px 24px -16px;
  --font: "Pretendard Variable", Pretendard, "Noto Sans KR", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-serif: "Noto Serif KR", Georgia, "Times New Roman", serif;
  --font-mono: "SFMono-Regular", "Roboto Mono", ui-monospace, monospace;
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 24px;
  --space-6: 32px;
  --space-7: 48px;
  --space-8: 64px;
}

/* === BACKUP — noleji-report tokens (2026-06-14), restore to revert ===
:root {
  --bg: #f4f3ee; --bg-soft: #efeee7; --bg-2: #e8e6dd; --surface: #ffffff; --surface-2: #f4f3ee;
  --surface-warm: #f1efe8; --line: #e2dfd5; --line-soft: rgba(30, 42, 56, 0.10);
  --text: #1e2a38; --text-soft: #4e5965; --text-dim: #8a8d94;
  --ink: #1e2a38; --ink-soft: #2c3a48; --ink-muted: #4e5965;
  --accent: #36607f; --accent-soft: rgba(54, 96, 127, 0.10); --accent-ink: #2a4f6b;
  --blue: #36607f; --blue-soft: rgba(54, 96, 127, 0.10);
  --amber: #6f8e6b; --amber-soft: rgba(111, 142, 107, 0.14);
  --sage: #6f8e6b; --sage-soft: rgba(111, 142, 107, 0.14);
  --danger: #9b3d36; --danger-soft: #f1e3e0;
  --container: 1180px; --container-narrow: 860px;
  --radius: 14px; --radius-sm: 10px; --radius-pill: 99px;
  --shadow: rgba(30, 42, 56, 0.10) 0 18px 48px -24px; --shadow-card: rgba(30, 42, 56, 0.06) 0 12px 30px -18px;
  --font: "Manrope", "Pretendard Variable", Pretendard, "Noto Sans KR", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-mono: "SFMono-Regular", "Roboto Mono", ui-monospace, monospace;
}
=== end backup === */

/* === BACKUP — previous refero-system tokens (2026-06-13) ===
:root {
  --bg:#ffffff; --bg-soft:#f6f6f6; --bg-2:#ececec; --surface:#ffffff; --surface-2:#f6f6f6;
  --surface-warm:#f6f6f6; --line:#e7e7e7; --line-soft:rgba(31,31,31,0.08);
  --text:#1f1f1f; --text-soft:#5d5d5d; --text-dim:#888888;
  --ink:#1f1f1f; --ink-soft:#333333; --ink-muted:#5d5d5d;
  --accent:#594ff4; --accent-soft:rgba(89,79,244,0.08); --accent-ink:#594ff4;
  --blue:#594ff4; --blue-soft:rgba(89,79,244,0.08); --amber:#594ff4; --amber-soft:rgba(89,79,244,0.08);
  --danger:#9b3d36; --danger-soft:#f3e0dc; --container:1180px; --container-narrow:860px;
  --radius:18px; --radius-sm:12px; --radius-pill:99px;
  --shadow:rgba(0,0,0,0.12) 0 0 60px -13px; --shadow-card:rgba(0,0,0,0.08) 0 18px 48px -20px;
}
=== end backup === */
