/* GUIDE reading layout: natural Japanese wrapping, 2026-11-18. */
body.cn-guide-readable main :is(h1,h2,h3,h4,p,li,summary) {
  text-wrap: wrap !important;
  word-break: normal !important;
  line-break: strict;
  overflow-wrap: break-word;
}
body.cn-guide-readable main.ed-main > article > section > p,
body.cn-guide-readable main :is(.tg-section,.tg-lead,.article-wrap,.ed-main) p:not([class*="label"]):not([class*="meta"]):not([class*="caption"]):not([class*="credit"]) {
  text-align: justify;
  text-align-last: start;
  text-justify: inter-character;
}
body.cn-guide-readable main .cn-paragraph-tail {
  white-space: normal !important;
}
/* Keep UI, diagrams, notes and calls to action in their original alignment. */
body.cn-guide-readable main :is(.tg-consult,.article-cta,.ed-cta,.ex-diagram,.sg-cta,.sg-buttons,figure) p {
  text-align: inherit;
  text-align-last: auto;
}
