/* Language switch remains visible beside the header controls at all widths. */
.lang-actions{display:flex;align-items:center;gap:.6rem;min-width:0;flex-shrink:0}
.lang-switch{display:inline-flex;align-items:center;gap:.4rem;min-height:2.45rem;padding:.38rem .55rem;color:#153b71;border:1px solid #bacbe0;border-radius:5px;background:#fff;font-size:.82rem;font-weight:650;white-space:nowrap;text-decoration:none}
.lang-switch svg{width:1em;height:1em;fill:none;stroke:currentColor;stroke-width:1.65;stroke-linecap:round}
.lang-switch:hover{background:#edf4fd;border-color:#426b9f}
:lang(zh-CN) h1,:lang(zh-CN) h2{font-family:system-ui,"Microsoft YaHei","PingFang SC","Noto Sans CJK SC",sans-serif;letter-spacing:-.025em;font-weight:690}
@media(min-width:661px){.top{gap:clamp(.75rem,2vw,2rem)}.top nav{gap:clamp(.8rem,2vw,2.1rem)}}
@media(max-width:390px){.lang-actions{gap:.28rem}.lang-switch{padding-inline:.4rem}.lang-switch svg{display:none}.lang-actions .button{padding-inline:.52rem}}
.lang-control{display:flex;align-items:center;gap:.24rem;color:#153b71}
.lang-control>svg{width:1.02rem;height:1.02rem;fill:none;stroke:currentColor;stroke-width:1.65;stroke-linecap:round}
.lang-control .lang-switch{appearance:auto;padding-right:.2rem}
:lang(ko) h1,:lang(ko) h2{font-family:system-ui,"Malgun Gothic","Apple SD Gothic Neo","Noto Sans KR",sans-serif;letter-spacing:-.03em;font-weight:690}
@media(max-width:430px){.lang-control>svg{display:none}.lang-control .lang-switch{font-size:.76rem;padding-inline:.32rem}.lang-actions{gap:.38rem}}
@media(max-width:390px){.top .wordmark img{width:96px}.lang-actions .button{font-size:.76rem}.lang-control .lang-switch{min-height:2.35rem}}
/* Allow long localized labels to wrap without hiding the language selector. */
.lang-switch{max-width:10.4rem;text-overflow:ellipsis}
@media(max-width:430px){.lang-switch{max-width:7.3rem}.lang-actions{flex-wrap:wrap;justify-content:flex-end}}
