/* One local text family across pages, including generated pages with legacy inline styles. */
:root {
  --m2a-ink: #17212b;
  --m2a-text: #303740;
  --m2a-muted: #4c5965;
  --m2a-line: #dde3e6;
  --m2a-soft: #f6f8f9;
  --m2a-link: #205fbd;
  --m2a-mind: #3c7561;
  --m2a-act: #3d6b83;
  --m2a-mind2act: #866c32;
}
@font-face {
  font-family: 'Google Sans Flex';
  src: url('./fonts/google-sans-flex/GoogleSansFlex-latin.woff2') format('woff2');
  font-style: normal;
  font-weight: 1 1000;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Google Sans Flex';
  src: url('./fonts/google-sans-flex/GoogleSansFlex-latin-ext.woff2') format('woff2');
  font-style: normal;
  font-weight: 1 1000;
  font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Google Sans Flex';
  src: url('./fonts/google-sans-flex/GoogleSansFlex-symbols.woff2') format('woff2');
  font-style: normal;
  font-weight: 1 1000;
  font-display: swap;
  unicode-range: U+2190-2199, U+21AF, U+2460-24FF, U+25A0-27BF;
}

/* Layered important declarations override the older unlayered font shorthands
   without replacing their font size, weight, line height, or responsive rules. */
@layer m2a-typography {
  :root { --m2a-font-sans: 'Google Sans Flex', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', Arial, sans-serif; }
  :where(body, body *) { font-family: var(--m2a-font-sans) !important; font-optical-sizing: auto; }

  /* The pixel wordmark is brand artwork; code remains a readable monospace face. */
  :where(.demo-brand, .demo-brand *) {
    font-family: LunarPixel, Pixel, monospace !important;
  }
  :where(.paper-brand, .paper-brand *) {
    font-family: 'Pixelify Sans', LunarPixel, monospace !important;
  }
  /* Reading text, model labels and chart labels share the reference font.
     Pixel styling is reserved for the brand wordmarks above. */
  :where(pre, code, kbd, samp, pre *, code *, kbd *, samp *) {
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace !important;
  }
  :where(table, .lb-podium-label, .lb-score-display, .lb-value-label, .cm-node-id) {
    font-variant-numeric: tabular-nums;
  }
}
