dialog.mbp-private-viewer{position:fixed;inset:0;margin:auto;padding:0;border:0;border-radius:16px;width:min(1000px,calc(100vw - 32px));max-width:calc(100vw - 32px);height:min(780px,calc(100dvh - 48px));max-height:calc(100dvh - 48px);background:#fff;color:#17132d;box-shadow:0 24px 90px #0006;overflow:hidden}
dialog.mbp-private-viewer:not([open]){display:none!important}
dialog.mbp-private-viewer::backdrop{background:rgba(12,10,35,.76)}
.mbp-private-viewer>section{display:flex;flex-direction:column;height:100%;margin:0;padding:0}
.mbp-private-viewer>section>header{display:flex;align-items:center;justify-content:space-between;gap:16px;flex:0 0 auto;padding:12px 16px;border-bottom:1px solid #e6e3ee;background:#fff}
.mbp-private-viewer header strong{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:14px}
.mbp-private-viewer header button{display:grid;place-items:center;flex:0 0 44px;width:44px;height:44px;padding:0;border:1px solid #d6cfee;border-radius:10px;background:#f0ebff;color:#4017b5;font:32px/1 Arial,sans-serif;cursor:pointer;opacity:1}
.mbp-private-viewer header button:hover{background:#e1d6ff}.mbp-private-viewer header button:focus-visible{outline:3px solid #6a35ff;outline-offset:2px}
.mbp-private-viewer-content{flex:1;min-height:0;display:flex;align-items:center;justify-content:center;overflow:auto;background:#f3f2f7}
.mbp-private-viewer-content>img{display:block;width:100%;height:100%;object-fit:contain}
.mbp-private-viewer-content>iframe{display:block;width:100%;height:100%;border:0;background:#fff}
@media(max-width:600px){dialog.mbp-private-viewer{width:calc(100vw - 16px);max-width:calc(100vw - 16px);height:calc(100dvh - 24px);max-height:calc(100dvh - 24px)}.mbp-private-viewer>section>header{padding:8px 10px}}
