.attachment-preview-dialog{width:min(94vw,1000px);height:min(90vh,780px);padding:0;border:0;border-radius:16px;background:#fff;color:var(--ink);box-shadow:0 24px 70px rgba(42,13,24,.3)}.attachment-preview-dialog::backdrop{background:rgba(35,18,25,.62);backdrop-filter:blur(2px)}.attachment-preview-shell{height:100%;display:grid;grid-template-rows:auto minmax(0,1fr) auto}.attachment-preview-shell header{display:flex;justify-content:space-between;align-items:flex-start;gap:1rem;padding:1rem 1.2rem;border-bottom:1px solid #eadde2}.attachment-preview-shell header small{color:#8a6371;font-weight:700;letter-spacing:.12em}.attachment-preview-shell h2{margin:.2rem 0 0;font-size:1.05rem;overflow-wrap:anywhere}.attachment-preview-close{border:0;background:transparent;color:#76223e;font-size:1.8rem;line-height:1;cursor:pointer}.attachment-preview-body{min-height:0;display:grid;place-items:center;overflow:auto;background:#f5f1f3}.attachment-preview-body iframe{width:100%;height:100%;border:0;background:#fff}.attachment-preview-body img{display:block;max-width:100%;max-height:100%;object-fit:contain}.attachment-preview-shell footer{display:flex;justify-content:flex-end;gap:.65rem;padding:.8rem 1.2rem;border-top:1px solid #eadde2}.attachment-preview-unavailable{display:grid;gap:.45rem;text-align:center;padding:2rem;color:#725f67}.attachment-preview-unavailable strong{color:#411624}@media(max-width:640px){.attachment-preview-dialog{width:96vw;height:88vh}.attachment-preview-shell header,.attachment-preview-shell footer{padding:.75rem}.attachment-preview-shell footer .button{flex:1}}
