.vehicle-profile-panel {
  background: linear-gradient(180deg, rgba(7, 18, 35, 0.96), rgba(2, 10, 24, 0.96));
  border: 1px solid #2a456b;
  color: #e2e8f0;
  padding: 1.1rem;
}

.demo-banner {
  margin: 0 0 1rem;
  padding: 0.75rem 0.9rem;
  border-radius: 0.75rem;
  border: 1px solid #fbbf24;
  background: rgba(251, 191, 36, 0.16);
  color: #fde68a;
  font-weight: 700;
  line-height: 1.35;
}

.demo-banner[hidden] {
  display: none !important;
}

.vehicle-hero {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1rem;
  flex-wrap: wrap;
}

.vehicle-hero h1 {
  margin: 0;
  color: #f8fafc;
  font-size: clamp(1.6rem, 2.4vw, 2.1rem);
}

.vehicle-hero .muted {
  margin-top: 0.35rem;
}

.copy-link-btn {
  margin-top: 0.7rem;
  border: 1px solid #38bdf8;
  background: #0ea5e9;
  color: #0f172a;
  font-weight: 700;
  border-radius: 0.55rem;
  padding: 0.45rem 0.85rem;
  cursor: pointer;
}

.brand-with-logo {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
}

.brand-with-logo img {
  width: 32px;
  height: 32px;
  border-radius: 0.45rem;
}

.vehicle-stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.6rem;
  width: min(380px, 100%);
}

.vehicle-stats article {
  border: 1px solid #2f4a73;
  border-radius: 0.75rem;
  background: rgba(8, 20, 37, 0.72);
  padding: 0.55rem 0.65rem;
}
.vehicle-stats article[hidden] {
  display: none !important;
}
.timeline-meta:empty {
  display: none;
}

.vehicle-stats span {
  display: block;
  font-size: 0.76rem;
  color: #9ec2ea;
}

.vehicle-stats strong {
  display: block;
  margin-top: 0.18rem;
  color: #e2e8f0;
  font-size: 1rem;
}

.panel-subsection {
  margin-top: 1rem;
}

.panel-subsection h2 {
  margin: 0 0 0.55rem;
  font-size: 1.05rem;
  color: #cfe6ff;
}

.vehicle-timeline {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.6rem;
}

.vehicle-timeline-item {
  border: 1px solid #2f4a73;
  border-radius: 0.75rem;
  background: rgba(8, 20, 37, 0.78);
  padding: 0.65rem 0.75rem;
}

.timeline-top {
  display: flex;
  justify-content: space-between;
  gap: 0.6rem;
  align-items: center;
  flex-wrap: wrap;
}

.timeline-top strong {
  color: #f8fafc;
}

.service-badge {
  border: 1px solid #5b8fce;
  background: rgba(37, 99, 235, 0.24);
  color: #bfdbfe;
  border-radius: 999px;
  padding: 0.18rem 0.58rem;
  font-size: 0.74rem;
  font-weight: 700;
}

.timeline-meta {
  margin-top: 0.3rem;
  color: #9bb3d3;
  font-size: 0.82rem;
}

.timeline-notes {
  margin-top: 0.35rem;
  color: #d4e2f3;
  font-size: 0.86rem;
  line-height: 1.45;
  white-space: pre-wrap;
}

.timeline-link {
  margin-top: 0.35rem;
  display: inline-block;
  color: #7dd3fc;
  font-size: 0.82rem;
}

.timeline-photo-btn {
  margin-top: 0.45rem;
  border: 1px solid #3b82f6;
  background: rgba(37, 99, 235, 0.2);
  color: #bfdbfe;
  border-radius: 0.55rem;
  padding: 0.35rem 0.65rem;
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
}

.timeline-photo-btn:hover {
  background: rgba(37, 99, 235, 0.35);
}

.photos-empty {
  margin: 0;
}

.insight-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 0.55rem;
}

.insight-card {
  border: 1px solid #2f4a73;
  border-radius: 0.7rem;
  background: rgba(8, 20, 37, 0.72);
  padding: 0.55rem 0.65rem;
}

.insight-card span {
  display: block;
  font-size: 0.76rem;
  color: #9ec2ea;
}

.insight-card strong {
  display: block;
  margin-top: 0.15rem;
  font-size: 0.9rem;
  color: #e2e8f0;
}

.vehicle-gate {
  max-width: 520px;
  margin: 2rem auto;
  text-align: center;
  background: linear-gradient(180deg, rgba(7, 18, 35, 0.96), rgba(2, 10, 24, 0.96));
  border: 1px solid #2a456b;
  color: #e2e8f0;
  padding: 1.5rem;
}

.vehicle-gate h2 {
  margin: 0 0 0.5rem;
  color: #f8fafc;
}

.vehicle-gate-btn {
  display: inline-block;
  margin-top: 1rem;
  text-decoration: none;
  text-align: center;
}
