/* themes.css — the account palettes (two accounts, Lane 2; build plan Task 2.4; proposal "her side" section F and the owner's
   decision of 2026-10-10: "keep sage default and optional rose purple and pink"). Loaded after look.css: colour tokens
   ONLY — no shape, size or layout — so every screen keeps its look and only the colours change.
   <html data-palette="sage|rose|purple|pink" data-theme="light|dark">: the palette is kept with the account (settings.theme),
   light / dark stays per phone (as before). theme-boot always paints a palette (sage when none is chosen).
   RELEASE 20 (the owner approved the new look, 8 Nov 2026: "OK YES AND APPLY WHAT YOU LEARNED"; the prototype's palettes,
   artifact version 11): the SAME four families, each now a full palette — deeper and brighter, with clearer layers (page under
   card under the raised and input layer) — and a SECOND round accent (--kgym-accent2: a second round on the list next to the
   first) and the words on an accent fill (--kgym-on-accent). Sage is no longer the live look pixel for pixel: it has its own
   rule like the others. Amber (--kgym-low, --kgym-warn) and red (--kgym-min, --kgym-alarm) stay for warnings only: never set here.
   The body drawings never change colour: the map's status colours and stripes (--kgym-met, -low, -min, -none, -help and the
   skin tokens) are never set here, and the small body keeps release 19's sage accent for its main and helper muscles in EVERY
   palette — so green is always "target met". Every judged text pair ≥ 4.5:1 and every shape pair ≥ 3:1 (WCAG 2.x), light and
   dark: tests-client/theme-palettes.test.ts computes them from this file; the screens measure them in the browser. */

/* ── Sage (light) ── */
[data-palette='sage']:not([data-theme='dark']) .lawha-theme{
  --lawha-paper:#f3f5f0;--lawha-surface:#ffffff;--lawha-ink:#0e1d15;--lawha-muted:#4a5a50;--lawha-line:#d8dbda;
  --lawha-sage:#e3f3e9;--lawha-accent:#1d7a4b;--lawha-focus:#1d7a4b;
  --kgym-raised:#ffffff;--kgym-sunk:#edf1e9;--kgym-edge:#868e8a;--kgym-insight:#e8f5ed;
  --kgym-accent2:#16708a;--kgym-on-accent:#ffffff;
  --sh1:0 1px 2px rgba(14,29,21,.06),0 10px 24px -14px rgba(14,29,21,.28);--sh2:0 12px 30px -10px rgba(14,29,21,.32),0 1px 3px rgba(14,29,21,.08);--sh3:0 -10px 40px -12px rgba(14,29,21,.36);--glass:rgba(255,255,255,0.86);
}
/* ── Sage (dark) ── */
[data-palette='sage'][data-theme='dark'] .lawha-theme{
  --lawha-paper:#0c110e;--lawha-surface:#161f1a;--lawha-ink:#f2f6f1;--lawha-muted:#aebcb3;--lawha-line:#343c38;
  --lawha-sage:#173826;--lawha-accent:#6fdb9a;--lawha-focus:#6fdb9a;
  --kgym-raised:#2b3630;--kgym-sunk:#202b25;--kgym-edge:#6a706c;--kgym-insight:#172e21;
  --kgym-accent2:#5ec8d4;--kgym-on-accent:#04120a;
  --glass:rgba(22,31,26,0.88);
}
/* ── Rose (light) ── */
[data-palette='rose']:not([data-theme='dark']) .lawha-theme{
  --lawha-paper:#f7f3f4;--lawha-surface:#ffffff;--lawha-ink:#291118;--lawha-muted:#6b5560;--lawha-line:#ddd9da;
  --lawha-sage:#f6dbe5;--lawha-accent:#a3365e;--lawha-focus:#a3365e;
  --kgym-raised:#ffffff;--kgym-sunk:#f3eaee;--kgym-edge:#94888b;--kgym-insight:#fae9ef;
  --kgym-accent2:#6a4bb0;--kgym-on-accent:#ffffff;
  --sh1:0 1px 2px rgba(41,17,24,.06),0 10px 24px -14px rgba(41,17,24,.28);--sh2:0 12px 30px -10px rgba(41,17,24,.32),0 1px 3px rgba(41,17,24,.08);--sh3:0 -10px 40px -12px rgba(41,17,24,.36);--glass:rgba(255,255,255,0.86);
}
/* ── Rose (dark) ── */
[data-palette='rose'][data-theme='dark'] .lawha-theme{
  --lawha-paper:#120d0f;--lawha-surface:#1f1619;--lawha-ink:#f8eff2;--lawha-muted:#c6adb5;--lawha-line:#3c3437;
  --lawha-sage:#3e2230;--lawha-accent:#f39bbb;--lawha-focus:#f39bbb;
  --kgym-raised:#35292d;--kgym-sunk:#2a1e22;--kgym-edge:#706a6c;--kgym-insight:#321d27;
  --kgym-accent2:#c5a5f3;--kgym-on-accent:#2a0c17;
  --glass:rgba(31,22,25,0.88);
}
/* ── Purple (light) ── */
[data-palette='purple']:not([data-theme='dark']) .lawha-theme{
  --lawha-paper:#f5f3f8;--lawha-surface:#ffffff;--lawha-ink:#1c1430;--lawha-muted:#5d5474;--lawha-line:#dbd9de;
  --lawha-sage:#e5dbfa;--lawha-accent:#5a3bc4;--lawha-focus:#5a3bc4;
  --kgym-raised:#ffffff;--kgym-sunk:#eeeaf5;--kgym-edge:#8d8997;--kgym-insight:#efe9fc;
  --kgym-accent2:#1e6ea8;--kgym-on-accent:#ffffff;
  --sh1:0 1px 2px rgba(28,20,48,.06),0 10px 24px -14px rgba(28,20,48,.28);--sh2:0 12px 30px -10px rgba(28,20,48,.32),0 1px 3px rgba(28,20,48,.08);--sh3:0 -10px 40px -12px rgba(28,20,48,.36);--glass:rgba(255,255,255,0.86);
}
/* ── Purple (dark) ── */
[data-palette='purple'][data-theme='dark'] .lawha-theme{
  --lawha-paper:#0f0c15;--lawha-surface:#1a1623;--lawha-ink:#f4f1f9;--lawha-muted:#bab1c9;--lawha-line:#383440;
  --lawha-sage:#2e2448;--lawha-accent:#b99dff;--lawha-focus:#b99dff;
  --kgym-raised:#2f293a;--kgym-sunk:#241e30;--kgym-edge:#6c6a72;--kgym-insight:#261e39;
  --kgym-accent2:#7cc5f2;--kgym-on-accent:#150a2b;
  --glass:rgba(26,22,35,0.88);
}
/* ── Pink (light) ── */
[data-palette='pink']:not([data-theme='dark']) .lawha-theme{
  --lawha-paper:#f8f2f4;--lawha-surface:#ffffff;--lawha-ink:#2a0f18;--lawha-muted:#6c5460;--lawha-line:#ddd9da;
  --lawha-sage:#fadae5;--lawha-accent:#ad2c5b;--lawha-focus:#ad2c5b;
  --kgym-raised:#ffffff;--kgym-sunk:#f5eaee;--kgym-edge:#94878b;--kgym-insight:#fce9ef;
  --kgym-accent2:#7646b6;--kgym-on-accent:#ffffff;
  --sh1:0 1px 2px rgba(42,15,24,.06),0 10px 24px -14px rgba(42,15,24,.28);--sh2:0 12px 30px -10px rgba(42,15,24,.32),0 1px 3px rgba(42,15,24,.08);--sh3:0 -10px 40px -12px rgba(42,15,24,.36);--glass:rgba(255,255,255,0.86);
}
/* ── Pink (dark) ── */
[data-palette='pink'][data-theme='dark'] .lawha-theme{
  --lawha-paper:#130b0e;--lawha-surface:#21151a;--lawha-ink:#f9eef2;--lawha-muted:#caaeb7;--lawha-line:#3e3338;
  --lawha-sage:#45202e;--lawha-accent:#ff90b4;--lawha-focus:#ff90b4;
  --kgym-raised:#37282e;--kgym-sunk:#2c1d23;--kgym-edge:#71696c;--kgym-insight:#371c26;
  --kgym-accent2:#c99df1;--kgym-on-accent:#2b0915;
  --glass:rgba(33,21,26,0.88);
}
/* ── The small body keeps release 19's sage accent in every palette (main muscles filled, helpers striped): a body drawing
   never changes colour. ── */
[data-palette]:not([data-theme='dark']) .lawha-theme .small-body{--lawha-accent:#325c44}
[data-palette][data-theme='dark'] .lawha-theme .small-body{--lawha-accent:#6fb08a}

/* ── Settings › Look: each palette's own swatch (its accent on its tint), the same in light and dark ── */
.pal-dot{--pal-a:#1d7a4b;--pal-p:#e3f3e9}
.pal-dot[data-swatch='rose']{--pal-a:#a3365e;--pal-p:#f6dbe5}
.pal-dot[data-swatch='purple']{--pal-a:#5a3bc4;--pal-p:#e5dbfa}
.pal-dot[data-swatch='pink']{--pal-a:#ad2c5b;--pal-p:#fadae5}
