/* arb-tools-rtl.css v1 (20 Nov 2026) - Arabic (RTL) free-tool pages only.
   Loaded by I18n::headTags() on ar pages whose English route is a tool.
   Layout already flips via arb-rtl.css; this keeps data/code LTR. */
html[dir=rtl] .arbtools input[type=number],
html[dir=rtl] .arbtools input[type=url],
html[dir=rtl] .arbtools input[type=email],
html[dir=rtl] .arbtools input[inputmode=decimal],
html[dir=rtl] .arbtools input[inputmode=numeric],
html[dir=rtl] .arbtools input.ltr,
html[dir=rtl] .arbtools textarea.code,
html[dir=rtl] .arbtools textarea[readonly],
html[dir=rtl] .arbtools pre,
html[dir=rtl] .arbtools code,
html[dir=rtl] .arbtools kbd,
html[dir=rtl] .arbtools samp,
html[dir=rtl] .arbtools output,
html[dir=rtl] .arbtools [class*=output],
html[dir=rtl] .arbtools [class*=code],
html[dir=rtl] .arbtools [id$=Output],
html[dir=rtl] .arbtools [id$=Out],
html[dir=rtl] .arbtools [id$=Url],
html[dir=rtl] .arbtools [id$=Css]{direction:ltr;text-align:left;unicode-bidi:isolate}
/* free-text inputs follow what the user types */
html[dir=rtl] .arbtools input[type=text],
html[dir=rtl] .arbtools input:not([type]),
html[dir=rtl] .arbtools textarea:not(.code):not([readonly]){unicode-bidi:plaintext;text-align:start}
/* result numbers ("3.5x", "$1,200", "42%") never reorder */
html[dir=rtl] .arbtools .big,
html[dir=rtl] .arbtools .num,
html[dir=rtl] .arbtools bdi,
html[dir=rtl] .arbtools .ltr{direction:ltr;unicode-bidi:isolate}
html[dir=rtl] .arbtools .result-grid .num{display:inline-block}
/* live previews (flexbox generator, image resizer) must match the generated LTR CSS */
html[dir=rtl] .arbtools [class*=preview],
html[dir=rtl] .arbtools [id*=preview],
html[dir=rtl] .arbtools [id*=Preview],
html[dir=rtl] .arbtools canvas{direction:ltr}
/* range sliders: keep min on the left like the numbers they drive */
html[dir=rtl] .arbtools input[type=range]{direction:ltr}
/* article tables with figures */
html[dir=rtl] .arbtools .article td,
html[dir=rtl] .arbtools .article th{text-align:start}
html[dir=rtl] .arbtools .article td:not(:first-child){unicode-bidi:plaintext}
