/**
 * Comms by Automono shared design tokens
 * Canonical token set for the portal and ops console frontends.
 * Link this file BEFORE any frontend stylesheet; frontend stylesheets must
 * not redefine these token names (enforced by tests/test_design_tokens.py).
 */

:root {
  /* Core palette (shared by portal and ops console) */
  --bg: #f4f2ec;
  --ink: #16181d;
  --muted: #474d5a;
  --line: #d8d3c7;
  --accent: #e5483a;
  --accent-light: #ff7a66;
  --accent-dark: #80201b;
  --danger: #b91c1c;

  /* Semantic surfaces */
  --surface: #ffffff;
  --success: #10b981;
  --surface-alt: #fdfcf9;
}

[data-theme="dark"] {
  --bg: #12141a;
  --ink: #e8e6df;
  --muted: #9aa1ad;
  --line: #333845;
  --accent: #ff6b5e;
  --accent-light: #ff9c8f;
  --accent-dark: #e5483a;
  --danger: #f87171;

  --surface: #1b1f28;
  --success: #34d399;
  --surface-alt: #171b23;
}
