.product {
  background: var(--rv-canvas);
}
.product-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  background: var(--rv-brand-black);
  padding: 0 40px;
  min-height: 104px;
}
.product-header .brand {
  width: 310px;
}
.product-header nav {
  display: flex;
  gap: 30px;
  align-items: center;
  color: var(--rv-on-registry);
  font-size: 13px;
}
.product-header nav button {
  border: 0;
  background: none;
  color: inherit;
  padding: 0;
}
.local-label {
  font:
    9px ui-monospace,
    monospace;
  letter-spacing: 1.5px;
  color: var(--rv-registry-muted);
}
.product #product-main {
  max-width: var(--rv-content-width);
  padding: 44px 40px 60px;
  min-height: 65vh;
}
.product h1 {
  font-size: clamp(30px, 3.5vw, 48px);
  line-height: 1.13;
  letter-spacing: -1.8px;
  font-weight: 550;
}
.product h2 {
  font-size: 24px;
  letter-spacing: -0.7px;
  font-weight: 550;
}
.product h3 {
  font-size: 18px;
}
.product .intro {
  font-size: 14px;
  max-width: 760px;
  line-height: 1.75;
}
.search-hero {
  padding: 40px 0 54px;
  max-width: 900px;
}
.search-hero h1 {
  font-size: clamp(36px, 4.4vw, 62px);
  max-width: 850px;
}
.hero-second-line {
  font-size: clamp(28px, 3.7vw, 51px);
  letter-spacing: -1.6px;
  color: var(--rv-muted);
  margin: 8px 0 22px;
  line-height: 1.1;
}
.registry-search {
  display: flex;
  width: 100%;
  max-width: 850px;
  background: var(--rv-surface);
  border: 1px solid var(--rv-line);
  margin: 28px 0 18px;
  border-radius: var(--rv-radius);
  overflow: hidden;
  min-height: 62px;
}
.registry-search input {
  font-size: 15px;
  padding: 18px 20px;
}
.registry-search button {
  border-radius: 0;
  min-width: 125px;
  background: var(--lime);
}
.home-actions {
  display: flex;
  gap: 24px;
}
.text-action {
  border: 0;
  background: none;
  font-size: 12px;
  font-weight: 600;
  padding: 0;
  color: var(--rv-source);
  text-decoration: underline;
  text-underline-offset: 4px;
}
.principles {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 25px 0;
  gap: 30px;
  margin-bottom: 42px;
}
.principles h2 {
  font-size: 18px;
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 1px;
}
.principles p {
  font-size: 12px;
  color: var(--muted);
  margin: 10px 0 0;
}
.section-title {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}
.vehicle-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  margin: 25px 0;
}
.vehicle-card {
  background: var(--rv-surface);
  border: 1px solid var(--line);
  border-radius: var(--rv-radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: border-color 0.15s;
}
.vehicle-card:hover {
  border-color: var(--rv-source);
}
.vehicle-card-photo {
  width: 100%;
  height: 155px;
  object-fit: cover;
  display: block;
}
.vehicle-card-no-photo {
  height: 155px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 24px;
  font:
    11px ui-monospace,
    monospace;
  letter-spacing: 1px;
  background: var(--rv-source-bg);
  color: var(--rv-muted);
}
.vehicle-card-no-photo small {
  font: 11px/1.5 sans-serif;
  margin-top: 10px;
  letter-spacing: 0;
  max-width: 170px;
}
.vehicle-card-body {
  padding: 20px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  flex: 1;
}
.vehicle-card-body h3 {
  font-size: 19px;
  margin: 0;
  line-height: 1.25;
}
.vehicle-card-body p {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
}
.vehicle-card-body small {
  font-size: 11px;
  line-height: 1.6;
  color: var(--muted);
}
.vehicle-card-body .text-action {
  margin-top: auto;
  padding-top: 12px;
}
.search-note {
  font-size: 12px;
  color: var(--muted);
  line-height: 1.6;
}
.registry-controls label {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
}
.registry-controls input {
  flex: none;
}
.back-link {
  display: inline-block;
  font-size: 12px;
  color: var(--muted);
  margin-bottom: 22px;
}
.record-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.85fr);
  background: var(--rv-registry);
  color: var(--rv-surface);
  border-radius: var(--rv-radius);
  overflow: hidden;
}
.record-hero:has(.record-hero-copy:only-child) {
  grid-template-columns: 1fr;
}
.record-hero-copy {
  padding: 34px;
  min-width: 0;
}
.record-hero h1 {
  font-size: clamp(30px, 3vw, 42px);
}
.record-subtitle {
  color: var(--rv-registry-muted);
  font-size: 15px;
  margin: 10px 0;
}
.public-identity {
  font:
    12px/1.7 ui-monospace,
    monospace;
  color: var(--rv-on-registry);
  overflow-wrap: anywhere;
}
.hero-strength {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 23px 0 17px;
}
.hero-fact {
  font-size: 10px;
  color: var(--rv-on-registry);
  border: 1px solid var(--rv-registry-muted);
  background: transparent;
  padding: 6px 8px;
  border-radius: var(--rv-radius);
}
.record-stats {
  font-size: 11px;
  color: var(--rv-registry-muted);
  line-height: 1.8;
  margin: 0;
}
.record-hero-photo {
  margin: 0;
  display: flex;
  flex-direction: column;
  min-width: 0;
}
.record-hero-photo a {
  display: block;
  flex: 1;
}
.record-hero-photo img {
  width: 100%;
  height: 100%;
  min-height: 250px;
  max-height: 340px;
  object-fit: cover;
  display: block;
}
.record-hero-photo figcaption {
  padding: 8px 13px;
  color: var(--rv-registry-muted);
  font-size: 9px;
  background: var(--rv-registry);
}
.record-notice {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 25px;
  padding: 20px 0;
}
.record-notice p {
  font-size: 12px;
  color: var(--muted);
  max-width: 750px;
  line-height: 1.7;
  margin: 0;
}
.record-notice button {
  flex-shrink: 0;
  font-size: 12px;
  background: var(--lime);
}
.record-tabs {
  display: flex;
  overflow-x: auto;
  gap: 25px;
  border-bottom: 1px solid var(--rv-line);
  margin: 8px 0 28px;
}
.record-tabs button {
  border: 0;
  border-bottom: 3px solid transparent;
  var(--rv-surface)-space: nowrap;
  background: transparent;
  padding: 16px 2px;
  color: var(--rv-muted);
  font-size: 13px;
}
.record-tabs button[aria-selected='true'] {
  color: var(--rv-ink);
  border-bottom-color: var(--rv-source);
  font-weight: 650;
}
.record-panel {
  min-height: 360px;
}
.overview-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 24px;
}
.paper-card {
  background: var(--rv-surface);
  border: 1px solid var(--line);
  border-radius: var(--rv-radius);
  padding: 26px;
  margin-bottom: 20px;
  min-width: 0;
}
.paper-card h2 {
  margin: 0 0 17px;
}
.identity-dossier {
  margin: 0;
}
.identity-dossier > div {
  display: grid;
  grid-template-columns: 155px minmax(0, 1fr);
  gap: 18px;
  border-top: 1px solid var(--rv-line);
  padding: 13px 0;
}
.identity-dossier dt {
  font-size: 12px;
  color: var(--muted);
}
.identity-dossier dd {
  margin: 0;
  font-size: 12px;
}
.fact-value {
  background: none;
  border: 0;
  padding: 0;
  text-align: left;
  color: var(--ink);
  font: inherit;
  overflow-wrap: anywhere;
  text-decoration: underline;
  text-decoration-color: var(--rv-line);
  text-underline-offset: 4px;
}
.strength-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  width: 100%;
  padding: 16px 0;
  background: none;
  border: 0;
  border-bottom: 1px solid var(--rv-line);
  text-align: left;
  font-size: 12px;
}
.record-timeline {
  list-style: none;
  padding: 0 0 0 30px;
  border-left: 1px solid var(--rv-line);
  margin: 12px 0 25px 12px;
  max-width: 840px;
}
.record-timeline li {
  position: relative;
  background: var(--rv-surface);
  border: 1px solid var(--line);
  border-radius: var(--rv-radius);
  padding: 23px;
  margin: 0 0 20px;
}
.record-timeline li:before {
  content: '';
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--rv-source);
  position: absolute;
  left: -36px;
  top: 30px;
  border: 3px solid var(--paper);
}
.timeline-date {
  font:
    11px ui-monospace,
    monospace;
  color: var(--muted);
  margin: 0 0 12px;
}
.record-timeline h3 {
  margin-bottom: 12px;
}
.record-timeline li > p:not(.timeline-date) {
  font-size: 13px;
  line-height: 1.7;
  color: var(--muted);
}
.evidence-button {
  display: block;
  border: 0;
  background: transparent;
  padding: 8px 0 0;
  font-size: 12px;
  color: var(--rv-source);
  text-decoration: underline;
  text-underline-offset: 4px;
}
.superseded-fact {
  opacity: 0.65;
}
.configuration-graph {
  margin-top: 30px;
}
.configuration-root {
  background: var(--rv-registry);
  color: var(--rv-on-registry);
  padding: 22px;
  margin: auto;
  text-align: center;
  max-width: 370px;
  border-radius: var(--rv-radius);
}
.configuration-children {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr));
  gap: 22px;
  padding-top: 34px;
}
.component-node {
  border: 1px solid var(--line);
  padding: 24px;
  background: var(--rv-surface);
  position: relative;
}
.component-node:before {
  content: '';
  height: 34px;
  width: 1px;
  background: var(--rv-line);
  position: absolute;
  top: -34px;
  left: 50%;
}
.component-node h3 {
  margin: 15px 0 8px;
}
.component-node p {
  font-size: 12px;
  color: var(--muted);
  line-height: 1.8;
}
.table-scroll {
  overflow-x: auto;
  margin-top: 22px;
}
.table-scroll table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 12px;
}
.table-scroll th,
.table-scroll td {
  padding: 13px;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
  min-width: 120px;
}
.record-gallery {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  margin: 25px 0;
}
.record-gallery figure {
  margin: 0;
  background: var(--rv-surface);
  border: 1px solid var(--line);
  padding: 12px;
}
.record-gallery img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: contain;
  display: block;
  background: var(--rv-unknown-bg);
}
.record-gallery figcaption {
  font-size: 12px;
  margin: 12px 0;
}
.document-source {
  display: block;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
  font-size: 13px;
  color: var(--rv-source);
  text-decoration: underline;
  overflow-wrap: anywhere;
}
.empty-state {
  padding: 28px 0;
  color: var(--muted);
  font-size: 14px;
}
.drawer {
  position: fixed;
  inset: 0 0 0 auto;
  width: min(560px, 100%);
  height: 100%;
  max-height: 100%;
  max-width: 100%;
  border: 0;
  border-left: 1px solid var(--line);
  padding: 45px 32px;
  background: var(--rv-canvas);
  color: var(--ink);
  margin: 0;
  overflow-y: auto;
  box-shadow: -10px 0 60px #0002;
}
.drawer::backdrop {
  background: #13201480;
}
.drawer h2 {
  font-size: 29px;
  margin-bottom: 24px;
}
.drawer h3 {
  font-size: 13px;
  margin: 26px 0 6px;
}
.drawer p {
  font-size: 13px;
  line-height: 1.8;
  overflow-wrap: anywhere;
}
.close-dialog {
  position: absolute;
  right: 18px;
  top: 15px;
  font-size: 26px;
  background: none;
  border: 0;
  width: 40px;
  height: 40px;
  color: var(--ink);
}
.claim-privacy {
  background: var(--rv-source-bg);
  padding: 15px;
}
.product-footer {
  max-width: var(--rv-content-width);
  margin: auto;
  padding: 24px 40px;
  border-top: 1px solid var(--line);
  font-size: 11px;
}
.product-footer div {
  display: flex;
  gap: 20px;
}
@media (max-width: 1050px) {
  .vehicle-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .product-header {
    padding: 0 24px;
    gap: 18px;
  }
  .product-header .brand {
    width: 270px;
  }
  .product-header nav {
    gap: 18px;
  }
  .local-label {
    display: none;
  }
  .product #product-main {
    padding: 30px 24px 45px;
  }
  .record-hero-copy {
    padding: 25px;
  }
  .record-tabs {
    gap: 20px;
  }
  .overview-grid {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 650px) {
  .product-header {
    flex-wrap: wrap;
    padding: 0 18px 18px;
    gap: 0;
  }
  .product-header .brand {
    width: 280px;
  }
  .product-header nav {
    width: 100%;
    justify-content: space-between;
    font-size: 12px;
  }
  .product #product-main {
    padding: 28px 18px 40px;
  }
  .search-hero {
    padding: 22px 0 34px;
  }
  .registry-search {
    min-height: 55px;
  }
  .registry-search input {
    font-size: 12px;
    padding: 13px;
  }
  .registry-search button {
    min-width: 84px;
    padding: 12px;
    font-size: 12px;
  }
  .principles {
    grid-template-columns: 1fr 1fr;
    gap: 25px;
  }
  .section-title {
    display: block;
  }
  .section-title a {
    display: inline-block;
    margin-top: 18px;
  }
  .vehicle-grid {
    grid-template-columns: 1fr;
  }
  .vehicle-card {
    display: grid;
    grid-template-columns: 120px minmax(0, 1fr);
  }
  .vehicle-card-photo,
  .vehicle-card-no-photo {
    height: 100%;
    min-height: 210px;
  }
  .vehicle-card-no-photo {
    padding: 15px;
    font-size: 9px;
    letter-spacing: 0.5px;
  }
  .vehicle-card-body {
    padding: 17px;
  }
  .vehicle-card-body h3 {
    font-size: 18px;
  }
  .record-hero {
    grid-template-columns: 1fr;
  }
  .record-hero-photo {
    grid-row: 1;
  }
  .record-hero-photo img {
    min-height: 0;
    max-height: 245px;
    object-fit: cover;
  }
  .record-notice {
    align-items: flex-start;
    flex-direction: column;
    gap: 15px;
  }
  .record-tabs {
    gap: 21px;
    margin-top: 0;
  }
  .paper-card {
    padding: 20px;
  }
  .identity-dossier > div {
    grid-template-columns: 115px minmax(0, 1fr);
    gap: 12px;
  }
  .record-gallery {
    grid-template-columns: 1fr;
  }
  .drawer {
    padding: 48px 22px 25px;
  }
  .product-footer {
    padding: 22px 18px;
    flex-direction: column;
    gap: 20px;
  }
  .record-timeline {
    padding-left: 20px;
    margin-left: 8px;
  }
  .record-timeline li {
    padding: 18px;
  }
  .record-timeline li:before {
    left: -26px;
  }
}
