.chatbot-leads-card { margin-top: 18px; }
.chatbot-leads-head { align-items: end; }
.chatbot-lead-filters { display: flex; gap: 9px; flex-wrap: wrap; }
.chatbot-lead-filters input { width: min(360px, 70vw); }
.chatbot-lead-filters input,
.chatbot-lead-filters select { border: 1px solid #bfd8d5; border-radius: 11px; background: #fff; padding: .62rem .72rem; font: inherit; }
.chatbot-lead-kpis { display: grid; grid-template-columns: repeat(5, minmax(120px, 1fr)); gap: 10px; margin: 14px 0; }
.chatbot-lead-kpis article { padding: 13px 14px; border: 1px solid #d4e5e2; border-radius: 13px; background: linear-gradient(145deg, #f4fbfa, #fff); }
.chatbot-lead-kpis span { display: block; color: #647c79; font-size: .76rem; }
.chatbot-lead-kpis strong { display: block; margin-top: 3px; color: #006f68; font-size: 1.45rem; }
.chatbot-lead-interest-summary { display: flex; align-items: center; gap: 7px; flex-wrap: wrap; margin-bottom: 13px; color: #405e5a; font-size: .78rem; }
.chatbot-lead-interest-summary span { padding: .35rem .55rem; border-radius: 999px; background: #e9f7f4; color: #096f67; }
.chatbot-lead-interest-summary b { margin-left: 3px; }
.chatbot-lead-table-wrap table { min-width: 1120px; }
.chatbot-lead-table-wrap th:nth-child(1) { width: 22%; }
.chatbot-lead-table-wrap th:nth-child(2) { width: 35%; }
.chatbot-lead-table-wrap th:nth-child(3) { width: 16%; }
.chatbot-lead-table-wrap th:nth-child(4) { width: 27%; }
.chatbot-lead-interest-tags { display: flex; gap: 4px; flex-wrap: wrap; margin-bottom: 6px; }
.chatbot-latest-question { margin: .3rem 0; color: #153f49; line-height: 1.5; }
.chatbot-latest-question .wa-tag { margin-right: 5px; }
.chatbot-question-history summary { color: #08746b; font-size: .74rem; font-weight: 700; cursor: pointer; }
.chatbot-question-history p { display: grid; grid-template-columns: 130px auto 1fr; gap: 6px; margin: .4rem 0 0; padding: .45rem; border-radius: 8px; background: #f4f8f7; color: #435e5b; font-size: .71rem; line-height: 1.4; }
.chatbot-question-history time { color: #758986; }
.chatbot-followup-form { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.chatbot-followup-form label { display: grid; gap: 2px; color: #607875; font-size: .69rem; }
.chatbot-followup-form label:nth-of-type(4),
.chatbot-followup-form button,
.chatbot-followup-form > small { grid-column: 1 / -1; }
.chatbot-followup-form input,
.chatbot-followup-form select,
.chatbot-followup-form textarea { min-width: 0; width: 100%; border: 1px solid #c8deda; border-radius: 8px; background: #fff; padding: .45rem .5rem; font: inherit; }
.chatbot-followup-form textarea { resize: vertical; }
.chatbot-followup-form > small { color: #08746b; }
.chatbot-lead-privacy { margin: 12px 0 0; color: #687d7a; font-size: .72rem; }
@media (max-width: 1100px) { .chatbot-lead-kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 680px) {
  .chatbot-lead-filters { width: 100%; }
  .chatbot-lead-filters input,
  .chatbot-lead-filters select { width: 100%; }
  .chatbot-lead-kpis { grid-template-columns: 1fr 1fr; }
}
