.language-switcher { position: relative; display: inline-flex; flex: 0 0 auto; align-items: center; vertical-align: middle; }
.language-control { display: inline-flex; align-items: center; gap: 6px; min-height: 40px; padding: 0 9px; border: 1px solid #dce2ed; border-radius: 9px; background: #fff; color: #172036; }
.language-globe { position: relative; display: block; box-sizing: border-box; width: 16px; height: 16px; flex: 0 0 16px; border: 1px solid #8791a3; border-radius: 50%; }
.language-globe::before { position: absolute; content: ''; inset: -1px 3px; border: 1px solid #8791a3; border-radius: 50%; }
.language-globe::after { position: absolute; content: ''; top: 6px; right: -1px; left: -1px; border-top: 1px solid #8791a3; }
.language-control select { display: block; width: 99px; min-height: 38px; border: 0; border-radius: 5px; padding: 0 2px; background: #fff; color: inherit; font: 500 13px/1.4 Inter, system-ui, "Microsoft YaHei", sans-serif; cursor: pointer; }
.language-control:focus-within { outline: 2px solid #1953ff; outline-offset: 3px; }
.language-control select:focus { outline: none; }
.language-control select:disabled { cursor: progress; opacity: .6; }
.language-status:empty { display: none; }
.language-status:not(:empty) { position: absolute; top: calc(100% + 7px); right: 0; z-index: 100; width: 210px; padding: 10px; border: 1px solid #e1e6ef; border-radius: 8px; background: white; box-shadow: 0 5px 20px #15214718; color: #a32727; font-size: 12px; line-height: 1.5; }
body .header-auth { display: flex; align-items: center; gap: 10px; }
.language-page-bar { display: flex; align-items: center; justify-content: space-between; gap: 24px; max-width: 1080px; margin: 0 auto; padding: 24px; }
.language-page-bar a { color: inherit; text-decoration: none; }
.legal-page main > nav { flex-wrap: wrap; }
.legal-page main > nav > .language-switcher { margin-left: auto; order: 1; }
.ws-top-actions > [data-language-switcher] { margin-right: 4px; }
html:lang(zh) body { font-family: Inter, "PingFang SC", "PingFang TC", "Microsoft YaHei", "Noto Sans CJK SC", system-ui, sans-serif; }
html:lang(zh) :is(h1, h2, h3, .ws-eyebrow, .eyebrow, .nav-flyout-heading p) { letter-spacing: normal; }
html:lang(zh) :is(.prose, .docs-content, .ws-detail-copy) { line-height: 1.85; }
html:lang(zh) :is(.hero h1, .hero-title, .hero-title-line) { line-height: 1.22; }
@media (max-width: 1100px) {
  .ws-topbar { flex-wrap: wrap; }
  .ws-topbar .ws-top-actions { margin-left: auto; }
}
@media (max-width: 600px) {
  .language-control { min-height: 36px; gap: 3px; padding-inline: 6px; }
  .language-control select { width: 87px; min-height: 36px; font-size: 12px; }
  .language-globe { width: 14px; height: 14px; flex-basis: 14px; }
  .language-globe::after { top: 5px; }
  body .header-auth { gap: 6px; }
  body .site-header .header-inner > .site-brand { font-size: 16px; }
  .ws-topbar .ws-top-actions { flex-wrap: wrap; gap: 6px; }
  .onboarding-header { flex-wrap: wrap; gap: 12px; }
  .language-page-bar { padding: 18px; }
}
@media (max-width: 480px) {
  body .site-header .header-inner > .site-brand span,
  body .site-header .header-inner > .site-brand small,
  body .site-header .header-auth .header-user-name { display: none; }
}
