/* Design tokens. Light is the default; theme.js sets data-theme="dark" on <html>. */
:root {
  --bg1: #eef1fb; --bg2: #e4e9f8;
  --glass: rgba(255,255,255,.62); --glass2: rgba(255,255,255,.88);
  --line: rgba(30,41,90,.12);
  --text: #0f1530; --muted: #5d6788;
  --ce: #d63a3a; --pe: #12935f;
  --ac: #5b4bff; --ac2: #00b4d8;
  --atm: rgba(91,75,255,.12);
  --ce-bg: #d93a42; --pe-bg: #0b8a5c; /* solid highlight cells, white text */
  --shadow: 0 8px 30px rgba(40,50,110,.12);
  --r: 16px;
  --font: Inter, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  box-sizing: border-box;
  padding-top: env(safe-area-inset-top, 0px);
  padding-bottom: env(safe-area-inset-bottom, 0px);
}
:root[data-theme="dark"] {
  color-scheme: dark;
  --bg1: #070b1a; --bg2: #0d1430;
  --glass: rgba(22,30,64,.55); --glass2: rgba(26,36,76,.88);
  --line: rgba(160,180,255,.14);
  --text: #e9eeff; --muted: #8e9bc4;
  --ce: #ff6b6b; --pe: #2fd49a;
  --ac: #8b7dff;
  --atm: rgba(139,125,255,.16);
  --shadow: 0 10px 34px rgba(0,0,0,.4);
}
