/* Locale-specific fitting. The finalized Chinese typography and layout remain intact. */
.header-language button:not(:disabled){cursor:pointer}
.header-language button:focus-visible{outline:2px solid #9cdcff;outline-offset:5px}
html[lang=en]{--type-sans:"Segoe UI",Arial,sans-serif;--type-hero:56px;--type-section:36px;--type-leading-title:1.35;--type-leading-body:1.75}
html[lang=en] :is(h1,h2,h3,h4,p,dt,dd,button,figcaption){overflow-wrap:break-word}
html[lang=en] .header{grid-template-columns:auto minmax(0,1fr) auto;gap:22px;padding-inline:3%}
html[lang=en] .brand small{display:none}
html[lang=en] .header .brand>span{font-size:var(--type-small)!important;white-space:nowrap}
html[lang=en] .header nav{gap:16px;white-space:normal;text-align:center}
html[lang=en] .header nav a{max-width:145px;line-height:1.4}
html[lang=en] .header-language{padding-left:12px}
html[lang=en] .hero h1{letter-spacing:-1.5px;line-height:1.2}
html[lang=en] .hero-description .desktop-break{display:none}
html[lang=en] .hero .universe-product-title{font-size:var(--type-small)!important;line-height:1.35!important}
html[lang=en] .hero .universe-product-title small{line-height:1.4!important}
html[lang=en] .hero .universe-data .universe-product-title{line-height:1.25!important}
html[lang=en] .hero .universe-data .universe-product-title small{margin-top:3px;line-height:1.3!important}
html[lang=en] .hero .universe-core{max-width:300px}
html[lang=en] .hero .universe-core strong{letter-spacing:0}
html[lang=en] .hero .universe-product-title{left:10px;right:10px;bottom:12px}
html[lang=en] :is(#simulators,#data,#ar-anatomy)>.section-heading,
html[lang=en] #anatomy .anatomy-details,
html[lang=en] .generation-heading{grid-template-columns:fit-content(50%) minmax(0,1fr)}
html[lang=en] :is(#simulators,#data,#ar-anatomy)>.section-heading .product-section-tagline{width:auto}
html[lang=en] .product-section-label{align-items:baseline}
html[lang=en] .product-section-label>strong{overflow-wrap:normal}
html[lang=en] .section-heading>p br{display:none}
html[lang=en] .anatomy-mesh-stats strong{white-space:normal}
html[lang=en] .organ-selector button{white-space:normal;text-align:left}
html[lang=en] #anatomy .organ-selector{grid-template-columns:minmax(0,1fr)}
html[lang=en] .organ-group-label{white-space:normal}
html[lang=en] .dataset-case-tabs button span{white-space:normal;overflow-wrap:normal}
html[lang=en] .model-tabs button{padding-inline:10px}
html[lang=en] .exploration-legend{height:auto;min-height:42px;flex-wrap:wrap}
html[lang=en] .exploration-copy{min-width:0}
html[lang=en] .simulation-algorithms dd{line-height:1.65}
html[lang=en] .product-choice-copy{min-width:0}
html[lang=en] .credentials-stats{align-items:start}
html[lang=en] .credential-card-copy{min-width:0;overflow-wrap:anywhere}
html[lang=en] .generation-metrics small{white-space:normal}
html[lang=en] .generation-metrics strong{white-space:normal}
html[lang=en] .generation-gpu figcaption{text-align:center}
html[lang=en] .generation-use{column-gap:8px}
html[lang=en] .about-title h2{letter-spacing:-1px}
html[lang=en] .about-brand-name small{display:none}
html[lang=en] .about-brand-name{letter-spacing:2px}
html[lang=en] .nav-stage-labels text{font-size:14px}
html[lang=en] .nav-small,html[lang=en] .nav-result-label{font-size:12px}
@media(max-width:1400px){
 html[lang=en] .header{display:flex;height:74px;padding:0 5%;gap:18px}
 html[lang=en] .header .menu{display:block;font-size:21px;margin-left:auto}
 html[lang=en] .header nav{display:none;position:absolute;top:74px;left:0;right:0;margin:0;background:#0b1522f7;flex-direction:column;padding:20px 6%;gap:8px;border-bottom:1px solid var(--line);max-height:calc(100dvh - 74px);overflow-y:auto}
 html[lang=en] .header nav.open{display:flex}
 html[lang=en] .header nav a{max-width:none;padding:12px}
}
@media(max-width:1100px){
 html[lang=en]{--type-hero:48px;--type-section:32px}
 html[lang=en] .hero .universe-product-title{font-size:var(--type-caption)!important}
 html[lang=en] .hero .universe-product-title small{display:none}
 html[lang=en] .generation-metrics{grid-template-columns:1fr}
 html[lang=en] .generation-metrics>.generation-engine{border-right:0;padding-right:0}
}
@media(max-width:760px){
 html[lang=en]{--type-hero:40px;--type-section:26px}
 html[lang=en] .header{gap:12px;padding-inline:5%}
 html[lang=en] .header .brand{gap:7px}
 html[lang=en] .header .brand>span{font-size:12px!important}
 html[lang=en] .header .brand img{width:30px;height:30px}
 html[lang=en] .header-language{gap:7px;padding-left:10px}
 html[lang=en] .product-section-label{align-items:flex-start!important}
 html[lang=en] .product-section-label .research-badge{display:block;margin-left:0}
 html[lang=en] .hero .universe-product-title{bottom:10px}
 html[lang=en] .hero .universe-core{max-width:220px}
 html[lang=en] .anatomy-mesh-stats strong small{display:block;margin:7px 0 0}
 html[lang=en] .product-choice-copy small{line-height:1.4!important}
 html[lang=en] .credentials-tabs button{white-space:normal}
 html[lang=en] .generation-bar{flex-wrap:wrap}
 html[lang=en] .generation-metrics>.generation-scale{grid-template-columns:minmax(0,1fr) 16px minmax(0,1fr) 16px minmax(0,1.6fr);column-gap:5px}
 html[lang=en] .generation-scale>i{min-width:16px}
 html[lang=en] .generation-scale .generation-step>span{text-align:left}
 html[lang=en] .generation-output strong{overflow-wrap:normal}
 html[lang=en] .navigation-panel-heading span{font-size:12px!important}
 html[lang=en] .navigation-panel-heading strong{font-size:16px!important}
 html[lang=en] .simulator-coverage-grid header{flex-wrap:wrap}
}
@media(max-width:480px){
 html[lang=en] .generation-metrics>.generation-scale{grid-template-columns:minmax(0,1fr) 24px minmax(0,1fr);gap:8px}
 html[lang=en] .generation-scale>.generation-step{text-align:center}
 html[lang=en] .generation-scale .generation-step>span{text-align:center;overflow-wrap:normal}
 html[lang=en] .generation-scale>i:nth-child(4){grid-column:1/-1;width:30px;justify-self:center;transform:rotate(90deg);padding:0;margin:0}
 html[lang=en] .generation-scale>.generation-output{grid-column:1/-1}
 html[lang=en] .generation-gpu{min-width:0;flex-shrink:1}
 html[lang=en] .generation-gpu figcaption{white-space:normal;max-width:130px}
}
