/* Device fonts only. Do not add @font-face, imports or font-file URLs here.
 * Loaded after generated design CSS so regeneration preserves this policy.
 * Keep existing sizes, weights, spacing and line-height; allow natural wrapping.
 */
.ch-wp-site{
  --ch-font-ja:"Noto Sans JP","Noto Sans CJK JP","Hiragino Sans","Hiragino Kaku Gothic ProN","Yu Gothic",Meiryo,sans-serif;
  --ch-font-sc:"Noto Sans SC","Noto Sans CJK SC","PingFang SC","Microsoft YaHei",sans-serif;
  --ch-font-tc:"Noto Sans TC","Noto Sans CJK TC","PingFang TC","Microsoft JhengHei",sans-serif;
  --ch-font-ko:"Noto Sans KR","Noto Sans CJK KR","Apple SD Gothic Neo","Malgun Gothic",sans-serif;
  --ch-font-ne:"Noto Sans Devanagari","Nirmala UI","Devanagari Sangam MN",var(--ch-font-ja);
  --ch-font:var(--ch-font-ja);
  --ch-font-display:var(--ch-font);
  --ch-font-langsel:var(--ch-font);
}
.ch-wp-site.ch-wp-lang-zh-hans{--ch-font:var(--ch-font-sc)}
.ch-wp-site.ch-wp-lang-zh-hant{--ch-font:var(--ch-font-tc)}
.ch-wp-site.ch-wp-lang-ko{--ch-font:var(--ch-font-ko)}
.ch-wp-site.ch-wp-lang-ne{--ch-font:var(--ch-font-ne)}
.ch-wp-site :is(button,input,select,textarea){font-family:var(--ch-font)}
/* Each native language name uses its own language's installed-font stack. */
.ch-wp-site .ch-langsel span[lang="ja"]{font-family:var(--ch-font-ja)}
.ch-wp-site .ch-langsel span[lang="zh-hans"]{font-family:var(--ch-font-sc)}
.ch-wp-site .ch-langsel span[lang="zh-hant"]{font-family:var(--ch-font-tc)}
.ch-wp-site .ch-langsel span[lang="ko"]{font-family:var(--ch-font-ko)}
.ch-wp-site .ch-langsel span[lang="ne"]{font-family:var(--ch-font-ne)}
.ch-wp-site .ch-langsel span:is([lang="en"],[lang="vi"],[lang="it"],[lang="es"]){font-family:var(--ch-font-ja)}
