.staff-customer-leads-open-btn__badge,
.staff-customer-leads-page-btn .staff-customer-leads-open-btn__badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 1.15rem;
  height: 1.15rem;
  padding: 0 0.3rem;
  border-radius: 999px;
  background: #dc2626;
  color: #fff;
  font-size: 0.68rem;
  font-weight: 700;
  line-height: 1;
}

.staff-customer-leads-page-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.28rem;
}

.staff-customer-leads-page {
  width: 100%;
  min-height: calc(100vh - 8.5rem);
}

.staff-customer-leads-page__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.85rem;
}

.staff-customer-leads-page__head h2 {
  margin: 0 0 0.35rem;
}

.staff-customer-leads-page__body {
  display: grid;
  grid-template-columns: minmax(18rem, 1fr) minmax(20rem, 1.15fr);
  gap: 1rem;
  align-items: start;
}

.staff-customer-leads-list-mount,
.staff-customer-leads-detail-mount {
  min-width: 0;
}

.staff-customer-leads-hint {
  margin: 0;
  font-size: 0.84rem;
  color: #475569;
  line-height: 1.5;
}

.staff-customer-leads-empty,
.staff-customer-leads-detail-empty {
  margin: 0;
  padding: 1rem;
  border-radius: 10px;
  background: #f8fafc;
  color: #64748b;
  font-size: 0.88rem;
}

.staff-customer-leads-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.staff-customer-leads-item {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 0.35rem;
  align-items: stretch;
}

.staff-customer-leads-item__open {
  display: block;
  width: 100%;
  text-align: left;
  padding: 0.7rem 0.8rem;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  background: #fff;
  cursor: pointer;
}

.staff-customer-leads-item--unread .staff-customer-leads-item__open {
  border-color: #93c5fd;
  background: #f0f9ff;
}

.staff-customer-leads-item--selected .staff-customer-leads-item__open {
  border-color: #2563eb;
  box-shadow: 0 0 0 2px rgba(37, 99, 235, 0.16);
}

.staff-customer-leads-item__open:hover {
  border-color: #60a5fa;
}

.staff-customer-leads-item__head {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.staff-customer-leads-item__contact {
  font-size: 0.9rem;
  color: #0f172a;
}

.staff-customer-leads-item__badge {
  font-size: 0.68rem;
  font-weight: 700;
  color: #1d4ed8;
  background: #dbeafe;
  border-radius: 999px;
  padding: 0.1rem 0.45rem;
}

.staff-customer-leads-item__address {
  display: block;
  margin-top: 0.2rem;
  font-size: 0.82rem;
  color: #334155;
}

.staff-customer-leads-item__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-top: 0.35rem;
  font-size: 0.75rem;
  color: #64748b;
}

.staff-customer-leads-item__delete {
  align-self: center;
}

.staff-customer-leads-detail {
  padding: 0.95rem 1rem;
  border: 1px solid #bfdbfe;
  border-radius: 12px;
  background: #f8fbff;
}

.staff-customer-leads-detail__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  margin-bottom: 0.45rem;
}

.staff-customer-leads-detail__badge {
  font-size: 0.75rem;
  font-weight: 700;
  color: #1f4e79;
  background: #cde4f5;
  border-radius: 4px;
  padding: 0.1rem 0.45rem;
}

.staff-customer-leads-detail__time {
  font-size: 0.75rem;
  color: #64748b;
}

.staff-customer-leads-detail__contact {
  margin: 0 0 0.55rem;
  font-size: 0.92rem;
  color: #1f4e79;
}

.staff-customer-leads-detail__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.45rem 0.75rem;
  margin: 0;
}

.staff-customer-leads-detail__grid div {
  margin: 0;
}

.staff-customer-leads-detail__grid dt {
  margin: 0;
  font-size: 0.72rem;
  color: #64748b;
}

.staff-customer-leads-detail__grid dd {
  margin: 0.1rem 0 0;
  font-size: 0.84rem;
  color: #0f172a;
}

.staff-customer-leads-detail__marketing {
  margin: 0.55rem 0 0;
  font-size: 0.78rem;
  color: #1e7145;
}

.staff-customer-leads-detail__own-case {
  margin: 0.55rem 0 0;
  font-size: 0.78rem;
  line-height: 1.45;
  color: #3d4a2e;
}

.staff-customer-leads-detail__own-case--muted {
  color: #6b635c;
}

.staff-customer-leads-detail__actions {
  margin-top: 0.75rem;
}

.staff-lead-banner-actions {
  margin-top: 0.45rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
}

@media (max-width: 800px) {
  .staff-customer-leads-page__body {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .staff-customer-leads-detail__grid {
    grid-template-columns: 1fr;
  }
}

.quote-request-compact {
  margin-bottom: var(--space-xl);
  padding: var(--space-xl);
  border: 1px solid rgba(191, 219, 254, 0.55);
  border-radius: var(--radius-xl, 16px);
  background: linear-gradient(165deg, #ffffff 0%, #f8fafc 100%);
  box-shadow: var(--crd-shadow-ambient, 0 24px 48px -12px rgba(15, 23, 42, 0.08));
}

.quote-request-compact .quote-request-desc {
  margin-bottom: var(--space-lg);
}
