/* Aba temporaria Configuracoes > Testes */
.none-settings-tabs {
  margin-bottom: 14px;
  padding: 4px;
  width: max-content;
  max-width: 100%;
  display: flex;
  gap: 4px;
  border: 1px solid #e4deed;
  border-radius: 12px;
  background: #faf8f6;
}
.none-settings-tabs button {
  min-height: 38px;
  padding: 0 18px;
  border: 0;
  border-radius: 9px;
  color: #667085;
  background: transparent;
  font: inherit;
  font-size: .84rem;
  font-weight: 800;
  cursor: pointer;
}
.none-settings-tabs button:hover { color: #230d41; background: #fff; }
.none-settings-tabs button.active {
  color: #fff;
  background: #612da5;
  box-shadow: 0 2px 7px rgba(52, 24, 100, .18);
}

.none-bridge-test-panel { overflow: hidden; }
.none-bridge-tool-icon {
  flex: 0 0 auto;
  width: 39px;
  height: 39px;
  border-radius: 11px;
  display: grid;
  place-items: center;
  color: #612da5;
  background: #f8f4ee;
  font-size: 1.15rem;
  font-weight: 900;
}
.none-bridge-status {
  margin-bottom: 20px;
  width: max-content;
  max-width: 100%;
  padding: 9px 12px;
  border: 1px solid #e2dceb;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #667085;
  background: #fbfaf9;
  font-size: .78rem;
}
.none-bridge-status > span {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #a49ab1;
}
.none-bridge-status--checking > span { background: #f5a623; }
.none-bridge-status--connected {
  color: #17603a;
  border-color: #bfe4cf;
  background: #f1fbf5;
}
.none-bridge-status--connected > span {
  background: #1f9d61;
  box-shadow: 0 0 0 4px rgba(31,157,97,.10);
}
.none-bridge-status--offline {
  color: #9d2f3f;
  border-color: #efc8cf;
  background: #fff5f6;
}
.none-bridge-status--offline > span { background: #cf465c; }

.none-bridge-fields { align-items: start; }
.none-bridge-fields textarea { min-height: 104px; resize: vertical; }
.none-bridge-actions {
  margin-top: 20px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.none-bridge-actions .button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
}
.none-bridge-result {
  margin-top: 18px;
  padding: 14px 15px;
  border: 1px solid #e3ddec;
  border-radius: 11px;
  background: #fbfaf9;
}
.none-bridge-result strong {
  display: block;
  margin-bottom: 4px;
  color: #423652;
  font-size: .8rem;
}
.none-bridge-result p {
  margin: 0;
  color: #667085;
  font-size: .8rem;
  line-height: 1.45;
  overflow-wrap: anywhere;
}
.none-bridge-result--success {
  border-color: #bfe4cf;
  background: #f1fbf5;
}
.none-bridge-result--success strong,
.none-bridge-result--success p { color: #17603a; }
.none-bridge-result--error {
  border-color: #efc8cf;
  background: #fff5f6;
}
.none-bridge-result--error strong,
.none-bridge-result--error p { color: #9d2f3f; }
.none-bridge-explanation { background: #fdfdfc; }
.none-bridge-explanation strong { color: #423652; font-size: .88rem; }
.none-bridge-explanation p {
  margin: 5px 0 0;
  color: #667085;
  font-size: .8rem;
  line-height: 1.5;
}

@media (max-width: 680px) {
  .none-settings-tabs { width: 100%; }
  .none-settings-tabs button { flex: 1; }
  .none-bridge-actions { flex-direction: column; }
  .none-bridge-actions .button { width: 100%; }
}


.none-bridge-warning {
  margin-top: 16px;
  padding: 13px 14px;
  border: 1px solid #f0d29a;
  border-radius: 11px;
  background: #fff9ec;
}
.none-bridge-warning strong {
  display: block;
  margin-bottom: 3px;
  color: #7a4c00;
  font-size: .82rem;
}
.none-bridge-warning p {
  margin: 0;
  color: #8a6119;
  font-size: .79rem;
  line-height: 1.45;
}


.none-bridge-read-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin: 14px 0;
}
.none-bridge-read-grid > div {
  padding: 12px;
  border: 1px solid #ebe8ee;
  border-radius: 10px;
  background: #fff;
}
.none-mini-label {
  display: block;
  font-size: 11px;
  color: #758196;
  margin-bottom: 4px;
}
.none-bridge-read-grid strong {
  display: block;
  font-size: 13px;
  color: #2e1a4a;
  word-break: break-word;
}
@media (max-width: 760px) {
  .none-bridge-read-grid {
    grid-template-columns: 1fr;
  }
}


/* IA - análise da conversa */
.none-ai-actions {
  margin-top: 14px;
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}
.none-ai-actions > span {
  color: #667085;
  font-size: .76rem;
  line-height: 1.4;
}
.none-ai-status {
  margin-top: 12px;
  padding: 11px 13px;
  border: 1px solid #e3ddec;
  border-radius: 10px;
  color: #605472;
  background: #fbfaf9;
  font-size: .8rem;
  line-height: 1.45;
}
.none-ai-status--loading {
  color: #74530a;
  border-color: #f0d29a;
  background: #fff9ec;
}
.none-ai-status--success {
  color: #17603a;
  border-color: #bfe4cf;
  background: #f1fbf5;
}
.none-ai-status--error {
  color: #9d2f3f;
  border-color: #efc8cf;
  background: #fff5f6;
}
.none-ai-result-shell {
  margin-top: 16px;
  padding: 16px;
  border: 1px solid #e6e4ea;
  border-radius: 14px;
  background: #fdfdfc;
}
.none-ai-result__header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 14px;
}
.none-ai-kicker {
  display: block;
  margin-bottom: 3px;
  color: #612da5;
  font-size: .68rem;
  font-weight: 900;
  letter-spacing: .06em;
  text-transform: uppercase;
}
.none-ai-result__header h3 {
  margin: 0;
  color: #2e1a4a;
  font-size: 1rem;
}
.none-ai-confidence {
  flex: 0 0 auto;
  padding: 6px 9px;
  border-radius: 999px;
  font-size: .7rem;
  font-weight: 800;
  background: #f5f3f0;
  color: #605472;
}
.none-ai-confidence--high {
  background: #e9f8ef;
  color: #17603a;
}
.none-ai-confidence--medium {
  background: #fff5d9;
  color: #7a5900;
}
.none-ai-confidence--low {
  background: #fff0f2;
  color: #9d2f3f;
}
.none-ai-summary {
  padding: 13px 14px;
  border-radius: 11px;
  background: #fff;
  border: 1px solid #e8e6ec;
}
.none-ai-summary strong {
  display: block;
  margin-bottom: 4px;
  color: #423652;
  font-size: .78rem;
}
.none-ai-summary p {
  margin: 0;
  color: #605472;
  line-height: 1.5;
  font-size: .82rem;
}
.none-ai-section {
  margin-top: 16px;
}
.none-ai-section__heading {
  margin-bottom: 9px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.none-ai-section__heading strong {
  color: #423652;
  font-size: .82rem;
}
.none-ai-section__heading span {
  min-width: 24px;
  height: 24px;
  padding: 0 7px;
  display: inline-grid;
  place-items: center;
  border-radius: 999px;
  color: #612da5;
  background: #f9f6f0;
  font-size: .72rem;
  font-weight: 800;
}
.none-ai-devices {
  display: grid;
  gap: 10px;
}
.none-ai-device {
  padding: 13px 14px;
  border: 1px solid #e7e4eb;
  border-radius: 12px;
  background: #fff;
}
.none-ai-device__top {
  display: flex;
  gap: 10px;
  align-items: flex-start;
}
.none-ai-device__number {
  flex: 0 0 auto;
  width: 26px;
  height: 26px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  color: #fff;
  background: #612da5;
  font-size: .72rem;
  font-weight: 900;
}
.none-ai-device h4 {
  margin: 1px 0 3px;
  color: #2e1a4a;
  font-size: .9rem;
}
.none-ai-device p {
  margin: 0;
  color: #605472;
  font-size: .8rem;
  line-height: 1.45;
}
.none-ai-device__block {
  margin-top: 11px;
  padding-top: 10px;
  border-top: 1px solid #f4f3f0;
}
.none-ai-device__block strong {
  color: #605472;
  font-size: .73rem;
}
.none-ai-device__block--warning strong {
  color: #8a6119;
}
.none-ai-list {
  margin: 7px 0 0;
  padding-left: 18px;
  color: #605472;
  font-size: .78rem;
  line-height: 1.5;
}
.none-ai-list li + li {
  margin-top: 3px;
}
.none-ai-two-columns {
  margin-top: 12px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}
.none-ai-info-card {
  padding: 12px 13px;
  border: 1px solid #e7e4eb;
  border-radius: 11px;
  background: #fff;
}
.none-ai-info-card > strong {
  color: #423652;
  font-size: .76rem;
}
.none-ai-empty,
.none-ai-empty-card {
  color: #7b8798;
  font-size: .78rem;
}
.none-ai-empty {
  margin: 7px 0 0;
}
.none-ai-empty-card {
  padding: 13px;
  border: 1px dashed #ded7e7;
  border-radius: 10px;
  background: #fff;
}
.none-ai-footnote {
  margin-top: 13px;
  color: #8490a1;
  font-size: .7rem;
  line-height: 1.4;
}
@media (max-width: 760px) {
  .none-ai-result__header {
    flex-direction: column;
  }
  .none-ai-two-columns {
    grid-template-columns: 1fr;
  }
}


/* WhatsApp -> Leads v0.9 */
.none-lead-customer-card {
  margin-top: 14px;
  padding: 14px;
  border: 1px solid #e6e4ea;
  border-radius: 12px;
  background: #fff;
}
.none-lead-customer-card > div:first-child {
  display: flex;
  flex-direction: column;
  gap: 3px;
  margin-bottom: 10px;
}
.none-lead-customer-card > div:first-child strong {
  color: #382653;
  font-size: .84rem;
}
.none-lead-customer-card > div:first-child span {
  color: #7b8798;
  font-size: .73rem;
}
.none-lead-customer-grid,
.none-lead-edit-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}
.none-lead-card {
  overflow: hidden;
}
.none-lead-destination {
  margin: 12px 0;
  padding: 11px 12px;
  border-radius: 10px;
  border: 1px solid #e3ddec;
  background: #fbfaf9;
}
.none-lead-destination strong {
  display: block;
  margin-bottom: 3px;
  color: #423652;
  font-size: .76rem;
}
.none-lead-destination p {
  margin: 0;
  color: #667085;
  font-size: .75rem;
  line-height: 1.45;
}
.none-lead-destination--existing {
  border-color: #a878e7;
  background: #fbf9f6;
}
.none-lead-destination--existing strong {
  color: #612da5;
}
.none-lead-destination--history {
  border-color: #ead7a9;
  background: #fffaf0;
}
.none-lead-destination--history strong {
  color: #835d13;
}
.none-lead-destination--customer {
  border-color: #dcd5e6;
  background: #fbfaf8;
}
.none-lead-destination--new {
  border-color: #bee4ce;
  background: #f2fbf6;
}
.none-lead-destination--new strong {
  color: #17603a;
}
.none-lead-current {
  margin-top: 10px;
  padding: 10px 11px;
  border-radius: 9px;
  background: #fbfaf8;
  border: 1px solid #eae8ed;
}
.none-lead-current strong {
  display: block;
  color: #605472;
  font-size: .72rem;
  margin-bottom: 4px;
}
.none-lead-current p {
  margin: 0;
  color: #667085;
  font-size: .76rem;
  line-height: 1.45;
  white-space: pre-wrap;
}
.none-lead-actions-row {
  display: flex;
  gap: 8px;
  margin-top: 12px;
}
.none-lead-action-status {
  margin-top: 9px;
  padding: 9px 11px;
  border-radius: 9px;
  font-size: .75rem;
  line-height: 1.4;
}
.none-lead-action-status--loading {
  color: #74530a;
  border: 1px solid #f0d29a;
  background: #fff9ec;
}
.none-lead-action-status--success {
  color: #17603a;
  border: 1px solid #bfe4cf;
  background: #f1fbf5;
}
.none-lead-action-status--error {
  color: #9d2f3f;
  border: 1px solid #efc8cf;
  background: #fff5f6;
}
.none-lead-footer-actions {
  display: flex;
  justify-content: flex-end;
  margin-top: 12px;
}
@media (max-width: 760px) {
  .none-lead-customer-grid,
  .none-lead-edit-grid {
    grid-template-columns: 1fr;
  }
}
