/* Site fidèle aux 22 planches originales du PDF. Aucune mise en page reconstituée. */
*{box-sizing:border-box}
html{background:#ededed;scroll-behavior:auto}
body{margin:0;background:#ededed;color:#111;font-family:Arial,Helvetica,sans-serif}
.document{margin:0 auto;padding:12px 12px 20px;max-width:1464px}
.pdf-page{margin:0 0 12px;padding:0;background:#fff;aspect-ratio:4961 / 3508;overflow:hidden}
.page-open{all:unset;display:block;width:100%;height:100%;cursor:zoom-in;position:relative}
.page-open:focus-visible{outline:3px solid #1765ef;outline-offset:3px}
.page-open img{display:block;width:100%;height:auto;aspect-ratio:4961 / 3508;object-fit:contain}
.viewer{position:fixed;inset:0;width:100%;height:100%;height:100dvh;max-width:none;max-height:none;margin:0;padding:0;border:0;background:#ededed;color:#171717;overscroll-behavior:contain}
.viewer::backdrop{background:rgba(0,0,0,.55)}
.viewer[open]{display:flex;flex-direction:column}
.viewer-toolbar{flex:none;min-height:52px;padding:4px max(10px,env(safe-area-inset-right)) 4px max(10px,env(safe-area-inset-left));display:flex;align-items:center;gap:3px;background:#fff;border-bottom:1px solid #dcdcdc}
.tool{display:inline-flex;align-items:center;justify-content:center;border:none;background:transparent;color:#111;font:600 12px/1 Arial,Helvetica,sans-serif;cursor:pointer;border-radius:0;min-width:41px;min-height:41px;padding:7px 9px}
.tool:hover{background:#eee}.tool:focus-visible{outline:2px solid #1765ef;outline-offset:-2px}.tool:disabled{opacity:.25;cursor:default}
.tool svg{width:19px;height:19px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
.tool-fit{font-size:10px;letter-spacing:.05em}
.viewer-counter{white-space:nowrap;text-align:center;min-width:55px;font-size:12px;font-variant-numeric:tabular-nums}
.toolbar-spacer{flex:1}
.viewer-scroll{flex:1;min-height:0;width:100%;overflow:auto;padding:12px 0;scrollbar-gutter:stable;overscroll-behavior:contain}
.viewer-scroll img{display:block;height:auto;max-width:none;margin:0 auto;background:white;user-select:none;-webkit-user-select:none}
body.is-viewing{overflow:hidden}
@media(max-width:700px){
  .document{padding:4px 4px 8px}
  .pdf-page{margin-bottom:4px}
  .viewer-toolbar{min-height:50px}
  .viewer-scroll{padding:4px 0}
  .tool{min-width:36px;padding:5px;min-height:39px}
  .viewer-counter{min-width:49px}
}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}}
