/* Dark theme: Deep Ink and Midnight Purple surfaces with ivory text, every text colour >= 4.5:1 on all three surfaces, graphics >= 3:1.
   Loaded with media="(prefers-color-scheme: dark)"; prefs.js switches that to "all" / "not all" for an explicit choice. */
:root {
  --bg: #222331;
  --surface: #292B42;
  --surface-2: #34364F;
  --fill: rgba(245, 242, 236, 0.08);
  --label: #F5F2EC;
  --label-2: #B3AECB;
  --label-3: #ADA7C8;
  --separator: rgba(245, 242, 236, 0.1);
  --scrim-rgb: 10 10 18;
  --scrim-max: 0.62;
  --bar-bg: rgba(41, 43, 66, 0.86);

  --glass-bg: rgba(52, 54, 79, 0.5);
  --glass-sheet-bg: rgba(41, 43, 66, 0.78);
  --glass-edge: rgba(245, 242, 236, 0.3);
  --glass-rim: rgba(245, 242, 236, 0.1);
  --glass-sheen: rgba(245, 242, 236, 0.1);
  --glass-shadow: 0 8px 24px rgba(10, 10, 18, 0.4);
  --glow-lavender: rgba(167, 161, 195, 0.3);
  --glow-champagne: rgba(213, 197, 169, 0.16);

  --accent: #D5C5A9;
  --accent-fill: #D5C5A9;
  --on-accent: #222331;
  --accent-soft: rgba(213, 197, 169, 0.15);
  --toast-action: #292B42; /* the toast is light in dark mode */
  --positive: #7DB592;
  --positive-text: #8FC4A4;
  --positive-soft: rgba(125, 181, 146, 0.15);
  --negative: #E0937B;
  --negative-text: #E0937B;
  --negative-soft: rgba(224, 147, 123, 0.15);
  --warning: #D5C5A9;
  --warning-text: #D5C5A9;
  --warning-soft: rgba(213, 197, 169, 0.14);

  --c-blue: #8F93C8;
  --c-teal: #B7B0D6;
  --c-violet: #A99BE0;
  --c-pink: #D79DBB;
  --c-orange: #D5C5A9;
  --c-gold: #B3A582;
  --c-cyan: #8FA6D4;
  --c-indigo: #8185BC;
  --c-slate: #A7A1C3;
  --c-group: #7A75A3;
}
