.document-reader-dialog{position:fixed;inset:0;width:100%;max-width:none;height:100vh;height:100dvh;max-height:none;margin:0;padding:0;border:0;background:#f1f3f7;color:#172b45;overflow:hidden;box-sizing:border-box}.document-reader-dialog::backdrop{background:#172b45}.document-reader{position:fixed;inset:0;z-index:10000;display:flex;flex-direction:column;width:100%;height:100vh;height:100dvh;min-width:0;overflow:hidden;background:#f1f3f7;color:#172b45;font-family:inherit;box-sizing:border-box}.document-reader-toolbar{flex:none;display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:8px;padding:calc(8px + env(safe-area-inset-top)) max(8px,env(safe-area-inset-right)) 8px max(8px,env(safe-area-inset-left));background:#fafbfd;border-bottom:1px solid #dce3ec;box-shadow:0 1px 8px #172b4510;z-index:1}.document-reader-toolbar h2{overflow:hidden;white-space:nowrap;text-overflow:ellipsis;margin:0;text-align:center;font-size:14px;font-weight:600;color:inherit;line-height:1.3;min-width:0}.document-reader button{font:inherit;cursor:pointer;touch-action:manipulation;border:0;margin:0;min-height:44px;border-radius:12px;padding:8px 10px;white-space:nowrap;font-size:14px;font-weight:600;line-height:1.2}.document-reader a:focus-visible,.document-reader button:focus-visible{outline:3px solid #4189db;outline-offset:-2px}.document-reader button:disabled{opacity:.5;cursor:default}.document-reader-close{background:#e9eef5;color:#204568}.document-reader-download{background:#0b66cf;color:#fff}.document-reader-tools{display:flex;flex:none;align-items:center;min-width:0;gap:8px;padding:4px max(12px,env(safe-area-inset-right)) 4px max(12px,env(safe-area-inset-left));background:#fafbfd}.document-reader-filename{flex:1 1;min-width:0;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;font-size:12px}.document-reader-zoom{display:flex;flex:none;align-items:center;gap:2px}.document-reader-zoom button{padding:4px 8px;min-width:34px;background:transparent;color:inherit}.document-reader-viewport{flex:1 1;min-height:0;min-width:0;overflow:auto;overscroll-behavior:contain;-webkit-overflow-scrolling:touch;touch-action:pan-x pan-y;padding:12px;box-sizing:border-box}.document-reader-pages{min-width:100%;margin-inline:auto;display:flex;flex-direction:column;align-items:center;gap:16px}.document-reader-page{flex:none;position:relative;background:#fff;box-shadow:0 2px 10px #172b4520;color:#172b45;overflow:hidden}.document-reader-page canvas{display:block;width:100%;height:100%}.document-reader-page p{position:absolute;top:20px;left:16px;right:16px;padding:16px;background:#fff}.document-page-number{position:absolute;right:8px;bottom:8px;font-size:11px;background:#e9eef5;color:#172b45;padding:2px 7px;border-radius:20px}.document-page-loading{position:absolute;top:24px;left:24px;font-size:14px}.document-reader-image{min-width:100%;margin-inline:auto;text-align:center}.document-reader-image img{display:block;max-width:none;height:auto;margin-inline:auto;background:#fff}.document-reader-fallback{margin:28px auto;max-width:520px;font-size:15px;line-height:1.5;overflow-wrap:anywhere}.document-reader-status{display:flex;flex:none;flex-wrap:wrap;align-items:center;justify-content:center;gap:4px 12px;background:#fafbfd;border-top:1px solid #dce3ec;font-size:12px;line-height:1.4;padding:8px max(12px,env(safe-area-inset-right)) calc(8px + env(safe-area-inset-bottom)) max(12px,env(safe-area-inset-left));text-align:center}.document-reader-status a{color:#075cbe;text-decoration:underline;padding:4px}html[data-a2-resolved-theme=dark] .document-reader,html[data-a2-resolved-theme=dark] .document-reader-dialog{background:#182333;color:#eaf1fb}html[data-a2-resolved-theme=dark] .document-reader-status,html[data-a2-resolved-theme=dark] .document-reader-toolbar,html[data-a2-resolved-theme=dark] .document-reader-tools{background:#233247;border-color:#3e4e66}html[data-a2-resolved-theme=dark] .document-reader-close{background:#344961;color:#f2f6fc}html[data-a2-resolved-theme=dark] .document-reader-status a{color:#9dc8ff}@media (min-width:900px){.document-reader-toolbar h2{font-size:16px}.document-reader-pages{max-width:1100px}}