/* Shared, quiet language utility. Keep clear of the support launcher. */
.cc-language-switcher{position:fixed;right:20px;bottom:20px;z-index:45;width:max-content;max-width:calc(100vw - 24px);background:var(--workspace-surface,#fff);color:var(--workspace-text,#292c33);border:1px solid var(--workspace-border,#e8e7e9);border-radius:8px;box-shadow:0 2px 8px #00000008;font-size:11px;line-height:1.4}
.cc-language-switcher>summary{display:flex;align-items:center;gap:6px;padding:8px 10px;list-style:none;cursor:pointer;font:inherit;color:inherit;border-radius:7px}
.cc-language-switcher>summary::-webkit-details-marker{display:none}
.cc-language-chevron{flex-shrink:0;transition:transform .15s ease}
.cc-language-switcher[open]>summary .cc-language-chevron{transform:rotate(180deg)}
.cc-language-options{position:absolute;right:calc(100% + 8px);bottom:0;display:grid;gap:3px;min-width:140px;margin:0;padding:4px;background:var(--workspace-surface,#fff);border:1px solid var(--workspace-border,#e8e7e9);border-radius:8px;box-shadow:0 6px 20px #00000012}
.cc-language-switcher:not([open])>.cc-language-options{display:none}
.cc-language-options :is(a,button){display:flex;align-items:center;gap:6px;width:100%;padding:8px 10px;border:0;border-radius:5px;background:transparent;color:inherit;font:inherit;text-align:left;white-space:nowrap;text-decoration:none;cursor:pointer}
.cc-language-options :is(a,button):hover{background:var(--workspace-background,#f7f7f6)}
.cc-language-options :is([aria-current="true"],[aria-pressed="true"]){background:var(--workspace-border,#f0efed);font-weight:600;opacity:1;cursor:default}
.cc-language-switcher :is(summary,a,button):focus-visible{outline:2px solid var(--workspace-primary,#f2ad59);outline-offset:2px}
.cc-language-switcher--inline{right:auto;bottom:auto}
.cc-language-switcher--inline>.cc-language-options,.sc-lesson-language .cc-language-options{left:0;right:auto;bottom:calc(100% + 8px)}
@media(max-width:1023px){.cc-app .cc-language-switcher{bottom:calc(140px + env(safe-area-inset-bottom,0px));right:12px}.cc-language-switcher{right:12px;bottom:calc(20px + env(safe-area-inset-bottom,0px))}}
@media(prefers-reduced-motion:reduce){.cc-language-chevron{transition:none}}
