/* Chat dos clientes (chat-equipe.js) */
.vz-chat{display:grid;grid-template-columns:320px 1fr;gap:14px;height:calc(100vh - 150px);min-height:480px}
.vz-chat .card{padding:0;overflow:hidden;display:flex;flex-direction:column}
.vz-chat-nova{padding:10px;border-bottom:1px solid var(--linha)}
.vz-chat-nova select{width:100%}
#chat-lista{overflow:auto;flex:1}
.vz-chat-item{display:flex;gap:10px;align-items:center;width:100%;text-align:left;background:none;border:0;border-bottom:1px solid var(--linha);padding:11px 12px;cursor:pointer;font:inherit;color:inherit}
.vz-chat-item:hover{background:#F6F7F9}.vz-chat-item.on{background:#EEEFF2}
.vz-chat-av{width:38px;height:38px;border-radius:12px;background:#111318;color:#fff;display:grid;place-items:center;font-weight:700;flex:none}
.vz-chat-txt{flex:1;min-width:0;display:flex;flex-direction:column}
.vz-chat-txt b{font-size:14px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.vz-chat-txt span{font-size:12.5px;color:#6B7280;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.vz-chat-meta{display:flex;flex-direction:column;align-items:flex-end;gap:4px}
.vz-chat-meta small{font-size:11px;color:#9CA3AF}
.vz-chat-meta i{font-style:normal;background:#D41444;color:#fff;font-size:11px;font-weight:700;border-radius:999px;padding:1px 7px}
.vz-chat-vazio{margin:auto;color:#6B7280;padding:24px;text-align:center}
.vz-chat-cab{display:flex;justify-content:space-between;align-items:center;padding:12px 16px;border-bottom:1px solid var(--linha)}
.vz-chat-msgs{flex:1;overflow:auto;padding:16px;display:flex;flex-direction:column;gap:8px;background:#F2F3F5}
.vz-chat-m{display:flex;flex-direction:column;max-width:70%;gap:3px}
.vz-chat-m.cl{align-self:flex-start}.vz-chat-m.eq{align-self:flex-end;align-items:flex-end}
.vz-chat-m>span{font-size:11px;color:#9CA3AF;margin:0 4px}
.vz-chat-bolha{background:#fff;border-radius:16px 16px 16px 5px;padding:9px 13px}
.vz-chat-m.eq .vz-chat-bolha{background:#D41444;color:#fff;border-radius:16px 16px 5px 16px}
.vz-chat-bolha p{margin:0;white-space:pre-wrap;font-size:14.5px;line-height:1.4}
.vz-chat-bolha small{display:block;font-size:11.5px;font-weight:600;opacity:.75;margin-bottom:2px}
.vz-chat-exc{display:block;color:#B91C1C;font-size:12.5px;margin-bottom:4px}
.vz-chat-foto{display:block;max-width:260px;max-height:300px;border-radius:12px;margin:2px 0 4px;background:#E5E7EB;min-width:120px;min-height:120px;object-fit:cover}
.vz-chat-fig{width:120px;height:120px;object-fit:contain}
.vz-chat-figs{display:grid;grid-template-columns:repeat(8,1fr);gap:4px;padding:8px;border-top:1px solid var(--linha);background:#fff}
.vz-chat-figs[hidden]{display:none}
.vz-chat-figs button{background:none;border:0;cursor:pointer;padding:2px;border-radius:10px}.vz-chat-figs button:hover{background:#F2F3F5}
.vz-chat-figs img{width:100%;aspect-ratio:1;object-fit:contain}
.vz-chat-env{display:flex;gap:8px;align-items:flex-end;padding:10px;border-top:1px solid var(--linha)}
.vz-chat-env textarea{flex:1;resize:none;min-height:40px;max-height:140px}
.vz-chat-env label.btn{cursor:pointer}
@media(max-width:860px){.vz-chat{grid-template-columns:1fr;height:auto}.vz-chat-lista{max-height:260px}}
