/* MGTL language selector, scoped to avoid changing business forms */
.mgtl-language-picker{display:flex;align-items:center;flex-wrap:wrap;gap:7px;margin:8px 0;max-width:100%;font-size:13px;color:inherit}
.mgtl-language-picker label{font-weight:600;white-space:nowrap}
.mgtl-language-picker select{min-width:108px;max-width:175px;min-height:38px;padding:5px 7px;border:1px solid #9ca3af;border-radius:7px;background:#fff;color:#111827;font:inherit}
.mgtl-language-picker button{min-height:38px;padding:5px 12px;border:1px solid #64748b;border-radius:7px;background:#fff;color:#111827;font:inherit;cursor:pointer}
.mgtl-language-picker select:focus-visible,.mgtl-language-picker button:focus-visible{outline:3px solid #f59e0b;outline-offset:2px}
.mgtl-language-picker-compact{font-size:12px;gap:5px;margin:0}
.mgtl-language-picker-compact label{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0)}
.mgtl-language-picker-compact select{max-width:125px;min-width:80px}
.mgtl-language-picker-compact button{padding:4px 8px}
html[dir="rtl"] .mgtl-drawer,html[dir="rtl"] .owner-sidebar{text-align:start}
html[dir="rtl"] .pos-page input[type="number"],html[dir="rtl"] .pos-page input[inputmode="decimal"],html[dir="rtl"] .pos-page .totals strong{direction:ltr;unicode-bidi:isolate}
html[dir="rtl"] .mgtl-language-picker select{direction:rtl}
@media(max-width:650px){.site-header-actions .mgtl-language-picker{flex:0 1 95px}.site-header-actions .mgtl-language-picker select{max-width:90px;min-width:0;width:90px}.site-header-actions .mgtl-language-picker button{padding:3px 5px}.owner-topbar>.mgtl-language-picker{max-width:170px}}
@media print{.mgtl-language-picker{display:none!important}}
