.proof-preview-dialog{width:min(1100px,calc(100vw - 28px));max-width:calc(100vw - 28px);max-height:calc(100dvh - 28px);padding:18px;border:1px solid var(--line,#dce8ef);border-radius:12px;background:#fff;color:var(--ink,#16344e)}
.proof-preview-dialog::backdrop{background:rgba(16,35,52,.68)}
.proof-preview-dialog header{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:12px}
.proof-preview-dialog h2{font-size:1.05rem;margin:0}
.proof-preview-tools{display:flex;align-items:center;gap:8px;flex-wrap:wrap}
.proof-preview-tools button{height:36px;padding:6px 12px;font-size:.85rem;background:#fff;color:var(--navy,#064574)}
.proof-preview-tools span{min-width:46px;text-align:center;font-size:.8rem;color:var(--muted,#607c93)}
.proof-preview-stage{height:min(65vh,720px);overflow:auto;background:var(--bg,#f4f8fb);border:1px solid var(--line,#dce8ef);border-radius:8px;padding:16px;cursor:grab;touch-action:pan-x pan-y}
.proof-preview-stage:active{cursor:grabbing}
.proof-preview-stage img{display:block;max-width:none;max-height:none;height:auto;margin:0 auto;user-select:none}
.proof-preview-stage img[hidden]{display:none}
.proof-preview-status{font-size:.85rem;color:var(--muted,#607c93);margin:0 0 8px;overflow-wrap:anywhere}
.proof-preview-status:empty{display:none}
.proof-preview-hint{font-size:.78rem;color:var(--muted,#607c93);margin:10px 0 0}
@media(max-width:600px){.proof-preview-dialog{padding:12px}.proof-preview-dialog header{align-items:flex-start;flex-direction:column}.proof-preview-tools{gap:6px}.proof-preview-tools button{padding:6px 10px}.proof-preview-stage{height:60vh;padding:12px}}
