/* Chinese edition: native typography and a knowledge-first composition. */
html[lang="zh-CN"] {
  --zh-ink: #172e2b;
  --zh-muted: #58635f;
  --zh-paper: #f5f3ed;
  --zh-line: #d7ddd5;
  --font-sans: "PingFang SC", "Microsoft YaHei UI", "Microsoft YaHei", "Noto Sans CJK SC", "Source Han Sans SC", system-ui, sans-serif;
  --font-ui: var(--font-sans);
  --font-editorial: var(--font-sans);
  line-break: strict;
  word-break: normal;
  text-autospace: normal;
  text-spacing-trim: trim-start;
}
html[lang="zh-CN"] body { font-family: var(--font-sans); color: var(--zh-ink); background: var(--zh-paper); font-size: 16px; line-height: 1.8; }
html[lang="zh-CN"] :is(.discovery.editorial-media,.wrap.media-article) { --font-editorial: var(--font-ui); }
html[lang="zh-CN"] :is(button,input,select,textarea) { font-family: inherit; }
html[lang="zh-CN"] :is(h1,h2,h3,h4,.display,.page-intro h1,.home-service-copy h1,.knowledge-section-heading h2) {
  font-family: var(--font-sans); letter-spacing: 0; text-transform: none;
  font-weight: 650; line-height: 1.4; word-break: normal; overflow-wrap: anywhere; text-wrap: pretty;
}
html[lang="zh-CN"] h1 { font-size: clamp(32px,4.4vw,62px); }
html[lang="zh-CN"] h2 { font-size: clamp(25px,3vw,42px); }
html[lang="zh-CN"] h3 { font-size: clamp(19px,1.75vw,25px); }
html[lang="zh-CN"] :is(.eyebrow,.reading-meta,.card-meta,.knowledge-news-meta) { letter-spacing: .06em; line-height: 1.6; }
html[lang="zh-CN"] :is(p,li) { overflow-wrap: break-word; }
html[lang="zh-CN"] :is(.dek,.home-service-deck) { font-size: 18px; line-height: 1.9; max-width: 38em; }
html[lang="zh-CN"] :is(.article-body,.article-content,.legal-content) { max-width: 43em; font-size: 17px; line-height: 1.95; }
html[lang="zh-CN"] .article-body :is(p,ul,ol) { margin-block: 0 1.4em; }
html[lang="zh-CN"] .article-body :is(h2,h3) { margin-top: 1.8em; }
html[lang="zh-CN"] .article-body[data-reading-article] :is(p,li) { font-size: 17px; line-height: 1.9; }
html[lang="zh-CN"] :is(.nav a,.header-account,.header-cta,.nav-bar-preview) { white-space: nowrap; letter-spacing: 0; }
html[lang="zh-CN"] .nav { gap: clamp(18px,2.2vw,34px); }
html[lang="zh-CN"] .header-inner { gap: 24px; }
html[lang="zh-CN"] .site-header { background: rgba(245,243,237,.97); }
html[lang="zh-CN"] .site-header .nav a { min-height: 44px; line-height: 1.5; }
html[lang="zh-CN"] .site-header :is(.nav-bar-preview,.header-cta) {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 44px; padding: 0 18px; gap: 8px; border-radius: 24px;
  font-family: var(--font-ui); font-size: 14px; font-weight: 600; line-height: 1.5;
  margin-block: 0; align-self: center; text-decoration: none;
}
html[lang="zh-CN"] .site-header .nav-bar-preview .ui-icon { width: 15px; height: 15px; min-width: 15px; }
html[lang="zh-CN"] .site-header .masthead-search-link { min-height: 44px; font-size: 13px; line-height: 20px; }
html[lang="zh-CN"] .site-header .header-account { font-size: 13px; line-height: 20px; }
html[lang="zh-CN"] .site-header .nav a[aria-current="page"]:not(.nav-bar-preview)::after {
  height: 2px; width: 18px; left: 50%; right: auto; bottom: 1px; transform: translateX(-50%); border-radius: 2px;
}
html[lang="zh-CN"] .home-service-hero {
  grid-template-columns: minmax(0,1.12fr) minmax(0,.88fr); align-items: start;
  gap: clamp(30px,5vw,80px); padding-top: clamp(42px,6vw,90px);
}
html[lang="zh-CN"] .home-service-copy h1 { font-size: clamp(34px,3.9vw,56px); line-height: 1.45; margin: 22px 0 24px; }
html[lang="zh-CN"] .home-service-photo { margin-top: 16px; border-radius: 3px 3px 72px 3px; min-height: 400px; min-width: 0; width: 100%; max-width: 100%; aspect-ratio: 4/5; }
html[lang="zh-CN"] .home-service-photo img { height: 100%; object-fit: cover; }
html[lang="zh-CN"] .home-service-photo figcaption { max-width: calc(100% - 44px); }
html[lang="zh-CN"] .home-service-photo figcaption strong { font-family: var(--font-sans); font-size: clamp(14px,1.4vw,18px); line-height: 1.8; white-space: normal; letter-spacing: 0; }
html[lang="zh-CN"] .home-service-deck { font-size: 17px; max-width: 31em; color: var(--zh-muted); }
html[lang="zh-CN"] .home-task-list { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); margin-top: 32px; gap: 16px; border: 0; }
html[lang="zh-CN"] .home-task { display: flex; flex-wrap: wrap; align-items: flex-start; padding: 17px 0; border-top: 2px solid var(--zh-line); gap: 8px; }
html[lang="zh-CN"] .home-task > span:nth-child(2) { flex: 1 0 100%; }
html[lang="zh-CN"] .home-task strong { font-size: 17px; font-weight: 650; }
html[lang="zh-CN"] .home-task small { font-size: 13px; line-height: 1.8; display: block; margin-top: 6px; }
html[lang="zh-CN"] .home-task > svg { position: absolute; right: 0; top: 16px; }
html[lang="zh-CN"] .reading-deck { line-height: 1.85; font-size: 15px; }
html[lang="zh-CN"] .reading-copy h3 { font-size: 22px; line-height: 1.55; }
html[lang="zh-CN"] .knowledge-news { background: #e8ede6; padding-block: 62px; }
html[lang="zh-CN"] .knowledge-news-copy h3 { font-size: 20px; line-height: 1.6; }
html[lang="zh-CN"] .knowledge-news-copy p { font-size: 14px; line-height: 1.85; }
html[lang="zh-CN"] .home-planning { padding-block: 68px; }
html[lang="zh-CN"] .home-planning h2 { max-width: 13em; }
html[lang="zh-CN"] .home-tool-row p { font-size: 15px; }
html[lang="zh-CN"] .page-intro { padding-top: 52px; padding-bottom: 32px; }
html[lang="zh-CN"] .page-intro h1 { max-width: 16em; }
html[lang="zh-CN"] :is(.wiki-hero h1,.newsroom-hero h1,.media-hero h1) { font-size: clamp(36px,4.2vw,60px); }
html[lang="zh-CN"] :is(.article-intro h1,.article-header h1) { max-width: 21em; font-size: clamp(30px,3.3vw,49px); line-height: 1.5; }
html[lang="zh-CN"] :is(.specs-table th,.specs-table td,table td,table th) { letter-spacing: 0; line-height: 1.7; }
html[lang="zh-CN"] .field { font-size: 15px; line-height: 1.7; }
html[lang="zh-CN"] .site-footer { line-height: 1.8; }
html[lang="zh-CN"] .footer-bottom :is(a,button) { font-family: var(--font-ui); font-size: 12px; line-height: 1.7; }
/* Text controls share Chinese metrics; icon-only media controls keep theirs. */
html[lang="zh-CN"] :is(.button,.decision-button,.bp-actions .button,.home-service-actions .button) {
  font-family: var(--font-ui); font-size: 14px; font-weight: 600; line-height: 1.5;
  letter-spacing: 0; min-height: 46px; gap: 9px; padding-block: 11px;
}
html[lang="zh-CN"] :is(.text-link,.brand-text-link,.decision-link,.decision-secondary) { font-size: 14px; line-height: 1.6; letter-spacing: 0; }
html[lang="zh-CN"] .knowledge-home .home-inline-link { font-size: 14px; line-height: 1.6; min-height: 40px; }
html[lang="zh-CN"] :is(.decision-summary-actions button,.product-document-view,.product-document-download,.reading-library-refresh,.contribute-history button,.contribute-pagination button,.bp-result-actions .button) {
  font-family: var(--font-ui); font-size: 13px; font-weight: 500; line-height: 1.5;
  letter-spacing: 0; min-height: 40px; gap: 8px;
}
html[lang="zh-CN"] :is(.product-document-kind,.decision-field small,.decision-footnote,.decision-check p) { font-size: 12px; line-height: 1.75; letter-spacing: 0; }
html[lang="zh-CN"] .decision-summary pre { font-family: var(--font-ui); font-size: 13px; line-height: 1.85; }
html[lang="zh-CN"] .decision-result dd { font-family: var(--font-ui); font-variant-numeric: tabular-nums; }
html[lang="zh-CN"] .decision-result dd > span { font-family: var(--font-ui); }
html[lang="zh-CN"] .decision-check select { font-size: 14px; }
html[lang="zh-CN"] .media-card-actions button { font-family: var(--font-ui); font-size: 12px; line-height: 1.6; }
html[lang="zh-CN"] :is(.discovery-card-actions,.editorial-media.newsroom .media-card-actions) button { font-family: var(--font-ui); font-size: 12px; line-height: 1.6; min-height: 40px; }
html[lang="zh-CN"] .editorial-media.newsroom .media-tabs > :is(a,button) { font-size: 13px; line-height: 1.6; }
html[lang="zh-CN"] .editorial-media .media-section-link { font-size: 13px; line-height: 1.6; min-height: 36px; }
html[lang="zh-CN"] .media-article .bread a { font-size: 13px; line-height: 1.6; }
html[lang="zh-CN"] .editorial-media .media-card h3,
html[lang="zh-CN"] .editorial-media.newsroom .media-card h3 { font-family: var(--font-ui); line-height: 1.5; letter-spacing: 0; }
html[lang="zh-CN"] .brand-scroll-cue { font-size: 12px; letter-spacing: 0; }
html[lang="zh-CN"] .brand-image-open { font-size: 12px; min-height: 40px; }
html[lang="zh-CN"] .brand-hero h1 { font-size: clamp(30px,4.5vw,56px); line-height: 1.45; letter-spacing: 0; }
html[lang="zh-CN"] .brand-hero-foot a { font-size: 12px; line-height: 1.6; min-height: 36px; }
html[lang="zh-CN"] .brand-page .brand-space-tabs a { font-size: 13px; line-height: 1.6; }
html[lang="zh-CN"] .sg-summary summary { font-size: 13px; line-height: 1.6; min-height: 34px; }
html[lang="zh-CN"] .product-downloads-support { font-size: 13px; line-height: 1.75; }
html[lang="zh-CN"] .article-actions { font-family: var(--font-ui); }
html[lang="zh-CN"] .article-comment-form textarea { font-family: var(--font-ui); font-size: 13px; line-height: 1.8; }
html[lang="zh-CN"] .article-comments-title { font-family: var(--font-ui) !important; }
html[lang="zh-CN"] :is(.article-comment-remove,.article-comment-reply,.article-comments-reload,.article-comments-more) { font-size: 12px !important; }
/* This legacy component has an explicit English-font !important declaration. */
html[lang="zh-CN"] .decision-bridge h2 { font-family: var(--font-ui) !important; font-size: 26px !important; font-weight: 600 !important; line-height: 1.5 !important; letter-spacing: 0; }
html[lang="zh-CN"] :is(.product-tabs a,.decision-tool-nav a,.reading-library-tabs button,.bp-view-tabs button) { font-size: 14px; line-height: 1.5; letter-spacing: 0; min-height: 44px; }
html[lang="zh-CN"] .brand-chapters > .wrap { min-height: 54px; gap: 28px; overflow-x: auto; scrollbar-width: none; }
html[lang="zh-CN"] .brand-chapters a { flex: 0 0 auto; min-height: 54px; font-size: 14px; line-height: 1.5; letter-spacing: 0; }
html[lang="zh-CN"] .sg-progress { gap: 16px; }
html[lang="zh-CN"] .sg-progress button { font-size: 15px; line-height: 1.6; padding-block: 14px; }
html[lang="zh-CN"] .sg-progress button span { font-size: 12px; margin-bottom: 4px; }
html[lang="zh-CN"] .sg-choice strong { line-height: 1.6; letter-spacing: 0; }
html[lang="zh-CN"] .sg-choice span { line-height: 1.7; }
html[lang="zh-CN"] .media-masthead {
  display: grid; grid-template-columns: 1fr; gap: 14px;
  padding-top: 46px; padding-bottom: 26px; border-bottom: 1px solid var(--zh-line);
}
html[lang="zh-CN"] :is(.media-masthead h1,.newsroom-masthead h1) {
  font-size: clamp(34px,4vw,54px); line-height: 1.35;
  letter-spacing: 0; margin-block: 8px; font-weight: 650;
}
html[lang="zh-CN"] .media-masthead :is(p,.media-intro) { max-width: 44em; margin: 0; line-height: 1.9; }
html[lang="zh-CN"] .editorial-entry { padding-block: 14px; }
html[lang="zh-CN"] .media-topic-nav { gap: 9px; padding-block: 16px; }
html[lang="zh-CN"] .editorial-media .media-topic-nav > :is(a,button) {
  border: 1px solid var(--zh-line); border-radius: 7px; padding: 11px 15px;
  font-size: 14px; line-height: 1.5; background: transparent; min-height: 44px;
}
html[lang="zh-CN"] .editorial-media .media-topic-nav > :is([aria-selected="true"],[aria-current="page"]) { background: #e0e9e2; border-color: #668578; }
html[lang="zh-CN"] .media-utility { padding-block: 14px; }
html[lang="zh-CN"] .newsroom-masthead { padding-top: 44px; padding-bottom: 28px; }
@media (min-width:1100px) {
  html[lang="zh-CN"] .header-inner .nav {
    display: flex; position: static; padding: 0; margin-left: 0; border: 0;
    background: transparent; font-size: 14px; max-height: none; overflow: visible;
    align-items: center; flex-direction: row; gap: 22px;
  }
  html[lang="zh-CN"] .header-inner .nav a { min-height: 44px; }
  html[lang="zh-CN"] .header-inner .nav a[aria-current="page"]:not(.nav-bar-preview)::after { display: block; }
  html[lang="zh-CN"] .header-inner .nav .nav-bar-preview { margin-bottom: 0; align-self: center; }
  html[lang="zh-CN"] .masthead-search { min-width: 130px; max-width: 230px; margin-left: auto; }
  html[lang="zh-CN"] .header-end .menu-toggle { display: none; }
  html[lang="zh-CN"] .header-end .header-cta { display: inline-flex; }
  html[lang="zh-CN"] .header-inner .nav .nav-contact { display: none; }
}
@media (max-width:1099px) {
  html[lang="zh-CN"] .site-header .header-cta { display: none; }
  html[lang="zh-CN"] .header-inner .nav a { min-height: 48px; font-size: 16px; line-height: 1.5; }
  html[lang="zh-CN"] .header-inner .nav .nav-bar-preview { min-height: 44px; margin: 0 0 10px; font-size: 14px; align-self: flex-start; }
  html[lang="zh-CN"] .site-header .nav a[aria-current="page"]::after { display: none; }
}
@media (max-width:980px) {
  html[lang="zh-CN"] .home-service-hero { gap: 30px; grid-template-columns: 1fr 1fr; }
  html[lang="zh-CN"] .home-task-list { grid-template-columns: 1fr; gap: 0; }
  html[lang="zh-CN"] .home-task { flex-wrap: nowrap; gap: 14px; padding: 15px 0; }
  html[lang="zh-CN"] .home-task > span:nth-child(2) { flex: 1; }
  html[lang="zh-CN"] .home-task small { margin-top: 2px; }
  html[lang="zh-CN"] .header-inner { gap: 12px; }
}
@media (max-width:700px) {
  html[lang="zh-CN"] .home-service-hero { grid-template-columns: 1fr; gap: 24px; padding-top: 32px; }
  html[lang="zh-CN"] .home-service-copy h1 { font-size: 34px; margin-block: 16px; }
  html[lang="zh-CN"] .home-service-photo { min-height: 0; aspect-ratio: 16/10; border-radius: 3px 3px 42px 3px; margin: 0; }
  html[lang="zh-CN"] .home-task-list { grid-template-columns: repeat(3,minmax(0,1fr)); gap: 12px; }
  html[lang="zh-CN"] .home-task { display: block; }
  html[lang="zh-CN"] .home-task-number, html[lang="zh-CN"] .home-task > svg { display: none; }
  html[lang="zh-CN"] .home-task strong { font-size: 16px; }
  html[lang="zh-CN"] .home-task small { font-size: 12px; }
  html[lang="zh-CN"] :is(.dek,.home-service-deck) { font-size: 16px; line-height: 1.9; }
  html[lang="zh-CN"] .article-body { font-size: 16px; line-height: 1.95; }
  html[lang="zh-CN"] .article-body[data-reading-article] :is(p,li) { font-size: 16px; line-height: 1.9; }
  html[lang="zh-CN"] .site-header .header-end .nav-bar-preview { min-height: 40px; padding-inline: 12px; font-size: 12px; line-height: 18px; gap: 6px; }
  html[lang="zh-CN"] .brand-chapters > .wrap { gap: 22px; min-height: 50px; justify-content: flex-start; }
  html[lang="zh-CN"] .brand-chapters a { font-size: 13px; min-height: 50px; }
  html[lang="zh-CN"] .sg-progress button { font-size: 14px; }
  html[lang="zh-CN"] .reading-copy h3 { font-size: 21px; }
  html[lang="zh-CN"] .knowledge-news { padding-block: 38px; }
  html[lang="zh-CN"] .home-planning { padding-block: 42px; }
  html[lang="zh-CN"] .page-intro { padding-top: 30px; }
}
