.hdcars-lot-page {
  --lot-ink: #18232d;
  --lot-muted: #66737d;
  --lot-line: #e1e6e9;
  --lot-soft: #f5f7f8;
  --lot-accent: #1464a5;
  --lot-accent-dark: #0d4778;
  background: #f7faff;
  color: var(--lot-ink);
  font-family: inherit;
  max-width: 100%;
  overflow-x: clip;
}

/* Compact auction-detail presentation overrides. */
.hdcars-lot-page .hdcars-lot-history { padding: 0; margin: 0 0 12px; border: 1px solid var(--lot-line); background: #fff; }
.hdcars-lot-page .hdcars-history-bar { display: flex; align-items: center; gap: 12px; width: 100%; min-height: 56px; padding: 11px 16px; border: 1px solid var(--lot-line); border-radius: 10px; background: #fff; color: var(--lot-ink); font-size: 14px; font-weight: 800; text-align: left; cursor: pointer; }
.hdcars-history-bar-icon { display: inline-grid; place-items: center; width: 28px; height: 28px; color: var(--lot-accent); font-size: 25px; font-weight: 400; line-height: 1; }
.hdcars-history-bar strong { display: inline-grid; place-items: center; min-width: 30px; height: 30px; margin-left: auto; border-radius: 999px; background: #f3f6f9; color: var(--lot-ink); font-size: 14px; }
.hdcars-history-bar-chevron { color: var(--lot-muted); font-size: 18px; transition: transform .15s; }
.hdcars-history-bar[aria-expanded="true"] .hdcars-history-bar-chevron { transform: rotate(180deg); }
.hdcars-lot-page .hdcars-history-panel { padding: 0 16px 14px; }
.hdcars-lot-page .hdcars-history-panel[hidden] { display: none; }
.hdcars-lot-page .hdcars-history-intro { margin: 0 0 10px; }
.hdcars-lot-page .hdcars-history-summary { margin-bottom: 10px; }
.hdcars-lot-page .hdcars-history-summary div { padding: 8px 10px; }
.hdcars-lot-page .hdcars-history-summary strong { font-size: 16px; }
.hdcars-lot-page .hdcars-history-table td { padding: 7px 8px; }
.hdcars-lot-page .hdcars-lot-page-header { padding: 14px 0 16px; }
.hdcars-lot-page .hdcars-lot-page-header h1 { margin: 8px 0 4px; color: var(--lot-ink); font-size: clamp(28px,2.6vw,36px); line-height: 1.1; }
.hdcars-lot-header-meta { margin: 0; color: var(--lot-muted); font-size: 13px; }
.hdcars-lot-page .hdcars-lot-hero { grid-template-columns: minmax(0,1.65fr) minmax(260px,1.2fr) minmax(220px,.9fr); gap: 16px; padding: 16px; }
.hdcars-lot-page .hdcars-lot-gallery-col { gap: 8px; }
.hdcars-lot-page .hdcars-lot-hero-image, .hdcars-lot-page .hdcars-lot-hero-empty { max-height: 480px; }
.hdcars-lot-page .hdcars-lot-thumb { flex-basis: 92px; width: 92px; }
.hdcars-lot-page .hdcars-lot-center-column { min-width: 0; border: 1px solid var(--lot-line); background: #fff; padding: 14px 16px; }
.hdcars-lot-center-details { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1.25fr); gap: 0; margin: 0; }
.hdcars-lot-center-details > div { min-width: 0; padding: 7px 0; border-bottom: 1px solid #edf0f2; }
.hdcars-lot-center-details > div:nth-last-child(-n+2) { border-bottom: 0; }
.hdcars-lot-center-details dt { color: var(--lot-muted); font-size: 11px; }
.hdcars-lot-center-details dd { margin: 2px 0 0; color: var(--lot-ink); font-size: 13px; font-weight: 700; overflow-wrap: anywhere; }
.hdcars-lot-page .hdcars-lot-summary-panel { align-self: start; gap: 6px; padding: 16px; border: 1px solid var(--lot-line); background: var(--lot-soft); }
.hdcars-lot-page .hdcars-lot-summary-panel .hdcars-lot-price { margin: 4px 0 10px; padding-bottom: 10px; }
.hdcars-lot-page .hdcars-lot-summary-panel .hdcars-lot-price strong { font-size: 30px; color: var(--lot-accent-dark); }
.hdcars-lot-page .hdcars-lot-summary-panel .hdcars-lot-live-price { padding: 5px 0; margin: 0; border-bottom: 1px solid var(--lot-line); }
.hdcars-lot-page .hdcars-carfax-link { position: relative; display: block; width: min(100%,190px); margin-top: 12px; line-height: 0; cursor: pointer; transition: opacity .15s, transform .15s; }
.hdcars-lot-page .hdcars-carfax-link:hover { opacity: .9; transform: translateY(-1px); }
.hdcars-lot-page .hdcars-carfax-link img { display: block; width: 100%; height: auto; }
.hdcars-lot-page .hdcars-carfax-badge { position: absolute; top: 6px; right: 6px; padding: 4px 6px; background: var(--lot-accent); color: #fff; font-size: 10px; font-weight: 800; letter-spacing: .08em; line-height: 1; }
.hdcars-encar-report { margin: 14px auto 0; padding: 12px; border: 1px solid var(--lot-line); background: #fff; }
.hdcars-encar-report h2 { margin: 0 0 10px; color: var(--lot-ink); font-size: 13px; font-weight: 700; }
.hdcars-encar-report-link { display: flex; flex-direction: column; gap: 6px; color: var(--lot-accent-dark); text-decoration: none; }
.hdcars-encar-report-link:hover { color: var(--lot-accent); }
.hdcars-encar-report-link:focus-visible { outline: 3px solid #6aa7d6; outline-offset: 3px; }
.hdcars-encar-report-brand { font-size: 13px; font-weight: 800; letter-spacing: .05em; }
.hdcars-encar-report-action { font-size: 12px; font-weight: 700; text-decoration: underline; }
.hdcars-lot-auction-panel-details { display: grid; grid-template-columns: 1fr; gap: 0; margin: 8px 0 0; }
.hdcars-lot-auction-panel-details > div { padding: 7px 0; border-bottom: 1px solid var(--lot-line); }
.hdcars-lot-auction-panel-details dt { color: var(--lot-muted); font-size: 11px; }
.hdcars-lot-auction-panel-details dd { margin: 2px 0 0; color: var(--lot-ink); font-size: 13px; font-weight: 700; overflow-wrap: anywhere; }
.hdcars-carfax-link { display: block; width: 100%; max-width: 180px; margin: 14px auto 0; line-height: 0; cursor: pointer; transition: opacity .15s, transform .15s; }
.hdcars-carfax-link:hover { opacity: .86; transform: translateY(-1px); }
.hdcars-carfax-link img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: contain; }
.hdcars-carfax-link:focus-visible { outline: 3px solid #6aa7d6; outline-offset: 3px; }
.hdcars-lot-page .hdcars-lot-lower, .hdcars-lot-page .hdcars-lot-section { display: none; }
.hdcars-lot-page .hdcars-lot-history + .hdcars-lot-single { border-top: 1px solid var(--lot-line); }
@media (max-width: 1050px) {
  .hdcars-lot-page .hdcars-lot-hero { grid-template-columns: minmax(0,1.45fr) minmax(0,1fr); }
  .hdcars-lot-page .hdcars-lot-summary-panel { grid-column: 2; grid-row: 1; }
  .hdcars-lot-page .hdcars-lot-center-column { grid-column: 2; grid-row: 2; }
  .hdcars-lot-page .hdcars-lot-gallery-col { grid-column: 1; grid-row: 1 / span 2; }
}
@media (max-width: 760px) {
  .hdcars-lot-page .hdcars-lot-page-header { padding: 10px 0 12px; }
  .hdcars-lot-page .hdcars-lot-page-header h1 { font-size: 27px; }
  .hdcars-lot-page .hdcars-lot-hero { display: flex; flex-direction: column; gap: 12px; padding: 12px; }
  .hdcars-lot-page .hdcars-lot-gallery-col, .hdcars-lot-page .hdcars-lot-center-column, .hdcars-lot-page .hdcars-lot-summary-panel { width: 100%; }
  .hdcars-lot-page .hdcars-lot-hero-image, .hdcars-lot-page .hdcars-lot-hero-empty { max-height: 320px; }
  .hdcars-lot-page .hdcars-lot-center-column { order: 2; }
  .hdcars-lot-page .hdcars-lot-summary-panel { order: 3; }
  .hdcars-lot-page .hdcars-lot-gallery-col { order: 1; }
  .hdcars-lot-page .hdcars-history-panel { padding: 0 10px 12px; }
  .hdcars-lot-page .hdcars-history-table-wrap { display: none; }
  .hdcars-lot-page .hdcars-history-mobile { display: grid; }
}
.hdcars-lots { width: min(calc(100% - 40px), 1380px); margin: 0 auto; padding: 54px 0 80px; }
.hdcars-lot-page * { box-sizing: border-box; }
.hdcars-lot-status-tabs { display: flex; gap: 8px; margin: 0 0 20px; }
.hdcars-lot-status-tabs a { display: inline-flex; align-items: center; min-height: 40px; padding: 0 16px; border: 1px solid var(--lot-line); background: #fff; color: var(--lot-muted); font-size: 12px; font-weight: 800; text-decoration: none; }
.hdcars-lot-status-tabs a.is-active, .hdcars-lot-status-tabs a:hover { border-color: var(--lot-accent); background: #edf5fb; color: var(--lot-accent-dark); }
.hdcars-lot-purchased-badge { position: absolute; right: 14px; bottom: 14px; padding: 7px 9px; background: #1f6b45; color: #fff; font-size: 10px; font-weight: 900; letter-spacing: .04em; }
.hdcars-lot-header { display: flex; align-items: end; justify-content: space-between; gap: 30px; margin-bottom: 34px; }
.hdcars-lot-kicker { margin: 0 0 10px; color: var(--lot-accent); font-size: 12px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.hdcars-lot-header h1 { margin: 0; font-size: clamp(32px, 4vw, 48px); line-height: 1.05; letter-spacing: 0; }
.hdcars-lot-header p:last-child { max-width: 420px; margin: 0; color: var(--lot-muted); line-height: 1.6; }
.hdcars-lot-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.hdcars-lot-card { overflow: hidden; border: 1px solid var(--lot-line); background: #fff; box-shadow: 0 8px 24px rgba(24,35,45,.06); transition: border-color .2s, box-shadow .2s; }
.hdcars-lot-card:hover { border-color: #c5cdd2; box-shadow: 0 14px 32px rgba(24,35,45,.11); }
.hdcars-lot-card-image { display: block; position: relative; aspect-ratio: 16/10; background: #e8edef; }
.hdcars-lot-card-image img { display: block; width: 100%; height: 100%; object-fit: cover; }
.hdcars-lot-image-empty, .hdcars-lot-hero-empty { display: grid; place-items: center; height: 100%; background: linear-gradient(135deg,#e9edef,#dce2e5); color: #7d8991; font-size: 12px; font-weight: 800; letter-spacing: .2em; }
.hdcars-source-badge { display: inline-flex; width: max-content; background: #123f68; color: #fff; padding: 7px 10px; font-size: 11px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.hdcars-source-badge-link { cursor: pointer; text-decoration: none; }
.hdcars-source-badge-link:hover { background: var(--lot-accent); color: #fff; }
.hdcars-lot-card-image .hdcars-source-badge { position: absolute; top: 14px; left: 14px; }
.hdcars-lot-card-body { padding: 22px; }
.hdcars-lot-card h2 { margin: 16px 0 5px; font-size: 23px; line-height: 1.15; }
.hdcars-lot-card h2 a { color: inherit; text-decoration: none; }
.hdcars-lot-meta, .hdcars-lot-number { margin: 0; color: var(--lot-muted); font-size: 14px; }
.hdcars-lot-card-facts { margin: 10px 0 0; color: var(--lot-muted); font-size: 13px; line-height: 1.5; }
.hdcars-lot-price { display: flex; flex-direction: column; gap: 5px; margin: 24px 0; }
.hdcars-lot-price span, .hdcars-lot-live-price span { color: var(--lot-muted); font-size: 12px; }
.hdcars-lot-price strong { font-size: 25px; line-height: 1; }
.hdcars-lot-live-price { display: flex; justify-content: space-between; gap: 12px; margin: 10px 0; color: var(--lot-ink); }
.hdcars-lot-live-price strong { font-size: 16px; }
.hdcars-lot-cta, .hdcars-lot-external { display: inline-flex; justify-content: center; align-items: center; gap: 8px; padding: 12px 16px; background: var(--lot-accent); color: #fff; text-decoration: none; font-size: 14px; font-weight: 800; }
.hdcars-lot-cta:hover, .hdcars-lot-external:hover { background: var(--lot-accent-dark); color: #fff; }
.hdcars-lot-cta { width: 100%; }
.hdcars-lot-single { min-width: 0; border: 1px solid var(--lot-line); background: #fff; box-shadow: 0 10px 30px rgba(24,35,45,.06); }
.hdcars-lot-breadcrumb { display: flex; gap: 10px; margin-bottom: 14px; color: var(--lot-muted); font-size: 13px; }
.hdcars-lot-breadcrumb a { color: var(--lot-ink); font-weight: 700; }
.hdcars-lot-hero { display: grid; grid-template-columns: minmax(0,1.65fr) minmax(280px,1fr); gap: 22px; padding: 22px; align-items: start; }
.hdcars-lot-gallery-col { min-width: 0; display: flex; flex-direction: column; gap: 10px; }
.hdcars-lot-gallery-stage { position: relative; min-width: 0; }
.hdcars-gallery-arrow { position: absolute; top: 50%; z-index: 2; display: grid; place-items: center; width: 38px; height: 52px; transform: translateY(-50%); border: 1px solid rgba(255,255,255,.7); border-radius: 6px; background: rgba(18,63,104,.78); color: #fff; font-size: 34px; line-height: 1; cursor: pointer; opacity: .9; }
.hdcars-gallery-arrow:hover { background: var(--lot-accent); opacity: 1; }
.hdcars-gallery-arrow:focus-visible { outline: 3px solid #6aa7d6; outline-offset: 2px; }
.hdcars-gallery-arrow-prev { left: 12px; }
.hdcars-gallery-arrow-next { right: 12px; }
.hdcars-lot-hero-image, .hdcars-lot-hero-empty { display: block; width: 100%; max-height: 520px; object-fit: contain; background: #eef1f2; }
.hdcars-lot-hero-empty { aspect-ratio: 4/3; display: grid; place-items: center; }
.hdcars-lot-gallery { min-width: 0; display: flex; gap: 8px; overflow-x: auto; scrollbar-width: thin; }
.hdcars-lot-thumb { flex: 0 0 100px; width: 100px; padding: 0; border: 2px solid transparent; background: #eef1f2; cursor: pointer; }
.hdcars-lot-thumb.is-active { border-color: var(--lot-accent); }
.hdcars-lot-thumb img { display: block; width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.hdcars-lot-summary-panel { min-width: 0; display: flex; flex-direction: column; gap: 8px; padding: 20px 22px; border: 1px solid var(--lot-line); background: var(--lot-soft); }
.hdcars-lot-summary-panel h1 { margin: 8px 0 0; font-size: clamp(28px,2.4vw,38px); line-height: 1.1; }
.hdcars-lot-summary-panel .hdcars-lot-number { margin: 0 0 6px; }
.hdcars-lot-summary-panel .hdcars-lot-price { margin: 4px 0 14px; padding-bottom: 14px; border-bottom: 1px solid var(--lot-line); }
.hdcars-lot-summary-panel .hdcars-lot-price strong { font-size: 32px; }
.hdcars-lot-quick-facts { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px 16px; }
.hdcars-lot-lower { display: grid; grid-template-columns: repeat(auto-fit,minmax(240px,1fr)); gap: 18px; padding: 24px 22px 28px; border-top: 1px solid var(--lot-line); }
.hdcars-lot-card-info { min-width: 0; border: 1px solid var(--lot-line); background: #fff; padding: 20px 22px; }
.hdcars-lot-card-info h2 { margin: 0 0 14px; font-size: 20px; }
.hdcars-lot-card-info .hdcars-lot-details { grid-template-columns: 1fr; gap: 12px; }
.hdcars-lot-history { padding: 24px 22px 28px; border-top: 1px solid var(--lot-line); }
.hdcars-lot-history h2 { margin: 0; font-size: 22px; }
.hdcars-history-intro { margin: 4px 0 16px; color: var(--lot-muted); font-size: 13px; }
.hdcars-history-summary { display: grid; grid-template-columns: repeat(auto-fit,minmax(130px,1fr)); gap: 10px; margin-bottom: 16px; }
.hdcars-history-summary div { padding: 12px 14px; border: 1px solid var(--lot-line); background: var(--lot-soft); }
.hdcars-history-summary strong, .hdcars-history-summary span { display: block; }
.hdcars-history-summary strong { color: var(--lot-ink); font-size: 19px; }
.hdcars-history-summary span { margin-top: 3px; color: var(--lot-muted); font-size: 11px; }
.hdcars-history-table-wrap { overflow-x: auto; }
.hdcars-history-table { width: 100%; border-collapse: collapse; font-size: 13px; }
.hdcars-history-table th { padding: 9px 10px; color: var(--lot-muted); font-size: 11px; font-weight: 700; text-align: left; white-space: nowrap; }
.hdcars-history-table td { padding: 10px; border-top: 1px solid var(--lot-line); white-space: nowrap; }
.hdcars-history-extra { display: none; }
.hdcars-history-extra.is-visible { display: table-row; }
.hdcars-history-status { display: inline-flex; padding: 4px 7px; border: 1px solid var(--lot-line); font-size: 11px; font-weight: 700; white-space: nowrap; }
.hdcars-history-status-sold { border-color: #a8cdb7; background: #f0f8f2; color: #286640; }
.hdcars-history-status-not-sold { background: #f5f7f8; color: var(--lot-muted); }
.hdcars-history-status-unknown { background: #f8fafb; color: var(--lot-muted); }
.hdcars-history-toggle { margin-top: 16px; padding: 9px 13px; border: 1px solid var(--lot-accent); background: #fff; color: var(--lot-accent-dark); font-size: 13px; font-weight: 700; cursor: pointer; }
.hdcars-history-toggle:hover { background: var(--lot-accent); color: #fff; }
.hdcars-history-mobile { display: none; }
.hdcars-lot-external { width: 100%; background: transparent; color: var(--lot-ink); border: 1px solid #bfc8cd; }
.hdcars-lot-external:hover { color: #fff; }
.hdcars-lot-section { padding: 28px 22px; border-top: 1px solid var(--lot-line); }
.hdcars-lot-section h2 { margin: 0 0 18px; font-size: 22px; }
.hdcars-lot-details { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 14px 20px; margin: 0; }
.hdcars-lot-details div { min-width: 0; }
.hdcars-lot-details dt { color: var(--lot-muted); font-size: 12px; }
.hdcars-lot-details dd { margin: 5px 0 0; font-size: 15px; font-weight: 750; overflow-wrap: anywhere; }
.hdcars-lot-engine-video-trigger { display: inline-flex; align-items: center; gap: 6px; margin-top: 8px; padding: 5px 10px; border: 1px solid var(--lot-accent); background: #eef5fb; color: var(--lot-accent-dark); font-size: 12px; font-weight: 700; cursor: pointer; }
.hdcars-lot-engine-video-trigger:hover { background: var(--lot-accent); color: #fff; }
.hdcars-lot-muted { color: var(--lot-muted); }
.hdcars-lot-empty { padding: 50px 20px; border: 1px solid var(--lot-line); background: #fff; }
.hdcars-lot-lightbox { position: fixed; z-index: 99999; inset: 0; display: none; place-items: center; padding: 24px; background: rgba(12,18,22,.92); }
.hdcars-lot-lightbox.is-open { display: grid; }
.hdcars-lot-lightbox img { max-width: min(94vw,1400px); max-height: 86vh; object-fit: contain; }
.hdcars-lot-lightbox button { position: absolute; border: 0; background: rgba(255,255,255,.12); color: #fff; cursor: pointer; font-size: 28px; }
.hdcars-lot-lightbox-close { top: 20px; right: 24px; width: 44px; height: 44px; }
.hdcars-lot-lightbox-prev, .hdcars-lot-lightbox-next { top: 50%; width: 48px; height: 60px; transform: translateY(-50%); }
.hdcars-lot-lightbox-prev { left: 20px; }
.hdcars-lot-lightbox-next { right: 20px; }
.hdcars-lot-lightbox-counter { position: absolute; bottom: 22px; color: #fff; font-size: 14px; }
.hdcars-lot-video-modal { position: fixed; z-index: 99999; inset: 0; display: none; place-items: center; padding: 24px; background: rgba(12,18,22,.85); }
.hdcars-lot-video-modal.is-open { display: grid; }
.hdcars-lot-video-modal-inner { position: relative; width: min(94vw,900px); background: #fff; padding: 20px; box-shadow: 0 20px 50px rgba(12,18,22,.4); }
.hdcars-lot-video-modal-inner video { display: block; width: 100%; max-height: 70vh; background: #0b141a; }
.hdcars-lot-video-modal-close { position: absolute; top: -18px; right: -18px; width: 40px; height: 40px; border: 0; border-radius: 999px; background: var(--lot-ink); color: #fff; font-size: 22px; cursor: pointer; }
.hdcars-lot-video-fallback { display: inline-block; margin-top: 14px; color: var(--lot-accent-dark); font-size: 13px; font-weight: 700; }
.hdcars-lot-lightbox button:focus-visible, .hdcars-lot-thumb:focus-visible, .hdcars-lot-cta:focus-visible, .hdcars-lot-external:focus-visible, .hdcars-source-badge-link:focus-visible, .hdcars-lot-engine-video-trigger:focus-visible, .hdcars-lot-video-modal-close:focus-visible, .hdcars-lot-video-fallback:focus-visible { outline: 3px solid #6aa7d6; outline-offset: 3px; }
@media (max-width: 1050px) { .hdcars-lot-grid { grid-template-columns: repeat(2,minmax(0,1fr)); } .hdcars-lot-details { grid-template-columns: repeat(3,minmax(0,1fr)); } }
@media (max-width: 760px) {
  .hdcars-lots { width: min(calc(100% - 28px),1380px); padding: 32px 0 54px; }
  .hdcars-lot-header { display: block; margin-bottom: 26px; }
  .hdcars-lot-header p:last-child { margin-top: 14px; }
  .hdcars-lot-grid { grid-template-columns: 1fr; gap: 18px; }
  .hdcars-lot-hero { grid-template-columns: 1fr; padding: 14px; gap: 14px; }
  .hdcars-lot-hero-image, .hdcars-lot-hero-empty { max-height: 320px; }
  .hdcars-lot-summary-panel h1 { font-size: 26px; }
  .hdcars-lot-summary-panel .hdcars-lot-price strong { font-size: 28px; }
  .hdcars-lot-quick-facts { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .hdcars-lot-thumb { flex-basis: 84px; width: 84px; }
  .hdcars-lot-lower { grid-template-columns: 1fr; padding: 20px 14px 24px; gap: 14px; }
  .hdcars-lot-card-info { padding: 16px 18px; }
  .hdcars-lot-section { padding: 26px 16px; }
  .hdcars-lot-details { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 18px 14px; }
  .hdcars-lot-history { padding: 22px 14px 24px; }
  .hdcars-history-table-wrap { display: none; }
  .hdcars-history-mobile { display: grid; gap: 8px; }
  .hdcars-history-mobile-row { padding: 12px; border: 1px solid var(--lot-line); background: #fff; }
  .hdcars-history-mobile-row.hdcars-history-extra { display: none; }
  .hdcars-history-mobile-row.hdcars-history-extra.is-visible { display: block; }
  .hdcars-history-mobile-row header { display: flex; justify-content: space-between; gap: 10px; color: var(--lot-muted); font-size: 12px; }
  .hdcars-history-mobile-row header strong { color: var(--lot-ink); }
  .hdcars-history-mobile-row dl { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 10px; margin: 12px 0 0; }
  .hdcars-history-mobile-row dt { color: var(--lot-muted); font-size: 11px; }
  .hdcars-history-mobile-row dd { margin: 3px 0 0; font-size: 13px; font-weight: 700; }
  .hdcars-lot-cta, .hdcars-lot-external { min-height: 48px; width: 100%; }
  .hdcars-lot-lightbox { padding: 12px; }
  .hdcars-lot-lightbox-prev { left: 8px; }
  .hdcars-lot-lightbox-next { right: 8px; }
}

/* Public LOT search and filter layout. */
.hdcars-lot-search-layout { display: grid; grid-template-columns: minmax(250px,290px) minmax(0,1fr); grid-template-rows: auto 1fr; grid-template-areas: "search results" "filters results"; align-items: start; gap: 0 26px; }
.hdcars-lot-search-top { grid-area: search; min-width: 0; }
.hdcars-lot-search-control { display: flex; gap: 8px; }
.hdcars-lot-search-control input { width: 100%; min-width: 0; min-height: 46px; padding: 10px 12px; border: 1px solid #cbd4da; background: #fff; color: var(--lot-ink); font: inherit; }
.hdcars-lot-search-control input:focus, .hdcars-lot-filter-field select:focus, .hdcars-lot-year-filter input:focus { outline: 3px solid rgba(20,100,165,.22); border-color: var(--lot-accent); }
.hdcars-lot-filter-open, .hdcars-lot-filter-close, .hdcars-lot-filter-backdrop { display: none; }
.hdcars-lot-filter-panel { grid-area: filters; min-width: 0; margin-top: 16px; padding: 18px; border: 1px solid var(--lot-line); background: #fff; }
.hdcars-lot-filter-heading { display: flex; align-items: center; justify-content: space-between; margin-bottom: 16px; }
.hdcars-lot-filter-heading h2 { margin: 0; font-size: 18px; }
.hdcars-lot-filter-label, .hdcars-lot-year-filter legend { display: block; margin: 0 0 6px; color: var(--lot-muted); font-size: 12px; font-weight: 700; }
.hdcars-lot-filter-field { min-width: 0; margin-bottom: 14px; }
.hdcars-lot-filter-field select, .hdcars-lot-year-filter input { width: 100%; min-width: 0; min-height: 42px; padding: 8px 10px; border: 1px solid #cbd4da; border-radius: 0; background: #fff; color: var(--lot-ink); font: inherit; }
.hdcars-lot-filter-field select:disabled { background: #f1f3f4; color: #7a858d; }
.hdcars-lot-year-filter { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 10px; min-width: 0; margin: 0 0 14px; padding: 0; border: 0; }
.hdcars-lot-year-filter legend { grid-column: 1 / -1; }
.hdcars-lot-year-filter label { display: block; margin-bottom: 5px; color: var(--lot-muted); font-size: 11px; }
.hdcars-lot-filter-actions { display: grid; gap: 10px; margin-top: 18px; }
.hdcars-lot-apply { min-height: 46px; padding: 10px 14px; border: 0; background: var(--lot-accent); color: #fff; font: inherit; font-size: 13px; font-weight: 800; text-transform: uppercase; cursor: pointer; }
.hdcars-lot-apply:hover { background: var(--lot-accent-dark); }
.hdcars-lot-clear { min-height: 40px; display: grid; place-items: center; border: 1px solid var(--lot-line); color: var(--lot-ink); font-size: 13px; font-weight: 700; text-decoration: none; }
.hdcars-lot-clear:hover { border-color: var(--lot-accent); color: var(--lot-accent-dark); }
.hdcars-lot-results { grid-area: results; min-width: 0; }
.hdcars-lot-results-heading { display: flex; align-items: center; justify-content: space-between; min-height: 46px; margin-bottom: 16px; }
.hdcars-lot-results-heading p { margin: 0; color: var(--lot-muted); font-size: 14px; font-weight: 700; }
.hdcars-lot-pagination { display: flex; align-items: center; justify-content: center; gap: 14px; margin-top: 30px; color: var(--lot-muted); font-size: 13px; }
.hdcars-lot-pagination a { display: inline-flex; align-items: center; min-height: 40px; padding: 0 14px; border: 1px solid var(--lot-line); background: #fff; color: var(--lot-ink); font-weight: 700; text-decoration: none; }
.hdcars-lot-pagination a:hover { border-color: var(--lot-accent); color: var(--lot-accent-dark); }
.hdcars-lot-filter-close:focus-visible, .hdcars-lot-filter-open:focus-visible, .hdcars-lot-apply:focus-visible, .hdcars-lot-clear:focus-visible, .hdcars-lot-pagination a:focus-visible { outline: 3px solid #6aa7d6; outline-offset: 2px; }
@media (max-width: 760px) {
  .hdcars-lot-search-layout { grid-template-columns: minmax(0,1fr); grid-template-rows: auto auto; grid-template-areas: "search" "results"; gap: 0; }
  .hdcars-lot-search-top { margin-bottom: 18px; }
  .hdcars-lot-search-control { display: grid; grid-template-columns: minmax(0,1fr) auto; }
  .hdcars-lot-filter-open { display: inline-flex; align-items: center; justify-content: center; gap: 7px; min-height: 46px; padding: 0 12px; border: 1px solid var(--lot-accent); background: #fff; color: var(--lot-accent-dark); font: inherit; font-size: 13px; font-weight: 800; cursor: pointer; }
  .hdcars-lot-filter-panel { position: fixed; z-index: 100001; top: 0; bottom: 0; left: 0; width: min(88vw,380px); max-width: 100%; overflow-y: auto; margin: 0; padding: 20px 18px 28px; border: 0; background: #fff; box-shadow: 14px 0 42px rgba(24,35,45,.2); transform: translateX(-105%); visibility: hidden; transition: transform .2s ease, visibility .2s; }
  .hdcars-lot-filter-panel.is-open { transform: translateX(0); visibility: visible; }
  .hdcars-lot-filter-heading { margin-bottom: 20px; }
  .hdcars-lot-filter-heading h2 { font-size: 20px; }
  .hdcars-lot-filter-close { display: inline-grid; place-items: center; width: 40px; height: 40px; border: 1px solid var(--lot-line); background: #fff; color: var(--lot-ink); font-size: 24px; line-height: 1; cursor: pointer; }
  .hdcars-lot-filter-backdrop { position: fixed; z-index: 100000; inset: 0; display: none; width: 100%; height: 100%; border: 0; background: rgba(12,18,22,.55); }
  .hdcars-lot-search-layout.is-filters-open .hdcars-lot-filter-backdrop { display: block; }
  .hdcars-lot-results-heading { margin-bottom: 12px; }
  .hdcars-lot-pagination { flex-wrap: wrap; gap: 8px; }
}