/* Single source of font families. Themes only select --font-heading.
   Keep icon fonts and technical monospace text out of these selectors. */
:root {
  --font-system: system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-inter: "Inter", var(--font-system);
  --font-sans: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-serif: "Spectral", Georgia, "Times New Roman", serif;
  --font-heading: var(--font-sans);
}
html[data-font-body="inter"] body { --font-sans: var(--font-inter); }
html[data-font-body="spectral"] body { --font-sans: var(--font-serif); }
html[data-font-body="system"] body { --font-sans: var(--font-system); }
html[data-font-heading="inter"] body { --font-heading: var(--font-inter); }
html[data-font-heading="spectral"] body { --font-heading: var(--font-serif); }
html[data-font-heading="system"] body { --font-heading: var(--font-system); }
html[data-font-menu="inter"] body { --font-menu: var(--font-inter); }
html[data-font-menu="spectral"] body { --font-menu: var(--font-serif); }
html[data-font-menu="system"] body { --font-menu: var(--font-system); }
html[data-font-menu="fjalla"] body { --font-menu: "Fjalla One", var(--font-system); }
body { font-family: var(--font-sans); }
h1, h2, h3, h4, h5, h6 { font-family: var(--font-heading); }
button, input, select, textarea, optgroup, .btn {
  font-family: var(--font-sans);
}
/* Third-party widgets otherwise impose their own text font. */
.jq-toast-single, .jq-toast-single h2 {
  font-family: var(--font-sans);
}
