/* ORi web — design-system tokens (#106 Concept Unit foundation).
 *
 * THE single source of truth for category color + the pill primitive.
 * Before this file, a surfaced concept drew on five drifted color
 * sources (--c-*, .badge-<cat> hex, DOT_COLORS, BADGE_STYLES, bubble
 * .cat-* hex) plus two phantom categories the extractor no longer
 * emits. All of that collapses here: one authored --cat-<key> per LIVE
 * category (the six process-audio.js actually emits) with a dark value
 * and an html.light value, plus a badge text token (--cat-<key>-fg).
 *
 * Rails use the Okabe-Ito colorblind-safe palette so the six stay
 * distinguishable under deuteranopia (the original audit was dark-only;
 * see tests/bdd/test_106 for the WCAG + deuteranopia gates). Badge
 * BACKGROUNDS are never authored here — styles-concept.css derives them
 * with color-mix from --cat-color so a category's color lives in exactly
 * one place.
 *
 * Loads immediately after styles.css (which owns --surface, the size
 * scale, and the theme switch) so --surface resolves for the color-mix.
 */

    :root {
      /* category rail (Okabe-Ito hues — deuteranopia-separable) */
      --cat-technologies:        #0072b2;
      --cat-companies_products:  #e69f00;
      --cat-concepts:            #cc79a7;
      --cat-people_references:   #009e73;
      --cat-compliance_risk:     #d55e00;
      --cat-key_numbers:         #56b4e9;
      --cat-signal:              #9aa3c8;   /* status surface, not taxonomy */
      /* badge text (light tints — high contrast on the dark color-mix chip) */
      --cat-technologies-fg:        #8fc4ff;
      --cat-companies_products-fg:  #ffcf6b;
      --cat-concepts-fg:            #f0a8d0;
      --cat-people_references-fg:   #4fd6aa;
      --cat-compliance_risk-fg:     #ff9a5c;
      --cat-key_numbers-fg:         #a8dcf5;
      --cat-signal-fg:              #c4cbe6;
      /* pill primitive geometry */
      --pill-fs:     var(--fs-xs);
      --pill-pad:    2px 8px;
      --pill-radius: 8px;
      --pill-case:   uppercase;
    }

    html.light {
      /* rails: darkened Okabe-Ito so a saturated dot reads on white */
      --cat-technologies:        #0063a3;
      --cat-companies_products:  #b87e00;
      --cat-concepts:            #b85a92;
      --cat-people_references:   #00855f;
      --cat-compliance_risk:     #b34e00;
      --cat-key_numbers:         #2c8fc7;
      --cat-signal:              #5c6490;
      /* badge text (dark shades — high contrast on the pale color-mix chip) */
      --cat-technologies-fg:        #0a4a99;
      --cat-companies_products-fg:  #6e4a00;
      --cat-concepts-fg:            #8a2d63;
      --cat-people_references-fg:   #04553d;
      --cat-compliance_risk-fg:     #803100;
      --cat-key_numbers-fg:         #15527a;
      --cat-signal-fg:              #3d4570;
    }
