/* Reading styles: prose changes only; diagrams, evidence and controls keep their layout. */
html {
  text-size-adjust: 100%;
  -webkit-text-size-adjust: 100%;
}
main :is(p, li, dd) {
  overflow-wrap: break-word;
}
main :is(h1, h2, h3) {
  text-wrap: balance;
}
/* A 42-character Chinese measure and a 68-character English measure. */
.lecture-section > :is(p, ul, ol),
.lesson-section > :is(p, ul, ol),
.case-body > section > p:not(.eyebrow) {
  max-width: 42em;
}
:lang(en) .lecture-section > :is(p, ul, ol),
:lang(en) .lesson-section > :is(p, ul, ol),
:lang(en) .case-body > section > p:not(.eyebrow) {
  max-width: 68ch;
}
.lecture-section p,
.lecture-section li,
.lesson-section p,
.lesson-section li {
  font-size: 17px;
  line-height: 1.95;
  letter-spacing: 0;
  color: #324c5d;
  margin-bottom: 1.15em;
}
.lecture-section li,
.lesson-section li {
  margin-bottom: 0.65em;
}
.lecture-section :is(h2, h3),
.lesson-section :is(h2, h3) {
  letter-spacing: 0;
}
.lecture-table :is(th, td),
.lecture-code pre {
  font-size: 13px;
  line-height: 1.8;
}
.case-body p,
.section-lead,
.field-series .stage-body dl > div,
.stage-body dl > div {
  font-size: 16px;
  line-height: 1.9;
}
.section-lead,
.stage-body dd {
  max-width: 42em;
}
:lang(en) :is(.section-lead, .stage-body dd) {
  max-width: 68ch;
}
/* Service detail text previously dropped to 12–14px on phones. */
.process-heading > div p,
.process-aside > p:not(.eyebrow),
.stage-content p,
.detail-tab-body p {
  font-size: 16px;
  line-height: 1.85;
}
@media (max-width: 640px) {
  .lecture-section p,
  .lecture-section li,
  .lesson-section p,
  .lesson-section li,
  .case-body p,
  .section-lead,
  .field-series .stage-body dl > div,
  .stage-body dl > div {
    font-size: 16px;
    line-height: 1.9;
  }
  .lecture-section h2 {
    font-size: 23px;
    line-height: 1.5;
  }
  .lecture-code pre {
    font-size: 12px;
  }
}
@media print {
  .lecture-section :is(p, li),
  .lesson-section :is(p, li),
  .stage-body dl > div {
    font-size: 11pt;
    line-height: 1.6;
  }
}
