/* Logical layout is shared across Persian/Arabic and English/German. */
.ui-language-switch{display:flex;align-items:center;gap:7px;margin:0;min-width:0}
.ui-language-switch>span{font-size:11px}
.ui-language-switch select{min-width:100px;width:auto;max-width:150px;margin:0;min-height:36px;font-size:11px;padding:6px 9px}
.guide-language-switch{padding:7px 10px;border:1px solid #416371;border-radius:10px;display:inline-flex;background:#112f3d;color:#e9f4f5}
.guide-language-switch select{background:#0a2432;color:#e9f4f5;border:1px solid #557884;border-radius:7px;font:inherit;font-size:12px}
body:has(.guide-language-switch) .topline{flex-wrap:wrap}
body:has(.guide-language-switch) bdi{white-space:normal;overflow-wrap:anywhere;word-break:break-word}
@media print{.guide-language-switch{display:none!important}}
.ui-language-settings{margin-top:18px;border:1px solid var(--line);border-radius:12px;padding:16px;display:flex;align-items:center;flex-wrap:wrap;gap:12px}
.ui-language-settings h3{margin:0;font-size:14px}.ui-language-settings>div{flex:1;min-width:180px}
.ui-language-settings p{margin:5px 0 0;font-size:11px;line-height:1.9;color:var(--muted)}
html[dir=ltr] body #uiTooltip{direction:ltr;text-align:start}
html[dir=ltr] body .leaflet-popup-content{direction:ltr;text-align:start}
html[dir=ltr] body .nav-link.active{box-shadow:inset 3px 0 #64dfc6}
html[dir=ltr] body .overview-photo-caption{direction:ltr}
html[dir=ltr] body .publication-stage strong{text-align:end}
html[dir=ltr] body .field-label-text,html[dir=ltr] body label,html[dir=ltr] body .detail-item{text-align:start}
html[dir=ltr] body .dialog-actions{direction:ltr}
html[dir=ltr] body .contents a{border-right:0;border-left:2px solid transparent}
html[dir=ltr] body .contents a[aria-current=true]{border-left-color:var(--mint)}
html[dir=ltr] body .topic .mini-table th,html[dir=ltr] body .topic .mini-table td{text-align:start}
html[dir=ltr] body .callout{border-right:0;border-left:3px solid var(--mint)}
html[dir=ltr] body .callout.warm{border-left-color:var(--gold)}
html[dir=ltr] body .skip{right:auto;left:20px}
html[dir=ltr] body .publish-step-heading,html[dir=ltr] body .publish-step-description,html[dir=ltr] body .publish-readiness{text-align:start}
html[dir=ltr] body .top-actions{flex-wrap:wrap}
html[dir=ltr] body .section-heading h2{line-height:1.6}
html[dir=ltr] body #sidebarToggle .icon{transform:scaleX(-1)}
html[dir=ltr] body :is(.report-pager,.page-nav) .icon{transform:scaleX(-1)}
html[dir=ltr] body:has(.print) :is(th,td){text-align:start}
html[dir=ltr] body:has(.print) :is(ul,ol){padding-right:0;padding-left:25px}
@media(min-width:761px){html[dir=ltr] body #sidebarDrawerBackdrop{inset:0}html[dir=ltr] body .sidebar-resize{cursor:col-resize}}
@media(max-width:760px){.ui-language-switch select{min-width:83px;max-width:112px;font-size:10px}.ui-language-settings{display:block}.ui-language-settings label{margin-top:12px}.ui-language-settings select{width:100%;max-width:none}html[dir=ltr] body .top-actions{gap:7px}.top-actions .ui-language-switch>span{display:none}}
