/* A compact, keyboard-accessible language control shared by public and account pages. */
.voket-language-switch{position:relative;z-index:60;display:flex;align-items:center;justify-content:flex-end;gap:7px;padding:7px max(16px,calc((100vw - 1200px)/2));margin:0;background:#f4f3fa;color:#23223c;font:600 12px/1.4 system-ui,sans-serif;border-bottom:1px solid #dedbed;box-sizing:border-box;min-height:40px}
.voket-language-switch label{margin:0;display:inline;font-size:12px;color:inherit}
.voket-language-switch select{width:auto;min-width:100px;max-width:145px;margin:0;padding:4px 25px 4px 8px;border:1px solid #c8c4df;border-radius:7px;background:#fff;color:#23223c;font:inherit;min-height:28px}
.voket-language-switch button{width:auto;min-height:28px;margin:0;padding:4px 10px;border:0;border-radius:7px;background:#5640cf;color:white;font:inherit;cursor:pointer}
.voket-language-switch :focus-visible{outline:3px solid #8a79ec;outline-offset:2px}
html[lang^="en"]{word-break:normal;overflow-wrap:break-word}
html[lang^="en"] .nav{gap:18px}
html[lang^="en"] .nav nav{gap:20px}
html[lang^="en"] .nav .brand{flex-shrink:0}
@media(max-width:760px){.voket-language-switch{padding:6px 16px;min-height:38px;gap:6px}.voket-language-switch label{font-size:11px}.voket-language-switch select{min-width:95px}.voket-language-switch button{font-size:11px}}

/* Keep the teacher's fixed sidebar below the persistent language selector. */
body[data-page="teacher"]>.voket-language-switch{position:sticky;top:0;height:42px;min-height:42px;padding-top:6px;padding-bottom:6px}
body[data-page="teacher"] .sidebar{top:42px}
body[data-page="teacher"] .menu-overlay{top:42px}
body[data-page="teacher"] .main{min-height:calc(100vh - 42px)}
