.language-switcher{color:inherit;flex:none;align-items:center;gap:6px;font:13px/1.3 system-ui,sans-serif;display:inline-flex;position:relative}.language-switcher__trigger{background:var(--lc-ui-surface,#fffdf7);width:34px;min-width:34px;height:34px;color:var(--lc-ui-text,#172b35);font:inherit;cursor:pointer;border:1px solid;border-radius:3px;flex:none;place-items:center;padding:3px;display:grid}.language-switcher__trigger:focus-visible,.language-switcher__menu button:focus-visible{outline:3px solid var(--lc-ui-focus,#2789c2);outline-offset:2px}.language-switcher .language-flag,.language-switcher__menu .language-flag{border-radius:1px;flex:none;width:26px;height:18px;display:block;box-shadow:0 0 0 1px #0003}.language-switcher__menu{z-index:10000;box-sizing:border-box;background:var(--lc-ui-surface,#fffdf7);width:min(224px,100vw - 16px);color:var(--lc-ui-text,#172b35);direction:ltr;border:1px solid;border-radius:4px;grid-template-columns:repeat(5,minmax(0,1fr));gap:4px;padding:6px;display:grid;position:fixed;box-shadow:0 4px 16px #0004}.language-switcher__menu button{cursor:pointer;background:0 0;border:2px solid #0000;border-radius:2px;place-items:center;height:36px;padding:3px;display:grid}.language-switcher__menu button:hover,.language-switcher__menu button[aria-checked=true]{background:var(--lc-ui-tool,#ffda25);border-color:currentColor}.room-shell .language-switcher .language-flag{width:22px;height:15px}@media (max-width:600px){.room-shell .language-switcher__trigger{width:28px;min-width:28px;height:25px;padding:2px}}.language-switcher--fallback{z-index:20;background:var(--lc-ui-surface,#fffdf7);border-radius:3px;padding:4px;position:fixed;inset-block-start:12px;inset-inline-end:16px}.language-switcher [role=alert]{max-width:220px;font-size:12px}body:has(.room-shell,.student-room,.tw-header .language-switcher) .language-switcher--fallback{display:none}html[dir=rtl] .room-shell{direction:ltr}html[dir=rtl] .room-shell button,html[dir=rtl] .room-shell label,html[dir=rtl] .room-shell p,html[dir=rtl] .room-shell [role=dialog]{direction:rtl}html[dir=rtl] .lesson-surface,html[dir=rtl] .answer-field-layer,html[dir=rtl] canvas{direction:ltr}html[dir=rtl] .tw-header,html[dir=rtl] .site-header{direction:rtl}html[lang=ar] .tw-app,html[lang=ar] .landing-page,html[lang=ar] .tw-app :is(h1,h2,h3,button,input,select){font-family:Arial,Tahoma,sans-serif}html[lang=ar] .tw-muted{font-size:13px}html:is([lang=ja],[lang=ko],[lang=zh-CN]) .landing-page .hero h1{font-size:clamp(34px,4vw,62px)}
