/* Chart colour tokens for OS Insight Lite. tokens.css stays verbatim from
   OS Manager; everything chart-specific lives here.

   Categorical series, in FIXED order (never cycled; the dashboards use at
   most five slots and fold the rest into "Other"). Slots 1-6 in this order
   pass the dataviz palette checks on #FFFFFF, adjacent pairs: CVD worst dE
   12.6 (deutan), normal-vision worst 17.9, all inside the lightness band
   and above the chroma floor. --series-2 (orange) sits below 3:1 against
   white, so every chart carries visible values (legend numbers, bar labels
   or the table view). Slot 7 is validated only in the category order below
   (it sits next to session and alert there), not as a 7th series slot.

   Event categories map onto the series so Overview, Reports and Dashboards
   paint "connectivity" the same blue everywhere. "enroll" used to borrow
   --danger (red); red is reserved for status, so it now has its own olive
   slot, validated in the Reports stack order
   connectivity, hardware, session, enroll, alert, network, audit.

   Status meanings (ok / warning / error / offline) keep the tokens.css
   status colours and always ship with a mark or label, never colour alone. */
:root {
  --series-1: #0070C0;   /* blue   (= --info / --link) */
  --series-2: #E8820C;   /* orange (= --warning)       */
  --series-3: #0D9488;   /* teal                        */
  --series-4: #7C3AED;   /* violet                      */
  --series-5: #C2187A;   /* magenta                     */
  --series-6: #B45309;   /* brown                       */
  --series-7: #3F6212;   /* olive                       */
  --series-other: var(--dot-off);

  --cat-connectivity: var(--series-1);
  --cat-hardware:     var(--series-2);
  --cat-session:      var(--series-3);
  --cat-enroll:       var(--series-7);
  --cat-alert:        var(--series-4);
  --cat-network:      var(--series-6);
  --cat-audit:        var(--series-5);

  /* 12% tints for pills: the series colour on the light surface. */
  --cat-connectivity-tint: rgba(0, 112, 192, .12);
  --cat-hardware-tint:     rgba(232, 130, 12, .12);
  --cat-session-tint:      rgba(13, 148, 136, .12);
  --cat-enroll-tint:       rgba(63, 98, 18, .12);
  --cat-alert-tint:        rgba(124, 58, 237, .12);
  --cat-network-tint:      rgba(180, 83, 9, .12);
  --cat-audit-tint:        rgba(194, 24, 122, .12);
}
