.machine-explorer {
  background: #f3f7f9;
  scroll-margin-top: 150px;
}
.subnav .container {
  overflow-x: auto;
}
.subnav a {
  flex: 0 0 auto;
  white-space: nowrap;
}
.machine-explorer .section-heading {
  margin-bottom: 30px;
}
.machine-frame {
  background: #fff;
  border: 1px solid #d7e3ea;
  border-radius: 16px;
  overflow: hidden;
}
.machine-scroll {
  overflow-x: auto;
  background: linear-gradient(180deg, #edf4f7, #fff);
}
.machine-view {
  position: relative;
  width: 100%;
  min-width: 680px;
  padding: 42px 22px 30px;
}
.machine-view img {
  display: block;
  width: 100%;
  height: auto;
}
.machine-hotspots {
  position: absolute;
  inset: 42px 22px 30px;
}
.machine-hotspots[hidden],
.machine-stations[hidden],
.machine-panels [hidden] {
  display: none;
}
.machine-point {
  position: absolute;
  left: var(--x);
  top: var(--y);
  transform: translate(-50%, -50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 3px solid #fff;
  background: #123d56;
  color: #fff;
  font: inherit;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  box-shadow:
    0 0 0 5px #123d5620,
    0 4px 12px #071e3330;
  transition:
    background 180ms,
    box-shadow 180ms;
}
.machine-point[aria-pressed='true'] {
  background: #147f7b;
  box-shadow:
    0 0 0 7px #45bdbb33,
    0 4px 12px #071e3330;
}
.machine-stations {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  border-block: 1px solid #d7e3ea;
}
.machine-stations button {
  appearance: none;
  min-height: 74px;
  background: #fff;
  color: #34546a;
  border: 0;
  border-right: 1px solid #e4edf2;
  cursor: pointer;
  font: inherit;
  font-size: 12px;
  font-weight: 650;
  padding: 12px 8px;
  text-align: left;
  transition: background 180ms;
}
.machine-stations button:last-child {
  border-right: 0;
}
.machine-stations span {
  display: block;
  color: #788f9e;
  font-size: 10px;
  letter-spacing: 0.12em;
  margin-bottom: 7px;
}
.machine-stations button[aria-pressed='true'] {
  background: #eaf6f4;
  color: #126e6b;
  box-shadow: inset 0 -3px #188b88;
}
.machine-stations button:hover {
  background: #f0f7f8;
}
.machine-point:focus-visible,
.machine-stations button:focus-visible,
.machine-scroll:focus-visible {
  outline: 3px solid #1263c9;
  outline-offset: -3px;
}
.machine-panels article {
  padding: 32px;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 48px;
  min-height: 248px;
}
.machine-panels article + article {
  border-top: 1px solid #d7e3ea;
}
.machine-kicker {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #188b88;
}
.machine-panels h3 {
  font-size: 24px;
  letter-spacing: -0.03em;
  margin: 14px 0 12px;
}
.machine-panels p {
  font-size: 14px;
  line-height: 1.8;
  color: #607b90;
  margin: 0;
}
.machine-check {
  border-left: 1px solid #d7e3ea;
  padding-left: 30px;
}
.machine-check h4 {
  font-size: 13px;
  margin: 0 0 12px;
}
.machine-check a {
  display: inline-block;
  margin-top: 16px;
  color: #087d79;
  font-size: 12px;
  font-weight: 650;
}
.machine-hint {
  display: none;
  font-size: 12px;
  color: #607b90;
  padding: 0 20px;
}
@media (max-width: 760px) {
  .machine-stations {
    grid-template-columns: repeat(3, 1fr);
  }
  .machine-stations button {
    padding: 12px 14px;
    border-bottom: 1px solid #e4edf2;
  }
  .machine-stations button:nth-child(3n) {
    border-right: 0;
  }
  .machine-panels article {
    grid-template-columns: 1fr;
    gap: 24px;
    padding: 24px;
  }
  .machine-check {
    padding: 20px 0 0;
    border-left: 0;
    border-top: 1px solid #d7e3ea;
  }
  .machine-explorer[data-enhanced] .machine-hint {
    display: block;
  }
}
@media (prefers-reduced-motion: reduce) {
  .machine-point,
  .machine-stations button {
    transition: none;
  }
}
