/* CRMAA — live-view design tokens
 *
 * The nine portal "live" pages each carried a byte-identical copy of this
 * block: 18 declarations, 9 times, 162 lines that had to agree with each
 * other by hand. The Phase 0.13 contrast fix had to be made in all nine, and
 * the only reason they still match is that nobody has edited one in isolation
 * yet.
 *
 * Why this is a second token file rather than the portal one: the live views
 * use a shorter, older vocabulary -- --ink, --muted, --line, --good, --warn,
 * --crit -- while css/crmaa-portal-tokens.css uses --text, --text-muted,
 * --border, --green, --amber, --red. Renaming across nine pages of chart and
 * table CSS is a bigger change than this is, and a riskier one. Two files that
 * each have one owner beat nine files that have none.
 *
 * The brand values here are the same objects as in the portal sheet and in
 * styles.css, and must stay in step: --gold is decorative only, failing AA as
 * text at 2.75:1, which is why --gold-text exists. See AUDIT-RESPONSE.md §6.
 */
:root{
  /* Brand — keep in step with styles.css and crmaa-portal-tokens.css */
  --navy:#0B3D91; --navy-deep:#071F52; --gold:#C8923A;
  --gold-text:#8A6024;          /* AA on LIGHT surfaces only (5.56 on white,
  --teal-text:#0C7D6C;          /* AA on LIGHT surfaces (5.04 on white);
                                  dark panels override it below, because
                                  a darker teal measures 1.99 on navy. */
                                  4.92 on --gold-pale). On navy it is 2.0:1 --
                                  dark surfaces take --gold-light. */
  --gold-light:#E8B96A;

  /* Surfaces and ink. --bg and --white are the same objects as in
     crmaa-portal-tokens.css; they had drifted to #F7F8FA and #fff. */
  --ink:#15213B; --muted:#5A6478; --line:#E5E7EB; --bg:#F6F8FC; --white:#FFFFFF;

  /* Semantic */
  --good:#16A34A; --warn:#D97706; --crit:#DC2626; --cyan:#0E8FB0;

  /* Type and measure */
  --sans:"Manrope","DM Sans",-apple-system,"Segoe UI",system-ui,sans-serif;
  --mono:ui-monospace,"SF Mono",Consolas,monospace;
  --maxw:960px;
}
