/* v249 — deterministic webfont fallback and final type cascade.
   No font bytes are shipped in this patch. An authorised BYekan/BTitr on the
   SERVER wins. Otherwise the app provisions the libre Vazirmatn webfont and
   serves it from the same origin; pinned HTTPS CDN is the last resort.
   SIL OFL 1.1: https://github.com/rastikerdar/vazirmatn/blob/master/OFL.txt */
@font-face{
  font-family:"HM249RemoteVazirmatn";font-style:normal;font-weight:100 900;
  font-display:swap;
  src:url("https://cdn.jsdelivr.net/gh/rastikerdar/vazirmatn@v33.003/fonts/webfonts/Vazirmatn%5Bwght%5D.woff2") format("woff2");
}
/* These high-specificity rules run after legacy component and print CSS.
   Do not alter icon, code, emoji or SVG font families. */
html:lang(fa) body.hm185-app,
html:lang(fa) body.report-document,
html:lang(fa) body.shp-preview-page{font-family:var(--hm186-font-body)!important}
html:lang(fa) body.hm185-app :is(.app-shell,.auth-page,.sidebar,.sidebar-nav,.page-content,.login-v4,.settings-panel,.panel,.modal,.dialog,.toast,.report-paper,.hmr-paper,.report-screen-tools),
html:lang(fa) body.report-document :is(.report-paper,.report-screen-tools),
html:lang(fa) body.shp-preview-page :is(.shp-viewer,.shp-toolbar,.shp-btn){font-family:var(--hm186-font-body)!important}
html:lang(fa) body.hm185-app :is(button,input,select,textarea,.button,label),
html:lang(fa) body.report-document :is(button,input,select,textarea,.button,label),
html:lang(fa) body.shp-preview-page :is(button,input,select,textarea,.button,label){font-family:var(--hm186-font-body)!important}
html:lang(fa) body.hm185-app :is(h1,h2,h3,h4,h5,h6),
html:lang(fa) body.hm185-app .login-v4 :is(.login-v4__story-title,.login-v4__card-header h2,.login-v4__form-heading h2),
html:lang(fa) body.hm185-app .app-shell :is(h1,h2,h3,h4,h5,h6,.topbar-title>b,.brand-copy>strong,.section-title>b,.hm191-next-head h1),
html:lang(fa) body.report-document .report-paper :is(h1,h2,h3,h4,h5,h6,.report-title,.hmr-report-title),
html:lang(fa) body.hm185-app :is(.razavi-banner-v38,.razavi-banner-v39) .razavi-calligraphy{font-family:var(--hm186-font-title)!important}
@media print{
  html:lang(fa) body :is(.report-paper,.hmr-paper){font-family:var(--hm186-font-body)!important}
}
