.language-tools{display:flex;align-items:center;justify-content:flex-end;gap:.65rem;flex-wrap:wrap;padding:.6rem 1rem;background:var(--card,#fff);color:var(--ink,#182130);border-bottom:1px solid #9aa3b555;position:relative;z-index:30;font:14px var(--bp-ui-font,system-ui,sans-serif)}
.language-tools form{display:flex;align-items:center;flex-wrap:wrap;gap:.45rem;margin:0}.language-tools label{display:inline;margin:0;font:inherit}.language-tools select{width:auto;max-width:100%;padding:.35rem}.language-tools button{padding:.35rem .6rem;font:inherit}.language-tools [hidden]{display:none!important}#language-status{font-size:12px;max-width:32rem}
html[dir=rtl] body{font-family:Tahoma,Arial,system-ui,sans-serif}html[dir=rtl] .sidebar{left:auto;right:0}html[dir=rtl] .main{margin-left:0;margin-right:224px}html[dir=rtl] th,html[dir=rtl] td{text-align:right}html[dir=rtl] .summary-card.accent{border-left:0;border-right:4px solid var(--accent,#7955bf)}html[dir=rtl] input[type=time],html[dir=rtl] input[type=date],html[dir=rtl] input[type=number],html[dir=rtl] input[type=email],html[dir=rtl] input[type=password],html[dir=rtl] .shift b{direction:ltr;unicode-bidi:isolate}html[dir=rtl] .brand-logo{transform-origin:center}
@media(max-width:1200px){html[dir=rtl] .main{margin-right:195px}}
@media(max-width:760px){html[dir=rtl] .main{margin-right:0}.language-tools{justify-content:flex-start}.language-tools form{width:auto}}
@media print{.language-tools{display:none}}
@media(min-width:761px){body:has(.sidebar) .language-tools{margin-left:224px}html[dir=rtl] body:has(.sidebar) .language-tools{margin-left:0;margin-right:224px}}
@media(min-width:761px) and (max-width:1200px){body:has(.sidebar) .language-tools{margin-left:195px}html[dir=rtl] body:has(.sidebar) .language-tools{margin-left:0;margin-right:195px}}

/* One compact utility row; the full language controls open only on request. */
.language-tools{min-height:52px;padding:4px 12px;gap:8px;flex-wrap:nowrap}
.language-picker{min-width:0}
.language-picker>summary{display:flex;align-items:center;gap:7px;min-height:44px;padding:8px 10px;border:1px solid var(--line,#dce2e8);border-radius:9px;cursor:pointer;list-style:none;font-weight:600;white-space:nowrap}
.language-picker>summary::-webkit-details-marker{display:none}
.language-chevron{font-size:16px;line-height:1}
.language-picker[open]>summary{background:var(--surface,#f5f6f9)}
.language-picker>summary:focus-visible{outline:3px solid #7997ef;outline-offset:2px}
.language-picker[data-partial=true]>summary::after{content:'!';display:inline-grid;place-items:center;width:17px;height:17px;border-radius:50%;background:#fff1d4;color:#94620a;font-size:12px}
.language-panel{position:absolute;inset-inline-end:12px;top:calc(100% - 1px);z-index:40;display:flex;flex-wrap:wrap;gap:10px;width:min(350px,calc(100vw - 24px));padding:14px;background:var(--card,#fff);border:1px solid var(--line,#dce2e8);border-radius:12px;box-shadow:0 12px 32px #0003}
.language-panel form{width:100%;flex-wrap:nowrap}.language-panel select{flex:1;min-width:0}
.language-panel #language-status{flex-basis:100%;line-height:1.5}
@media(max-width:760px){.language-panel{inset-inline-end:auto;inset-inline-start:12px}}
