/* Vazirmatn v33.003, SIL OFL 1.1; bundled locally for the app and print previews.
   Only Arabic/Persian glyphs use this face. Latin names and ASCII digits keep Tahoma. */
@font-face {
  font-family: "Ledger Persian";
  src: url("/fonts/vazirmatn/Vazirmatn-Variable.woff2") format("woff2");
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  unicode-range: U+0600-06FF, U+0750-077F, U+0870-089F, U+08A0-08FF, U+FB50-FDFF, U+FE70-FEFF;
}
/* Match the former Persian-only blanket rule, including dialogs added later.
   The language button and account labels previously had stronger font rules. */
html[lang] body,
html[lang] body *:not(svg):not(path),
html[lang] body #languageToggle,
html[lang] body .account-display-name > bdi {
  font-family: "Ledger Persian", Tahoma, "Segoe UI", Arial, sans-serif !important;
}
/* Keep a balance's digits together when the Persian glyphs take more room. */
@media screen {
  .ledger-ui .ledger-summary-copy bdi { white-space: nowrap; }
}
@media screen and (min-width: 1101px) and (max-width: 1280px) {
  .ledger-ui .ledger-summary-icon { display: none; }
}
