.vehicle-history-page{max-width:1050px;margin:auto;padding:42px 32px 90px;font-size:16px}.history-back{display:inline-block;margin-bottom:30px;color:var(--accent,#d7fb68)}.history-heading small{color:var(--accent,#d7fb68);letter-spacing:.14em;font-size:14px}.history-heading h1{font-size:clamp(30px,5vw,50px);line-height:1.12;letter-spacing:-1.4px;margin:16px 0 22px}.history-heading p,.history-notice,.history-limit{color:#a9b3af;line-height:1.65}.related-members{display:flex;gap:10px;flex-wrap:wrap}.related-members a,.history-car-links a{display:block;padding:10px 16px;border:1px solid #414b40;border-radius:8px;color:#dbf87f;text-decoration:none;font-size:16px}.history-identifiers{display:flex;gap:16px;flex-wrap:wrap;margin:30px 0}.history-identifiers>div{padding:22px 24px;background:#1b2420;border:1px solid #465737;border-radius:12px;flex:1;min-width:250px}.history-identifiers small,.history-identifiers span{display:block;color:#a6b59b;font-size:14px}.history-identifiers strong{display:block;overflow-wrap:anywhere;font-size:23px;letter-spacing:.035em;margin:9px 0}.history-notice{padding:18px 20px;border-left:3px solid #bfd76a;background:#1b211b;font-size:14px}.history-sections{display:flex;gap:12px 20px;flex-wrap:wrap;padding:18px 0;border-bottom:1px solid #354039;margin-bottom:34px}.history-sections a{color:#d0dfbd;font-size:16px;text-decoration:none}.history-section{margin:36px 0;scroll-margin-top:20px}.section-title{display:flex;align-items:baseline;gap:14px}.section-title h2{font-size:23px;line-height:1.35;margin-bottom:18px}.section-title>span{color:#9aa79f;font-size:16px}.history-event{padding:20px 22px;margin:12px 0;border:1px solid #343d37;border-radius:12px;background:#171e1a}.history-event h3{font-size:17px;line-height:1.6;font-weight:600;letter-spacing:0;margin:12px 0}.history-event p{color:#acb6b0;line-height:1.6;font-size:15px}.event-meta{display:flex;justify-content:space-between;gap:10px;flex-wrap:wrap;font-size:14px;color:#a8b39e}.event-status{color:#d4e5ad}.event-status.fault{color:#f4b5a4}.history-source{margin:9px 0 0;background:#101612;border-radius:7px;padding:9px 12px;font-size:14px}.history-source summary{color:#aebda7;line-height:1.6;cursor:pointer;overflow-wrap:anywhere}.history-source blockquote{margin:12px 0 4px;padding:0 0 0 14px;border-left:2px solid #52684b;color:#dae3d5;font-size:15px;line-height:1.65;white-space:pre-wrap;overflow-wrap:anywhere}.history-empty{color:#96a299;line-height:1.7;font-size:16px}.history-author{margin-bottom:10px}.history-car-links{display:flex;flex-wrap:wrap;gap:12px;margin:30px 0}.merge-proof{padding:18px;background:#1c271d;border:1px solid #394c32;border-radius:10px;margin-top:20px}.merge-proof>summary{cursor:pointer;font-size:16px}.history-missing{padding:45px 0}.archive-history-link{display:inline-block;color:#d7fb68;border:1px solid #52613e;border-radius:7px;padding:10px 14px;margin:10px 0 16px;font-size:16px;text-decoration:none}.archive-review-link{margin:20px 0}.archive-extra-cars{padding:20px 0}.archive-extra-cars a{display:block;margin:12px 0;color:#d7fb68;font-size:16px}.history-section>h2{font-size:24px}.history-limit{font-size:14px}@media(max-width:620px){.vehicle-history-page{padding:28px 18px 70px}.history-event{padding:17px 15px}.history-identifiers>div{min-width:0;flex-basis:100%}.history-identifiers strong{font-size:21px}.section-title h2{font-size:21px}.history-heading h1{font-size:31px}}
 .vehicle-photo-gallery{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,260px),1fr));gap:18px}.vehicle-photo-gallery figure{margin:0;border:1px solid var(--line,#344033);border-radius:14px;overflow:hidden;background:#151d18}.vehicle-photo-gallery img{display:block;width:100%;height:240px;object-fit:contain;background:#0a100d}.vehicle-photo-gallery figcaption{padding:15px;display:grid;gap:7px}.vehicle-photo-gallery figcaption span{color:#9ba79c;font-size:12px;overflow-wrap:anywhere}

.passport {
  --passport-accent: var(--lime, #d5f66a);
  --passport-muted: #a8b4ac;
  --passport-border: var(--line, #303838);
  display: grid;
  gap: 22px;
  overflow-wrap: anywhere;
}

.passport-links, .passport-badges, .passport-card-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  align-items: center;
}

.passport-links a, .passport-members a, .passport-member-update a, .passport-photo-source a, .passport-listing-link {
  color: var(--passport-accent);
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}

.passport-links {
  justify-content: space-between;
  font-size: 14px;
}

.passport-hero {
  display: grid;
  align-items: start;
  gap: clamp(18px, 4vw, 38px);
}

.passport-hero-with-photo {
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
}

.passport-overview h1 {
  font-size: clamp(27px, 4.4vw, 45px);
  line-height: 1.12;
  letter-spacing: -.04em;
  margin: 0 0 16px;
}

.passport-ambiguity {
  color: #e9d6a4;
  font-size: 14px;
  margin: 10px 0 0;
}

.passport-members, .passport-facts {
  padding: 0;
  margin: 0;
  list-style: none;
}

.passport-members {
  display: grid;
  gap: 8px;
}

.passport-members li {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 5px 10px;
  font-size: 14px;
}

.passport-badge {
  display: inline-block;
  max-width: 100%;
  width: fit-content;
  border-radius: 6px;
  border: 1px solid #48563d;
  background: #232c20;
  color: #d5e5b8;
  padding: 3px 7px;
  font-size: 11px;
  line-height: 1.35;
}

.passport-overview-facts {
  display: flex;
  flex-wrap: wrap;
  align-items: start;
  gap: 12px 24px;
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid var(--passport-border);
}

.passport-power-panel, .passport-identifiers {
  flex: 1 1 130px;
  min-width: 0;
}

.passport-power-panel h2 {
  color: #d8e0d8;
  font-weight: 500;
  margin: 0 0 6px;
  font-size: 14px;
}

.passport-power {
  display: grid;
  gap: 5px;
  justify-items: start;
}

.passport-power p, .passport-unknown {
  font-size: 14px;
  line-height: 1.5;
  color: var(--passport-muted);
  margin: 0;
}

.passport-power-value {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0 6px;
}

.passport-power-value strong {
  color: var(--passport-accent);
  font-size: clamp(26px, 4.5vw, 37px);
  line-height: 1;
  letter-spacing: -.04em;
}

.passport-power-value span {
  color: var(--passport-muted);
  font-size: 14px;
}

.passport-power-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 3px 8px;
  color: var(--passport-muted);
  font-size: 12px;
}

.passport-power-basis {
  color: #d5e5b8;
}

.passport-identifiers {
  display: grid;
  gap: 9px 20px;
  margin: 0;
}

.passport-identifier dt, .passport-identifier dd {
  margin: 0;
  font-size: 14px;
}

.passport-identifier dt {
  color: #d8e0d8;
}

.passport-identifier dd {
  color: var(--passport-muted);
}

.passport-identifier strong {
  color: #eff3e8;
  font-weight: 650;
  font-variant-numeric: tabular-nums;
}

.passport-identifier dd span {
  display: block;
  font-size: 12px;
  line-height: 1.4;
}

.passport-photo {
  margin: 0;
  background: #151b18;
  border: 1px solid var(--passport-border);
  border-radius: 12px;
  overflow: hidden;
}

.passport-photo a {
  display: block;
  outline-offset: -5px;
}

.passport-photo img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: contain;
  background: #0e1310;
}

.passport-photo figcaption {
  color: var(--passport-muted);
  font-size: 12px;
  line-height: 1.5;
  padding: 8px 12px;
}

.passport-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 180px), 1fr));
  gap: 12px;
  margin-top: 12px;
}

.passport-summary-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: start;
  gap: 14px;
}

.passport-summary-grid > div {
  display: grid;
  align-self: stretch;
  align-content: start;
  gap: 14px;
}

.passport-section {
  min-width: 0;
  padding: 15px 17px;
  border: 1px solid var(--passport-border);
  border-radius: 10px;
  background: #151b18;
}

.passport-section h2 {
  font-size: 17px;
  line-height: 1.3;
  margin: 0 0 8px;
}

.passport-fact {
  display: grid;
  gap: 4px;
  padding: 9px 0;
  font-size: 14px;
  line-height: 1.4;
}

.passport-fact + .passport-fact {
  border-top: 1px solid var(--passport-border);
}

.passport-fact-meta {
  color: var(--passport-muted);
  font-size: 12px;
  line-height: 1.45;
}

.passport-listing-link {
  width: fit-content;
  font-size: 13px;
}

.passport-details {
  border: 0;
  padding: 0;
  min-width: 0;
}

.passport > .passport-details {
  border-top: 1px solid var(--passport-border);
  padding-top: 12px;
}

.passport-details > summary {
  width: fit-content;
  max-width: 100%;
  font-size: 13px;
  line-height: 1.5;
  color: var(--passport-accent);
}

.passport-details p {
  margin: 8px 0 0;
  color: var(--passport-muted);
  font-size: 14px;
  white-space: pre-wrap;
}

.passport-member-update, .passport-archive-group, .passport-photo-source {
  margin-top: 12px;
  padding: 10px 12px;
  border-left: 2px solid #48563d;
}

.passport-member-update h3, .passport-archive-group h3 {
  margin: 0 0 6px;
  font-size: 15px;
}

.passport-member-update h4 {
  margin: 10px 0 0;
  font-size: 13px;
}

.passport-photo-source ul {
  margin: 6px 0 0;
  padding-left: 20px;
  color: var(--passport-muted);
  font-size: 13px;
  line-height: 1.6;
}

.passport-search {
  display: block;
  width: min(100%, 520px);
  margin: 18px 0;
  color: #d8e2d4;
}

.passport-search input, input.passport-search {
  margin-top: 6px;
  min-height: 44px;
  font-size: 16px;
}

.passport-results, .passport-empty {
  color: #a8b4ac;
  font-size: 14px;
  margin: 0 0 12px;
}

.passport-catalog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 245px), 1fr));
  gap: 13px;
  align-items: start;
}

.passport-card {
  color: #eff3e8;
  background: #151b18;
  border: 1px solid var(--line, #303838);
  border-radius: 10px;
  overflow: hidden;
}

.passport-card-link {
  display: block;
  color: inherit;
  text-decoration: none;
  overflow-wrap: anywhere;
  outline-offset: -4px;
}

.passport-card-link:hover {
  background: #1d251d;
}

.passport-card-link > img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  background: #0e1310;
}

.passport-card-body {
  display: grid;
  gap: 7px;
  padding: 13px 14px;
}

.passport-card h2 {
  font-size: 17px;
  line-height: 1.25;
  margin: 0;
}

.passport-card p, .passport-card-facts {
  margin: 0;
  font-size: 13px;
  color: #a8b4ac;
  line-height: 1.45;
}

.passport-card-facts {
  gap: 3px 9px;
}

.passport-card-action {
  color: var(--lime, #d5f66a);
  font-weight: 600;
  font-size: 13px;
}

.passport-card-link:hover .passport-card-action, .passport-card-link:focus-visible .passport-card-action {
  text-decoration: underline;
}

.passport-card-media {
  position: relative;
  display: grid;
  place-items: center;
  aspect-ratio: 16 / 10;
  background: #0e1310;
  border-bottom: 1px solid var(--line, #303838);
  overflow: hidden;
}
.passport-card-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; }
.passport-photo-placeholder { display: grid; place-items: center; min-height: 240px; color: #82948a; font-size: 14px; border: 1px dashed var(--line,#303838); border-radius: 10px; background: #0e1310; }
.passport-photo-empty { color: #7e8d82; font-size: 13px; }
.passport-card-specs { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: 9px 12px; margin: 4px 0; }
.passport-card-specs > div { min-width: 0; }
.passport-card-specs dt { color: #91a096; font-size: 11px; margin-bottom: 2px; }
.passport-card-specs dd { color: #e0e9e2; font-size: 13px; line-height: 1.45; margin: 0; overflow-wrap: anywhere; }
.passport-card-fact-note { display: block; margin-top: 2px; color: #91a096; font-size: 11px; line-height: 1.4; }
.passport-card-wide { grid-column: 1 / -1; }
.passport-card-connections { padding-top: 6px; border-top: 1px solid var(--line,#303838); }
.passport-catalog-toolbar { display: grid; grid-template-columns: minmax(0,1fr) minmax(175px,220px); align-items: end; gap: 16px; margin: 0 0 22px; }
.passport-catalog-toolbar .passport-search { margin: 0; }
.passport-photo-filter { color: #a8b4ac; font-size: 14px; }
.passport-photo-filter select { display: block; width: 100%; min-height: 44px; margin-top: 6px; font-size: 16px; }
.passport-catalog-stats { color: #afc1b2; font-size: 13px; line-height: 1.65; margin: -2px 0 20px; }
.passport-owner-jump { display: inline-block; color: var(--lime,#d5f66a); font-size: 14px; margin: 0 0 10px; }
.passport-owner-list { display: grid; grid-template-columns: repeat(auto-fit,minmax(min(100%,220px),1fr)); gap: 12px; padding: 0; margin: 0; list-style: none; }
.passport-owner-list li { padding: 14px; border: 1px solid var(--line,#303838); border-radius: 8px; }
.passport-owner-list .passport-badges { margin-top: 9px; }
.passport-ownership h3 { font-size: 16px; margin: 22px 0 6px; }
.passport-owner-note { color: #99aa9e; font-size: 13px; line-height: 1.55; margin: 12px 0 0; }
.passport-transfer-list { list-style: none; padding: 0 0 0 14px; margin: 16px 0 0; border-left: 2px solid #566c45; }
.passport-transfer-list li { padding: 4px 0 15px; }
.passport-transfer-list li:last-child { padding-bottom: 0; }
.passport-transfer-flow { display: flex; flex-wrap: wrap; gap: 7px 12px; align-items: baseline; line-height: 1.5; font-size: 14px; }
.passport-transfer-flow > span { min-width: 0; overflow-wrap: anywhere; }
.passport-transfer-flow > span:nth-child(2) { color: var(--lime,#d5f66a); }
.passport-ownership { scroll-margin-top: 20px; }

@media (max-width: 680px) {
  .passport-catalog-toolbar { grid-template-columns: minmax(0,1fr); gap: 12px; }
  .passport-hero-with-photo, .passport-summary-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .passport-overview {
    grid-row: 1;
  }
  .passport-photo-placeholder { grid-row: 2; }

  .passport-hero-with-photo .passport-photo img {
    max-height: 55svh;
  }
}
