/* Keep mono and sans text upright. Font declarations carry their family policy;
   the original slant stays inherited so serif text retains its existing style. */
@layer am-font-style-policy {
    :where(html) { --am-original-font-style: normal; }
    :where(em, i, cite, dfn, address, var) { --am-original-font-style: italic; }
    :where(code, kbd, pre, samp, tt, button, input, select, textarea) {
        --am-font-slant-policy: normal;
    }
    :where(*), :where(*)::before, :where(*)::after, :where(*)::first-letter,
    :where(*)::first-line, :where(*)::placeholder, :where(*)::marker,
    :where(*)::file-selector-button {
        font-style: var(--am-font-slant-policy, var(--am-original-font-style, normal)) !important;
    }
}
