/* WtMTA semantic color palette — SINGLE SOURCE OF TRUTH.
   Loaded site-wide: @import'd at the top of site_chrome.css (all datasette pages, incl. the
   genome page) and <link>ed in base.html (custom pages). CSS references these as var(--x);
   the genome-page plot JS reads them at render time via cssVar() (see row-WtMTA-db-genomes.html).
   Change a color ONCE here and it updates the chrome AND every Vega plot.

   NOTE: the JS plot specs carry the same values as inline fallbacks (cssVar('--x','#hex')) so a
   slow/absent stylesheet never mis-colors a plot; keep those fallbacks in sync if you retune. */
:root {
  /* Core U12 (minor-intron) / U2 (major) data encoding */
  --u12:        #2ca02c;   /* U12-type / high-confidence minor introns. Was #6b8448 'dusty olive';
                              brightened (higher saturation) for contrast against the gray density. */
  --u12-soft:   #7fbf7f;   /* soft U12 green — count-link dotted underline */
  --u2-fill:    #9e9e9e;   /* U2-type background fill */
  --u2-line:    #525252;   /* U2-type dark line */
  --u2-tail:    #b7b7b7;   /* U2 background in the tail-model plot */
  --u2-exp:     #7a3b3b;   /* tail-model exponential-fit line */

  /* Confidence tiers (scatter); the amber/red are shared by the phase triad */
  --tier-med:   #f6ae2d;   /* medium-confidence (amber / honey bronze) */
  --tier-low:   #b21d03;   /* low-confidence (red / oxidized iron) */
  --phase-blue: #33658a;   /* phase-0 (baltic blue) */

  /* Tail-model demarcation rules — kept visually distinct from one another */
  --rule-call:  #377eb8;   /* p_motif = 0.9 (call) */
  --rule-onset: #984ea3;   /* U2 tail onset (q90) */
  --rule-max:   #17a2b8;   /* U2 expected max */
  --rule-p95:   #ff7f00;   /* 95th-pct call */

  /* Verdict-card status family (values unchanged; centralized here for reuse) */
  --status-loss:       #d1495b;   /* U12_NEGATIVE / snRNA absent */
  --status-amber:      #b0912f;   /* UNCERTAIN / ambiguous */
  --status-motif:      #e6862b;   /* MOTIF_ONLY / SNRNA_ONLY */
  --status-lowconf:    #8a5a12;   /* low-BUSCO caveat */
  --status-undercount: #4a5a7a;   /* undercount caveat (slate) */
}
