/* Real SVG flags and wrapping language names do not depend on emoji support. */
html .language-switcher .language-select-label { display:grid !important; grid-template-columns:minmax(0,1fr) !important; gap:5px; min-width:0; width:100%; margin:0; }
html .language-switcher .language-select-label > span { font-size:13px; line-height:1.4; color:inherit; }
html .language-picker { position:relative; width:100%; min-width:0; color:var(--text,#173c2c); font:400 16px/1.4 system-ui; }
html .language-picker summary { display:flex; align-items:center; gap:9px; min-height:44px; width:100%; padding:9px 11px; margin:0; box-sizing:border-box; border:1px solid var(--line,#becfc4); border-radius:9px; background:var(--surface,#fff); color:var(--text,#173c2c); list-style:none; cursor:pointer; }
html .language-picker summary::-webkit-details-marker { display:none; }
html .language-picker summary > span { flex:1; min-width:0; white-space:normal; overflow-wrap:anywhere; }
html .language-picker summary > i { flex:0 0 12px; font-style:normal; }
html .language-flag { display:block; flex:0 0 24px; width:24px; min-width:24px; height:18px; max-width:none; object-fit:contain; border-radius:2px; box-shadow:0 0 0 1px #0002; }
html .language-picker .language-picker-panel { position:absolute; z-index:900; inset-block-start:calc(100% + 6px); inset-inline-start:0; display:grid; gap:3px; min-width:min(240px,calc(100vw - 24px)); width:100%; max-width:calc(100vw - 24px); max-height:280px; overflow-y:auto; overscroll-behavior:contain; padding:6px; box-sizing:border-box; border:1px solid var(--line,#b9cec0); border-radius:10px; background:var(--surface,#fff); color:var(--text,#163b2d); box-shadow:0 12px 35px #001c1930; }
html .language-picker:not([open]) .language-picker-panel { display:none; }
html .language-picker.opens-up .language-picker-panel { inset-block-start:auto; inset-block-end:calc(100% + 6px); }
html .language-picker .language-picker-panel > button { display:flex; align-items:center; justify-content:flex-start; gap:10px; width:100%; min-width:0; min-height:42px; margin:0; padding:8px 10px; box-sizing:border-box; border:1px solid transparent; border-radius:7px; background:transparent; color:inherit; font:400 15px/1.4 system-ui; text-align:start; white-space:normal; cursor:pointer; }
html .language-picker-panel > button > span { min-width:0; overflow-wrap:anywhere; }
html .language-picker-panel > button[aria-selected=true] { border-color:#087357; background:#e1f3eb; color:#164e38; font-weight:700; }
html .language-picker summary:focus-visible,html .language-picker-panel > button:focus-visible { outline:3px solid #1ca47a; outline-offset:1px; }
html .language-switcher select.language-native-select { position:absolute !important; width:1px !important; min-width:1px !important; max-width:1px !important; height:1px !important; min-height:1px !important; padding:0 !important; border:0 !important; opacity:0; clip-path:inset(50%); overflow:hidden; pointer-events:none; }
html .header-actions .language-picker .language-picker-panel { position:static; inset:auto; width:100%; min-width:0; max-width:100%; margin-top:6px; box-shadow:none; transform:none !important; }
html body:is(.state-locked,.state-account):not(.state-staff) #languageSwitcher { display:block; width:100% !important; min-width:0 !important; max-width:none !important; }
html body:is(.state-locked,.state-account):not(.state-staff) #languageSwitcher .language-select-label { width:100%; max-width:320px; }
html body:is(.state-locked,.state-account):not(.state-staff) #languageSwitcher .language-select-label > span { display:none; }
html body.state-account:not(.state-staff) #employeeLanguageSwitcher { width:min(220px,48vw) !important; min-width:0 !important; }
