/* Groundwire brand tokens — Live wire / Copper
   Applies to the staff workspace and Groundwire's own pages.
   On supporter pages these are defaults only: a client's Appearance settings override them. */
:root {
  /* Brand */
  --gw-copper: #B4532A;          /* primary actions, logo mark, app icon */
  --gw-copper-hover: #9A4421;
  --gw-copper-pressed: #823A1C;
  --gw-on-copper: #FFFFFF;       /* about 5:1 on copper */
  --gw-amber: #F2B84B;           /* logo contact dot on copper or dark; never text on light */

  /* Neutrals */
  --gw-ink: #1F1410;             /* headings, body text, links */
  --gw-text-muted: #5A4A42;      /* secondary text, about 7.7:1 on canvas */
  --gw-canvas: #F7F3EE;          /* page background */
  --gw-surface: #FFFFFF;         /* cards, tables, inputs */
  --gw-surface-sunken: #EFE9E1;  /* table headers, disabled fields */
  --gw-border: #E2DAD0;          /* dividers, card edges */
  --gw-border-strong: #8A7A70;   /* input and control outlines (3:1 or better) */

  /* Status — always pair with an icon or text label, never colour alone */
  --gw-success: #17734A;
  --gw-success-bg: #E3F1E9;
  --gw-warning: #8A5A00;
  --gw-warning-bg: #FFF4DA;      /* also the pilot notice */
  --gw-danger: #C01048;          /* errors and destructive actions; deliberately not copper */
  --gw-danger-bg: #FCE7EE;
  --gw-info: #1D5FA8;
  --gw-info-bg: #E5EEF8;

  /* Focus: two-colour ring that works on light, copper and dark */
  --gw-focus-inner: #FFFFFF;
  --gw-focus-outer: #1F1410;
  --gw-focus-ring: 0 0 0 2px var(--gw-focus-inner), 0 0 0 4px var(--gw-focus-outer);

  /* Disabled */
  --gw-disabled-text: #8A7A70;
  --gw-disabled-bg: #EFE9E1;

  /* Type scale (fonts stay as licensed: Bricolage Grotesque headings, Figtree body) */
  --gw-text-label: 13px;
  --gw-text-body: 15px;
  --gw-text-input-public: 16px;  /* supporter-page inputs, prevents iOS zoom */
  --gw-text-section: 18px;
  --gw-text-title: 26px;

  /* Spacing, radius, targets */
  --gw-space-1: 4px;
  --gw-space-2: 8px;
  --gw-space-3: 12px;
  --gw-space-4: 16px;
  --gw-space-5: 24px;
  --gw-space-6: 32px;
  --gw-radius-control: 6px;
  --gw-radius-card: 8px;
  --gw-radius-pill: 999px;
  --gw-tap-min: 44px;
}
