/* Shared reading layout for every chapter. */
#chapitre,.chapter-page{background:#c4c9aa;color:#253027}
#chapitre .reading{max-width:840px}
#chapitre>.reading>p{color:#34432e}
#chapitre>.reading>.eyebrow{color:#46523b}
#chapitre>.reading>h2{color:#253027}
.chapter-page main.section{padding:48px 24px 72px}
.chapter-page header{color:#253027}
#chapitre .chapter-sample,.chapter-page .reader{box-sizing:border-box;width:100%;max-width:840px;margin:36px auto;padding:40px;background:#faf9f3;color:#253027;border:1px solid #aab192;border-radius:12px;box-shadow:0 12px 32px #3d482017;text-align:left;text-shadow:none}
#chapitre .chapter-text,.chapter-page .reader .chapter-text{font:normal 1.22rem/1.7 Georgia,serif;text-shadow:none;color:#253027}
#chapitre .chapter-text p,.chapter-page .reader .chapter-text p{max-width:none;margin:0 0 .8em;color:#253027}
#chapitre .chapter-sample>.eyebrow,.chapter-page .reader>.eyebrow{font:600 .78rem/1.5 system-ui,sans-serif;letter-spacing:.16em;color:#546044}
#chapitre .chapter-sample>h3,.chapter-page .reader>h1{font:normal 2.2rem/1.2 Georgia,serif;letter-spacing:-.02em;margin:24px 0;color:#253027}
#chapitre .chapter-sample>p.small,.chapter-page .chapter-text h2{font:normal 1.15rem/1.5 Georgia,serif;letter-spacing:0;color:#46523b;margin:24px 0;text-align:left}
.chapter-nav{position:static;display:flex;justify-content:space-between;align-items:center;gap:12px;flex-wrap:wrap;background:transparent;padding:20px 0;margin:12px 0 28px;border:0;border-bottom:1px solid #d5d8c9}
.chapter-nav .button{font:600 .95rem/1.4 system-ui,sans-serif;text-shadow:none;background:#4d5b3e;border-color:#4d5b3e;color:#fff}
.chapter-nav .button.secondary{background:transparent;color:#35422e;border-color:#7f8b6b}
#chapitre .actions .button{background:#4d5b3e!important;border-color:#4d5b3e!important;color:#fff!important}
@media(max-width:600px){#chapitre .chapter-sample,.chapter-page .reader{padding:24px 20px;margin:24px auto}.chapter-page main.section{padding:24px 14px 48px}#chapitre{padding-left:14px;padding-right:14px}#chapitre .chapter-text,.chapter-page .reader .chapter-text{font-size:1.12rem;line-height:1.7}.chapter-nav{gap:8px}.chapter-nav .button{font-size:.82rem;padding:11px 13px}}

.chapter-feedback{margin:40px 0 24px;padding:28px;background:#e8ebdc;border:1px solid #c3cbae;border-radius:12px;font:normal 1rem/1.6 system-ui,sans-serif;text-shadow:none}.chapter-feedback h2,#chapitre .chapter-feedback h2{font:normal 1.6rem/1.25 Georgia,serif;letter-spacing:0;margin:0 0 12px;color:#253027}.chapter-feedback p,#chapitre .chapter-feedback p{max-width:none;color:#34432e;margin:0 0 18px}.chapter-feedback .button{background:#4d5b3e;color:#fff;border-color:#4d5b3e}.chapter-feedback p.feedback-note,#chapitre .chapter-feedback p.feedback-note{font-size:.82rem;margin:14px 0 0;color:#46523b}@media(max-width:600px){.chapter-feedback{padding:22px 18px}}

.print-action{display:flex;justify-content:flex-end;margin:12px 0}.print-action .button{background:transparent;border:1px solid #7f8b6b;color:#35422e;font:600 .9rem/1.4 system-ui,sans-serif;text-shadow:none;padding:10px 18px;cursor:pointer}
@media print{ @page{size:auto;margin:18mm}html,body{background:white!important;color:#111!important;margin:0!important;padding:0!important}body>nav,body>header,body>footer,body>#toast{display:none!important}body>main{display:block!important;margin:0!important;padding:0!important}body>main>section:not(#chapitre){display:none!important}#chapitre{background:white!important;color:#111!important;padding:0!important;margin:0!important}#chapitre .reading{max-width:none!important}#chapitre .reading>*:not(.chapter-sample){display:none!important}#chapitre .chapter-sample,.chapter-page .reader{display:block!important;max-width:none!important;width:auto!important;padding:0!important;margin:0!important;border:0!important;border-radius:0!important;box-shadow:none!important;background:white!important;color:#111!important}.chapter-page main.section{padding:0!important;margin:0!important}.chapter-nav,.chapter-feedback,.print-action,.reader>p{display:none!important}#chapitre .chapter-text,.chapter-page .reader .chapter-text{font:11.5pt/1.5 Georgia,serif!important;color:#111!important}#chapitre .chapter-text p,.chapter-page .reader .chapter-text p{color:#111!important;orphans:3;widows:3;margin:0 0 .6em!important}h1,h2,h3{break-after:avoid}audio{display:none!important}}

#chapitre .chapter-sample,.chapter-page .reader{position:relative}.print-action{position:absolute;top:32px;right:40px;margin:0}#chapitre .chapter-sample>.eyebrow,.chapter-page .reader>.eyebrow{padding-right:210px;min-height:28px}@media(max-width:600px){.print-action{position:static;margin:0 0 20px}#chapitre .chapter-sample>.eyebrow,.chapter-page .reader>.eyebrow{padding-right:0;min-height:0}}
