/* Public pages only; the English-only owner dashboard does not load it. */
/* Each language names its own fonts: one shared stack would draw Chinese and
   Korean Han characters in their Japanese forms. */
html:lang(ja) { --cjk-fonts: "Hiragino Kaku Gothic ProN", "Hiragino Sans", "Yu Gothic", YuGothic, Meiryo; }
html:lang(zh) { --cjk-fonts: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei"; }
:is(html:lang(zh-Hant), html:lang(zh-TW), html:lang(zh-HK), html:lang(zh-MO)) { --cjk-fonts: "PingFang TC", "Microsoft JhengHei"; }
html:lang(ko) { --cjk-fonts: "Apple SD Gothic Neo", "Malgun Gothic"; }
/* body as well as html, because site.css sets its Latin font on body. */
:is(html:lang(ja), html:lang(zh), html:lang(ko)), :is(html:lang(ja), html:lang(zh), html:lang(ko)) body {
  font-family: -apple-system, BlinkMacSystemFont, var(--cjk-fonts), sans-serif;
  line-break: strict;
  word-break: normal;
  overflow-wrap: anywhere;
}
:is(html:lang(ja), html:lang(zh), html:lang(ko)) :is(h1, h2, h3, em, .eyebrow) {
  font-family: inherit;
  letter-spacing: normal;
  text-transform: none;
  line-height: 1.5;
}
:is(html:lang(ja), html:lang(zh), html:lang(ko)) :is(.hero h1, .fhero h1, .commerce-page h1, .policy-page h1) {
  font-size: clamp(36px, 5vw, 64px);
}
:is(html:lang(ja), html:lang(zh), html:lang(ko)) .guide-head h1 {
  font-size: clamp(30px, 4vw, 44px);
}
:is(html:lang(ja), html:lang(zh), html:lang(ko)) :is(button, .btn, summary, label) {
  white-space: normal;
  line-height: 1.6;
}
/* A wrapped label needs room above and below inside the pill. */
:is(html:lang(ja), html:lang(zh), html:lang(ko)) .btn { padding-block: 8px; }
/* German and French: long compound words and button labels must fit from 320 px.
   Button labels may wrap inside the pill; the narrow label column hyphenates at
   any width, headings and list items only where the layout is narrow. */
:is(html:lang(de), html:lang(fr)) :is(button, .btn) { white-space: normal; text-align: center; }
:is(html:lang(de), html:lang(fr)) .btn { padding-block: 8px; max-width: 100%; }
:is(html:lang(de), html:lang(fr)) :is(h1, h2, h3, dt, li) { overflow-wrap: break-word; }
:is(html:lang(de), html:lang(fr)) dt { hyphens: auto; }
@media (max-width: 820px) {
  :is(html:lang(de), html:lang(fr)) :is(h1, h2, h3, li) { hyphens: auto; }
}
/* Keep copied commands, keys and physical units readable in either direction. */
pre, .licence-key, #purchased-key { direction: ltr; unicode-bidi: isolate; }
