/* Chat Habib v71 — make peer attachment send action obvious and reachable. */
#peerFilePreview:not(:empty){padding:0 4px 6px!important}
#peerFilePreview .upload-preview-card{max-height:min(48dvh,430px);overflow:auto!important}
#peerFilePreview .upload-visual,#peerFilePreview .upload-visual img,#peerFilePreview .upload-visual video{max-height:min(30dvh,280px)!important}
.peer-compose .send{flex:0 0 46px!important;width:46px!important;height:46px!important;font-size:23px!important;box-shadow:0 5px 15px rgba(20,122,115,.2)}
@media(max-width:520px){#peerFilePreview .upload-preview-card{max-height:44dvh}.peer-compose .send{flex-basis:48px!important;width:48px!important;height:48px!important}}
/* Peer upload progress and recovery controls. */
#peerSendStatus.peer-upload-v76{padding:8px 10px;border-radius:10px;background:#edf6f4;margin-bottom:6px}
.peer-upload-line{display:flex;align-items:center;justify-content:space-between;gap:8px}
.peer-upload-line>span{min-width:0;overflow-wrap:anywhere}
.peer-upload-cancel,.peer-upload-retry{border:1px solid #c5ded8;border-radius:8px;padding:6px 10px;color:#147a73;background:#fff;cursor:pointer;flex-shrink:0}
.peer-upload-track{height:5px;margin-top:7px;background:#d5e7e2;border-radius:4px;overflow:hidden}
.peer-upload-track i{display:block;height:100%;background:#147a73;transition:width .15s}
