/* ─────────────────────────────────────────────────────────
   Zifa — "Quiet Console" design tokens
   Dark-first. One signal: overdue. Everything else is calm.
   ───────────────────────────────────────────────────────── */

:root, [data-theme="dark"] {
  color-scheme: dark;
  --bg:           #0c0e11;
  --surface:      #131619;
  --surface-2:    #181b1f;
  --surface-3:    #1f2328;
  --overlay:      rgba(8,10,12,.72);

  --hair:         rgba(255,255,255,.06);
  --hair-2:       rgba(255,255,255,.10);
  --hair-strong:  rgba(255,255,255,.16);

  --ink:          #e7e9ec;
  --ink-2:        #b6bbc2;
  --ink-mute:     #7d828b;
  --ink-faint:    #4a4e57;

  --accent:       #7aa2ff;
  --accent-soft:  rgba(122,162,255,.14);
  --accent-line:  rgba(122,162,255,.35);

  --overdue:      #ff7a59;
  --overdue-deep: #d75a3a;
  --overdue-soft: rgba(255,122,89,.10);
  --overdue-line: rgba(255,122,89,.32);

  --stale:        #d4a85a;
  --stale-soft:   rgba(212,168,90,.10);

  --blocked:      #b896e8;
  --blocked-soft: rgba(184,150,232,.10);

  --done:         #5fcb8f;
  --done-soft:    rgba(95,203,143,.10);

  --p-urgent:     #ff7a59;
  --p-high:       #e8a85a;
  --p-med:        #7aa2ff;
  --p-low:        #6f7682;

  --f-display: "Instrument Serif", "Cormorant Garamond", Georgia, serif;
  --f-sans:    "Geist", "Inter Tight", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --f-mono:    "Geist Mono", "JetBrains Mono", ui-monospace, "SF Mono", monospace;

  --t-xs:   11px;
  --t-sm:   12px;
  --t-base: 13px;
  --t-md:   14px;
  --t-lg:   16px;
  --t-xl:   20px;
  --t-2xl:  28px;
  --t-3xl:  44px;
  --t-4xl:  72px;

  --s-1: 4px;  --s-2: 8px;  --s-3: 12px; --s-4: 16px; --s-5: 20px;
  --s-6: 24px; --s-7: 32px; --s-8: 48px; --s-9: 64px;

  --r-1: 4px;  --r-2: 6px;  --r-3: 10px; --r-pill: 999px;

  --sidebar-w: 220px;

  --ease: cubic-bezier(.2,.7,.2,1);
}

[data-theme="light"] {
  color-scheme: light;
  --bg:           #f4f2ed;
  --surface:      #fbfaf6;
  --surface-2:    #f0eee8;
  --surface-3:    #e8e5dd;
  --overlay:      rgba(20,18,14,.32);

  --hair:         rgba(20,18,14,.08);
  --hair-2:       rgba(20,18,14,.14);
  --hair-strong:  rgba(20,18,14,.24);

  --ink:          #14120e;
  --ink-2:        #3a382f;
  --ink-mute:     #6b6759;
  --ink-faint:    #9c9789;

  --accent:       #2f5ae0;
  --accent-soft:  rgba(47,90,224,.10);
  --accent-line:  rgba(47,90,224,.30);

  --overdue:      #c43d20;
  --overdue-deep: #8e2a14;
  --overdue-soft: rgba(196,61,32,.07);
  --overdue-line: rgba(196,61,32,.32);

  --stale:        #a87a1f;
  --stale-soft:   rgba(168,122,31,.08);

  --blocked:      #7a4ec7;
  --blocked-soft: rgba(122,78,199,.07);

  --done:         #2f7a4a;
  --done-soft:    rgba(47,122,74,.07);
}
