/* ── Colour tokens (spec 113) ────────────────────────────────────────────
   Every colour the frame and the shared parts use, and nothing else. The light
   set is on :root and is what everyone sees; the dark set redefines the same
   names under :root[data-theme="dark"]. Nothing sets data-theme yet: the
   switch comes once every page is on these variables (spec 113, answer 3).

   Both blocks must hold the same names — test/spec113-tokens.test.js checks
   it, and that each text colour reaches 4.5:1 on the surfaces it sits on.
   Type families and radii are in base.css: they do not change with the theme. */

:root {
    --ground:        #eceee7;
    --ground-glass:  rgba(236, 238, 231, 0.84);
    --panel:         #ffffff;
    --panel-raised:  #f3f5ee;
    --line:          rgba(13, 16, 20, 0.1);
    --line-strong:   rgba(13, 16, 20, 0.24);
    --text:          #0d1014;
    --text-muted:    #566070;
    --accent:        #3c6400;
    --accent-2:      #2f5fd0;
    --attention:     #b8431a;
    --primary:       #0d1014;
    --on-primary:    #c8f53c;
    --good:          #1e7b34;
    --caution:       #8a5300;
    --bad:           #b42318;
    --good-soft:     #e3f3e6;
    --caution-soft:  #fbf0d9;
    --bad-soft:      #fbe5e2;
    --info-soft:     #e5ecfb;
    --glow:          rgba(110, 160, 0, 0.28);
    --scrim:         rgba(13, 16, 20, 0.45);
    --scroll-shade:  rgba(13, 16, 20, 0.14);
    --shadow-1:      0 1px 2px rgba(13, 16, 20, 0.06);
    --shadow-pop:    0 18px 40px -12px rgba(13, 16, 20, 0.28);
    --lift:          0 28px 50px -34px rgba(30, 40, 10, 0.4);
}

:root[data-theme="dark"] {
    --ground:        #0a0c10;
    --ground-glass:  rgba(10, 12, 16, 0.82);
    --panel:         #11141a;
    --panel-raised:  #181c24;
    --line:          rgba(255, 255, 255, 0.09);
    --line-strong:   rgba(255, 255, 255, 0.2);
    --text:          #eef1f6;
    --text-muted:    #9aa4b5;
    --accent:        #c8f53c;
    --accent-2:      #8fb4ff;
    --attention:     #ff9466;
    --primary:       #c8f53c;
    --on-primary:    #0b0d10;
    --good:          #6fdc8c;
    --caution:       #f5c451;
    --bad:           #ff8a80;
    --good-soft:     #13261a;
    --caution-soft:  #2a2210;
    --bad-soft:      #2c1513;
    --info-soft:     #131d33;
    --glow:          rgba(200, 245, 60, 0.3);
    --scrim:         rgba(0, 0, 0, 0.6);
    --scroll-shade:  rgba(0, 0, 0, 0.5);
    --shadow-1:      0 1px 2px rgba(0, 0, 0, 0.5);
    --shadow-pop:    0 18px 40px -12px rgba(0, 0, 0, 0.8);
    --lift:          0 28px 50px -30px rgba(0, 0, 0, 0.95);
}
