/* PA Legis Toolkit color roles, motion and shape tokens (see theme.css). */
:root {
  --font: "Roboto Flex", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "Roboto Mono", "DM Mono", Consolas, monospace;
  /* Motion: spatial springs (overshoot) and effects (no overshoot) */
  --spring-fast: cubic-bezier(.42, 1.67, .21, .90);
  --spring: cubic-bezier(.34, 1.36, .40, 1);
  --spring-slow: cubic-bezier(.27, 1.06, .18, 1.00);
  --effect: cubic-bezier(.31, .94, .34, 1.00);
  --d-fast: 220ms; --d: 420ms; --d-slow: 620ms;
  /* Shape scale */
  --r-xs: 8px; --r-s: 12px; --r-m: 16px; --r-l: 24px; --r-xl: 32px; --r-full: 999px;
  --ok: #7cd992; --warn: #f2c66d; --bad: #ffb4ab;
  color-scheme: dark;
}

/* ── navy (default) ── */
:root, :root[data-mode="dark"][data-scheme="navy"] {
  --bg: #0a1220; --surface: #0e1728; --s-low: #131d31; --s: #172238; --s-high: #1f2b44; --s-highest: #293651;
  --on-s: #e0e6f3; --on-s-var: #b9c3d6; --outline: #8a94a8; --outline-var: #36425a;
  --primary: #a8c8ff; --on-primary: #05305f; --p-cont: #224777; --on-p-cont: #d5e3ff;
  --secondary: #bdc7dc; --sec-cont: #33405a; --on-sec-cont: #d9e3f8;
  --tertiary: #f0bf6b; --ter-cont: #5a4211; --on-ter-cont: #ffdeaa;
  --inverse: #e0e6f3; --on-inverse: #172238; --scrim: rgba(3, 8, 18, .6);
}
/* Forest and purple use a warm amber / apricot tertiary so "Changed" and other
   attention marks pop as clearly as navy's gold. */
:root[data-mode="dark"][data-scheme="forest"] {
  --bg: #08130d; --surface: #0d1a12; --s-low: #122218; --s: #16281c; --s-high: #1e3325; --s-highest: #283e2f;
  --on-s: #dde8df; --on-s-var: #b6c8ba; --outline: #86998b; --outline-var: #33463a;
  --primary: #95d5a6; --on-primary: #00391c; --p-cont: #17502f; --on-p-cont: #b0f1c1;
  --secondary: #b7ccb9; --sec-cont: #31463a; --on-sec-cont: #d2e8d4;
  --tertiary: #f2c66d; --ter-cont: #5a4211; --on-ter-cont: #ffdea6;
  --inverse: #dde8df; --on-inverse: #16281c; --scrim: rgba(2, 10, 5, .6);
}
:root[data-mode="dark"][data-scheme="purple"] {
  --bg: #110d1a; --surface: #161222; --s-low: #1c172b; --s: #211b31; --s-high: #2a233c; --s-highest: #342d47;
  --on-s: #e8e0f2; --on-s-var: #cbc2db; --outline: #958ea4; --outline-var: #433b55;
  --primary: #d0bcff; --on-primary: #381e72; --p-cont: #4f378b; --on-p-cont: #eaddff;
  --secondary: #ccc2dc; --sec-cont: #423a55; --on-sec-cont: #e8def8;
  --tertiary: #ffb870; --ter-cont: #6b3d00; --on-ter-cont: #ffdcbe;
  --inverse: #e8e0f2; --on-inverse: #211b31; --scrim: rgba(8, 4, 16, .6);
}
:root[data-mode="light"] { color-scheme: light; --ok: #1f7a3a; --warn: #8a5a00; --bad: #ba1a1a; }
:root[data-mode="light"][data-scheme="navy"] {
  --bg: #eef2fa; --surface: #f8f9ff; --s-low: #f1f3fb; --s: #ebeef7; --s-high: #e4e8f2; --s-highest: #dde2ee;
  --on-s: #181c23; --on-s-var: #434852; --outline: #737985; --outline-var: #c3c8d4;
  --primary: #2d5b96; --on-primary: #ffffff; --p-cont: #d5e3ff; --on-p-cont: #001c3b;
  --secondary: #555f71; --sec-cont: #d9e3f8; --on-sec-cont: #121c2b;
  --tertiary: #7a5a12; --ter-cont: #ffdeaa; --on-ter-cont: #271900;
  --inverse: #2d3038; --on-inverse: #eff0f8; --scrim: rgba(10, 16, 30, .35);
}
:root[data-mode="light"][data-scheme="forest"] {
  --bg: #eef5ee; --surface: #f6fbf3; --s-low: #f0f5ed; --s: #eaefe7; --s-high: #e4eae2; --s-highest: #dee5dc;
  --on-s: #171d19; --on-s-var: #414942; --outline: #717971; --outline-var: #c0c9bf;
  --primary: #2a6a43; --on-primary: #ffffff; --p-cont: #b0f1c1; --on-p-cont: #00210f;
  --secondary: #4f6353; --sec-cont: #d2e8d4; --on-sec-cont: #0c1f13;
  --tertiary: #8a5a00; --ter-cont: #ffdea6; --on-ter-cont: #2b1700;
  --inverse: #2c322d; --on-inverse: #ecf2ea; --scrim: rgba(8, 20, 12, .35);
}
:root[data-mode="light"][data-scheme="purple"] {
  --bg: #f6f0fb; --surface: #fef7ff; --s-low: #f7f2fa; --s: #f3edf7; --s-high: #ece6f0; --s-highest: #e6e0e9;
  --on-s: #1d1b20; --on-s-var: #49454f; --outline: #79747e; --outline-var: #cac4d0;
  --primary: #6750a4; --on-primary: #ffffff; --p-cont: #eaddff; --on-p-cont: #21005d;
  --secondary: #625b71; --sec-cont: #e8def8; --on-sec-cont: #1d192b;
  --tertiary: #9a4f00; --ter-cont: #ffdcc2; --on-ter-cont: #311300;
  --inverse: #322f35; --on-inverse: #f5eff7; --scrim: rgba(20, 10, 30, .35);
}

