.msc-mail-attachments{display:flex;flex-wrap:wrap;gap:.5rem}
.msc-mail-attachment-back{z-index:1000}
.msc-mail-attachment-modal{width:min(94vw,1100px);max-width:1100px;height:min(90vh,900px);display:flex;flex-direction:column;overflow:hidden}
.msc-mail-attachment-modal .panel-head{gap:1rem;padding:1rem;border-bottom:1px solid #d9e4db}
.msc-mail-attachment-modal .panel-head h2{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.msc-mail-attachment-modal .actions{display:flex;gap:.5rem;flex-wrap:wrap;flex-shrink:0}
.msc-mail-attachment-content{min-height:0;flex:1;overflow:auto;display:grid;place-items:center;background:#f6f8f6}
.msc-mail-attachment-content iframe{width:100%;height:100%;border:0;background:#fff}
.msc-mail-attachment-content img{display:block;max-width:100%;max-height:100%;object-fit:contain}
.msc-mail-attachment-content .meta{padding:1.5rem;text-align:center}
@media(max-width:700px){.msc-mail-attachment-modal{width:100vw;height:100dvh;max-height:100dvh;border-radius:0}.msc-mail-attachment-modal .panel-head{align-items:start}.msc-mail-attachment-modal .panel-head h2{font-size:1.1rem;max-width:100%}.msc-mail-attachment-modal .actions .btn{padding:.6rem}}
