/* Match the Japanese font reviewed in the local preview. */
:root {
  --unit-style--font-family: "Noto Sans JP", sans-serif;
}

.doz_sys,
.doz_sys :is(h1, h2, h3, h4, h5, h6, .title_font_style, a, button, input, select, textarea):not(.im-icon, [class*="im-ico-"], .btm, [class*="bt-"], [class*="icon-"]) {
  font-family: "Noto Sans JP", sans-serif !important;
}

.doz_sys {
  font-size: 16px;
}

/* Japanese copy: keep meaningful phrases together without fixing whole lines. */
.doz_sys .widget_text_wrap .text-table {
  line-break: strict;
  word-break: normal !important;
  overflow-wrap: break-word;
  text-wrap: pretty;
}

@supports (word-break: auto-phrase) {
  .doz_sys .widget_text_wrap .text-table {
    word-break: auto-phrase !important;
  }
}

.doz_sys .jp-phrase {
  display: inline-block;
  white-space: nowrap;
}
