.obm-language-switcher { position: relative; flex-shrink: 0; margin: 0 6px; color: inherit; font: 500 13px/1.4 system-ui, sans-serif; }
.obm-language-switcher > summary { display: flex; align-items: center; justify-content: center; gap: 6px; min-height: 44px; min-width: 56px; padding: 8px; border: 1px solid #dce1db; border-radius: 8px; cursor: pointer; list-style: none; background: transparent; }
.obm-language-switcher > summary::-webkit-details-marker { display: none; }
.obm-language-switcher > summary:focus-visible, .obm-language-switcher a:focus-visible { outline: 2px solid #6c8365; outline-offset: 3px; }
.obm-language-switcher > nav { position: absolute; top: calc(100% + 8px); right: 0; z-index: 1040; min-width: 180px; padding: 6px; border: 1px solid #e1e5de; border-radius: 12px; background: #fff; color: #202820; box-shadow: 0 12px 32px #1723171c; }
.obm-language-switcher a { display: flex; justify-content: space-between; gap: 12px; padding: 11px 12px; border-radius: 7px; color: inherit; text-decoration: none; white-space: nowrap; }
.obm-language-switcher a:hover, .obm-language-switcher a[aria-current] { color: #24452b; background: #f0f4ed; }
html[data-bs-theme="dark"] .admin-workspace .obm-language-switcher { color: #e2e8ee; }
html[data-bs-theme="dark"] .admin-workspace .obm-language-switcher > summary { border-color: #394552; }
html[data-bs-theme="dark"] .admin-workspace .obm-language-switcher > nav { background: #202a36; color: #e2e8ee; border-color: #394552; }
html[data-bs-theme="dark"] .admin-workspace .obm-language-switcher a:hover, html[data-bs-theme="dark"] .admin-workspace .obm-language-switcher a[aria-current] { background: #304234; color: #fff; }
.obm-navbar-language { display: none; }
@media(max-width:1199px) { .obm-navbar-language { display: block; margin-left: auto; } .obm-navbar-language + .mobile-menu-right { margin-left: 4px !important; } }
html[lang^="zh"] body { font-family: "Inter", "PingFang SC", "Microsoft YaHei", system-ui, sans-serif; }
html[lang^="ms"] .workspace-context-page { max-width: 180px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
@media(max-width:575px) { .admin-workspace .workspace-context { display: none; } .admin-workspace .obm-language-switcher { margin: 0; } .obm-language-switcher > summary { gap: 3px; min-width: 48px; padding: 6px; } }
