/*
 * Cohavo brand tokens. The one list; the web app's theme (frontend-v3/src/index.css)
 * and the native apps take their values from here. Sources: the Cohavo identity
 * pack v1.0 (04/11/2026) and the Cohavo design system (brand/assets/README.md).
 *
 * Light values first; dark values under [data-theme="dark"]. A product accent
 * is a FILL (white text on it); the matching *-text token is the same hue dark
 * enough to read as text on paper and white (4.5:1).
 */
:root {
  /* Brand */
  --cohavo-purple: #7952F5;   /* the platform colour: primary actions, active nav, the gradient's start */
  --cohavo-cyan: #16C7DB;     /* the gradient's end; never text on a light ground */
  --cohavo-ink: #17213D;      /* wordmark lettering; the workspace sidebar; dark bands */
  --cohavo-paper: #F5F7FC;    /* the light ground */
  --cohavo-muted: #526079;    /* secondary text on paper (5.9:1) */

  /* Product accents: each product's icon, tile and lockup, and the states it owns */
  --cohavo-inbox: #7952F5;
  --cohavo-voice: #336CE8;    /* call controls, "on a call" */
  --cohavo-desk: #12856F;
  --cohavo-chat: #07869B;
  --cohavo-flow: #BD5F16;
  --cohavo-ai: #AA45C2;       /* the ✦ spark on AI suggestions */
  --cohavo-insights: #C34573;

  /* The same hues as text */
  --purple-text: #6843B2;
  --voice-text: #2A5FD1;
  --chat-text: #06758A;
  --flow-text: #A8520F;

  /* Tints and "done" */
  --tint-purple: #F0EBFF;     /* selected rows, AI suggestion cards */
  --success: #1B7A5C;         /* sent, resolved, applied */
  --success-tint: #E1F7EF;

  /* Presence (people), always beside the status word */
  --presence-available: #157F4F;
  --presence-ringing: #B26A00; /* a mark colour, never text */
  --presence-on-call: #336CE8;
  --presence-busy: #C2312F;
  --presence-away: #6B7892;
  --presence-offline: #7A869E; /* drawn as a hollow dot */

  /* The workspace sidebar is ink in both themes */
  --sidebar: #17213D;
  --sidebar-foreground: #FFFFFF;
  --sidebar-muted: #AAB4CF;

  --cohavo-font: "Nunito", system-ui, sans-serif;
}

[data-theme="dark"] {
  --purple-text: #B9A7FC;
  --voice-text: #7EA4F4;
  --chat-text: #4FC0D6;
  --flow-text: #F0A060;
  --tint-purple: #262346;
  --success: #54C9A6;
  --success-tint: #163A30;
  --presence-available: #3CCF8A;
  --presence-ringing: #F0A93A;
  --presence-on-call: #6B97F2;
  --presence-busy: #F0665F;
  --presence-away: #8D9AB5;
  --presence-offline: #6F7B95;
  --sidebar: #0B1020;
}
