/* RTL + Persian adjustments for the TP Stopping Distance tool. Load after sd.css. */
.tpsd{font-family:inherit}
[dir="rtl"] .tpsd input[type=range]{direction:ltr}
[dir="rtl"] .tpsd .tpsd-seg button+button{border-left:0;border-right:2px solid var(--line)}
[dir="rtl"] .tpsd .tpsd-chip[aria-pressed="true"]::after{right:auto;left:8px}
[dir="rtl"] .tpsd .sw{margin-right:0;margin-left:8px}
[dir="rtl"] .tpsd .tpsd-verdict::before{margin-right:0;margin-left:8px}
[dir="rtl"] .tpsd .tpsd-bl small{margin-left:0;margin-right:4px}
[dir="rtl"] .tpsd .tpsd-phase{margin-left:0;margin-right:auto;padding:4px 30px 4px 12px}
[dir="rtl"] .tpsd .tpsd-phase::before{left:auto;right:8px}
[dir="rtl"] .tpsd .tpsd-fill.x{border-left:0;border-right:2px solid var(--ink)}
[dir="rtl"] .tpsd .tpsd-fill{border-radius:999px 0 0 999px}
[dir="rtl"] .tpsd .tpsd-track>.tpsd-fill:first-child{border-radius:0 999px 999px 0}
[dir="rtl"] .tpsd .tpsd-track>.tpsd-fill:only-child{border-radius:999px}
[dir="rtl"] .tpsd details.tpsd-tbl summary::after,
[dir="rtl"] .tpsd .tpsd-prog{float:left}
[dir="rtl"] .tpsd table th,[dir="rtl"] .tpsd table td{text-align:right}
[dir="rtl"] .tpsd canvas{direction:ltr}
