/* One native language selector, with short visual labels and full option names.
   Clip only the transparent native selected-value painting: WebKit otherwise
   counts its full option label outside the compact control at enlarged text.
   The visible abbreviation sets the size; the platform menu is unaffected. */
.ui-language-switch{display:flex;align-items:center;justify-content:flex-end;gap:8px;margin-inline-start:auto;max-width:100%;flex:0 1 auto;min-width:0}
.ui-language-control{position:relative;display:grid;overflow:clip;min-width:44px;max-width:100%;min-height:44px;background:#fffefb;border:1px solid #87978c;border-radius:9px;color:#205943;font:inherit;font-size:1rem}
.ui-language-current{display:flex;align-items:center;justify-content:center;gap:8px;min-height:44px;min-width:44px;padding:8px 10px;pointer-events:none;overflow-wrap:anywhere}
.ui-language-control select{position:absolute;inset:0;width:100%;height:100%;min-width:0;max-width:100%;min-height:44px;appearance:none;-webkit-appearance:none;margin:0;padding:0;border:0;opacity:0;cursor:pointer;font:inherit;color:inherit}
.ui-language-control:has(select:focus-visible){outline:3px solid #9b671e;outline-offset:3px}
.ui-language-control:has(select:disabled){color:#58655c;background:#e4ebdc;cursor:wait}
.ui-language-control select:disabled{cursor:wait}
[data-ui-language-host]{flex-wrap:wrap;gap:12px}
