/* CORPUS_DELIVRANCE_READING_WIDE_V2 — scoped editorial reader 2026-11-13.
   Preserve chapter navigation above the text on mobile and intermediate viewports.
   Prevent very wide lines by keeping the text measure at 78ch. */
html body.corpus-unified main#contenu:has(> .shell.book > article) {
  width:calc(100% - 2 * clamp(18px,3.8vw,62px)) !important;
  max-width:1180px !important;
}
body.corpus-unified main > .shell.book {
  width:100%;max-width:1120px;
  display:grid;
  grid-template-columns:minmax(155px,185px) minmax(0,1fr);
  gap:clamp(24px,3vw,42px);
  padding-left:clamp(10px,1.5vw,18px);
  padding-right:clamp(10px,1.5vw,18px);
  margin-inline:auto;
}
body.corpus-unified main > .shell.book > article {
  min-width:0;width:100%;max-width:min(100%,90ch);
}
@media (max-width:960px) {
  body.corpus-unified main > .shell.book {display:block !important}
  body.corpus-unified main > .shell.book > article {
    max-width:800px;margin-inline:auto;
  }
  body.corpus-unified main > .shell.book > .toc {
    position:static !important;
    border-right:0 !important;
    border-bottom:1px solid var(--line);
    padding:0 0 16px;margin:0 0 30px;
    display:flex;flex-wrap:wrap;gap:6px 15px;align-items:baseline;
  }
  body.corpus-unified main > .shell.book > .toc b {flex-basis:100%}
  body.corpus-unified main > .shell.book > .toc a {display:inline-block;padding:5px 0}
}
/* END CORPUS_DELIVRANCE_READING_WIDE_V2 */
