.language-switch{position:relative;flex-shrink:0;font-family:inherit;font-size:13px;color:inherit;margin-left:12px}.language-switch summary{display:flex;align-items:center;gap:8px;cursor:pointer;list-style:none;padding:10px 12px;border:1px solid #b8bbc7;border-radius:24px;white-space:nowrap}.language-switch summary::-webkit-details-marker{display:none}.language-switch summary:focus-visible,.language-switch a:focus-visible{outline:3px solid #345cc4;outline-offset:3px}.language-switch[open] summary{background:#eaf0ff}.language-switch nav{position:absolute!important;inset:calc(100% + 8px) 0 auto auto!important;min-width:190px;display:grid!important;gap:4px!important;padding:8px!important;background:#fff;border:1px solid #d9dce5;border-radius:14px;box-shadow:0 12px 36px #17274820;z-index:100;color:#252838}.language-switch nav a{display:flex!important;justify-content:space-between;gap:20px;padding:12px!important;border-radius:8px;text-decoration:none;color:inherit!important;white-space:nowrap}.language-switch a span{font-size:11px;opacity:.55}.language-switch a:hover,.language-switch a[aria-current]{background:#edf2ff}.language-switch a[aria-current]:before{content:'✓';color:#345cc4}html[lang=zh-CN] body{font-family:Inter,'PingFang SC','Microsoft YaHei',sans-serif}html[lang=zh-CN] h1,html[lang=zh-CN] h2,html[lang=zh-CN] h3{word-break:normal;line-height:1.35}html[lang=zh-CN] p{line-height:1.9}html[lang=zh-CN] .hero h1{letter-spacing:-.025em}html[lang=zh-CN] .answers label span{white-space:normal}@media(max-width:720px){.language-switch{margin-left:0}.language-switch summary{padding:8px 10px;font-size:12px}.site-header{flex-wrap:wrap;gap:12px}html[lang=zh-CN] .hero h1{font-size:clamp(36px,8vw,60px)}}@media print{.language-switch{display:none}}

/* The public header has four controls; keep the language picker compact in every locale. */
.site-header{grid-template-columns:minmax(180px,1fr) auto auto auto;gap:20px}.language-switch{width:max-content;justify-self:end;padding:0;border:0}.language-switch summary{justify-content:center;font-family:inherit;font-size:13px;font-weight:500;letter-spacing:normal}.language-switch summary:after{content:none}.language-switch summary:before{content:none}@media(max-width:1100px){header > nav{order:3;flex-basis:100%;display:flex;overflow-x:auto;gap:4px;padding-bottom:4px}header > nav a{flex-shrink:0}.language-switch{margin-left:0}header .auth-actions{margin-left:auto}.site-header{gap:12px 16px}}@media(max-width:480px){.site-header{padding:16px;gap:10px}header .auth-actions{margin-left:0}.language-switch summary{gap:5px;padding:8px}.ocean-brand{margin-right:auto}}
.quiz-active header .language-switch nav{display:grid!important}
