.rescue {
  margin: 16px 0;
  padding: 18px;
  border: 1px solid #e0b783;
  border-radius: 10px;
  background: #fff7e9;
}

.success .btn {
  display: inline-flex;
  margin-top: 8px;
  text-decoration: none;
}

.rescue > p {
  margin: 5px 0 14px;
  color: var(--muted);
}

.rescue-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.rescue-actions a {
  text-decoration: none;
}

.whatsapp {
  background: #167c46;
  color: #fff;
}

.rescue-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-top: 12px;
}

.rescue-form > input {
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 11px;
}

#rescueAddressInput {
  grid-column: 1 / -1;
}

.rescue-form label,
.rescue-form small,
.rescue-form button {
  grid-column: 1 / -1;
}

.rescue-form label,
.rescue-form small {
  font-size: 0.8rem;
}

.funnel {
  margin-bottom: 16px;
  padding: 18px;
}

.funnel h2,
.funnel h3 {
  margin: 0 0 12px;
}

.funnel-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 8px;
}

.funnel-step {
  padding: 12px;
  border-radius: 8px;
  background: var(--soft);
}

.funnel-step strong {
  display: block;
  font-size: 1.35rem;
}

.source-table {
  width: 100%;
  border-collapse: collapse;
}

.source-table th,
.source-table td {
  padding: 8px;
  border-bottom: 1px solid var(--line);
  text-align: left;
}

.source-table th {
  font-size: 0.75rem;
  color: var(--muted);
}

@media (max-width: 850px) {
  .rescue-form,
  .funnel-grid {
    grid-template-columns: 1fr;
  }

  .source-table {
    font-size: 0.78rem;
  }
}
