.document-media-viewer{box-sizing:border-box;width:min(94vw,1100px);max-height:92vh;max-height:92dvh;padding:14px;border:1px solid #ccd3db;border-radius:18px;background:#fff;color:#27313a;overflow:auto}
.document-media-viewer::backdrop{background:#081632c9}.document-media-viewer header{display:flex;align-items:center;gap:12px;margin-bottom:10px}.document-media-viewer h2{font-size:1rem;line-height:1.4;flex:1;margin:0;overflow-wrap:anywhere}.document-media-viewer header button{flex:0 0 44px;min-height:44px;border:1px solid #cbd2db;border-radius:10px;background:#fff;color:#27313a;font-size:1.5rem}
.document-media-viewer img,.document-media-viewer video{display:block;width:100%;max-height:calc(85vh - 80px);max-height:calc(85dvh - 80px);object-fit:contain;border-radius:10px;background:#101720}.document-media-viewer [data-document-media-error]{overflow-wrap:anywhere}
