.nddlp{--ink:#263c38;--accent:#385e51;--paper:#f9f6ee;--line:#d8d9ce;color:var(--ink);background:var(--paper);border:1px solid var(--line);border-radius:12px;overflow:hidden;width:100%;max-width:1440px;margin:24px auto;font:15px/1.5 system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;box-sizing:border-box;color-scheme:light}
.nddlp *{box-sizing:border-box}.nddlp-heading{padding:20px 24px;display:flex;align-items:center;justify-content:space-between;gap:16px}.nddlp-eyebrow{text-transform:uppercase;font-size:11px;letter-spacing:.15em;font-weight:700}.nddlp .nddlp-heading h2{font:normal clamp(22px,3vw,32px)/1.2 Georgia,serif;margin:5px 0 0!important;color:var(--ink)}.nddlp-total{font-size:12px;color:#53665f}
.nddlp-toolbar{display:flex;align-items:center;justify-content:center;gap:6px;flex-wrap:wrap;padding:12px 16px;border-block:1px solid var(--line);background:#eeeee5}
.nddlp button{appearance:none;min-width:42px;min-height:42px;margin:0;border:1px solid #b8c2b8;border-radius:6px;background:#fffdf7;color:var(--ink);font:600 16px/1.2 system-ui,sans-serif;padding:8px 11px;cursor:pointer;text-transform:none;letter-spacing:normal;box-shadow:none}.nddlp button:hover{background:#e0e9df}.nddlp button:disabled{opacity:.4;cursor:default}.nddlp :focus-visible{outline:3px solid #97622b;outline-offset:2px}.nddlp-jump{margin:0;display:flex;align-items:center;gap:6px;font-size:13px}.nddlp .nddlp-jump input{width:62px;min-height:42px;margin:0;padding:6px;border:1px solid #9aada0;border-radius:6px;background:white;color:#263c38;font:16px system-ui}.nddlp-jump button{font-size:13px}.nddlp-separator{height:26px;width:1px;background:#c9cec1;margin:0 6px}.nddlp-zoom{font-size:13px;white-space:nowrap}.nddlp [data-action=fullscreen]{font-size:15px}
.nddlp-viewport{height:min(clamp(360px,72vh,900px),var(--nddlp-stage-height,900px));overflow:auto;background:#d3d8ce;overscroll-behavior:contain;touch-action:pan-x pan-y pinch-zoom;position:relative}.nddlp-sheets{display:flex;justify-content:center;align-items:flex-start;gap:4px;width:max-content;min-width:100%;min-height:100%;padding:20px 24px}.nddlp-sheet{position:relative;flex:none;width:var(--nddlp-page-width,300px);aspect-ratio:623.52/868.8;background:#fffefb;box-shadow:0 3px 12px #20372c35}.nddlp-sheet img{display:block;width:100%;height:100%;max-width:none!important;max-height:none!important;object-fit:contain;user-select:none;-webkit-user-drag:none}.nddlp-sheet.is-loading:after{content:'Chargement…';position:absolute;inset:45% 0 auto;text-align:center;color:#53665f;font-size:14px}.nddlp-sheet.is-error{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:12px;text-align:center;padding:20px}.nddlp-sheet.is-error p{font:15px/1.5 system-ui;margin:0}.nddlp-footer{display:flex;justify-content:space-between;gap:10px;padding:11px 20px;font-size:12px;color:#465c51}.nddlp-status{font-weight:600}
.nddlp:fullscreen,.nddlp.is-fullscreen{width:100%;max-width:none;height:100dvh;margin:0;border:0;border-radius:0;display:flex;flex-direction:column;background:var(--paper)}.nddlp:fullscreen .nddlp-viewport,.nddlp.is-fullscreen .nddlp-viewport{height:auto;flex:1;min-height:0}.nddlp.is-fullscreen{position:fixed;inset:0;z-index:2147483647}.nddlp.is-single .nddlp-heading{padding:14px 16px}.nddlp.is-single .nddlp-total{display:none}.nddlp.is-single .nddlp-toolbar{padding:8px;gap:4px}.nddlp.is-single .nddlp-separator{display:none}.nddlp.is-single .nddlp-footer{padding:10px 12px}.nddlp.is-single .nddlp-footer>span:last-child{display:none}
@media(max-width:480px){.nddlp button{padding:8px;min-width:40px}.nddlp-jump{gap:4px}.nddlp-jump label{display:none}.nddlp [data-action=fullscreen] span{font-size:12px}.nddlp-viewport{height:min(65vh,var(--nddlp-stage-height,65vh));min-height:340px}}
@media print{.nddlp,.nddlp-unavailable{display:none!important}}

/* Keep the reader chrome separate from theme header/footer layout scripts. */
.nddlp>.nddlp-heading,.nddlp>.nddlp-toolbar,.nddlp>.nddlp-footer{flex:0 0 auto}
.nddlp:fullscreen>.nddlp-heading,.nddlp.is-fullscreen>.nddlp-heading{padding:12px 20px}
.nddlp:fullscreen .nddlp-heading h2,.nddlp.is-fullscreen .nddlp-heading h2{font-size:22px}

/* Best-effort copy deterrence limited to the pages; keep scrolling and zoom. */
.nddlp .nddlp-viewport,.nddlp .nddlp-sheets,.nddlp .nddlp-sheet{-webkit-touch-callout:none}
.nddlp .nddlp-sheet img{pointer-events:none;-webkit-touch-callout:none}
