/* The role names every rule downstream reads, and the whole of what 02-brands redefines to
   re-theme a brand. Colour is reserved for the live highlight and the three states below; every
   other role here is a ground, a stroke or a step on the gray ramp. */
:root {
  --surface:        var(--field);
  --surface-raised: var(--panel);
  --surface-hi:     var(--panel-hi);
  --surface-sunken: #0a0a0a;

  --line:           var(--rule);
  --line-strong:    var(--rule-hi);

  --text:           var(--gray-text);
  --text-dim:       var(--gray-dim);
  --text-muted:     var(--gray-muted);
  --text-bright:    var(--gray-bright);
  --text-on-accent: #0c0c0c;

  --accent:         var(--amber);
  --accent-bright:  var(--amber-bright);
  --accent-soft:    color-mix(in oklab, var(--amber) 14%, var(--surface));
  --good:           var(--green);
  --bad:            var(--red);
  --warn:           var(--gold);

  /* A status band's three locals, defaulted here and flipped per variant in
     06-components/_badge.css, so a variant sets three values rather than a rule per part. */
  --bk-fill: var(--surface-raised);
  --bk-line: var(--line);
  --bk-ink:  var(--text-muted);

  --focus: var(--accent);
}
