/* Pure Metrics Analytical — design tokens. Every color and font is defined once, here. */
@font-face { font-family: "Inter"; font-weight: 400; font-style: normal; font-display: swap; src: url("../fonts/inter-400.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-weight: 500; font-style: normal; font-display: swap; src: url("../fonts/inter-500.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-weight: 600; font-style: normal; font-display: swap; src: url("../fonts/inter-600.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-weight: 700; font-style: normal; font-display: swap; src: url("../fonts/inter-700.woff2") format("woff2"); }
@font-face { font-family: "JetBrains Mono"; font-weight: 400; font-style: normal; font-display: swap; src: url("../fonts/jbmono-400.woff2") format("woff2"); }
@font-face { font-family: "JetBrains Mono"; font-weight: 500; font-style: normal; font-display: swap; src: url("../fonts/jbmono-500.woff2") format("woff2"); }

:root {
  /* Brand: purple */
  --color-ink:          #23164F;  /* primary text (headings, body) */
  --color-primary:      #5B3FD9;  /* brand purple: buttons, links, COA top band, table headers */
  --color-primary-700:  #4A2FC2;  /* hover / pressed */
  --color-primary-200:  #C9BFF7;  /* chart baseline, focus ring */
  --color-primary-100:  #E2DCFB;  /* selected rows, chips, banner borders */
  --color-primary-50:   #F3F0FE;  /* tinted panels, banners */
  --color-signal:       #A88BFF;  /* lilac: main-peak marker, live dots, small graphic accents. Never text */

  /* Neutrals (violet-tinted) */
  --color-bg:           #FFFFFF;
  --color-surface:      #F8F7FB;  /* table zebra, subtle section breaks */
  --color-muted:        #F0EEF6;
  --color-border:       #E3E0EC;
  --color-text-muted:   #625C75;

  /* Status (text / tint background) */
  --color-pass:  #15803D;  --color-pass-bg:    #ECFDF3;
  --color-fail:  #B91C1C;  --color-fail-bg:    #FEF2F2;
  --color-pending: #B45309; --color-pending-bg: #FFFBEB;
  --color-info:  #1D4ED8;  --color-info-bg:    #EFF6FF;

  /* Type */
  --font-ui: -apple-system, BlinkMacSystemFont, "SF Pro Text", "SF Pro Display", "Helvetica Neue", Inter, "Segoe UI", Roboto, Arial, sans-serif;
  --font-display: "SF Pro Display", -apple-system, BlinkMacSystemFont, "Helvetica Neue", Inter, "Segoe UI", Roboto, Arial, sans-serif;
  --font-mono: ui-monospace, "SF Mono", SFMono-Regular, Menlo, "JetBrains Mono", Consolas, monospace;

  /* Shape */
  --radius: 12px;
  --radius-sm: 8px;
  --radius-pill: 999px;
  --shadow-sm: 0 1px 2px rgba(35, 22, 79, .05);
  --shadow-md: 0 8px 28px rgba(35, 22, 79, .08);
  --focus: 0 0 0 3px var(--color-primary-200);
}
