/* V10.9.129 — Campo de origem e ação discreta de excluir contato. */
.prefunnel-filters{grid-template-columns:minmax(210px,1.6fr) repeat(4,minmax(135px,.68fr)) auto!important}
.prefunnel-table{min-width:1360px!important}
.prefunnel-table td:nth-child(1){min-width:190px}
.prefunnel-table td:nth-child(2){min-width:118px}
.prefunnel-table td:nth-child(3){min-width:95px}
.prefunnel-table td:nth-child(4){min-width:155px}
.prefunnel-table td:nth-child(5){min-width:100px;max-width:180px}
.pf-origin-pill{display:inline-block;max-width:180px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;padding:4px 9px;border-radius:15px;background:#e7f0ff;color:#1e67b9;font-size:11px}
.pf-origin-empty{color:#9ca8bb}
.modalbox.lead-call-modal .lead-v2-contact-actions .lead-v2-delete-contact{width:34px!important;height:34px!important;min-width:34px!important;min-height:34px!important;padding:0!important;border:1px solid #ffcccc!important;background:#fff4f4!important;color:#d93035!important;border-radius:8px!important;display:grid!important;place-items:center!important;cursor:pointer!important}
.modalbox.lead-call-modal .lead-v2-contact-actions .lead-v2-delete-contact:hover{background:#ffe1e1!important;border-color:#f19d9d!important}
.modalbox.lead-call-modal .lead-v2-contact-actions .lead-v2-delete-contact svg{width:16px;height:16px}
@media(max-width:1350px){.prefunnel-filters{grid-template-columns:repeat(3,minmax(150px,1fr))!important}.prefunnel-filters .pf-search{grid-column:span 2!important}}
@media(max-width:760px){.prefunnel-filters{grid-template-columns:1fr!important}.prefunnel-filters .pf-search{grid-column:auto!important}}

/* V10.9.129 — O pré-funil tem OITO colunas: distribuir 100% da largura,
   preservando a coluna final de Ações e os cinco botões originais. */
.prefunnel-table{table-layout:fixed;width:100%;min-width:1550px!important}
.prefunnel-table th:nth-child(1){width:18%!important}
.prefunnel-table th:nth-child(2){width:11%!important}
.prefunnel-table th:nth-child(3){width:8.5%!important}
.prefunnel-table th:nth-child(4){width:13%!important}
.prefunnel-table th:nth-child(5){width:8%!important}
.prefunnel-table th:nth-child(6){width:7.5%!important}
.prefunnel-table th:nth-child(7){width:8.5%!important}
.prefunnel-table th:nth-child(8){width:25.5%!important}
.prefunnel-table td:nth-child(8){min-width:390px;overflow:visible}
.prefunnel-table .pf-actions{display:flex;flex-wrap:nowrap;gap:4px;align-items:center}
.prefunnel-table .pf-actions button{flex:0 0 auto}
/* O usuário mantém as ações à vista ao rolar horizontalmente a tabela. */
.prefunnel-table th:last-child,.prefunnel-table td:last-child{position:sticky;right:0;background:#fff;box-shadow:none;z-index:3}
.prefunnel-table thead th:last-child{background:#f6f9fd;z-index:4}
.prefunnel-table tbody tr:hover td:last-child{background:#f9fbfe}
@media(max-width:1000px){.prefunnel-table th:last-child,.prefunnel-table td:last-child{position:static;box-shadow:none}}

/* V10.9.129 — Layout aprovado: métricas compactas em faixa horizontal, sem negrito.
   Não altera filtros, informações, cálculos, botões nem eventos. */
.prefunnel-kpis{grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin-bottom:12px}
.prefunnel-kpis>div{
  min-width:0;min-height:78px;box-sizing:border-box;
  display:grid;grid-template-columns:44px minmax(0,1fr);
  grid-template-rows:17px 25px 16px;
  column-gap:11px;row-gap:0;align-content:center;align-items:center;
  padding:10px 14px;border-radius:10px;
}
.prefunnel-kpis .pf-icon{grid-column:1;grid-row:1/4;align-self:center;width:42px;height:42px;font-size:20px}
.prefunnel-kpis>div>small{grid-column:2;grid-row:1;font-size:12px;line-height:17px;font-weight:400;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.prefunnel-kpis>div>strong{grid-column:2;grid-row:2;font-size:20px;line-height:25px;font-weight:400;letter-spacing:0}
.prefunnel-kpis>div>em{grid-column:2;grid-row:3;font-size:11px;line-height:16px;font-weight:400;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
/* Barras de progresso ocultas apenas no resumo visual; os dados permanecem intactos. */
.prefunnel-kpis .pf-meter{display:none}
/* Nomes de empresas e contatos com tipografia normal (somente diferenciação por cor). */
.prefunnel-table .pf-company-google{font-weight:400!important;color:#16365d}
.prefunnel-table td:nth-child(2) b{font-weight:400!important;color:#506783}
/* Mantém a coluna Ações fixa e os cinco botões, mas elimina a sombra/separador. */
.prefunnel-table th:last-child,.prefunnel-table td:last-child{box-shadow:none!important;border-left:0!important;background-image:none!important}
@media(max-width:1100px){.prefunnel-kpis{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:650px){.prefunnel-kpis{grid-template-columns:1fr}}
