/* Design tokens (CONTRACT §13, plan 08 §6): custom properties only.
   The default palette is neutral, graphite and steel greys, until the design consultation (T6)
   picks OuiCard's; web.theme.defaults holds the same hexes for the Python side.
   The accent fails AA as text on the light backgrounds: it is text only on the primary, through
   --colour-accent-on-primary (on-primary where it fails AA there), and on the card a mark only,
   through --colour-accent-on-card; elsewhere a rule or a mark.
   A profile colour is never a token: it reaches a page only as --band (liseré, label mark,
   holder panel band).
   The Theme row may override --colour-primary, --colour-on-primary and --colour-accent; the tokens
   it derives (web.theme.assets) take the default primary's and accent's values here. */
:root {
  --colour-primary: #1F2933;
  --colour-on-primary: #FFFFFF;
  --colour-primary-soft: #E4E7EB;
  --colour-primary-strong: #323F4B;
  --colour-link: #3E4C59;
  --colour-accent: #9AA5B1;
  --colour-accent-on-primary: #9AA5B1;
  /* The default accent with a quarter of black: 3.97:1 on the card, a mark's 3:1 and more. */
  --colour-accent-on-card: #747C85;
  /* Secondary text on the primary and its strong shade (the panel footer, the admin bars). */
  --colour-on-primary-quiet: #E4E7EB;
  --colour-page: #F7F7F5;
  --colour-surface: #FFFFFF;
  /* The public pages' off-white, the card's recto continued; no Theme overrides it (CONTRACT §13). */
  --colour-card: #F6F8FA;
  --colour-ink: #1A1A1A;
  --colour-muted: #5B6573;
  --colour-line: #DADDE2;
  /* A form control's outline: 3:1 on surface and page (WCAG 1.4.11), where the line is decorative. */
  --colour-control-border: #848C96;
  --colour-success: #0B6B3A;
  --colour-success-bg: #E3F4EA;
  --colour-alert: #A40000;
  --colour-alert-bg: #FDE2E2;
  --colour-warning: #6E4500;
  --colour-warning-bg: #FFF4D6;
  --font-system: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-mono: ui-monospace, Menlo, Consolas, monospace;
  --caps: .14em;
  /* The small step, a size up from Django's 11px capitals: pills, tile labels, chart text, the
     admin's small labels, the public masthead and the action verbs. */
  --text-xs: .8125rem;
  --text-sm: .875rem;
  --text-md: 1rem;
  --text-lg: 1.25rem;
  --text-xl: 1.75rem;
  --leading: 1.45;
  --space-1: .25rem;
  --space-2: .5rem;
  --space-3: .75rem;
  --space-4: 1rem;
  --space-5: 1.5rem;
  --space-6: 2rem;
  --space-7: 3rem;
  --radius: 12px;
  --radius-sm: 8px;
  --shadow: 0 1px 2px rgba(31, 41, 51, .06), 0 6px 20px rgba(31, 41, 51, .08);
  --focus-ring: 2px solid var(--colour-primary);
}
