.language-picker{display:flex;align-items:center;gap:6px;border:1px solid var(--line);border-radius:8px;background:#fff;padding:3px 7px;color:#69758a}
.language-picker svg{width:17px;height:17px}
.language-picker select{border:0;background:transparent;color:inherit;font-size:12px;max-width:170px;padding:7px 0;cursor:pointer;outline-offset:2px}
.header-right{gap:18px}
.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.brand,.format-segments,.shortcut,.filename-field,.image-meta{direction:ltr}
.image-name{unicode-bidi:plaintext;text-align:start}
#pdf-range{direction:ltr;text-align:start}
[dir=rtl] .page-heading h1{letter-spacing:0;line-height:1.5}
[dir=rtl] .remove-button{margin-left:0;margin-right:auto}
[dir=rtl] .dialog-close{right:auto;left:15px}
[dir=rtl] .filename-field{direction:ltr}
[dir=rtl] .tool-tabs button span{margin-left:0;margin-right:5px}
[dir=rtl] .field-note,[dir=rtl] .intro,[dir=rtl] .notice{line-height:1.8}
[dir=rtl] .image-actions .icon-button:not(.remove-button){direction:ltr}
[dir=rtl] .image-actions button[data-move],[dir=rtl] .image-actions button[data-pdf-move]{transform:scaleX(-1)}
.settings select{min-width:0;text-overflow:ellipsis}
@media(max-width:700px){
 .header{gap:10px;flex-wrap:wrap}.header-right{gap:10px}.language-picker select{max-width:124px}.language-picker{padding:2px 6px}
 .header-right .text-button{font-size:12px}.brand{font-size:20px;gap:8px}.brand-icon{width:30px;height:30px}
 .settings .segments button{font-size:12px;padding-left:5px;padding-right:5px}.tool-tabs button{font-size:13px}
 [dir=rtl] .page-heading h1{font-size:27px}
}
