.klb-chat .klb-chat-file-preview video {
    display: block; width: 240px; max-width: 100%; height: auto; max-height: min(34vh,225px);
    background: #111; border-radius: 4px; object-fit: contain;
}
.klb-chat .klb-chat-file-controls .klb-chat-document {
    width: auto; min-width: 0; max-width: 100%; justify-content: flex-start; text-align: start;
}
.klb-chat .klb-chat-file-controls .klb-chat-document span { min-width: 0; overflow-wrap: anywhere; }
.klb-chat .klb-chat-transfer {
    display: flex; flex-wrap: wrap; align-items: center; gap: 3px 6px; padding: 3px 0;
    color: var(--klb-muted); font-size: 12px; font-variant-numeric: tabular-nums;
}
.klb-chat .klb-chat-transfer progress { width: 70px; height: 6px; accent-color: var(--klb-link); }
.klb-chat .klb-chat-file-size { flex: none; color: var(--klb-muted); font-size: 11px; white-space: nowrap; }
