/* Script coverage and direction for featured locales (docs/translations.md).
 * Linked from layouts as a static file so it does not depend on a Vite rebuild.
 */
html[dir="rtl"] {
    font-family: "Noto Naskh Arabic", "Noto Sans Arabic", "Geeza Pro", "Traditional Arabic", Tahoma, "Segoe UI", sans-serif;
}

html[lang="am"],
html[lang^="am-"] {
    font-family: "Noto Sans Ethiopic", "Abyssinica SIL", Nyala, sans-serif;
}

html[dir="rtl"] body {
    font-family: inherit;
    text-align: start;
}

/* Sign-in theme/language FABs: mirror to the start edge in RTL. */
html[dir="rtl"] .locale-fab {
    right: auto !important;
    left: 1.5rem !important;
}
