/* Shared language controls: only these names are styled; native theme controls stay intact. */
.creative-language-picker{position:relative;display:inline-block;flex:0 0 auto;width:auto!important;max-width:100%;margin:0 8px;vertical-align:middle;font:inherit;color:inherit}
.creative-language-picker>summary{display:flex;align-items:center;gap:7px;min-height:40px;padding:7px 10px;border:1px solid currentColor;border-radius:8px;cursor:pointer;list-style:none;white-space:nowrap;font-size:14px;line-height:1.4;user-select:none}
.creative-language-picker>summary::-webkit-details-marker{display:none}
.creative-language-picker>summary:focus-visible,.creative-language-panel button:focus-visible,.creative-language-preferences:focus-visible{outline:3px solid #2fa89b;outline-offset:3px}
.creative-language-globe{width:19px;height:19px;flex-shrink:0}.creative-language-chevron{width:12px;height:12px;flex-shrink:0;transition:transform .15s}.creative-language-picker[open] .creative-language-chevron{transform:rotate(180deg)}
.creative-language-panel{position:absolute;z-index:1090;inset-inline-end:0;top:calc(100% + 8px);width:248px;max-width:calc(100vw - 24px);box-sizing:border-box;padding:8px;background:#fff;color:#1e293b;border:1px solid #d9e0e7;border-radius:12px;box-shadow:0 12px 35px #172a4526;text-align:start;white-space:normal}
.creative-language-heading{margin:4px 10px 6px!important;font-size:12px;font-weight:600;color:#65758b}
.creative-language-options{list-style:none!important;margin:0!important;padding:0!important;max-height:min(320px,50vh);overflow:auto;overscroll-behavior:contain}
.creative-language-options li{margin:0!important;padding:0!important}.creative-language-options form{display:block!important;margin:0!important;padding:0!important;width:100%!important}
.creative-language-panel .ui-language-switcher button{display:flex;align-items:center;justify-content:space-between;gap:12px;width:100%;min-height:42px;padding:10px 12px;margin:0;background:transparent;color:#1e293b;border:0;border-radius:7px;text-align:start;font:inherit;font-size:14px;line-height:1.5;cursor:pointer;white-space:normal}
.creative-language-panel .ui-language-switcher button:hover{background:#f0f5f8;filter:none}.creative-language-panel .ui-language-switcher button[aria-current=true]{color:#087c68;background:#eaf5f1;opacity:1;cursor:default;font-weight:600}
.creative-language-picker[aria-busy=true] .ui-language-switcher button:not([aria-current=true]){opacity:.55;cursor:wait}.creative-language-panel .creative-language-preferences{display:block!important;min-height:40px;padding:10px 12px;margin-top:6px;border-top:1px solid #e2e8f0;color:#40536e!important;font-size:13px;text-decoration:none}.creative-language-preferences:hover{background:#f0f5f8}
.creative-language-status{margin:7px 10px!important;font-size:12px;line-height:1.5;color:#9b3535}.creative-language-status[hidden]{display:none!important}.creative-language-sr{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
@media(max-width:1199.98px){.nav-bar-links .creative-language-picker{display:block;width:100%!important;margin:8px 0}.nav-bar-links .creative-language-panel{position:static;width:100%;max-width:none;transform:none!important;margin-top:8px;box-shadow:none}}
@media(prefers-reduced-motion:reduce){.creative-language-chevron{transition:none}}
