/* Calm & Energy design tokens.
   Colour means pillar: train, recover, calm, nourish. Calls to action use the brand clay (--cta); navigation stays neutral.
   Each pillar has a solid (dots, bars, icons), a tint (card backgrounds) and a text shade (text on the tint).
   Contrast is checked in tests/tokens.test.mjs. Loaded after styles.css so the legacy variables below win. */
:root{
 --ground:#F8F3EC;--surface:#FFFFFF;--ink:#2B2A33;--muted:#686474;--line:#E4DCD1;--sand:#EFE8DE;
 --train:#B0476A;--train-tint:#F6DFE6;--train-text:#83304C;
 --recover:#3A9A7E;--recover-tint:#D9EFE7;--recover-text:#226050;
 --calm:#5E6DBF;--calm-tint:#E3E6F6;--calm-text:#3E4A93;
 --nourish:#D6AE2E;--nourish-tint:#F7EDCB;--nourish-text:#6B5310;
 --brand:#AC6544;--cta:#8E4F33;--cta-hover:#7A4229;--on-cta:#FFFFFF;--cta-tint:#F3E3DA;--cta-text:#7A4229;
 --shadow-soft:0 1px 2px rgba(43,42,51,.04),0 6px 20px rgba(43,42,51,.05);--ease:cubic-bezier(.2,.7,.2,1);
 /* Legacy screens read these names. */
 --canvas:var(--ground);--primary:var(--cta);--lilac:var(--cta-tint);--peach:var(--nourish-tint);--mint:var(--recover-tint);--blue:var(--calm-tint);--accent:var(--nourish);
 --font:'DM Sans',system-ui,sans-serif;
}
/* Evening theme. Applied by src/ui/theme.js; legacy screens still contain fixed light colours,
   so it stays behind a feature switch until they are migrated. */
:root[data-theme=evening]{
 --ground:#1F2233;--surface:#2A2D42;--ink:#ECEAF4;--muted:#A8A6BD;--line:#3A3D55;--sand:#30334A;
 --train:#E88AA4;--train-tint:#3A2733;--train-text:#F5B8C9;
 --cta:#E0A182;--cta-hover:#EBB59A;--on-cta:#1F2233;--cta-tint:#3B2E2E;--cta-text:#F0C3A9;
 --shadow-soft:0 1px 2px rgba(0,0,0,.2),0 8px 24px rgba(0,0,0,.18);
 --recover:#6CC2A8;--recover-tint:#20383A;--recover-text:#A8E3D2;
 --calm:#9CA6F0;--calm-tint:#2C3054;--calm-text:#CDD3FF;
 --nourish:#E9C55A;--nourish-tint:#3A3524;--nourish-text:#F3DC97;
 color-scheme:dark;
}
