:root { --zricks: #0b4f8a; }
body { background: #f5f7fa; font-size: 15px; }
.bg-zricks { background: var(--zricks); }
.card { border: 0; box-shadow: 0 1px 3px rgba(0,0,0,.08); }
.table td, .table th { vertical-align: middle; }
.status-badge { text-transform: capitalize; }
h3 .status-badge { font-size: .8rem; vertical-align: middle; }
.status-connected { background: #198754; }
.status-initiated { background: #0d6efd; }
.status-no_answer, .status-busy { background: #fd7e14; }
.status-failed { background: #dc3545; }

/* Transcript chat */
.transcript { display: flex; flex-direction: column; gap: .6rem; padding: .5rem; }
.msg { max-width: 80%; padding: .6rem .85rem; border-radius: 14px; line-height: 1.4; }
.msg .text { white-space: pre-wrap; }
.msg .who { font-size: .72rem; font-weight: 600; text-transform: uppercase; opacity: .7; margin-bottom: .15rem; }
.msg .orig { font-size: .85rem; opacity: .8; border-top: 1px dashed rgba(0,0,0,.15); margin-top: .35rem; padding-top: .3rem; }
.msg-agent { align-self: flex-start; background: #fff; border: 1px solid #e3e8ef; border-bottom-left-radius: 4px; }
.msg-user { align-self: flex-end; background: #dcecff; border-bottom-right-radius: 4px; }
.kv dt { font-weight: 500; color: #6c757d; font-size: .85rem; }
.kv dd { margin-bottom: .5rem; word-break: break-word; }
.summary-text { white-space: pre-wrap; }
code.url { word-break: break-all; }
