@import url('project-language.css');
.content-language-editor{display:flex;align-items:center;gap:9px;flex-wrap:wrap}
.content-language-label{font:12px/1.4 Arial,"Microsoft YaHei",sans-serif;color:#666;white-space:nowrap}
.home-edit-toolbar>.content-language-editor,.admin-actions>.content-language-editor{margin-right:auto;padding:0;align-self:center}
.home-edit-toolbar,.admin-actions{align-items:center}
.site-navigation nav .site-language-switch{position:absolute;right:0;top:50%;transform:translateY(-50%);display:flex;gap:7px;align-items:center;margin:0;padding:0;border:0;border-radius:0;background:transparent;flex:none;line-height:1}
.site-navigation nav .site-language-switch button{padding:8px 0!important;color:#aaa!important;background:transparent!important}
.site-navigation nav .site-language-switch button+button::before{content:'/';display:inline-block;margin-right:7px;color:#666;font-weight:400}
.site-navigation nav .site-language-switch button[aria-pressed=true]{background:transparent!important;color:#fff!important;font-weight:600!important}
.site-navigation nav .site-language-switch button:hover{color:#fff!important}
.site-language-switch button{position:static!important;inset:auto!important;transform:none!important;width:auto!important;height:auto!important;min-width:0!important;min-height:0!important;padding:5px 7px!important;border:0!important;font:11px/1.2 Arial,"Microsoft YaHei",sans-serif!important;letter-spacing:0!important;border-radius:2px!important;color:#333!important;cursor:pointer;background:transparent!important}
.site-language-switch button[aria-pressed=true]{background:#171717!important;color:#fff!important}
.site-language-switch button:focus-visible{outline:2px solid #777;outline-offset:2px}
.content-language-editor{display:flex;justify-content:flex-end;align-items:center;padding:12px 0;margin-bottom:12px;border-bottom:1px solid #e5e5e5}
.content-language-editor .project-language-switch button{font-size:12px!important}
.press-editor-header>.content-language-editor,.dg-header>.content-language-editor{border:0;margin:0;padding:0 8px;flex:0 0 auto}
.gallery-editor .content-language-editor{padding:8px 0;margin:0}
.news-editor-body .content-language-editor,.diagram-body .content-language-editor{margin:0;padding:7px 16px;flex:0 0 auto}
html[lang=zh-CN] .home-purpose h2{letter-spacing:0;line-height:1.3}
html[lang=zh-CN] .article-body{line-height:1.85;line-break:strict}
html[lang=zh-CN] .article-body p{letter-spacing:.015em}
html[lang=zh-CN] .office-member-bio p{line-height:1.8}
html[lang=zh-CN] .office-member-name{letter-spacing:.025em}
@media(max-width:760px){.site-navigation nav .site-language-switch{gap:5px;margin:0}.site-language-switch button{padding:5px 4px!important;font-size:10px!important}.site-navigation nav .site-language-switch button+button::before{margin-right:5px}.site-navigation .frame-nav-link{letter-spacing:0!important}.content-language-editor{padding:8px 0}html[lang=zh-CN] .article-body{line-height:1.75}}

/* Chinese auxiliary text needs a larger floor than the Latin microtype.
   Scope this to public labels; saved canvas typography stays author controlled. */
html[lang=zh-CN]{--zh-small-size:12px}
html[lang=zh-CN] .frame-page :is(.eyebrow,.motion-label,.scene-controls,.home-story>span,.home-story p,.home-purpose small,.home-work-caption p,.frame-footer,.site-footer-links a,.directory-meta small,.office-space-image figcaption,.office-concept-label,.office-member-credentials,.office-practice-more summary,.office-member-bio summary,.office-preview-note){font-size:var(--zh-small-size);letter-spacing:.02em;line-height:1.5}
html[lang=zh-CN] .frame-page .site-language-switch button{font-size:var(--zh-small-size)!important}
html[lang=zh-CN] .directory-meta .project-information-facts dt{font-size:var(--zh-small-size)}
html[lang=zh-CN] .work-viewer .viewer-cover-copy .project-information-facts dt{font-size:max(var(--zh-small-size),.76cqw)}
html[lang=zh-CN] .work-viewer .viewer-cover-copy .project-information-facts dd{font-size:max(12px,.9cqw)}
html[lang=zh-CN] .work-viewer .viewer-cover-copy .project-information-location{font-size:max(12px,1cqw)}
@media(max-width:768px),(pointer:coarse) and (max-height:600px){
 html[lang=zh-CN]{--zh-small-size:11px}
 html[lang=zh-CN] .directory-meta .project-information-facts dd{font-size:11px}
 html[lang=zh-CN] .directory-meta .project-information-location{font-size:11px}
 html[lang=zh-CN] .work-viewer .viewer-cover-copy .project-information-facts dt{font-size:11px}
 html[lang=zh-CN] .work-viewer .viewer-cover-copy .project-information-facts dd{font-size:13px}
 html[lang=zh-CN] .work-viewer .viewer-cover-copy .project-information-location{font-size:12px}
 html[lang=zh-CN] .office-page .office-member-bio summary{font-size:11px}
}
