/* The agent CLIs' own colours, as they draw inside an Agent Interface pane.
   Claude Code and OpenCode paint fixed colours (256-colour and 24-bit); Antigravity uses the
   16 ANSI colours, so it follows the app theme's terminal palette (--t-*). Codex mixes both.
   Dark values are read from captures of the real tools; light values are each tool's light
   look where known, otherwise the theme's ANSI colours (see the PR's fidelity notes). */
:root{
  /* A plain shop web page, as an agent's browser shows it in a pane: its own colours, whatever the theme */
  --wp-bg:#fbfaf7;--wp-text:#22201c;--wp-muted:#6b665d;--wp-rule:#e6e1d8;--wp-card:#ffffff;--wp-card-rule:#e1dbd0;--wp-row-rule:#eee9e0;--wp-radio:#b9b2a6;--wp-brand:#2f6b4f;--wp-on-brand:#ffffff;
  /* Claude Code 2.1 (xterm 256 colours) */
  --cc-brand:#d78787;     /* 174: mascot, spinner */
  --cc-dim:#949494;       /* 246: secondary text, ⎿ results */
  --cc-rule:#808080;      /* 244: input box rules */
  --cc-user-bg:#3a3a3a;   /* 237: the person's message block */
  --cc-text:#ffffff;      /* 231 */
  --cc-ok:#87d787;        /* 114: tool bullet, success */
  --cc-err:#ff87af;       /* 211: tool bullet, error */
  --cc-mode:#ffd700;      /* 220: ⏵⏵ auto mode on */
  --cc-add-bg:#005f00;    /* 22 */
  --cc-add-sign:#5fd75f;  /* 77 */
  --cc-del-bg:#5f0000;    /* 52 */
  --cc-del-sign:#d75f5f;  /* 167 */
  --cc-ln:#6c6c6c;        /* 242: diff line numbers */
  --cc-eyes:#000000;      /* 16: the mascot's eyes */

  /* Codex 0.169 (24-bit) */
  --cx-model:#f6e2b7;
  --cx-path:#abdfa7;
  --cx-ok:#abdfa7;
  --cx-err:var(--t-red);

  /* OpenCode 2.2 default theme (24-bit) */
  --oc-bg:#0a0a0a;
  --oc-text:#eeeeee;
  --oc-muted:#808080;
  --oc-accent:#5c9cf5;    /* left bars, "Build" */
  --oc-high:#f5a742;      /* reasoning effort */
  --oc-panel:#1e1e1e;     /* composer, session title */
  --oc-sent:#141414;      /* the person's message */
  --oc-gutter:#484848;    /* reasoning gutter */

  /* Antigravity CLI 1.5 (16 ANSI colours) */
  --ag-user:var(--t-blue);
  --ag-prompt:var(--t-bright-blue);
  --ag-ok:var(--t-green);
  --ag-verb:var(--t-yellow);
  --ag-dim:var(--t-bright-black);
  --ag-think:var(--t-white);
  --ag-err:var(--t-red);
  /* The banner's arch: the xterm-256 colours of its half cells, orange through green and violet to blue */
  --x256-62:#5f5fd7;--x256-67:#5f87af;--x256-68:#5f87d7;--x256-69:#5f87ff;--x256-71:#5faf5f;--x256-72:#5faf87;--x256-73:#5fafaf;--x256-74:#5fafd7;--x256-75:#5fafff;--x256-78:#5fd787;--x256-79:#5fd7af;--x256-97:#875faf;--x256-98:#875fd7;--x256-103:#8787af;--x256-107:#87af5f;--x256-113:#87d75f;--x256-132:#af5f87;--x256-143:#afaf5f;--x256-149:#afd75f;--x256-167:#d75f5f;--x256-173:#d7875f;--x256-179:#d7af5f;--x256-203:#ff5f5f;--x256-208:#ff8700;--x256-209:#ff875f;
}
:root[data-theme="light"]{
  --cc-brand:#d77757;
  --cc-dim:#6b6b6b;
  --cc-rule:#9e9e9e;
  --cc-user-bg:#e4e4e4;
  --cc-text:var(--t-text);
  --cc-ok:#2c7a39;
  --cc-err:#c82829;
  --cc-mode:#8a6000;
  --cc-add-bg:#c7f0cf;
  --cc-add-sign:#2c7a39;
  --cc-del-bg:#ffd7dd;
  --cc-del-sign:#c82829;
  --cc-ln:#8a8a8a;

  --cx-model:var(--t-yellow);
  --cx-path:var(--t-green);
  --cx-ok:var(--t-green);

  --oc-bg:#ffffff;
  --oc-text:#1a1a1a;
  --oc-muted:#8a8a8a;
  --oc-accent:#3b7dd8;
  --oc-high:#d68c27;
  --oc-panel:#f0f0f0;
  --oc-sent:#f5f5f5;
  --oc-gutter:#d0d0d0;
}
