[data-lang-switch]{display:inline-flex;align-items:center;gap:2px;width:52px;height:28px;min-height:28px;padding:2px;border:1px solid var(--border-strong,rgba(255,255,255,.14));border-radius:999px;background:var(--surface,rgba(255,255,255,.04));color:var(--text-3,#7c828e);font-family:Inter,system-ui,sans-serif;box-sizing:border-box;flex:0 0 auto;box-shadow:0 1px 0 rgba(255,255,255,.04) inset;vertical-align:middle}
[data-lang-switch] button{appearance:none;border:0;background:transparent;color:inherit;width:23px;height:22px;min-width:23px;min-height:22px;padding:0;border-radius:999px;font:600 .62rem/1 Inter,system-ui,sans-serif;letter-spacing:.02em;cursor:pointer;transition:background .2s,color .2s,box-shadow .2s;touch-action:manipulation}
[data-lang-switch] button:hover{color:var(--text-1,#f4f6f8)}
[data-lang-switch] button.active{background:linear-gradient(135deg,var(--accent,#f2b705),var(--accent-2,#ffd24d));color:#111111;box-shadow:0 4px 14px -7px var(--accent-glow,rgba(242,183,5,.45))}
.navbar .nav-actions>[data-lang-switch],.navbar-auth .inner>[data-lang-switch],.navbar-models .inner>[data-lang-switch],.docs-nav .nav-actions>[data-lang-switch]{width:88px;height:44px;min-height:44px;padding:3px}
.navbar .nav-actions>[data-lang-switch] button,.navbar-auth .inner>[data-lang-switch] button,.navbar-models .inner>[data-lang-switch] button,.docs-nav .nav-actions>[data-lang-switch] button{width:40px;height:38px;min-width:40px;min-height:38px;font-size:.64rem}
[data-lang-switch].lang-floating{position:fixed;top:12px;right:12px;z-index:9999;background:var(--bg-1,#111111);box-shadow:0 8px 24px rgba(0,0,0,.18)}
.lang-switch-slot{display:inline-flex;align-items:center;height:28px}
.nav-actions>.lang-switch-slot,.navbar-actions>.lang-switch-slot{order:-1}
.sidebar .lang-switch-slot{margin-left:auto;margin-right:6px;height:28px}
.mobile-top-bar .lang-switch-slot{margin-left:auto;margin-right:8px;height:28px}
@media(max-width:767px){[data-lang-switch]{width:88px;height:44px;min-height:44px}[data-lang-switch] button{width:40px;height:38px;min-width:40px;min-height:38px}.navbar .nav-actions>[data-lang-switch],.navbar-auth .inner>[data-lang-switch]{width:88px;height:44px;min-height:44px}.lang-floating{top:8px;right:8px}}
@media(max-width:390px){[data-lang-switch] button{font-size:.58rem}}

.mobile-settings-panel [data-lang-switch]{width:88px;height:44px;min-height:44px}
.mobile-settings-panel [data-lang-switch] button{width:40px;height:38px;min-width:40px;min-height:38px}
.mobile-settings-theme{display:flex;align-items:center;gap:10px;width:100%;min-height:44px;padding:10px 0;border:0;background:transparent;color:var(--text-2,#d4d4d4);font:500 .82rem Inter,system-ui,sans-serif;text-align:left;cursor:pointer}
@media(max-width:767px){
  .navbar .nav-actions>.theme-toggle{display:none}
  .mobile-settings{display:block;position:relative;z-index:5}
  .mobile-settings summary{display:flex;align-items:center;justify-content:center;gap:7px;min-width:44px;height:44px;padding:0 12px;border:1px solid var(--border-strong);border-radius:9px;background:var(--surface);color:var(--text-2);font:500 .78rem Inter,system-ui,sans-serif;cursor:pointer;list-style:none;white-space:nowrap}
  .mobile-settings summary::-webkit-details-marker{display:none}
  .mobile-settings-panel{position:absolute;top:50px;right:0;width:220px;padding:12px;border:1px solid var(--border-strong);border-radius:10px;background:var(--bg-1);box-shadow:0 16px 40px rgba(0,0,0,.35)}
  .mobile-settings-row{display:flex;align-items:center;justify-content:space-between;gap:10px;padding-bottom:10px;border-bottom:1px solid var(--border)}
  .mobile-settings-row>span{color:var(--text-2);font:500 .82rem Inter,system-ui,sans-serif}
}
