/* Pagina de Agentes (chat interno). Reusa as classes .vc-* de conversas.css; aqui so o que muda. Cores so dos tokens. */
.vc.ch { gap: var(--ds-s-3); padding: var(--ds-s-3); background: var(--ds-folha-2); }
.ch .vc-trilho { border: 0; border-radius: 24px; background: var(--ds-folha); box-shadow: var(--ds-sombra-painel); }
.ch .vc-trilho__item.on { background: var(--ds-acento); color: var(--ds-sobre-acento); }
.ch .vc-lista { border: 0; border-radius: 16px; background: var(--ds-folha); box-shadow: var(--ds-sombra-painel); overflow: hidden; }
.ch .vc-conv { border-radius: 16px; overflow: hidden; background: var(--ds-folha); box-shadow: var(--ds-sombra-painel); }
.ch .vc-conv--vazio { border: 0; }
.ch .vc-conv__cab { background: var(--ds-folha); border-left: 0; border-bottom: 1px solid var(--ds-filete); }
.ch .vc-conv__quem .ch-nome { font-size: 16px; color: var(--ds-tinta); }
.ch .vc-fio { background: var(--ds-folha); background-image: none; }
.ch .vc-comp, .ch .vc-dica { background: var(--ds-folha); }
.ch .vc-caixa { background: var(--ds-folha-2); border-radius: 22px; }
.ch .vc-env { background: var(--ds-acento); color: var(--ds-sobre-acento); }
.ch .vc-env:hover { background: var(--ds-acento-hover); }
.ch .vc-b { padding: 8px 12px; border-radius: 14px; background: var(--ds-folha-2); color: var(--ds-tinta); box-shadow: none; }
.ch .vc-b p { margin: 0; white-space: pre-wrap; font-size: 14.5px; line-height: 20px; }
.ch .vc-m--out .vc-b { background: var(--ds-acento); color: var(--ds-sobre-acento); }
.ch .vc-m--out .cv-hr { color: var(--ds-sobre-acento); }
.ch .vc-m--cauda .vc-b::before { display: none; }
.ch-autor { display: block; margin-bottom: 2px; font-size: var(--ds-fs-xs); font-weight: 400; color: var(--ds-tinta-3); }
.ch-m--pensando p { font-style: italic; color: var(--ds-tinta-3); }
.ch-m--falhou .vc-b { background: var(--ds-erro-fundo); color: var(--ds-erro); }
.ch-abas { display: flex; gap: var(--ds-s-1); margin: var(--ds-s-3) var(--ds-s-3) 0; padding: 3px; border-radius: 999px; background: var(--ds-folha-2); }
.ch-aba { flex: 1; padding: 6px 12px; white-space: nowrap; border-radius: 999px; color: var(--ds-tinta-2); font-size: var(--ds-fs-base); text-align: center; text-decoration: none; }
.ch-aba.on { background: var(--ds-folha); color: var(--ds-tinta); font-weight: 600; box-shadow: var(--ds-sombra-cartao); }
.ch-busca { display: flex; align-items: center; gap: var(--ds-s-2); padding: var(--ds-s-3); }
.ch-busca .vc-lista__campo { flex: 1; border-radius: 999px; background: var(--ds-folha-2); }
.ch-mais { display: flex; align-items: center; justify-content: center; flex: none; width: 36px; height: 36px; border-radius: 50%; background: var(--ds-acento); color: var(--ds-sobre-acento); font-size: 22px; line-height: 1; text-decoration: none; }
.ch-mais:hover { background: var(--ds-acento-hover); }
.ch .vc-ch { grid-template-columns: 56px minmax(0, 1fr) auto; margin: 0 var(--ds-s-2); border-radius: 12px; }
.ch .vc-ch::after { display: none; }
.ch .vc-ch.on { background: var(--ds-sel); }
.ch .ds-avatar--foto { object-fit: cover; }
.ch-nome { display: flex; align-items: center; gap: 6px; min-width: 0; font-size: 15px; color: var(--ds-tinta); }
.ch-nome b { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ch .ch-selo { flex: none; padding: 1px 6px; border-radius: var(--ds-raio); background: var(--ds-info-fundo); color: var(--ds-acento-texto); font-size: 11px; font-weight: 400; line-height: 16px; white-space: nowrap; }
.ch-pilha { display: flex; align-items: center; flex: none; }
.ch .ch-pilha .ds-avatar { width: 28px; height: 28px; font-size: 11px; border: 2px solid var(--ds-folha); }
.ch .ch-pilha .ds-avatar + .ds-avatar { margin-left: -14px; }
.ch-ajustar { padding: 6px 14px; border: 1px solid var(--ds-filete-forte); border-radius: 999px; color: var(--ds-tinta-1); font-size: var(--ds-fs-sm); text-decoration: none; }
.ch-ajustar:hover { background: var(--ds-folha-2); }
.ch-modelo { align-self: center; height: 36px; padding: 0 10px; border: 1px solid var(--ds-filete); border-radius: 18px; background: var(--ds-folha); color: var(--ds-tinta-1); font: inherit; font-size: var(--ds-fs-sm); }
.ch-titulo { margin: 0; font-size: 16px; font-weight: 600; color: var(--ds-tinta); }
.ch-abas--cab { margin: 0 0 0 auto; align-items: center; }
.ch-novo__corpo { flex: 1; overflow-y: auto; padding: var(--ds-s-6); }
.ch-form { display: grid; gap: var(--ds-s-4); max-width: 32rem; }
.ch-form > label { display: grid; gap: 4px; font-size: var(--ds-fs-sm); color: var(--ds-tinta-2); }
.ch-form input:not([type=checkbox]), .ch-form select, .ch-form textarea { padding: 8px 10px; border: 1px solid var(--ds-borda); border-radius: var(--ds-raio-2); background: var(--ds-folha); color: var(--ds-tinta); font: inherit; font-size: var(--ds-fs-md); }
.ch-marcas { display: grid; gap: 6px; margin: 0; padding: 0; border: 0; }
.ch-marcas legend { margin-bottom: 6px; font-size: var(--ds-fs-sm); color: var(--ds-tinta-2); }
.ch-marcas label { display: flex; align-items: center; gap: 8px; font-size: var(--ds-fs-base); color: var(--ds-tinta); }
.ch .ch-marcas .ds-avatar { width: 28px; height: 28px; font-size: 11px; }
.ch-botao { justify-self: start; height: 40px; padding: 0 18px; border: 0; border-radius: 20px; background: var(--ds-acento); color: var(--ds-sobre-acento); font: inherit; font-weight: 600; cursor: pointer; }
.ch-botao:hover { background: var(--ds-acento-hover); }
@media (max-width: 900px) {
  .vc.ch { gap: 0; padding: 0; }
  .ch .vc-trilho, .ch .vc-lista, .ch .vc-conv { border-radius: 0; box-shadow: none; }
}
