/* CONAN-CHAT-MEDIA-V1 */
.cm-attachment{display:flex;flex-direction:column;gap:8px;margin-top:10px;max-width:100%;overflow:hidden}
.cm-attachment img{display:block;max-width:100%;width:auto;max-height:320px;object-fit:contain;border-radius:9px;background:#edf1f5;cursor:zoom-in}
.cm-attachment video{display:block;width:min(420px,100%);max-height:360px;border-radius:9px;background:#111}
.cm-attachment audio{max-width:100%;width:280px}
.cm-attachment small{font-size:11px;color:#6b7280;white-space:normal}
.cm-download{display:block;color:#21588c;font-size:13px;text-decoration:underline;overflow-wrap:anywhere;line-height:1.6;white-space:normal}
.cm-upload{margin-top:10px}.cm-upload>small{display:block;margin:8px 0;color:#64748b;font-size:12px;line-height:1.6}.cm-pick{background:#edf3fb!important;color:#244a73!important;border:1px solid #c9d9ec!important}
.cm-file-row{display:flex;gap:10px;justify-content:space-between;align-items:center;margin:6px 0;padding:8px;background:#f1f5f9;border-radius:6px;font-size:12px;overflow-wrap:anywhere}.cm-file-row>span{min-width:0}.cm-file-row button{flex-shrink:0;padding:5px 8px;font-size:12px}
@media(max-width:600px){.cm-attachment img{max-height:260px}.cm-attachment video{max-height:280px}.cm-file-row{align-items:flex-start}}
