/* LAEP Epic 3 — dealer lead inbox foundation (flag-gated) */
.dlr-leads-panel {
  border: 1px solid #d7e0ea;
  border-radius: 0.75rem;
  background:
    radial-gradient(ellipse 70% 60% at 0% 0%, rgba(10, 92, 158, 0.08), transparent 55%),
    #fff;
  padding: 1rem 1.1rem;
}
.dlr-leads-panel__eyebrow {
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #64748b;
  margin: 0 0 0.35rem;
}
.dlr-leads-panel__title {
  font-size: 1.05rem;
  font-weight: 600;
  color: #0c1e2e;
  margin: 0 0 0.5rem;
  display: flex;
  align-items: center;
  gap: 0.45rem;
}
.dlr-leads-panel__badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 1.35rem;
  height: 1.35rem;
  padding: 0 0.35rem;
  border-radius: 999px;
  background: #0a5c9e;
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
  line-height: 1;
}
.dlr-leads-panel__msg {
  font-size: 0.875rem;
  color: #475569;
  margin: 0 0 0.85rem;
  line-height: 1.45;
}
.dlr-leads-panel__list {
  list-style: none;
  margin: 0 0 0.85rem;
  padding: 0;
}
.dlr-leads-panel__row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 0.75rem;
  justify-content: space-between;
  align-items: center;
  padding: 0.55rem 0;
  border-bottom: 1px solid #e8eef4;
  font-size: 0.875rem;
  color: #0c1e2e;
}
.dlr-leads-panel__row:last-child {
  border-bottom: 0;
}
.dlr-leads-panel__row-main {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  min-width: 0;
  flex: 1 1 12rem;
}
.dlr-leads-panel__meta {
  color: #64748b;
  font-size: 0.8rem;
}
.dlr-leads-panel__row-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  align-items: center;
}
.dlr-leads-panel__claim {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0.4rem 0.85rem;
  border-radius: 0.5rem;
  border: 1px solid #0a5c9e;
  background: #fff;
  color: #0a5c9e;
  font-size: 0.8125rem;
  font-weight: 600;
  cursor: pointer;
}
.dlr-leads-panel__claim:disabled {
  opacity: 0.6;
  cursor: wait;
}
.dlr-leads-panel__row--due {
  background: rgba(185, 28, 28, 0.04);
}
.dlr-leads-panel__due {
  color: #b91c1c;
  font-weight: 700;
}
.dlr-leads-panel__veh {
  display: inline-block;
  margin-inline-start: 0.25rem;
  padding: 0.1rem 0.4rem;
  border-radius: 0.3rem;
  font-size: 0.7rem;
  font-weight: 700;
  vertical-align: middle;
}
.dlr-leads-panel__veh--available {
  background: #ecfdf5;
  color: #166534;
}
.dlr-leads-panel__veh--reserved {
  background: #fffbeb;
  color: #a16207;
}
.dlr-leads-panel__veh--sold {
  background: #f1f5f9;
  color: #475569;
}
.dlr-leads-panel__fu {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 0.3rem 0.55rem;
  border-radius: 0.4rem;
  border: 1px solid #c5d3e0;
  background: #f8fafc;
  color: #0c1e2e;
  font-size: 0.75rem;
  font-weight: 600;
  cursor: pointer;
}
.dlr-leads-panel__fu:hover:not(:disabled) {
  border-color: #0a5c9e;
  color: #0a5c9e;
}
.dlr-leads-panel__fu--clear {
  color: #64748b;
}
.dlr-leads-panel__fu:disabled {
  opacity: 0.6;
  cursor: wait;
}
.dlr-leads-panel__stage {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 0.3rem 0.55rem;
  border-radius: 0.4rem;
  border: 1px solid #c5d3e0;
  background: #fff;
  color: #0c1e2e;
  font-size: 0.75rem;
  font-weight: 600;
  cursor: pointer;
}
.dlr-leads-panel__stage:hover:not(:disabled) {
  border-color: #0a5c9e;
  color: #0a5c9e;
}
.dlr-leads-panel__stage.is-active,
.dlr-leads-panel__stage:disabled.is-active {
  background: #0a5c9e;
  border-color: #0a5c9e;
  color: #fff;
  cursor: default;
}
.dlr-leads-panel__reserve {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 0.3rem 0.55rem;
  border-radius: 0.4rem;
  border: 1px solid #a16207;
  background: #fffbeb;
  color: #a16207;
  font-size: 0.75rem;
  font-weight: 600;
  cursor: pointer;
}
.dlr-leads-panel__reserve:hover:not(:disabled) {
  background: #a16207;
  color: #fff;
}
.dlr-leads-panel__reserve:disabled {
  opacity: 0.6;
  cursor: wait;
}
.dlr-leads-panel__sold {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 0.3rem 0.55rem;
  border-radius: 0.4rem;
  border: 1px solid #475569;
  background: #f8fafc;
  color: #334155;
  font-size: 0.75rem;
  font-weight: 600;
  cursor: pointer;
}
.dlr-leads-panel__sold:hover:not(:disabled) {
  background: #334155;
  color: #fff;
}
.dlr-leads-panel__sold:disabled {
  opacity: 0.6;
  cursor: wait;
}
.dlr-leads-panel__next {
  margin: 0 0 0.85rem;
  padding: 0.75rem 0.85rem;
  border: 1px solid #86efac;
  border-radius: 0.6rem;
  background: linear-gradient(180deg, rgba(22, 163, 74, 0.08), #fff);
}
.dlr-leads-panel__next-label {
  margin: 0 0 0.2rem;
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #166534;
  font-weight: 700;
}
.dlr-leads-panel__next-title {
  margin: 0 0 0.15rem;
  font-size: 0.95rem;
  font-weight: 600;
  color: #0c1e2e;
}
.dlr-leads-panel__next-meta {
  margin: 0 0 0.55rem;
  font-size: 0.8rem;
  color: #475569;
}
.dlr-leads-panel__next-cta {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0.4rem 0.85rem;
  border-radius: 0.5rem;
  background: #16a34a;
  color: #fff;
  font-size: 0.8125rem;
  font-weight: 600;
  text-decoration: none;
}
.dlr-leads-panel__next-cta:hover {
  filter: brightness(1.05);
}
.dlr-leads-panel__reply {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0.4rem 0.85rem;
  border-radius: 0.5rem;
  background: #16a34a;
  color: #fff;
  font-size: 0.8125rem;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
}
.dlr-leads-panel__reply:hover {
  filter: brightness(1.05);
}
.dlr-leads-panel__cta {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0.45rem 0.9rem;
  border-radius: 0.5rem;
  background: #0a5c9e;
  color: #fff;
  font-size: 0.875rem;
  font-weight: 600;
  text-decoration: none;
  border: 0;
  cursor: pointer;
}
.dlr-leads-panel__cta:hover {
  background: #084a80;
}
.dlr-leads-panel__cta--secondary {
  background: #fff;
  color: #0a5c9e;
  border: 1px solid #cbd5e1;
  margin-inline-start: 0.5rem;
}
.dlr-leads-panel__cta--secondary:hover {
  background: #f8fafc;
}
.dlr-leads-panel__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  align-items: center;
}
