/* A constrained modal lets the PDF reader own scrolling and zoom. */
body.dc-theme dialog.dc-pdf-dialog{box-sizing:border-box;position:fixed;inset:0;margin:auto;width:min(1200px,96vw);max-width:96vw;height:min(94dvh,1100px);max-height:94dvh;padding:0;border:1px solid #cbdde8;border-radius:16px;overflow:hidden;box-shadow:0 20px 90px #08283d55;color:#173d50;background:#fff}
body.dc-theme dialog.dc-pdf-dialog[open]{display:flex;flex-direction:column;gap:0}body.dc-theme .dc-pdf-dialog::backdrop{background:#08283dc9}body.dc-theme .dc-pdf-dialog>header{display:flex;align-items:center;justify-content:space-between;gap:16px;flex:0 0 auto;padding:12px 17px;border-bottom:1px solid #d7e5ed;background:#fff;min-width:0}body.dc-theme .dc-pdf-dialog>header>div{min-width:0;flex:1}body.dc-theme .dc-pdf-dialog>header small{display:block;font:600 10px/1.4 var(--dc-body,Arial,sans-serif);letter-spacing:.1em;color:#0b70b0}body.dc-theme .dc-pdf-dialog h2{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden;overflow-wrap:anywhere;font:600 16px/1.4 var(--dc-heading,Arial,sans-serif);margin:3px 0 0}body.dc-theme .dc-pdf-dialog>header button{display:grid;place-items:center;flex:0 0 42px;width:42px;height:42px;min-height:42px;border:1px solid #c9dfe9;border-radius:11px;padding:9px;box-shadow:none;background:#edf6fb;color:#173d50}body.dc-theme .dc-pdf-dialog>header button:hover{background:#fff0f2;border-color:#e9b8c2;color:#b72036}body.dc-theme .dc-pdf-dialog>iframe{display:block;box-sizing:border-box;flex:1 1 0;width:100%;max-width:100%;min-width:0;min-height:0;height:100%;border:0;background:#e7eef3}
body.dc-theme .dc-pdf-dialog>footer{display:flex;align-items:center;flex-wrap:wrap;gap:9px 15px;flex:0 0 auto;padding:10px 16px;border-top:1px solid #d7e5ed;background:#fff;font:400 13px/1.5 var(--dc-body,Arial,sans-serif);min-width:0}body.dc-theme .dc-pdf-dialog>footer p{flex:1 1 180px;margin:0;color:#4a697b;font-size:12px;line-height:1.5}body.dc-theme .dc-pdf-dialog>footer>a,body.dc-theme .dc-pdf-dialog>footer>button{display:inline-flex;align-items:center;justify-content:center;gap:7px;min-height:38px;padding:7px 11px;border:1px solid #c9dfe9;border-radius:8px;text-decoration:none;background:#f7fbfd;color:#0b6091;font:600 13px/1.4 var(--dc-body,Arial,sans-serif);white-space:normal;margin:0}body.dc-theme .dc-pdf-dialog>footer>a:hover,body.dc-theme .dc-pdf-dialog>footer>button:hover{background:#fff0f2;border-color:#e9b8c2;color:#b72036}body.dc-theme .dc-pdf-dialog>footer [data-dc-reader-expand]{background:#0b70b0;border-color:#0b70b0;color:#fff}body.dc-theme .dc-pdf-dialog>footer [data-dc-reader-expand]:hover{background:#095986;color:#fff}body.dc-theme dialog.dc-pdf-dialog.dc-reader-expanded{inset:0;width:100vw;max-width:100vw;height:100dvh;max-height:100dvh;border:0;border-radius:0}body.dc-theme .dc-pdf-dialog [data-dc-reader-error]{flex-basis:100%;color:#9b2635;background:#fff0f2;padding:8px 10px;border-radius:7px}
.dc-pdf-preview{display:inline-flex;align-items:center;gap:8px;min-height:40px;padding:9px 14px;border:1px solid #bdd7e7;border-radius:9px;background:#eef7fc;color:#0b6091;font-size:14px;font-weight:600;line-height:1.4}.dc-pdf-preview svg{width:19px;height:19px}.dc-document-actions{display:inline-flex;flex-wrap:wrap;gap:8px}
@media(max-width:700px){body.dc-theme dialog.dc-pdf-dialog{width:100vw;max-width:100vw;height:100dvh;max-height:100dvh;border:0;border-radius:0;margin:0;padding-top:env(safe-area-inset-top,0px);padding-bottom:env(safe-area-inset-bottom,0px)}body.dc-theme .dc-pdf-dialog>header{padding:9px 12px;gap:12px}body.dc-theme .dc-pdf-dialog h2{font-size:14px;line-height:1.4}body.dc-theme .dc-pdf-dialog>header small{font-size:9px}body.dc-theme .dc-pdf-dialog>footer{padding:8px 10px;gap:7px;justify-content:space-between}body.dc-theme .dc-pdf-dialog>footer p{flex-basis:100%;font-size:11px}body.dc-theme .dc-pdf-dialog>footer>a,body.dc-theme .dc-pdf-dialog>footer>button{font-size:12px;padding:8px;min-height:40px}body.dc-theme .dc-pdf-dialog>footer [data-dc-reader-expand]{display:none}}

body.dc-reader-open{overflow:hidden}
