/*
 * CRM Guest 360 — the shared Ivory ground and semantic tokens.
 *
 * The analytics surfaces proved the theme first and pinned their own
 * --crm-analytics-* set (crm-guest-360-analytics.css). This sheet lifts the
 * same ground into names the rest of the CRM can use, so the cascade's later
 * phases restyle against one vocabulary instead of copying hex. Analytics
 * keeps its own set until a later phase re-points it here; the two are
 * deliberately identical in value, and any change must move both.
 *
 * Like the analytics ground, these are pinned colours rather than theme
 * tokens: the ivory pane, the near-white card and the hairlines between them
 * are the identity of these surfaces, not a coat theme.js should repaint. A
 * safe departure — the Portal is light-only.
 *
 * The five semantic pairs are contrast-verified: every ink clears 4.5:1 on its
 * own soft ground (worst pair 4.82:1), on the card and on the pane, so a chip
 * reads whether it sits on its tint or bare on either surface.
 *
 * Scoped to .crm-guest-360-view rather than :root so nothing leaks into the
 * portal shell or another module's surfaces. Loaded immediately after
 * crm-guest-360.css; crm-guest-360-case-bulk.css documents the split-sheet
 * precedent.
 */

.crm-guest-360-view {
  /* Ground: the ivory pane, the card that floats on it, and the rules
     between them, weakest to strongest. */
  --crm-ivory-ground: #f6f4ee;
  --crm-ivory-card: #fffdf9;
  --crm-ivory-hair: #e9e4d6;
  --crm-ivory-hair-strong: #e6e1d4;
  --crm-ivory-hair-soft: #f0ece0;
  --crm-ivory-rule: #c6bfa9;

  /* Ink: the reading colour, the caption beside it, and the faintest
     annotation weight. */
  --crm-ivory-ink: #221f18;
  --crm-ivory-ink-soft: #6d6552;
  --crm-ivory-ink-faint: #7d7460;

  /* Semantic pairs. Colour never carries a meaning on its own here — the word
     in the chip does — but where a tint is warranted these are the five it
     may use. */
  --crm-sem-good: #3e7247;
  --crm-sem-good-soft: #e7efe4;
  --crm-sem-warn: #8f5a10;
  --crm-sem-warn-soft: #f7ecd7;
  --crm-sem-bad: #9c3a2e;
  --crm-sem-bad-soft: #f6e4de;
  --crm-sem-info: #3f628f;
  --crm-sem-info-soft: #e8edf4;
  --crm-sem-neutral: #6d6552;
  --crm-sem-neutral-soft: #efece3;
}
