/* Shared fonts also cover dialogs mounted outside the page's main element. */
@font-face{font-family:Inter;src:url("assets/inter-variable.woff2") format("woff2");font-weight:100 900;font-style:normal;font-display:swap}
@font-face{font-family:Rahju;src:url("assets/vazirmatn.woff2") format("woff2");font-weight:100 900;font-style:normal;font-display:swap}
:root{--rj-font-ui:Inter,Rahju,Arial,sans-serif;--rj-font-mono:Consolas,"Courier New",monospace}
:root:lang(fa),:root[data-rj-language=fa]{--rj-font-ui:Rahju,Inter,Tahoma,Arial,sans-serif}
body [lang|=fa]{--rj-font-ui:Rahju,Inter,Tahoma,Arial,sans-serif}
body [lang|=en]{--rj-font-ui:Inter,Rahju,Arial,sans-serif}

html body,
html body :is(main,header,footer,dialog,[role=dialog],.auth,.rj-search,.rj-vault,.rj-workspace,.rj-my-bookings,.rj-my-reservations,.rj-mg-panel,.rj-calendar),
html body :is(h1,h2,h3,h4,h5,h6,p,a,label,legend,summary,button,input,select,textarea,option,optgroup,output,table,caption,th,td,dl,dt,dd,strong,b,small){
  font-family:var(--rj-font-ui)!important;
  font-variant-numeric:lining-nums tabular-nums;
  font-feature-settings:"lnum" 1,"tnum" 1;
}
/* Keep the full native reservation and technical reports in terminal columns. */
html body :is(pre,code,kbd,samp,.rj-record-native),
html body :is(pre,code,kbd,samp,.rj-record-native) *{
  font-family:var(--rj-font-mono)!important;
}
html body :is(button,input,select,textarea){letter-spacing:normal}
html body :is(.rj-search,.rj-pax-dialog) .rj-counter input{font-family:var(--rj-font-ui)!important}
html:lang(fa) body :is(h1,h2,h3,h4,h5,h6),html[data-rj-language=fa] body :is(h1,h2,h3,h4,h5,h6){letter-spacing:normal}
@media(max-width:767px){
 html body:not(.wp-admin) :is(.auth,.rj-search,.rj-vault,.rj-member-admin,.rj-my-bookings,.rj-mg-panel,dialog) :is(input:not([type=hidden]):not([type=checkbox]):not([type=radio]),select,textarea):not(.rj-counter input){font-size:16px!important}
 html body:not(.wp-admin) :is(.rj-search,.rj-pax-dialog) .rj-counter input{font-size:20px!important}
}
