.cnw-language-switcher { position: relative; display: block; flex: 0 0 auto; width: max-content; padding: 0; border: 0; background: transparent; color: #171a1c; font-family: Inter, Arial, sans-serif; }
.cnw-language-trigger { box-sizing: border-box; display: flex; align-items: center; justify-content: center; gap: 5px; width: 40px; height: 40px; border: 0; border-radius: 7px; background: transparent; color: inherit; list-style: none; cursor: pointer; }
.cnw-language-trigger::-webkit-details-marker { display: none; }
.cnw-language-trigger::marker { content: ""; }
.cnw-language-trigger:hover, .cnw-language-switcher[open] > .cnw-language-trigger { background: #f3f4f4; }
.cnw-language-trigger svg { display: block; flex: 0 0 auto; }
.cnw-language-menu { position: absolute; z-index: 600; inset-inline-end: 0; top: calc(100% + 10px); box-sizing: border-box; width: 216px; max-height: min(420px, calc(100svh - 112px)); padding: 8px; overflow-y: auto; overscroll-behavior: contain; scrollbar-width: thin; border: 1px solid #e4e7e9; border-radius: 11px; background: #fff; color: #161b1e; box-shadow: 0 12px 36px #14202b1a; text-align: start; }
.cnw-language-switcher:not([open]) > .cnw-language-menu { display: none; }
.cnw-language-divider { height: 1px; margin: 6px 8px; background: #eceeef; }
.cnw-language-note { margin: 8px 11px 5px; color: #81888d; font-size: 11px; line-height: 1.5; }
.cnw-language-menu button { position: relative; box-sizing: border-box; display: flex; flex-direction: column; align-items: flex-start; justify-content: center; gap: 3px; width: 100%; min-height: 42px; padding: 10px 30px 10px 11px; border: 0; border-radius: 6px; background: transparent; color: #20272b; font-family: inherit; font-size: 13px; font-weight: 400; line-height: 1.3; text-align: start; cursor: pointer; }
.cnw-language-menu button:hover { background: #f4f5f6; }
.cnw-language-menu button:disabled { color: #969da2; cursor: default; }
.cnw-language-menu button:disabled:hover { background: transparent; }
.cnw-language-menu button[aria-pressed="true"]::after { position: absolute; inset-inline-end: 13px; width: 5px; height: 5px; border-radius: 50%; background: #253c4c; content: ""; }
.cnw-language-menu small { color: #7a848b; font: inherit; font-size: 11px; }
.cnw-language-trigger:focus-visible, .cnw-language-menu button:focus-visible { outline: 2px solid #466d91; outline-offset: 2px; }
.home-scale-actions .cnw-language-switcher { margin-inline-start: 2px; }
.home-scale-header .cnw-language-switcher { color: var(--nav-fg, #171a1c); }
.home-scale-header.is-dark .cnw-language-trigger:hover, .home-scale-header.is-dark .cnw-language-switcher[open] > .cnw-language-trigger { background: #ffffff14; }
.home-scale-mobile-menu > .cnw-language-switcher { margin-top: 20px; }
.home-scale-mobile-menu .cnw-language-menu, .docs-sidebar-inner .cnw-language-menu { inset-inline-start: 0; inset-inline-end: auto; }
.docs-sidebar-inner > .cnw-language-switcher { margin-top: 20px; }
html body footer.cnw-global-footer[data-cnw-footer] .cnw-footer-locale.cnw-language-switcher { display: block; padding: 0; min-height: 40px; border-radius: 0; background: transparent !important; }
.cnw-footer-locale .cnw-language-trigger { color: #d0d0d0; }
.cnw-footer-locale .cnw-language-trigger:hover, .cnw-footer-locale[open] > .cnw-language-trigger { background: #242728; }
.cnw-footer-locale .cnw-language-menu { top: auto; bottom: calc(100% + 10px); }
html body footer.cnw-global-footer[data-cnw-footer] .cnw-footer-locale .cnw-language-menu button span { color: #20272b !important; }
@media (max-width: 960px) { .home-scale-actions > .cnw-language-switcher { display: none; } }
@media (max-width: 700px) { .cnw-footer-locale .cnw-language-menu { inset-inline-start: 0; inset-inline-end: auto; } }
