/* rtl.css — Hebrew, right to left. dir="rtl" flips rows, tabs and cards by itself;
   these are the things it gets wrong. Last, so they win. */
[dir=rtl] .num,[dir=rtl] .r,[dir=rtl] .rt,[dir=rtl] .v,[dir=rtl] .big,
[dir=rtl] .sumline b,[dir=rtl] .cc,[dir=rtl] .ltr,[dir=rtl] .tb-code,[dir=rtl] .tb-time,
[dir=rtl] input[type=number],[dir=rtl] input[type=date]{direction:ltr;unicode-bidi:isolate}
[dir=rtl] .inp input,[dir=rtl] .inp select{text-align:left}
[dir=rtl] .login input::placeholder{letter-spacing:normal}
[dir=rtl] .mb-bar .t[dir=ltr]{text-align:right}
[dir=rtl] .bidsnote .go{transform:scaleX(-1)}
[dir=rtl] .filters:not(:has(input[type=text])){
  -webkit-mask-image:linear-gradient(270deg,#000 calc(100% - 30px),transparent);
          mask-image:linear-gradient(270deg,#000 calc(100% - 30px),transparent)}
[dir=rtl] .mnav > button:active{transform:scaleX(-1) scale(.94)}
/* Everything that is pushed to the far edge of its row does it with
   margin-left:auto, which in a right-to-left row pushes it back toward the
   start. Flipped, rather than rewriting forty rules into logical properties. */
[dir=rtl] .badge,[dir=rtl] .trip .meta,[dir=rtl] .leg .rm,[dir=rtl] .fr .st,[dir=rtl] .gauge .gh .rem,
[dir=rtl] .dutyrow .fdp,[dir=rtl] .bid .stt,[dir=rtl] .cmphead .lo,[dir=rtl] .hintbtn,[dir=rtl] .hdr .tag,
[dir=rtl] .wxsum::after,[dir=rtl] .olsum .olz,[dir=rtl] .olfwhen{margin-left:0;margin-right:auto}
[dir=rtl] .trip .meta,[dir=rtl] .rankrow .ct,[dir=rtl] .rec .r2,[dir=rtl] .grow .p,[dir=rtl] .cvcost,
[dir=rtl] .er span:not(:first-child){text-align:left}
/* Hebrew has no capitals to space out, and spaced Hebrew letters read as a
   broken font. The crew-code field keeps its spacing — the code is Latin. */
[dir=rtl] body *:not(input){letter-spacing:normal!important}
/* Bars and arrows that mean "further along" follow the reading direction. */
[dir=rtl] .msrow i{left:auto;right:13px}
[dir=rtl] .mnav button{transform:scaleX(-1)}
/* Text the app did not write — Wikipedia, notes, crew messages, tips — takes
   the direction of its own first letter, so an English paragraph inside the
   Hebrew app keeps its full stop at the end. */
[dir=rtl] .nowdest .nd-ex,[dir=rtl] .cmsg .cb,[dir=rtl] .rem,[dir=rtl] .ai p,[dir=rtl] .bid .nt,
[dir=rtl] .bid .cl,[dir=rtl] .lock,[dir=rtl] .ptxt,[dir=rtl] .chatbox textarea{unicode-bidi:plaintext;text-align:start}
/* The overflow fade sits at the END of the tab row, which in Hebrew is the left. */
[dir=rtl] .tabs{-webkit-mask-image:linear-gradient(270deg,#000 calc(100% - 26px),transparent);
  mask-image:linear-gradient(270deg,#000 calc(100% - 26px),transparent)}
