/* ── Primitives: the raw palette ───────────────────────────────────────────
   Layer 1 of DESIGN.md §1. Only the theme files may reference these;
   components use the semantic tokens (a test enforces it). */
:root {
    /* Night: dark-theme surfaces and text */
    --p-night-950: #0f141a;
    --p-night-920: #121821;
    --p-night-900: #161c24;
    --p-night-850: #1a212b;
    --p-night-800: #1f2731;
    --p-night-750: #232c38;
    --p-night-500: #64758b;   /* input and control borders: 3:1 on every dark surface */
    --p-night-300: #8b98ab;
    --p-night-200: #a7b2c1;
    --p-night-50:  #e8edf3;

    /* Gray: the print theme (theme-print.css) */
    --p-gray-0:   #ffffff;
    --p-gray-50:  #f1f4f6;
    --p-gray-100: #e3e7ec;
    --p-gray-150: #d6dce3;
    --p-gray-500: #5f6b7d;
    --p-gray-700: #4a5565;
    --p-gray-900: #0f1720;

    /* Brand teal (dark theme) */
    --p-teal-300: #3ee3cc;
    --p-teal-400: #00d4b8;
    --p-teal-950: #032621;

    /* Status hues (dark theme) */
    --p-orange-400: #fb923c;
    --p-red-400:    #f87171;
    --p-green-400:  #34d399;
    --p-blue-300:   #7cb4fb;
    --p-slate-300:  #a3b0c0;
    --p-magenta-400: #e879f9;

    /* Chart series (dark theme) */
    --p-chart-blue-400:   #60a5fa;
    --p-chart-violet-400: #a78bfa;
    --p-chart-green-400:  #34d399;
    --p-chart-amber-400:  #fbbf24;
    --p-chart-cyan-400:   #3fc5d6;
    --p-chart-rose-400:   #fb7185;
    --p-chart-red-600:    #dc2626;   /* second red: the donut's No S1 agent slice */

    /* Calm: the light theme (warm stone, slate ink, pastel fills; 2026-10-08) */
    --p-stone-100: #efeae4;
    --p-stone-150: #eae5df;
    --p-stone-200: #e4dfd7;
    --p-stone-300: #dfd9d0;
    --p-stone-400: #d7d0c6;
    --p-stone-450: #cec6bb;
    --p-stone-700: #80776b;   /* input and control borders: 3:1 on every surface */
    --p-ink-900: #282f39;   /* body text, dark slate (never black) */
    --p-ink-750: #414853;
    --p-ink-650: #515861;   /* muted text: 4.5:1 on the darkest surface */
    --p-cream-50: #f7f5ed;   /* text on the teal button */
    --p-calm-teal-200: #c1e1dc;   /* pastel teal fill */
    --p-calm-teal-650: #24665e;
    --p-calm-teal-700: #1b554e;
    --p-calm-teal-600: #287169;
    --p-calm-peach-150: #f5dac2;
    --p-calm-orange-700: #8a4314;
    --p-calm-rose-150: #f3d1cd;
    --p-calm-red-650: #992c29;
    --p-calm-mint-200: #c6e2d1;
    --p-calm-green-700: #22593d;
    --p-calm-sky-150: #ceddee;
    --p-calm-blue-650: #2a5184;
    --p-calm-orchid-150: #ebd5ec;
    --p-calm-plum-650: #7a2c7d;
    --p-calm-slate-650: #49505a;
    --p-stone-ghost: #d4d0c9;
    --p-calm-chart-blue: #587fad;
    --p-calm-chart-violet: #846eaa;
    --p-calm-chart-green: #4b866b;
    --p-calm-chart-amber: #9f6b28;
    --p-calm-chart-cyan: #307782;
    --p-calm-chart-rose: #b24d5e;
}
