:root {
    --app-heading-font: "Space Grotesk", "Segoe UI", system-ui, sans-serif;
    --app-body-font: "DM Sans", "Segoe UI", system-ui, sans-serif;
}

html,
body,
body button,
body input,
body select,
body textarea,
body table,
body td,
body th,
body p,
body span,
body a,
body label,
body li,
body div {
    font-family: var(--app-body-font) !important;
}

body h1,
body h2,
body h3,
body h4,
body h5,
body h6,
body .page-title,
body .section-title,
body .modal-title,
body .admin-header__breadcrumb-current {
    font-family: var(--app-heading-font) !important;
}

/* Keep icon fonts intact when the page-wide body font is applied. */
body i[class*="fa-"],
body i[class^="fa"],
body .fa,
body .fas,
body .far,
body .fab,
body .fa-solid,
body .fa-regular,
body .fa-brands,
body .material-icons {
    font-family: "Font Awesome 6 Free", "Font Awesome 6 Brands", "Material Icons" !important;
}

/* Coordinate/key readouts are intentionally monospace. */
body kbd,
body code,
body pre,
body .font-mono,
body [data-font="mono"] {
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace !important;
}

