.reader-page .tools-main{max-width:none;padding:0}.reader-page .tools-footer{margin-top:0}.reader-page .reader-guide{max-width:820px;margin:40px auto;padding:0 24px;font-size:14px;color:#536580}.reader-guide h2,.reader-guide h3{color:#20396d}.reader-page .reader-welcome{max-width:760px;margin:auto;text-align:center;padding:56px 24px 40px}.reader-kicker{font-size:11px;letter-spacing:2px;color:#436b85;font-weight:700}.reader-welcome h1{font-size:42px;margin:16px 0 6px;letter-spacing:-1px}.reader-welcome h2{font-size:22px;font-weight:500}.reader-welcome p{color:#536580}.reader-welcome .primary{margin-top:20px;min-height:56px}.reader-welcome svg{width:22px;height:22px;stroke:currentColor;fill:none;stroke-width:1.8}.reader-capacity,.reader-private{font-size:12px}.reader-page [hidden]{display:none!important}
#pdf-reader{--reader-blue:#20396d;--reader-edge:#d6dfec;color:var(--reader-blue)}#pdf-reader button,#pdf-reader input,#pdf-reader select{font:inherit}#pdf-reader button{cursor:pointer}#pdf-reader button:disabled{cursor:default;opacity:.4}#pdf-reader button:focus-visible,#pdf-reader input:focus-visible,#pdf-reader select:focus-visible{outline:3px solid #0088a1;outline-offset:2px}#pdf-reader svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round;flex:none}
.reader-workbench{height:calc(100dvh - var(--tools-header-height,66px));min-height:360px;display:flex;flex-direction:column;overflow:hidden;background:#edf1f6;border-top:1px solid var(--reader-edge)}.reader-toolbar{display:flex;align-items:center;flex-wrap:wrap;gap:6px 12px;padding:8px 14px;background:white;border-bottom:1px solid var(--reader-edge);flex:none;font-size:13px}.reader-group{display:flex;align-items:center;gap:4px;min-width:0}.reader-group+.reader-group{border-left:1px solid var(--reader-edge);padding-left:12px}.reader-toolbar button,.reader-search button,.reader-floating button,.reader-tabs>button:last-child,.reader-resume button{display:inline-flex;align-items:center;justify-content:center;min-width:40px;min-height:40px;border:1px solid transparent;border-radius:7px;background:transparent;color:var(--reader-blue);padding:8px}.reader-toolbar button:hover,.reader-search button:hover,.reader-floating button:hover{background:#edf4fa;border-color:#c5d7e8}.reader-toolbar [aria-pressed=true]{background:#d9eff5}.reader-filename{font-size:12px;max-width:150px;white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.reader-actions{margin-left:auto}.reader-toolbar input{width:56px;min-height:38px;border:1px solid #c5d2e5;background:#fff;border-radius:6px;padding:5px;color:#20396d}.reader-toolbar label{display:flex;align-items:center;gap:4px}.reader-zoom #viewer-scale{width:60px}.reader-page-total{font-size:12px;white-space:nowrap}.reader-search{display:flex;flex-wrap:wrap;gap:6px;align-items:center;padding:8px 16px;background:#f8fbfd;border-bottom:1px solid var(--reader-edge);font-size:12px}.reader-search input{min-width:100px;flex:1;max-width:360px;min-height:40px;border:1px solid #b7cae1;border-radius:6px;padding:8px}.reader-search-count{min-width:70px}.reader-resume{display:flex;align-items:center;justify-content:center;background:#e3f1f5;font-size:12px;border-bottom:1px solid #bed9df}.reader-resume button{font-weight:600}.reader-body{display:flex;min-height:0;flex:1;position:relative}.reader-document{flex:1;min-width:0;position:relative}.reader-viewport{position:absolute;inset:0;overflow:auto;overscroll-behavior:contain;touch-action:pan-x pan-y;scrollbar-gutter:stable;outline:none}.reader-page .pdfViewer{--scale-factor:1;--page-bg-color:white;--page-border:9px solid transparent;--spreadHorizontalWrapped-margin-LR:3px;padding:16px 0;min-height:100%}.reader-page .pdfViewer .page{box-shadow:0 2px 10px #20396d21}.reader-page .pdfViewer .textLayer{touch-action:pan-x pan-y}.reader-page .pdfViewer .annotationLayer .linkAnnotation>a{cursor:pointer}.reader-page .pdfViewer .page[data-bookmarked=true]:after{content:'◆';position:absolute;top:12px;right:-17px;color:#00859e;font-size:20px;pointer-events:none}.reader-statusbar{display:flex;justify-content:space-between;gap:8px;padding:5px 16px;font-size:11px;background:#f8fafc;border-top:1px solid var(--reader-edge);flex:none}.reader-message{margin:0;padding:8px 16px;background:#edf6fa;color:#244e73;font-size:13px}.reader-message:empty{display:none}.reader-sidebar{width:258px;flex:none;background:#f8fafc;border-right:1px solid var(--reader-edge);display:flex;flex-direction:column;min-height:0}.reader-tabs{display:flex;gap:2px;padding:6px;border-bottom:1px solid var(--reader-edge);flex:none;align-items:center}.reader-tabs button{font-size:12px;padding:8px 6px;background:none;border:0;color:#466184;min-height:40px;border-radius:4px}.reader-tabs button[aria-selected=true]{background:#dfeaf7;color:#173d6b;font-weight:700}.reader-thumbnails,.reader-outline,.reader-bookmarks{overflow:auto;min-height:0;padding:12px;flex:1}.reader-thumbnail{display:block;width:100%;padding:12px;background:#fff;border:1px solid #d1dbea;border-radius:6px;margin-bottom:12px;color:#536580;text-align:center;min-height:125px}.reader-thumbnail[aria-current=page]{border:2px solid #00859e;background:#e4f1f6}.reader-thumbnail canvas{display:block;max-width:100%;margin:auto;background:white;pointer-events:none}.reader-thumbnail span{display:block;margin-top:6px;font-size:12px}.reader-outline button,.reader-bookmarks button{border:0;background:none;color:#244c80;text-align:left;padding:9px 7px;min-height:40px;font-size:13px;overflow-wrap:anywhere}.reader-outline ul{list-style:none;padding-left:12px;margin:0}.reader-outline>ul{padding-left:0}.reader-bookmark{padding:8px 0;border-bottom:1px solid #dde5ef;display:flex;align-items:center;flex-wrap:wrap;gap:2px}.reader-bookmark>button:first-child{flex:1;min-width:100px}.reader-bookmark svg{width:17px!important;height:17px!important}.reader-bookmarks p,.reader-outline p{font-size:13px;line-height:1.6}.reader-floating{position:absolute;right:14px;top:12px;z-index:4;display:flex;gap:6px}.reader-floating button{border:1px solid #c5d2e5;background:white;box-shadow:0 2px 8px #20396d16}
.reader-dialog{border:1px solid #c6d4e5;border-radius:14px;padding:24px;width:min(420px,calc(100vw - 32px));max-height:85dvh;overflow:auto;color:#20396d;background:#fff}.reader-dialog::backdrop{background:#152c4f80}.reader-dialog h2{font-size:20px;margin:0 42px 18px 0}.reader-dialog-close{position:absolute;right:10px;top:10px;border:1px solid #c6d4e5;border-radius:7px;display:grid;place-items:center;width:40px;height:40px;background:white;color:#20396d}.reader-dialog-content label{font-size:13px;display:block;margin:14px 0 6px}.reader-dialog-content input,.reader-dialog-content select{width:100%;padding:10px;border:1px solid #becde1;border-radius:6px;background:white;color:#20396d;min-height:44px}.reader-dialog-content p{font-size:13px;line-height:1.7}.reader-dialog-buttons{display:flex;gap:8px;margin-top:20px;justify-content:flex-end}.reader-dialog-buttons button{border:1px solid #c5d2e5;border-radius:7px;padding:10px 16px;min-height:44px;background:white;color:#20396d}.reader-dialog-buttons button:last-child{background:#20396d;color:white}.reader-menu-actions{display:grid;gap:3px}.reader-menu-actions button,.reader-context [role=menuitem]{display:flex;gap:12px;align-items:center;text-align:left;border:0;border-radius:6px;padding:11px;background:white;color:#20396d;font-size:14px;min-height:44px}.reader-menu-actions button:hover,.reader-context [role=menuitem]:hover{background:#edf4fa}.reader-context{position:fixed;z-index:10000;background:white;border:1px solid #bacde2;border-radius:10px;box-shadow:0 10px 35px #17365630;min-width:235px;max-width:calc(100vw - 24px);max-height:75dvh;overflow:auto;padding:8px}.reader-context>header{display:flex;align-items:center;justify-content:space-between;font-size:12px;color:#60718a;padding:0 4px 4px}.reader-context>header button{background:white;border:0;min-width:40px;min-height:40px;color:#20396d}.reader-context [role=menuitem]{width:100%}.reader-page.reader-focus{overflow:hidden}.reader-focus #pdf-reader,.reader-page #pdf-reader:fullscreen{position:fixed;inset:0;background:#edf1f6;z-index:1000;display:flex;flex-direction:column}.reader-focus .reader-workbench,#pdf-reader:fullscreen .reader-workbench{height:auto;flex:1;min-height:0;border:0}.reader-focus .reader-guide,.reader-focus .tools-header,.reader-focus .tools-footer{visibility:hidden}.reader-focus .reader-banner-slot,#pdf-reader:fullscreen .reader-banner-slot{display:none!important}.reader-banner-slot[hidden]{height:0;margin:0;padding:0}.reader-welcome.is-dragging{outline:3px dashed #00859e;background:#e6f4f8}
@media(max-width:1100px){.reader-filename{max-width:90px}.reader-toolbar{gap:5px;padding:6px}.reader-group+.reader-group{padding-left:5px}.reader-toolbar button{min-width:38px;padding:7px}.reader-actions{margin-left:0}}
@media(max-width:760px){.reader-page .tools-header{position:relative}.reader-welcome h1{font-size:34px}.reader-welcome h2{font-size:20px}.reader-workbench{min-height:320px}.reader-toolbar{justify-content:space-between;gap:4px}.reader-filename{display:none}.reader-group+.reader-group{border:0;padding-left:0}.reader-toolbar button{min-height:44px;min-width:42px}.reader-group{gap:1px}.reader-zoom{order:3}.reader-actions{order:4}.reader-actions button[data-v-action=download]{display:none}.reader-toolbar .reader-zoom button[data-v-action=fit]{display:none}.reader-toolbar input{min-height:40px}.reader-sidebar{position:absolute;inset:0 auto 0 0;z-index:8;width:min(280px,88vw);box-shadow:8px 0 24px #17365625}.reader-statusbar{padding:5px 8px;font-size:10px}.reader-statusbar>span:last-child{display:none}.reader-search{padding:5px 8px;gap:2px}.reader-search input{max-width:none}.reader-search-count{min-width:0}.reader-floating{top:max(8px,env(safe-area-inset-top));right:max(8px,env(safe-area-inset-right))}.reader-dialog{padding:22px 18px}.reader-context{left:12px!important;right:12px;width:auto;max-width:none}.reader-page .pdfViewer{padding:10px 0}.reader-toolbar .reader-actions{flex:1;justify-content:flex-end}.reader-toolbar .reader-zoom{flex:1}.reader-page .tools-header>nav{display:none}}
@media(max-width:360px){.reader-toolbar button{min-width:38px}.reader-zoom #viewer-scale{width:50px}.reader-toolbar .reader-zoom button[data-v-action=width]{display:none}}
@media(prefers-reduced-motion:reduce){#pdf-reader *{scroll-behavior:auto}}
.reader-toolbar .reader-group{flex-shrink:0}
.reader-tabs{display:grid;grid-template-columns:repeat(3,minmax(0,1fr)) 36px;gap:1px;padding:4px}
.reader-tabs button{min-width:0;padding:8px 2px;font-size:11px}
.reader-tabs>button:last-child{min-width:36px;padding:8px}
@media(max-width:760px){
 .reader-toolbar{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:4px 8px;padding:6px}
 .reader-toolbar .reader-group{min-width:max-content}
 .reader-toolbar .reader-navigation{justify-self:end}
 .reader-toolbar .reader-zoom{order:0}
 .reader-toolbar .reader-actions{order:0;justify-self:end}
 .reader-toolbar .reader-zoom button[data-v-action=width],.reader-toolbar .reader-actions button[data-v-action=bookmark],.reader-toolbar .reader-actions button[data-v-action=fullscreen]{display:none}
}
@media(max-width:760px){
 .reader-workbench .reader-toolbar{order:2;border-top:1px solid var(--reader-edge);border-bottom:0;padding-bottom:max(6px,env(safe-area-inset-bottom))}
 .reader-workbench .reader-statusbar{order:3}
}
.reader-workbench>.reader-message{order:-1;flex:none;border-bottom:1px solid var(--reader-edge)}
.reader-mobile-filename{display:none;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:65%}
/* An open document owns the viewport; only document/panel surfaces scroll. */
html.reader-document-open,body.reader-loaded{height:100%;overflow:hidden;overscroll-behavior:none}
.reader-loaded>.tools-header,.reader-loaded>.tools-footer,.reader-loaded>.skip-link,.reader-loaded .reader-guide{display:none!important}
.reader-loaded #pdf-reader{position:fixed;inset:0;z-index:1000;height:100dvh;display:flex;flex-direction:column;background:#edf1f6;overflow:hidden}
.reader-loaded .reader-workbench{height:auto;min-height:0;flex:1;border:0}
.reader-document-header{display:flex;align-items:center;gap:10px;order:-3;flex:none;min-height:56px;padding:6px max(12px,env(safe-area-inset-right)) 6px max(8px,env(safe-area-inset-left));padding-top:max(6px,env(safe-area-inset-top));background:#fff;border-bottom:1px solid var(--reader-edge)}
.reader-document-header button,.reader-message button{display:inline-flex;align-items:center;justify-content:center;flex:none;width:44px;height:44px;padding:10px;border:1px solid transparent;border-radius:8px;color:var(--reader-blue);background:transparent}
.reader-document-header button:hover,.reader-message button:hover{background:#edf4fa}
.reader-document-header .reader-filename{display:block;flex:1;min-width:0;max-width:none;font-size:14px;font-weight:600}
.reader-focus .reader-document-header,#pdf-reader:fullscreen .reader-document-header{display:none}
.reader-message{display:flex;align-items:flex-start;gap:8px;padding:8px 12px;max-height:30dvh;overflow:auto;flex:none}
.reader-message>span{flex:1;min-width:0;align-self:center;overflow-wrap:anywhere}
.reader-message button{width:40px;height:40px}
.reader-menu-actions a{display:flex;gap:12px;align-items:center;text-decoration:none;border-radius:6px;padding:11px;color:#20396d;font-size:14px;min-height:44px}
.reader-menu-actions a:hover{background:#edf4fa}
#pdf-reader #viewer-page,#pdf-reader #viewer-scale{text-align:center;min-width:0;font-variant-numeric:tabular-nums;appearance:textfield}
#pdf-reader input::-webkit-inner-spin-button,#pdf-reader input::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}
@media(max-width:760px){
 .reader-loaded .reader-statusbar{display:none}
 .reader-document-header{min-height:52px;padding-bottom:4px;padding-top:max(4px,env(safe-area-inset-top))}
 .reader-workbench .reader-toolbar{display:grid;grid-template-columns:repeat(10,minmax(0,1fr));gap:4px 0;padding:4px max(4px,env(safe-area-inset-right)) max(4px,env(safe-area-inset-bottom)) max(4px,env(safe-area-inset-left));font-size:12px}
 .reader-toolbar .reader-file-actions,.reader-toolbar .reader-actions{display:contents}
 .reader-toolbar button{height:44px;min-height:44px;min-width:0;width:44px;padding:10px;justify-self:center;align-self:center}
 .reader-file-actions [data-v-action=panel]{grid-area:1/1/2/3}
 .reader-file-actions [data-v-action=open]{grid-area:1/3/2/5}
 .reader-actions [data-v-action=search]{grid-area:1/5/2/7}
 .reader-actions [data-v-action=more]{grid-area:1/7/2/9}
 .reader-actions [data-v-action=hide]{grid-area:1/9/2/11}
 .reader-actions [data-v-action=hide] svg{transform:rotate(180deg)}
 .reader-toolbar .reader-navigation,.reader-toolbar .reader-zoom{min-width:0;width:100%;gap:2px;justify-content:center;border-top:1px solid #e8edf4;padding-top:4px}
 .reader-toolbar .reader-navigation{grid-area:2/1/3/6;justify-self:stretch}
 .reader-toolbar .reader-zoom{grid-area:2/6/3/11;border-left:1px solid #e8edf4}
 .reader-navigation button,.reader-zoom button{width:36px;padding:7px}
 #pdf-reader #viewer-page{width:42px;min-height:40px;padding:4px;font-size:13px}
 #pdf-reader #viewer-scale{width:44px;min-height:40px;padding:4px;font-size:13px}
 .reader-toolbar label{gap:2px}
 .reader-page-total{font-size:11px}
}

/* Exit confirmation follows the centered editor/sign confirmation layout. */
.reader-dialog.reader-confirm-centered{text-align:center}
.reader-confirm-centered h2{margin:44px 0 18px;text-align:center}
.reader-confirm-centered .reader-dialog-buttons{justify-content:center}
.reader-confirm-centered .reader-dialog-close{width:44px;height:44px;right:12px;top:12px}
@media(max-width:540px){.reader-confirm-centered .reader-dialog-buttons{flex-direction:column;align-items:stretch}.reader-confirm-centered .reader-dialog-buttons button{width:100%}}
