/* Final site-wide font layer. Keep this stylesheet last in every HTML entry. */
:root {
  --ui-font: "Times New Roman", serif;
  --ui-heading: "Times New Roman", serif;
}

/* The ID branch raises specificity above legacy class-based !important rules;
   the html branch matches every page without adding IDs or changing markup. */
:is(html, #aag-font-root),
:is(html, #aag-font-root) body,
:is(html, #aag-font-root) body *,
:is(html, #aag-font-root) body::before,
:is(html, #aag-font-root) body::after,
:is(html, #aag-font-root) body *::before,
:is(html, #aag-font-root) body *::after,
:is(html, #aag-font-root) body *::marker,
:is(html, #aag-font-root) input::placeholder,
:is(html, #aag-font-root) textarea::placeholder,
:is(html, #aag-font-root) input::file-selector-button {
  font-family: "Times New Roman", serif !important;
}
