/* Dedicated reader: the document, rather than the website chrome, fills the viewport. */
.document-reader #vwg-shell{height:100vh;height:100dvh;min-height:0;display:flex;flex-direction:column;overflow:hidden}
.document-reader .site-header,.document-reader .site-footer{display:none}
.document-reader #main-content{max-width:none;width:100%;margin:0;padding:0;flex:1;min-height:0;display:flex;flex-direction:column}
.document-bar{display:flex;align-items:center;justify-content:space-between;gap:8px 16px;padding:8px 12px;border-bottom:1px solid #cfd9c7;background:#fff;flex:none}
.document-heading{min-width:0;flex:1}
.document-heading h1{font-size:18px;line-height:1.2;margin:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.document-heading p{font-size:12px;line-height:1.3;margin:2px 0 0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;color:#55634c}
.document-actions{display:flex;gap:12px;align-items:center;flex-wrap:wrap;font-size:14px;line-height:1.3;flex:none}
.document-actions a{white-space:nowrap}
.document-help{position:relative}
.document-help summary{cursor:pointer;color:#255d80;text-decoration:underline}
.document-help p{position:absolute;right:0;z-index:10;width:min(280px,80vw);padding:12px;background:#fff;border:1px solid #cfd9c7;box-shadow:0 3px 12px #0002;margin:8px 0 0}
.document-page{flex:1;min-width:0;min-height:0;display:flex;flex-direction:column;overflow:auto;padding:0 4px 4px}
.document-pdf-controls{display:flex;align-items:center;justify-content:center;gap:8px;padding:4px;min-height:34px;flex:none;font-size:13px;box-sizing:border-box}
.document-pdf-controls button,.document-pdf-controls select{font:inherit;line-height:1.2;min-height:30px;width:auto;padding:3px 9px;margin:0}
.document-pdf-controls button{min-width:32px;font-size:20px}
.document-pdf-controls label{margin:0}
.document-pdf-controls output{min-width:85px;text-align:center}
.document-pdf-controls [role=status]{font-size:12px}
.document-pdf{flex:1;min-height:0;min-width:0;overflow:auto;overscroll-behavior:contain;background:#e4e7e1;position:relative}
.document-sheet{position:relative;margin:8px auto;background:white;box-shadow:0 1px 4px #0003;flex:none}
.document-canvas{display:block}
.document-image{max-width:100%;height:auto;object-fit:contain;min-height:0}
.document-text{white-space:pre-wrap;overflow-wrap:anywhere;padding:12px}
.document-page>.member-manual-content{padding:16px;max-width:100%;overflow-wrap:anywhere}
.document-page>p{padding:12px}
.document-sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
@media(max-width:640px){.document-bar{flex-wrap:wrap;padding:6px 8px;gap:5px}.document-heading{flex-basis:100%}.document-heading h1{font-size:15px}.document-heading p{display:none}.document-actions{font-size:13px;gap:12px}.document-page{padding:0}.document-pdf-controls{gap:5px}.document-pdf-controls [role=status]{max-width:100px}.document-page>.member-manual-content{padding:10px}}

.document-stage{position:relative;flex:1;min-height:0;min-width:0}.document-stage>.document-pdf{position:absolute;inset:0}.document-pdf .pdfViewer{padding:0}.document-pdf .pdfViewer .page{margin:8px auto;border:0;box-shadow:0 1px 4px #0003}
