/* -------------------- Step 2: Leads stream -------------------- */
.hw-leads {
  padding: 1.25rem 1.25rem 1rem;
  gap: 0.85rem;
  flex: 1;
  position: relative; /* anchor for the privacy shield overlay */
}

/* Light frost + translucent padlock — visually reinforces that the
   captured leads are private/secure (the "stored securely" footer line). */
.hw-leads-shield {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.07);
  backdrop-filter: blur(1.2px) saturate(105%);
  -webkit-backdrop-filter: blur(1.2px) saturate(105%);
  pointer-events: none;
  z-index: 2;
  border-radius: inherit;
}
.hw-leads-shield-lock {
  width: 100px;
  height: auto;
  display: block;
  color: var(--primary-dark); /* one step lighter than darker — softer dark teal */
  opacity: 0.85;
  filter: drop-shadow(0 6px 22px rgba(17, 94, 89, 0.3));
}
@media (max-width: 480px) {
  .hw-leads-shield-lock { width: 76px; }
}
.hw-leads-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.hw-leads-title {
  font-size: 0.92rem;
  color: var(--heading);
  font-weight: 700;
}
.hw-leads-status {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: rgba(20, 184, 166, 0.1);
  color: var(--primary-dark);
  font-size: 0.72rem;
  font-weight: 700;
  padding: 0.22rem 0.6rem;
  border-radius: 999px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.hw-leads-pulse {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--primary);
  box-shadow: 0 0 0 0 rgba(20, 184, 166, 0.5);
  animation: hwPulse 1.6s ease-out infinite;
}
@keyframes hwPulse {
  0%   { box-shadow: 0 0 0 0 rgba(20, 184, 166, 0.55); }
  70%  { box-shadow: 0 0 0 8px rgba(20, 184, 166, 0); }
  100% { box-shadow: 0 0 0 0 rgba(20, 184, 166, 0); }
}
@media (prefers-reduced-motion: reduce) {
  .hw-leads-pulse { animation: none; }
}

.hw-leads-list {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}
.hw-lead {
  display: flex;
  gap: 0.75rem;
  background: var(--surface-cream);
  border: 1px solid var(--border);
  border-left: 3px solid var(--primary);
  border-radius: 8px;
  padding: 0.7rem 0.85rem;
  align-items: flex-start;
}
.hw-lead-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.82rem;
  color: #FFFFFF;
  flex-shrink: 0;
}
.hw-lead-body { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 0.18rem; }
.hw-lead-head { display: flex; align-items: center; gap: 0.45rem; }
.hw-lead-head strong { color: var(--heading); font-size: 0.88rem; }
.hw-lead-body p {
  font-size: 0.78rem;
  color: var(--text);
  line-height: 1.35;
  margin: 0;
}
.hw-lead-meta {
  font-size: 0.7rem;
  color: var(--muted);
  font-weight: 500;
}
.hw-tag {
  font-size: 0.62rem;
  font-weight: 700;
  padding: 0.12rem 0.5rem;
  border-radius: 999px;
  text-transform: lowercase;
  letter-spacing: 0.02em;
}
.hw-tag--new       { background: #DBEAFE; color: #1E40AF; }
.hw-tag--contacted { background: #FEF3C7; color: #92400E; }
.hw-tag--qualified { background: var(--tint); color: var(--primary-darker); }
.hw-tag--booked    { background: #DCFCE7; color: #166534; }

.hw-leads-footer {
  margin-top: auto;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding-top: 0.65rem;
  border-top: 1px solid var(--border);
  font-size: 0.72rem;
  color: var(--muted);
  font-weight: 500;
}
.hw-leads-icon {
  width: 18px; height: 18px;
  border-radius: 50%;
  background: var(--tint);
  color: var(--primary-dark);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.hw-leads-icon svg {
  width: 11px; height: 11px;
  fill: none; stroke: currentColor;
  stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round;
}

