/**
 * Heroldo Suite - CJK typography (Simplified Chinese, ZH-03)
 *
 * Loaded only for zh pages by IR_i18n::enqueue_cjk_styles(), after ir-components
 * and ir-frontend. System fonts only: no webfont (3G budget, CLAUDE.md).
 * :lang(zh) matches html lang="zh-CN" and "zh-Hans". Version = filemtime.
 */
html:lang(zh) {
  --ir-font-family: system-ui, -apple-system, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans CJK SC", "Noto Sans SC", "Source Han Sans SC", sans-serif;
}
html:lang(zh) body,
html:lang(zh) input,
html:lang(zh) textarea,
html:lang(zh) select,
html:lang(zh) button {
  font-family: var(--ir-font-family);
}
html:lang(zh) body {
  line-height: 1.7;
}
/* Latin tracking (plugin and theme letter-spacing) breaks Han text. */
html:lang(zh) body * {
  letter-spacing: normal !important;
}
/* No CJK italics: avoid synthetic oblique. */
html:lang(zh) em,
html:lang(zh) i,
html:lang(zh) cite {
  font-style: normal;
}
html:lang(zh) :is(p, li, td, th, dd, figcaption, blockquote, label) {
  word-break: normal;
  overflow-wrap: anywhere;
  line-break: strict;
}
html:lang(zh) :is(h1, h2, h3, h4, h5, h6) {
  line-height: 1.4;
  word-break: normal;
  overflow-wrap: anywhere;
}
