/* ==========================================================================
   Maps MemoLeap semantic tokens (tokens.css) onto Material for MkDocs'
   CSS variables. Every value here MUST be a var(--ml-*) reference — never
   a literal — so a token change in tokens.css propagates automatically.

   Material only accepts named colours in `theme.palette.primary` /
   `accent` in mkdocs-base.yml, so the actual brand colours are applied
   here instead, after the named palette is loaded.
   ========================================================================== */

:root {
  --md-primary-fg-color: var(--ml-primary);
  /* No "PrimaryLight" token exists in the source design system. Secondary
     (#E8907A) is the closest brand-defined lighter tint in the same hue
     family — see session report open questions. */
  --md-primary-fg-color--light: var(--ml-secondary);
  --md-primary-fg-color--dark: var(--ml-primary-dark);

  --md-accent-fg-color: var(--ml-secondary);

  --md-default-bg-color: var(--ml-page-background);
  --md-default-fg-color: var(--ml-text-primary);

  --md-code-bg-color: var(--ml-surface-subtle);
  --md-code-fg-color: var(--ml-text-body);

  --md-typeset-a-color: var(--ml-primary);

  --md-text-font: "OpenSansRegular";
}
