/* LAEP Epic 3 — dealer inventory list (flag-gated) */
.dlr-inv-panel {
  border: 1px solid #d7e0ea;
  border-radius: 0.75rem;
  background:
    radial-gradient(ellipse 70% 60% at 100% 0%, rgba(196, 92, 38, 0.07), transparent 55%),
    #fff;
  padding: 1rem 1.1rem;
}
.dlr-inv-panel__eyebrow {
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #64748b;
  margin: 0 0 0.35rem;
}
.dlr-inv-panel__title {
  font-size: 1.05rem;
  font-weight: 600;
  color: #0c1e2e;
  margin: 0 0 0.5rem;
}
.dlr-inv-panel__msg {
  font-size: 0.875rem;
  color: #475569;
  margin: 0 0 0.85rem;
  line-height: 1.45;
}
.dlr-inv-panel__list {
  list-style: none;
  margin: 0 0 0.85rem;
  padding: 0;
}
.dlr-inv-panel__row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0.25rem 0.75rem;
  align-items: baseline;
  padding: 0.55rem 0;
  border-bottom: 1px solid #e8eef4;
  font-size: 0.875rem;
  color: #0c1e2e;
}
.dlr-inv-panel__row--weak .dlr-inv-panel__meta {
  color: #9a3412;
}
.dlr-inv-panel__row--ok .dlr-inv-panel__meta {
  color: #a16207;
}
.dlr-inv-panel__row--strong .dlr-inv-panel__meta {
  color: #166534;
}
.dlr-inv-panel__summary {
  font-weight: 500;
  color: #9a3412;
}
.dlr-inv-panel__mix {
  margin: 0 0 0.65rem;
  font-size: 0.8125rem;
  color: #334155;
  line-height: 1.4;
}
.dlr-inv-panel__mix-label {
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #64748b;
  font-weight: 700;
  margin-inline-end: 0.35rem;
}
.dlr-inv-panel__holds {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  align-items: center;
  margin: 0 0 0.75rem;
}
.dlr-inv-panel__holds-label {
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #64748b;
  font-weight: 700;
  margin-inline-end: 0.25rem;
}
.dlr-inv-panel__hold-chip {
  min-height: 32px;
  padding: 0.2rem 0.55rem;
  border: 1px solid #c5d3e0;
  border-radius: 0.4rem;
  background: #f8fafc;
  color: #0c1e2e;
  font-size: 0.75rem;
  font-weight: 600;
  cursor: pointer;
}
.dlr-inv-panel__hold-chip:hover {
  border-color: #a16207;
  color: #a16207;
}
.dlr-inv-panel__hold-chip.is-active {
  background: #a16207;
  border-color: #a16207;
  color: #fff;
}
.dlr-inv-panel__hold-chip--expired.is-active {
  background: #b91c1c;
  border-color: #b91c1c;
}
.dlr-inv-panel__row:last-child {
  border-bottom: 0;
}
.dlr-inv-panel__label {
  grid-column: 1;
  font-weight: 500;
}
.dlr-inv-panel__meta {
  grid-column: 1;
  color: #64748b;
  font-size: 0.8rem;
}
.dlr-inv-panel__lc {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin-top: 0.15rem;
}
.dlr-inv-panel__lc-btn {
  min-height: 32px;
  padding: 0.2rem 0.55rem;
  border: 1px solid #c5d3e0;
  border-radius: 0.4rem;
  background: #f8fafc;
  color: #0c1e2e;
  font-size: 0.75rem;
  font-weight: 600;
  cursor: pointer;
}
.dlr-inv-panel__lc-btn:hover:not(:disabled) {
  border-color: #0a5c9e;
  color: #0a5c9e;
}
.dlr-inv-panel__lc-btn.is-active,
.dlr-inv-panel__lc-btn:disabled.is-active {
  background: #0a5c9e;
  border-color: #0a5c9e;
  color: #fff;
  cursor: default;
}
.dlr-inv-panel__row--lc-reserved .dlr-inv-panel__lc-btn.is-active {
  background: #a16207;
  border-color: #a16207;
}
.dlr-inv-panel__row--lc-sold .dlr-inv-panel__lc-btn.is-active {
  background: #475569;
  border-color: #475569;
}
.dlr-inv-panel__link {
  grid-column: 2;
  grid-row: 1 / span 2;
  align-self: center;
  color: #0a5c9e;
  font-size: 0.8rem;
  font-weight: 600;
  text-decoration: underline;
  white-space: nowrap;
}
.dlr-inv-panel__link:hover {
  color: #084a80;
}
.dlr-inv-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-inv-panel__cta:hover {
  background: #084a80;
}
.dlr-inv-panel__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  align-items: center;
}
@media (max-width: 420px) {
  .dlr-inv-panel__row {
    grid-template-columns: 1fr;
  }
  .dlr-inv-panel__link {
    grid-column: 1;
    grid-row: auto;
  }
}
