/* Lectura de la guía: cada región usa su ancho real y conserva la prosa completa. */
#course-pages .module-page :is(p, dd, blockquote) {
  
  box-sizing: border-box;
  inline-size: 100%;
  min-inline-size: 0;
  max-inline-size: 100%;
  text-align: var(--text-align-reading, start);
  text-align-last: start;
  white-space: normal;
  word-break: normal;
  overflow-wrap: break-word;
  hyphens: none;
  -webkit-hyphens: none;
}
#course-pages .module-page :is(h1, h2, h3, h4, h5, h6, li, dt, figcaption, summary, label) {
  word-break: normal;
  overflow-wrap: break-word;
  hyphens: none;
  -webkit-hyphens: none;
}
/* text-layout-exception: el código conserva sus líneas y se consulta completo con desplazamiento. */
#course-pages .module-page pre,
#course-pages .module-page pre code {
  white-space: pre;
  word-break: normal;
  overflow-wrap: normal;
  max-inline-size: 100%;
  overflow-x: auto;
}
/* text-layout-exception: las instrucciones para copiar son prosa larga dentro de un bloque de código; se ajustan para leerse completas y el botón copia el texto exacto. */
#course-pages .module-page pre.situation-prompt,
#course-pages .module-page pre.situation-prompt code {
  white-space: pre-wrap;
  overflow-wrap: break-word;
}

/* devbrain-prose-contract:start */
/* Contrato 7.4: cada región ocupa su espacio y conserva sus controles. */
:where(p, dd, blockquote) {
    --text-align-reading: start;
    box-sizing: border-box;
    inline-size: 100%;
    max-inline-size: 100%;
    min-inline-size: 0;
    text-align: var(--text-align-reading);
    text-align-last: start;
    white-space: normal;
    word-break: normal;
    overflow-wrap: break-word;
    hyphens: none;
    -webkit-hyphens: none;
}
:where(dd, blockquote) { margin-inline: 0; }
/* devbrain-prose-contract:end */
