/* ==========================================================================
   RTL — only what logical properties genuinely cannot mirror.

   The rest of the theme uses inline/block logical properties throughout, so
   Persian and Arabic mirror automatically. If you find yourself adding rules
   here, check first whether the source rule should have been logical.
   ========================================================================== */

/* Single-line diagrams read power flow left-to-right by engineering
   convention in every locale — an SLD is not mirrored on an Iranian drawing
   any more than a circuit symbol is. Pin the container LTR. */
.sld,
.sld-wrap {
  direction: ltr;
}

/* The blueprint grid is anchored from the inline start; in RTL that is the
   right edge, so the background-position origin has to flip. */
.bp-sheet::before {
  background-position: right var(--gutter) top;
}

/* Latin technical strings inside Persian sentences: keep them LTR and
   isolated so surrounding punctuation does not jump to the wrong side. */
.readout--code,
.tel,
[data-ltr] {
  direction: ltr;
  unicode-bidi: isolate;
}
