/*
  CAI tokens for the C-031 module.
  Canonical (CAI Brand Asset Manifest v1.1): charcoal, rust, stone, sand, white.
  Everything under "Derived" is NOT in the manifest. Values were matched to screenshots
  of thecopilot.ai or chosen for states the palette does not cover. Review before merge;
  if the CAI site already defines equivalents, map these names onto them.
*/
:root {
  /* Canonical */
  --cai-charcoal: #1f2937;
  --cai-rust: #b4533c;
  --cai-stone: #e6ddd3;
  --cai-sand: #f8f6f2;
  --cai-white: #ffffff;
  --cai-font: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  /* Derived: text greys (observed on the site; they match the charcoal family) */
  --cc-text-body: #4b5563;
  --cc-text-muted: #6b7280;

  /* Derived: surfaces and lines */
  --cc-rule: #e7e2dc;            /* divider inside cards, a lighter stone */
  --cc-card-border: #e3ddd5;
  --cc-card-shadow: 0 10px 30px rgba(31, 41, 55, 0.06);

  /* Derived: states the palette does not cover */
  --cc-match: #3f6b4f;           /* agreed / passed */
  --cc-match-bg: #e9f0ea;
  --cc-attention: var(--cai-rust);  /* difference, refusal, rejection */
  --cc-attention-bg: #f6e8e3;
  --cc-pending-bg: var(--cai-stone);

  /* Derived: shape (observed) */
  --cc-radius-card: 18px;
  --cc-radius-cell: 12px;
  --cc-radius-button: 8px;
}