/* Shared application text family. The existing local font assets are reused. */
:root {
    --app-font-family: "Titillium Web", Arial, sans-serif;
}

/* App surfaces and third-party text overlays only; never reset icon or code fonts. */
html[data-eblock-navigation] body,
html[data-eblock-navigation] :is(.tooltip, .popover, .sweet-alert, .swal-modal, .swal2-popup, .select2-container, .select2-dropdown, .datepicker-dropdown) {
    font-family: var(--app-font-family);
}

html[data-eblock-navigation] :is(.sweet-alert, .swal-modal, .swal2-popup) :is(h1, h2, h3, p, button, input, select, textarea) {
    font-family: inherit;
}

/* Opt-in for a legacy dialog with a more specific generated family declaration. */
html[data-eblock-navigation] .app-font-standard {
    font-family: var(--app-font-family) !important;
}

/* AdminLTE sets a separate family on headings; align application text only. */
html[data-eblock-navigation] :is(.content-wrapper, .modal) :is(h1, h2, h3, h4, h5, h6):not(.fa, .glyphicon, [class^="ri-"], [class*=" ri-"]) {
    font-family: var(--app-font-family);
}
