/* VIN no-data card: match the storefront's light, rounded panels. */
.apvin-recovery {
  border: 0;
  border-radius: 24px;
  background: #f5f5f7;
  padding: 32px;
  box-shadow: none;
  text-align: left;
}
/* This region receives programmatic focus after the search, not Tab focus.
   Keep the existing visible focus indicators on its interactive controls. */
#apvin-result:has(> .apvin-recovery):focus { outline: none; }
.apvin-recovery .apvin-eyebrow { font-size: 11px; margin: 0 0 12px; }
.apvin-recovery h2 {
  margin: 0 0 14px;
  color: #161719;
  font-size: 26px;
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: -.02em;
}
.apvin-recovery > p:not(.apvin-eyebrow) {
  max-width: none;
  width: 100%;
  margin: 0;
  color: #606672;
  font-size: 16px;
  line-height: 1.6;
  text-align: left;
}
.apvin-recovery > p:not(.apvin-eyebrow) + p { margin-top: 8px; }
.apvin-query-value { color: #161719; overflow-wrap: anywhere; }
.apvin-recovery-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px 20px;
  margin-top: 24px;
}
.apvin-recovery-actions .apvin-back { margin: 0; min-height: 48px; }
.apvin-recovery-actions a { font-size: 13px; text-underline-offset: 4px; }
@media (max-width: 600px) {
  .apvin-recovery { padding: 24px 20px; border-radius: 20px; }
  .apvin-recovery h2 { font-size: 23px; }
  .apvin-recovery-actions { align-items: stretch; flex-direction: column; gap: 12px; }
  .apvin-recovery-actions a { align-self: center; padding: 8px; }
}

/* Vehicle result cards share the recovery panel's visual language. */
#apvin-result:has(> .apvin-matches):focus { outline: none; }
.apvin-matches { display: grid; gap: 16px; }
.apvin-match {
  min-width: 0;
  padding: 32px;
  border: 0;
  border-radius: 24px;
  background: #f5f5f7;
  text-align: left;
}
.apvin-match-header { display: flex; justify-content: space-between; align-items: flex-start; gap: 24px; }
.apvin-match-intro { min-width: 0; }
.apvin-match h3 { margin: 0; color: #161719; font-size: 26px; font-weight: 600; line-height: 1.25; letter-spacing: -.02em; }
.apvin-match-description { margin: 10px 0 0; color: #606672; font-size: 14px; line-height: 1.5; overflow-wrap: anywhere; }
.apvin-match-number { margin: 0; flex-shrink: 0; padding: 12px 16px; border-radius: 12px; background: #fff; }
.apvin-match-number span { display: block; margin-bottom: 4px; color: #6b707b; font-size: 11px; font-weight: 700; letter-spacing: .08em; }
.apvin-match-number strong { display: block; color: #161719; font-size: 14px; font-weight: 600; line-height: 1.4; overflow-wrap: anywhere; }
.apvin-match-specs { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 20px 24px; margin: 24px 0 0; padding: 24px 0 0; border-top: 1px solid #e1e3e8; }
.apvin-match-specs > div { min-width: 0; }
.apvin-match-specs dt { margin: 0 0 5px; color: #6b707b; font-size: 12px; line-height: 1.4; }
.apvin-match-specs dd { margin: 0; color: #161719; font-size: 15px; font-weight: 600; line-height: 1.4; overflow-wrap: anywhere; }
.apvin-match-actions { margin-top: 28px; }
.apvin-match-actions .apvin-primary { min-height: 48px; }
@media (max-width: 800px) {
  .apvin-match-header { flex-direction: column; gap: 16px; }
  .apvin-match-specs { grid-template-columns: repeat(2,minmax(0,1fr)); }
}
@media (max-width: 600px) {
  .apvin-match { padding: 24px 20px; border-radius: 20px; }
  .apvin-match h3 { font-size: 23px; }
  .apvin-match-number { max-width: 100%; }
  .apvin-match-specs { gap: 18px 16px; margin-top: 20px; padding-top: 20px; }
  .apvin-match-actions { margin-top: 24px; }
  .apvin-match-actions .apvin-primary { width: 100%; padding: 12px; font-size: 14px; }
  .apvin-match-actions .apvin-primary span { margin-left: 8px; }
}
