.shipment-record-preview .hero {
  min-height: 790px;
}

.shipment-record-preview .hero .hero-inner {
  grid-template-columns: minmax(0, 0.95fr) minmax(330px, 1.05fr);
  column-gap: clamp(18px, 2vw, 30px);
}

.shipment-record-preview .hero-content {
  max-width: 610px;
}

.shipment-record-preview .demo-headline-compact {
  max-width: 10.7ch;
  font-size: clamp(3.35rem, 4.7vw, 4.65rem);
}

.shipment-record-preview .demo-evidence {
  min-height: 530px;
  align-items: center;
  justify-content: flex-start;
  padding: 0;
}

.shipment-record-preview .demo-history-panel {
  display: none;
}

.shipment-record-preview .shipment-record {
  position: relative;
  z-index: 1;
  width: min(100%, 330px);
  transform: translateX(76px);
  padding: 15px 16px 12px;
  border: 1px solid rgba(29, 32, 55, 0.1);
  border-radius: 11px;
  background: #fff;
  box-shadow: 0 22px 56px rgba(4, 8, 27, 0.3);
  color: #171a30;
}

.record-header,
.record-meta,
.record-place {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.record-header {
  gap: 16px;
  padding-bottom: 13px;
  border-bottom: 1px solid #e6e7ee;
}

.record-kicker {
  margin: 0 0 3px;
  color: #716b9f;
  font-size: 0.64rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.record-header h2 {
  margin: 0;
  color: #171a30;
  font-size: 1.15rem;
  line-height: 1.2;
}

.record-id {
  flex: 0 0 auto;
  color: #6f7388;
  font-size: 0.74rem;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

.record-meta {
  justify-content: flex-start;
  gap: 7px;
  min-height: 43px;
  color: #767b8e;
  font-size: 0.7rem;
}

.record-meta strong {
  margin-right: auto;
  color: #30344b;
  font-size: 0.74rem;
  font-weight: 750;
  font-variant-numeric: tabular-nums;
}

.record-illustrative {
  flex: 0 0 auto;
  padding: 4px 7px;
  border: 1px solid #e4e0fa;
  border-radius: 4px;
  background: #f7f5ff;
  color: #5d50bd;
  font-size: 0.72rem;
  font-weight: 700;
}

.shipment-record-preview .record-status {
  flex: 0 0 auto;
  padding: 3px 7px;
  border-radius: 4px;
  background: #eaf6ef;
  color: #28704d;
  font-size: 0.72rem;
  font-weight: 800;
}

.shipment-record-preview .record-status {
  border: 0;
}

.record-timeline {
  position: relative;
  list-style: none;
  margin: 0;
  padding: 0;
}

.record-timeline::before {
  position: absolute;
  top: 24px;
  bottom: 24px;
  left: 14px;
  width: 2px;
  background: #e3e0f4;
  content: "";
}

.record-entry {
  position: relative;
  display: grid;
  grid-template-columns: 30px minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  min-height: 70px;
  padding: 8px 0;
  border-bottom: 1px solid #ececf2;
}

.record-entry:last-child {
  border-bottom: 0;
}

.record-icon {
  z-index: 1;
  display: grid;
  width: 29px;
  height: 29px;
  place-items: center;
  border: 3px solid #fff;
  border-radius: 50%;
  background: #665bd5;
  box-shadow: 0 0 0 1px #d7d2fa;
}

.record-icon svg {
  width: 15px;
  height: 15px;
  fill: none;
  stroke: #fff;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.7;
}

.record-event {
  min-width: 0;
}

.record-place {
  justify-content: flex-start;
  gap: 8px;
}

.record-place strong {
  overflow: hidden;
  color: #20243a;
  font-size: 0.82rem;
  font-weight: 800;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.record-status {
  line-height: 1.4;
}

.record-event p {
  margin: 4px 0 0;
  color: #777b8d;
  font-size: 0.75rem;
  line-height: 1.35;
}

.record-entry time {
  align-self: center;
  color: #5d6277;
  font-size: 0.72rem;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.record-entry.latest .record-icon {
  background: #2e9469;
  box-shadow: 0 0 0 1px #b8e0ca;
}

.record-entry.no-sightings .record-icon {
  background: #e3a62f;
  box-shadow: 0 0 0 1px #f1d59b;
}

.record-entry.no-sightings .record-status {
  background: #fff3d9;
  color: #885c0c;
}

.record-footnote {
  margin: 9px 0 0;
  padding-top: 9px;
  border-top: 1px solid #ececf2;
  color: #85899a;
  font-size: 0.68rem;
  line-height: 1.4;
}

.preview-note {
  width: min(1180px, calc(100% - 32px));
  margin: 16px auto 0;
  color: #686f86;
  font-size: 0.78rem;
}

@media (max-width: 980px) {
  .shipment-record-preview .hero .hero-inner {
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: auto auto auto;
  }

  .shipment-record-preview .hero-content {
    max-width: 780px;
  }

  .shipment-record-preview .demo-evidence {
    min-height: 0;
    justify-content: center;
    padding: 28px 0;
  }

  .shipment-record-preview .shipment-record {
    width: min(100%, 390px);
    margin: 0 auto;
  }

}

@media (max-width: 620px) {
  .shipment-record-preview .hero .hero-inner {
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: auto auto auto;
  }

  .shipment-record-preview .demo-headline-compact {
    max-width: 12ch;
    font-size: 2.65rem;
  }

  .shipment-record-preview .demo-evidence {
    min-height: 0;
    padding: 22px 0 18px;
  }

  .shipment-record-preview .shipment-record {
    width: min(100%, 390px);
    margin: 0 auto;
    transform: none;
    padding: 16px 13px 11px;
  }

  .record-entry {
    grid-template-columns: 28px minmax(0, 1fr);
    gap: 8px;
    min-height: 78px;
  }

  .record-entry time {
    grid-column: 2;
    margin-top: -15px;
    font-size: 0.72rem;
  }

  .record-place strong {
    font-size: 0.77rem;
  }
}
