.document-preview-dialog{box-sizing:border-box;width:calc(100vw - 32px);max-width:1440px;height:calc(100dvh - 32px);max-height:calc(100dvh - 32px);padding:0;border:1px solid #b9d5e5;border-radius:16px;overflow:hidden;background:#07345d;color:#fff;box-shadow:0 24px 80px #001b3b66}
.document-preview-dialog::backdrop{background:#001a36aa}
.document-preview-dialog[open]{display:flex;flex-direction:column}
.document-preview-header{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:14px 20px;background:#082d50;flex-shrink:0}
.document-preview-header h2{margin:0;color:#fff;font-size:20px}
.document-preview-header button{min-height:44px;padding:10px 18px;border:1px solid #b9d5e5;border-radius:10px;background:#dff2fb;color:#123b59;font:inherit;font-weight:700;cursor:pointer}
.document-preview-header button:focus-visible{outline:3px solid #68bedb;outline-offset:3px}
#document-preview-frame{display:block;width:100%;flex:1;min-height:0;border:0;background:#07345d}
@media(max-width:650px){.document-preview-dialog{width:calc(100vw - 16px);height:calc(100dvh - 16px);max-height:calc(100dvh - 16px)}.document-preview-header{padding:10px 14px}.document-preview-header h2{font-size:18px}}
