/* MobinPaint typography — offline-only, shared by shop/admin/error pages.
   Default: Yekan. To switch to Nazanin set --mobin-active-font to
   var(--mobin-font-nazanin). Actual licensed font files are installed locally
   using tools/Install-LocalSiteFonts.ps1; no font CDN is used. */
:root {
  --mobin-font-yekan: "MobinYekan", "B Yekan", "Yekan", "IRANYekan", Tahoma, Arial, sans-serif;
  --mobin-font-nazanin: "MobinNazanin", "B Nazanin", "Nazanin", Tahoma, Arial, sans-serif;
  --mobin-active-font: var(--mobin-font-yekan);
}
html[lang="fa"],
html[lang="fa"] body,
html[lang="fa"] button,
html[lang="fa"] input,
html[lang="fa"] textarea,
html[lang="fa"] select,
html[lang="fa"] option,
html[lang="fa"] optgroup,
html[lang="fa"] table,
html[lang="fa"] th,
html[lang="fa"] td,
html[lang="fa"] fieldset,
html[lang="fa"] legend,
html[lang="fa"] summary,
html[lang="fa"] .admin-shell,
html[lang="fa"] .rich-html,
html[lang="fa"] .prose {
  font-family: var(--mobin-active-font);
}
/* CKEditor 5 can supply its own font declaration; override it locally.
   This covers editing surface, toolbars, dialogs and floating UI. */
html[lang="fa"] .ck,
html[lang="fa"] .ck.ck-content,
html[lang="fa"] .ck.ck-editor__editable,
html[lang="fa"] .ck.ck-toolbar,
html[lang="fa"] .ck.ck-dropdown__panel,
html[lang="fa"] .ck.ck-balloon-panel,
html[lang="fa"] .ck.ck-dialog,
html[lang="fa"] .ck .ck-button,
html[lang="fa"] .ck .ck-input,
html[lang="fa"] .ck .ck-label {
  --ck-font-face: var(--mobin-active-font);
  font-family: var(--mobin-active-font) !important;
}
/* Preserve readable fixed-width rendering of technical identifiers. */
html[lang="fa"] code,
html[lang="fa"] pre,
html[lang="fa"] kbd,
html[lang="fa"] samp { font-family: Consolas, "Courier New", monospace; }
