/* Multiple photo/file drafts: compact, scrollable on both mobile and desktop. */
.composer-attachment.composer-attachments{display:flex;flex-direction:column;align-items:stretch;gap:8px;flex-wrap:nowrap;max-width:100%;padding:10px}
.composer-attachments[hidden],.composer-upload-status[hidden]{display:none}
.attachment-summary{display:flex;align-items:baseline;justify-content:space-between;flex-wrap:wrap;gap:4px 12px;font-size:12px;color:#213a60}
.attachment-summary>span{font-size:11px;color:#53657e}
.composer-attachment-list{display:flex;align-items:stretch;gap:8px;overflow-x:auto;max-width:100%;padding:2px 2px 7px;overscroll-behavior:contain;scrollbar-width:thin}
.composer-attachment-card{position:relative;display:flex;flex-direction:column;align-items:stretch;flex:0 0 136px;min-width:0;border:1px solid #d4dfed;border-radius:9px;background:#f7faff;padding:7px;gap:5px}
.composer-attachment-card>img,.attachment-file-icon{display:block;width:100%;height:76px;object-fit:contain;border-radius:5px;background:#eaf0f8}
.attachment-file-icon{display:flex;align-items:center;justify-content:center;color:#345e99}
.attachment-file-icon svg{width:34px;height:34px}
.attachment-index{position:absolute;top:9px;left:9px;display:grid;place-items:center;min-width:21px;height:21px;padding:0 4px;border-radius:6px;background:#223c65;color:#fff;font-size:11px;line-height:1}
.composer-attachment-card .attachment-remove{position:absolute;top:3px;right:3px;width:30px;height:30px;border:1px solid #aebfd7;border-radius:50%;background:#fff;color:#334d71;box-shadow:0 1px 5px #17273c20}
.attachment-remove svg{width:17px;height:17px}
.attachment-card-label{display:flex;flex-direction:column;gap:2px;min-width:0;font-size:11px;color:#213a60}
.attachment-card-label strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-weight:600}
.attachment-card-label>span{font-size:10px;color:#53657e}
.composer-attachment-card .attachment-edit{min-height:28px;padding:4px 7px;font-size:11px;margin-top:auto}
.composer-attachments .attachment-retention{margin:0;color:#53657e;font-size:10px;line-height:1.5}
.composer-upload-status{margin:0 0 7px;padding:7px 10px;border-radius:7px;background:#edf3fe;color:#264b82;font-size:12px;line-height:1.5}
.composer-upload-status.has-error{background:#fff1e8;color:#8b3c1c}
.message-stop-retry{display:block;margin-top:5px;color:#53657e}
@media(max-width:760px){
 .composer-attachment.composer-attachments{padding:7px;gap:5px}
 .attachment-summary{font-size:11px}.attachment-summary>span{font-size:10px}
 .composer-attachment-card{flex-basis:116px;padding:6px;gap:4px}
 .composer-attachment-card>img,.attachment-file-icon{height:62px}
 .composer-attachment-card .attachment-remove{width:32px;height:32px;top:2px;right:2px}
 .composer-attachment-list{padding-bottom:5px}
 .composer-attachments .attachment-retention{font-size:9px}
 .composer-upload-status{font-size:11px;padding:6px 8px}
}
@media(max-height:650px){
 .composer-attachment-card>img,.attachment-file-icon{height:42px}
 .composer-attachments .attachment-retention{display:none}
}
