/* In-app A4 document viewer — stays in the WorkOps shell */
#docViewer{position:fixed;inset:0;z-index:12000;display:flex;flex-direction:column;min-height:0;height:100dvh;background:#0a1020;overscroll-behavior:contain}
#docViewer[hidden]{display:none!important}
.doc-viewer-bar{flex:0 0 auto;display:flex;align-items:center;gap:12px;padding:10px 14px;padding-top:max(10px,env(safe-area-inset-top));border-bottom:1px solid #26334f;background:#111b31}
.doc-viewer-bar b{color:#e8eef8;font-size:14px;letter-spacing:-.02em}
.doc-viewer-bar .secondary{height:38px;padding:0 14px}
#docViewerFrame{display:block;flex:1 1 0;min-height:0;height:0;width:100%;border:0;background:#f4f6fa;overscroll-behavior:contain}
body.doc-viewer-open{overflow:hidden}
/* Keep the paused wizard painted under #docViewer (z-index 12000).
   visibility:hidden caused a flash of the certificates list when Edit/Done hid the viewer before the modal was unpaused. */
#modal.workops-preview-paused{pointer-events:none!important}