/*
 * Right to left (the Founder, 8 October 2026, 21:43: the app in different languages). i18n.js sets dir="rtl" on the
 * document for Hebrew and Arabic; the Terminal's CSS says its sides as inline-start and inline-end, so most of the page
 * mirrors by itself. What follows is what logical properties cannot say: a fixed side, a slide, and the marks that point.
 */
/* The menu sits on the right, and on a phone slides in from it. */
[dir=rtl] .sidebar{inset:0 0 0 auto}
@media(max-width:700px){[dir=rtl] .sidebar,[dir=rtl] .collapsed .sidebar{transform:translateX(100%)}[dir=rtl] .menu-open .sidebar{transform:translateX(0)}}
/* The filter is a sheet from the bottom on either side (list-search.css): nothing to turn round. */
/* A switch's knob goes the other way. */
[dir=rtl] .switch[aria-checked=true]:after{transform:translateX(-17px)}
/* Marks that point along the line: chevrons, the way back, arrows and the collapse mark. Never the send mark's up. */
[dir=rtl] svg:has(> path[d^="m9 5 7 7-7 7"]),[dir=rtl] svg:has(> path[d^="m14 5-7 7 7 7"]),[dir=rtl] svg:has(> path[d^="M4 12h16m-6-6 6 6-6 6"]),
[dir=rtl] .page-back-arrow,[dir=rtl] .home-tasks-all>span[aria-hidden]{display:inline-block;transform:scaleX(-1)}
/* Numbers, addresses and ids keep their own direction inside a right-to-left line. */
[dir=rtl] input[type=tel],[dir=rtl] input[type=email],[dir=rtl] input[type=url],[dir=rtl] time,[dir=rtl] .identity-id,[dir=rtl] .id-card-code{unicode-bidi:plaintext}
/*
 * What a person or an agent wrote keeps its own direction: an English task title on a Hebrew page reads as English, its
 * full stop at its end, still on the page's side.
 */
[dir=rtl] :is(.home-item-title,.home-item-body,.inbox-line,.task-line-title,.needs-title,.needs-description,.history-what,.since-item-text,.brief-item-text,.agent-row-role,.agent-row-platform,.agent-head-role-word,.task-page h1,.page-heading h1,.chat-bubble,.agent-compact-name,.ws-tile strong){unicode-bidi:plaintext;text-align:right}
[dir=rtl] .sidebar .name-card>.account-button{padding:6px 6px 6px 10px}
[dir=rtl] .collapsed .sidebar .name-card>.account-button{padding:9px}
