/*
 * Digits (decision P-11).
 *
 * HR and shared pages show Persian digits; values stay ASCII. A face of the
 * panel's own family that covers only the digits (unicode-range) and draws them
 * as Persian (utils/fonts.py) is declared after the family's other faces
 * (skeleton.html loads this file after vazir-font-face.css), so it is the one a
 * digit is drawn with. Typed, stored, copied and sent, a number stays ASCII.
 *
 * BMS pages keep Latin digits: proforma, SWIFT and HS codes and foreign-currency
 * amounts are international identifiers. Their lists and forms carry the body
 * classes app-entry and app-document, and use a family with Latin digits.
 */

@font-face {
    font-family: Vazir;
    src: url("../../unfold/fonts/vazir-fd/Vazir-FD-Thin.86cf6447f9cb.woff2") format('woff2');
    font-weight: 100;
    font-display: swap;
    unicode-range: U+0030-0039;
}
@font-face {
    font-family: Vazir;
    src: url("../../unfold/fonts/vazir-fd/Vazir-FD-Light.1e621130a003.woff2") format('woff2');
    font-weight: 300;
    font-display: swap;
    unicode-range: U+0030-0039;
}
@font-face {
    font-family: Vazir;
    src: url("../../unfold/fonts/vazir-fd/Vazir-FD-Regular.025a769586a1.woff2") format('woff2');
    font-weight: normal;
    font-display: swap;
    unicode-range: U+0030-0039;
}
@font-face {
    font-family: Vazir;
    src: url("../../unfold/fonts/vazir-fd/Vazir-FD-Medium.896f5af733fb.woff2") format('woff2');
    font-weight: 500;
    font-display: swap;
    unicode-range: U+0030-0039;
}
@font-face {
    font-family: Vazir;
    src: url("../../unfold/fonts/vazir-fd/Vazir-FD-Bold.fbc3624d2bcc.woff2") format('woff2');
    font-weight: bold;
    font-display: swap;
    unicode-range: U+0030-0039;
}
@font-face {
    font-family: Vazir;
    src: url("../../unfold/fonts/vazir-fd/Vazir-FD-Black.b0c381161a85.woff2") format('woff2');
    font-weight: 900;
    font-display: swap;
    unicode-range: U+0030-0039;
}

@font-face {
    font-family: 'Vazir Latin Digits';
    src: url("../../unfold/fonts/vazir/Vazir-Thin.f1d1b44aefea.woff2") format('woff2');
    font-weight: 100;
    font-display: swap;
}
@font-face {
    font-family: 'Vazir Latin Digits';
    src: url("../../unfold/fonts/vazir/Vazir-Light.98cb54ccb114.woff2") format('woff2');
    font-weight: 300;
    font-display: swap;
}
@font-face {
    font-family: 'Vazir Latin Digits';
    src: url("../../unfold/fonts/vazir/Vazir-Regular.6ad280128baa.woff2") format('woff2');
    font-weight: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Vazir Latin Digits';
    src: url("../../unfold/fonts/vazir/Vazir-Medium.5edb1d989775.woff2") format('woff2');
    font-weight: 500;
    font-display: swap;
}
@font-face {
    font-family: 'Vazir Latin Digits';
    src: url("../../unfold/fonts/vazir/Vazir-Bold.39c5d58ee3e1.woff2") format('woff2');
    font-weight: bold;
    font-display: swap;
}
@font-face {
    font-family: 'Vazir Latin Digits';
    src: url("../../unfold/fonts/vazir/Vazir-Black.58c2bf3e3a31.woff2") format('woff2');
    font-weight: 900;
    font-display: swap;
}

body:is(.app-entry, .app-document),
body:is(.app-entry, .app-document) *:not(.material-symbols-outlined) {
    font-family: 'Vazir Latin Digits', sans-serif !important;
}

/*
 * An identifier inside an HR page -- the address of a public résumé form, say --
 * is read with Latin digits like the BMS codes above.
 */
.latin-digits,
.latin-digits *:not(.material-symbols-outlined) {
    font-family: 'Vazir Latin Digits', sans-serif !important;
}
