/*
 * Becky's one set of design tokens, loaded first on every page (the UX review, F7b, 22/10/2026). Before this the
 * Emails page and the desks each defined their own colours, and "error red" was three different reds. A page's own
 * stylesheet keeps only what is truly its own (chart colours, the header height on Emails).
 *
 * Status colours follow Liam's rule (22/10/2026, answer 10): green is finished or agreed; amber is unfinished and a
 * person still has something to do; red is wrong, late, blocked or missing; blue is ready for you, or information that
 * is not a problem; grey is only a label. One red, #b3261e. Which word takes which colour is in status-tones.js.
 *
 * Becky is light only (Liam, 22/10/2026, answer 16).
 */
:root {
  color-scheme: light;
  --bg: #f7f8f6; --surface: #fff; --surface-2: #f2f5f1; --surface-3: #e9eee7;
  --line: #d7ded5; --line-strong: #cdd6cc;
  /* A row or cell under the pointer, on every desk (Debtors used to define it, so Financials and Month end borrowed it). */
  --hover: var(--surface-2);
  /* The edge of every field: 3.5:1 on white, over the 3:1 a field's edge needs (Liam, 22/10/2026, answer 15). */
  --control-border: #7f8c85;
  --ink: #16221d; --ink-2: #47554e; --ink-3: #5f6c65;
  --brand: #143f33; --brand-2: #175b45; --brand-hover: #104b37; --brand-text: #175b45; --accent: #d0f39c;
  --focus: #1f63d6;
  --ok: #17693f; --ok-bg: #e5f4ea;
  --warn: #7d5200; --warn-bg: #fcf1d6;
  --danger: #b3261e; --danger-bg: #fcebe9; --danger-line: #efb7b1; --on-danger: #fff;
  --info: #1d5aa6; --info-bg: #e7effa;
  /* The amber of a square still to do, and of the dot that pulses while a read runs. A fill, never text. */
  --todo: #d6961a;
  /* Older names, kept so nothing has to change at once. Each means the token beside it. */
  --bad: var(--danger); --bad-bg: var(--danger-bg);
  --good: var(--ok); --good-bg: var(--ok-bg);
  --plain-bg: var(--surface-3);
}
