.pv4-wrap {
  max-width: 1160px;
}

.pv4-handover, .pv4-timeline, .pv4-inventory, .pv4-proof {
  padding-block: 76px;
  color: var(--ink);
}

.pv4-title {
  margin: 0;
  font-size: 54px;
  font-weight: 900;
  line-height: 1.16;
  letter-spacing: 0;
  text-wrap: balance;
}

.pv4-handover {
  background: #eae6da;
}

.pv4-handover .pv4-title {
  text-align: center;
}

.pv4-plate {
  position: relative;
  width: min(100%, 940px);
  margin: 32px auto 0;
  padding-block: 66px;
}

.pv4-plate img {
  display: block;
  width: 100%;
  height: auto;
}

.pv4-callout {
  position: absolute;
  max-width: 44%;
  color: var(--ink);
}

.pv4-callout dt {
  font-size: 26px;
  font-weight: 850;
  line-height: 1.25;
}

.pv4-callout dd {
  margin: 3px 0 0;
  color: #383831;
  font-size: 17px;
  line-height: 1.5;
}

.pv4-nw, .pv4-sw { left: 6%; }
.pv4-ne, .pv4-se { right: 6%; text-align: right; }
.pv4-nw, .pv4-ne { bottom: calc(100% - 62px); }
.pv4-sw, .pv4-se { top: calc(100% - 62px); }

.pv4-timeline {
  border-block-start: 1px solid var(--ink);
  background: var(--paper);
}

.pv4-rail-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px 24px;
  flex-wrap: wrap;
}

.pv4-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  color: var(--ink);
  border-bottom: 1px solid currentColor;
  font-size: 17px;
  font-weight: 700;
}

.pv4-link:hover { color: #ad3022; }
.pv4-link .ico { width: 18px; height: 18px; }

.pv4-track {
  --pv4-numeral: 80px;
  --pv4-interval: 14px;
  --pv4-dot: 16px;
  position: relative;
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  margin: 46px 0 0;
  padding: 0;
  list-style: none;
  isolation: isolate;
}

.pv4-track::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset-inline: 0;
  top: calc(var(--pv4-numeral) + var(--pv4-interval) + var(--pv4-dot) / 2 - 1px);
  height: 2px;
  background: var(--ink);
}

.pv4-track li {
  display: grid;
  justify-items: center;
  grid-template-rows: var(--pv4-numeral) var(--pv4-dot) auto;
  row-gap: var(--pv4-interval);
  padding-inline: 10px;
  text-align: center;
}

.pv4-number {
  color: var(--red);
  font: 800 var(--pv4-numeral)/1 Arial, sans-serif;
  font-variant-numeric: tabular-nums;
}

.pv4-node {
  width: var(--pv4-dot);
  height: var(--pv4-dot);
  border-radius: 50%;
  background: var(--red);
}

.pv4-stop h2, .pv4-stop h3, .pv4-trials h3 {
  margin: 0;
  font-size: 28px;
  line-height: 1.3;
  font-weight: 850;
}

.pv4-stop > p, .pv4-trials p, .pv4-rail-head > p {
  color: #383832;
  font-size: 18px;
  line-height: 1.6;
}

.pv4-stop > p:not(.pv4-confirm) {
  max-width: 14em;
  margin: 8px auto 0;
  text-wrap: balance;
}

.pv4-stop .pv4-confirm {
  display: block;
  text-wrap: balance;
  margin: 14px 0 0;
  color: var(--ink);
  font-size: 17px;
  font-weight: 750;
}

.pv4-confirm span {
  display: block;
  color: #8c3023;
  font-size: 16px;
  font-weight: 600;
}

.pv4-opening { border-block-start: 0; }
.pv4-opening .pv4-track { --pv4-numeral: 104px; }
.pv4-opening .pv4-title { font-size: 76px; }
.pv4-opening .pv4-rail-head { display: block; }
.pv4-opening .pv4-rail-head p { margin: 14px 0 0; }
.pv4-inventory { background: #eae6da; }

.pv4-manifest {
  width: 100%;
  margin-top: 34px;
  border-collapse: collapse;
  color: var(--ink);
  font-size: 18px;
  line-height: 1.6;
  text-align: left;
}

.pv4-manifest thead { border-block: 2px solid var(--ink); }
.pv4-manifest thead th { padding: 10px 16px 10px 0; font-size: 16px; }
.pv4-manifest tbody tr { border-bottom: 1px solid #a29e92; }
.pv4-manifest tbody th { width: 22%; font-size: 24px; font-weight: 800; }
.pv4-manifest tbody td:nth-child(2) { width: 34%; }
.pv4-manifest tbody :is(th, td) { padding: 18px 18px 18px 0; vertical-align: baseline; }
.pv4-manifest tr :last-child { padding-right: 0; }
.pv4-field { display: none; }

@media (min-width: 1024px) {
  .pv4-timeline .pv4-wrap { min-width: 976px; }
  .pv4-track li { padding-inline: 0; }
  .pv4-stop > p:not(.pv4-confirm) { white-space: nowrap; }
}
@media (min-width: 1024px) and (max-width: 1208px) {
  .pv4-stop > p:not(.pv4-confirm) { font-size: 16px; }
}

.pv4-trials {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 30px;
  margin-top: 32px;
}

.pv4-trials article { padding-top: 18px; border-top: 2px solid var(--ink); }
.pv4-trials h3 { margin-bottom: 10px; }

@media (max-width: 900px) {
  .pv4-title { font-size: 44px; }
  .pv4-track { --pv4-numeral: 64px; }
  .pv4-opening .pv4-track { --pv4-numeral: 80px; }
  .pv4-track li { padding-inline: 6px; }
  .pv4-stop h2, .pv4-stop h3 { font-size: 20px; }
}

@media (max-width: 720px) {
  .pv4-handover, .pv4-timeline, .pv4-inventory, .pv4-proof { padding-block: 44px; }
  .pv4-title { font-size: 32px; }
  .pv4-opening .pv4-title { font-size: 48px; }
  .pv4-plate { margin-top: 24px; padding-block: 55px; }
  .pv4-callout dt { font-size: 22px; }
  .pv4-callout dd { font-size: 16px; }
  .pv4-nw, .pv4-ne { bottom: calc(100% - 53px); }
  .pv4-sw, .pv4-se { top: calc(100% - 53px); }
  .pv4-track {
    --pv4-numeral: 44px;
    --pv4-number-col: 54px;
    --pv4-interval: 10px;
    --pv4-dot: 14px;
    grid-template-columns: minmax(0, 1fr);
    grid-auto-rows: 1fr;
    margin-top: 26px;
  }
  .pv4-opening .pv4-track { --pv4-numeral: 52px; --pv4-number-col: 62px; }
  .pv4-track::before {
    inset: 0 auto 0 calc(var(--pv4-number-col) + var(--pv4-interval) + var(--pv4-dot) / 2 - 1px);
    width: 2px;
    height: auto;
  }
  .pv4-track li {
    grid-template: auto / var(--pv4-number-col) var(--pv4-dot) minmax(0, 1fr);
    align-items: center;
    justify-items: start;
    gap: var(--pv4-interval);
    padding: 12px 0;
    text-align: left;
  }
  .pv4-stop > p:not(.pv4-confirm) { max-width: none; margin: 4px 0 0; }
  .pv4-stop .pv4-confirm { margin-top: 5px; }
  .pv4-confirm span { display: inline-block; }
  .pv4-manifest { font-size: 17px; margin-top: 24px; }
  .pv4-rail-head > p, .pv4-manifest tbody tr:nth-child(-n+3) td:nth-child(2) { text-wrap: balance; }
  .pv4-manifest tbody th { width: 2.7em; font-size: 20px; line-height: 1.3; }
  .pv4-manifest tbody :is(th, td), .pv4-manifest thead th { padding: 12px 8px 12px 0; }
  .pv4-trials { grid-template-columns: 1fr; gap: 24px; margin-top: 24px; }
}

@media (max-width: 380px) {
  .pv4-plate { padding-block: 82px; }
  .pv4-nw, .pv4-ne { bottom: calc(100% - 80px); }
  .pv4-sw, .pv4-se { top: calc(100% - 80px); }
}

@media (max-width: 640px) {
  .pv4-manifest, .pv4-manifest tbody, .pv4-manifest tbody tr { display: block; }
  .pv4-manifest thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
  .pv4-manifest tbody tr { border: 0; padding-block: 16px; }
  .pv4-manifest tbody tr + tr { border-top: 1px solid var(--rule); }
  .pv4-manifest tbody :is(th, td), .pv4-manifest tbody td:nth-child(2) { display: block; width: auto; padding: 0; }
  .pv4-manifest tbody td { margin-top: 10px; }
  .pv4-manifest .pv4-field { display: block; color: #65635c; font-size: 14px; }
}
