/* Direction-specific rules. The app sets <html dir="rtl"> for Arabic and dir="ltr" for English.
   Most components use logical properties (text-align:start/end, margin-inline-*) and need nothing here. */

/* Numbers, codes and formulas always read left-to-right, even inside Arabic text. */
.num{direction:ltr;unicode-bidi:isolate}

/* Mobile drawer slides in from the right in Arabic. */
@media (max-width:900px){
  [dir=rtl] .side{inset:0 0 0 auto;transform:translateX(100%)}
  [dir=rtl] .side.open{transform:none}
}
