/* Lead Finder import confirmation and phone-type badges. Theme tokens only. */

.lf-explainer {
  margin: 4px 4px 12px;
  max-width: 46rem;
  color: var(--fg-muted, var(--muted));
  font-size: 0.92rem;
  line-height: 1.45;
}

.lf-import-banner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: 4px 4px 12px;
  padding: 14px 16px;
  border: 1px solid var(--success, #15803d);
  border-radius: var(--radius, 10px);
  background: var(--success-soft, #dcfce7);
  color: var(--on-success-soft, var(--fg));
}

.lf-import-title {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.3;
  color: inherit;
}

.lf-import-note {
  margin: 4px 0 0;
  font-size: 0.85rem;
  line-height: 1.4;
}

.lf-import-banner .button {
  flex: 0 0 auto;
}

.lf-line {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
  max-width: 16rem;
}

.lf-line-badge {
  white-space: normal;
  text-align: left;
  line-height: 1.35;
  font-weight: 650;
}

.lf-line-badge--ok {
  background: var(--success-soft);
  color: var(--on-success-soft);
  border-color: var(--success);
}

.lf-line-badge--warn {
  background: var(--warning-soft);
  color: var(--on-warning-soft);
  border-color: var(--warning);
}

.lf-line-badge--pending {
  background: var(--surface-sunken);
  color: var(--fg-muted);
  border-color: var(--border);
}

.lf-why {
  position: relative;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--primary-text, var(--fg));
  font: inherit;
  font-size: 12px;
  font-weight: 650;
  text-decoration: underline;
  text-underline-offset: 2px;
  cursor: help;
}

.lf-why-line {
  display: none;
  max-width: 16rem;
  color: var(--fg-muted, var(--muted));
  font-size: 12px;
  font-weight: 500;
  line-height: 1.35;
  text-decoration: none;
}

.lf-line:hover .lf-why-line,
.lf-line:focus-within .lf-why-line {
  display: block;
}
