/* Design tokens -- colour themes. Swap the values in :root to rebrand the app;
   the four alternates below are the account-level "colour theme" options. */
:root {
  --paper: #f4f6f9; --card: #ffffff; --ink: #17243b; --muted: #607188;
  --border: #e2e7ef; --input: #d7dfea; --danger: #b4363e; --radius: 5px;
  /* Neutral fill for table headers and banded rows. Theme-independent on
     purpose -- it reads as structure, not as brand colour. */
  --secondary: #edf1f6;

  --primary: #4541cf; --primary-hover: #3531ac;
  --lime: #c9ec46; --lime-hover: #d5f467;
  --accent-ink: #23330b;
  --forest: #17233e;
  --theme-soft: #efedff; --theme-text: #4940a8; --theme-wash: #f4f3fd;
  --theme-secondary: #117e91; --theme-border: #d8d3f5; --theme-alt: #dff5f4;
  --dark-soft: #b8c5df; --theme-glow: #6965ed;

  --mint-bg: #e4eece; --mint-ink: #667d34;
  --blue-bg: #e0eaf1; --blue-ink: #55758b;
  --pink-bg: #f4e0e1; --pink-ink: #ac686c;
  --gold-bg: #f0e9d6; --gold-ink: #98803d;
  --lilac-bg: #eae5f5; --lilac-ink: #8776aa;

  /* Chart palette -- shared across themes; 1/2/3 track the active theme via the
     tokens above, 4/5 are fixed neutrals so a 5-series chart always stays legible. */
  --chart-1: var(--lime); --chart-2: var(--primary); --chart-3: var(--theme-secondary);
  --chart-4: #d5b275; --chart-5: #7585a3;
}

html[data-theme="tide"] {
  --primary: #08746f; --primary-hover: #065c58; --lime: #72efcb; --lime-hover: #99f5dc;
  --accent-ink: #113931; --forest: #112e3b; --dark-soft: #b2d4db;
  --theme-secondary: #3c56d1; --theme-border: #b4ded4;
  --theme-soft: #ddf4ed; --theme-text: #09645c; --theme-wash: #edf8f6; --theme-alt: #e9ecff;
  --theme-glow: #0caaa2;
}
html[data-theme="ember"] {
  --primary: #b23f27; --primary-hover: #933220; --lime: #ffc58c; --lime-hover: #ffd5af;
  --accent-ink: #4b2614; --forest: #352034; --dark-soft: #dbc0d2;
  --theme-secondary: #a02d69; --theme-border: #f1c8b4;
  --theme-soft: #fff0e7; --theme-text: #913b26; --theme-wash: #fcf3ef; --theme-alt: #f8e7f0;
  --theme-glow: #d7754d;
}
html[data-theme="afterhours"] {
  --primary: #7534c4; --primary-hover: #5e25a5; --lime: #dedc6a; --lime-hover: #eeec95;
  --accent-ink: #36350d; --forest: #261b40; --dark-soft: #c9b8e3;
  --theme-secondary: #a93375; --theme-border: #ddc4f1;
  --theme-soft: #f3eafa; --theme-text: #7035aa; --theme-wash: #f6f1fc; --theme-alt: #fae9f3;
  --theme-glow: #a25be9;
}
