/* Brand colours — the only colours a client branch changes (see BRANDING.md).
   theme.css maps these onto Bootstrap's primary.
   --brand* are solid fills (buttons, badges, active items) and must keep white
   (--brand-on) readable; --brand-text* colour links, text-primary and outline buttons
   and must stay readable on the page background.
   Fitsate: forest #184830, olive #4D722D, lime #8BB43C (same palette as fitsate.com). */
:root, [data-bs-theme="light"] {
  --brand: #184830;
  --brand-rgb: 24, 72, 48;
  --brand-hover: #133b27;
  --brand-active: #0f2f1f;
  --brand-on: #fff;
  --brand-text: #184830;
  --brand-text-rgb: 24, 72, 48;
  --brand-text-hover: #0f2f1f;
  --brand-text-hover-rgb: 15, 47, 31;
  --brand-focus-border: #8ab49f;
  --brand-text-emphasis: #0d2819;
  --brand-bg-subtle: #d1e5da;
  --brand-border-subtle: #8ab49f;
}

/* Forest is too dark to read on a dark page: fills move to olive (still white text),
   text moves to the light lime fitsate.com uses in dark mode. */
[data-bs-theme="dark"] {
  --brand: #4d722d;
  --brand-rgb: 77, 114, 45;
  --brand-hover: #446628;
  --brand-active: #3a5620;
  --brand-text: #b5d96a;
  --brand-text-rgb: 181, 217, 106;
  --brand-text-hover: #c8e48e;
  --brand-text-hover-rgb: 200, 228, 142;
  --brand-focus-border: #6d9030;
  --brand-text-emphasis: #bfe07a;
  --brand-bg-subtle: #1e2a0d;
  --brand-border-subtle: #4d6521;
}
