#scene-3-chart {
  padding: 0;
  background: transparent;
  border: none;
  box-shadow: none;
  min-height: 0;
}

#scene-3-chart .scene3-road-stage {
  position: relative;
  min-height: 2200px;
  border-radius: 24px;
  overflow: visible;
  box-shadow: 0 16px 38px rgba(40, 34, 24, 0.16);
}

#scene-3-chart .scene3-road-surface {
  position: absolute;
  inset: 0;
  background: #1c1c1c;
  border-radius: 24px;
}

#scene-3-chart .scene3-road-surface::before,
#scene-3-chart .scene3-road-surface::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: 2px;
  background: rgba(255, 255, 255, 0.1);
}

#scene-3-chart .scene3-road-surface::before {
  left: 18px;
}

#scene-3-chart .scene3-road-surface::after {
  right: 18px;
}

#scene-3-chart .scene3-road-line {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 0;
  border-left: 6px dashed rgba(255, 255, 255, 0.92);
}

#scene-3-chart .scene3-road-line:nth-child(1) {
  left: 25%;
}

#scene-3-chart .scene3-road-line:nth-child(2) {
  left: 50%;
}

#scene-3-chart .scene3-road-line:nth-child(3) {
  left: 75%;
}

#scene-3-chart .scene3-layout {
  position: relative;
  z-index: 1;
  padding: 20px 20px 64px;
}

#scene-3-chart .scene3-panel {
  position: sticky;
  top: 18px;
  z-index: 5;
  width: min(980px, calc(100% - 40px));
  margin: 0 auto;
  padding: 22px 22px 16px;
  background: #fffaf2;
  border: 1px solid rgba(124, 109, 84, 0.14);
  border-radius: 22px;
  box-shadow: 0 12px 32px rgba(63, 57, 42, 0.12);
}

#scene-3-chart .scene3-copy {
  max-width: 700px;
}

#scene-3-chart .scene3-kicker,
#scene-3-chart .scene3-step-kicker {
  margin: 0;
  color: #8d5a1b;
  font-size: 1.6rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

#scene-3-chart .scene3-title {
  margin: 0.2rem 0 0;
  font-size: clamp(1.2rem, 2vw, 1.4rem);
  line-height: 1.18;
  color: #243228;
}

#scene-3-chart .scene3-description,
#scene-3-chart .scene3-step-description {
  margin: 0.7rem 0 0;
  color: #5f6a5f;
  font-size: 0.9rem;
  line-height: 1.6;
}

#scene-3-chart .scene3-note {
  margin: 0.6rem 0 0;
  color: #243228;
  font-size: 0.92rem;
  font-weight: 700;
}

#scene-3-chart .scene3-legend {
  position: absolute;
  right: 22px;
  top: 20px;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 6px;
  color: #5f6a5f;
  font-size: 0.86rem;
}

#scene-3-chart .scene3-legend-title {
  font-weight: 700;
}

#scene-3-chart .scene3-legend-row {
  display: flex;
  align-items: center;
  gap: 8px;
}

#scene-3-chart .scene3-legend-swatch {
  width: 12px;
  height: 12px;
  border-radius: 999px;
  border: 1px solid rgba(36, 50, 40, 0.22);
}

#scene-3-chart .scene3-svg-root {
  width: 100%;
  margin-top: 14px;
}

#scene-3-chart .scene3-svg-root svg {
  display: block;
  width: 100%;
  height: auto;
}

#scene-3-chart .scene3-scroll-track {
  width: min(980px, calc(100% - 40px));
  margin: 0 auto;
  padding-top: 410px;
  padding-bottom: 160px;
}

#scene-3-chart .scene3-step {
  min-height: 62vh;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: flex-start;
}

#scene-3-chart .scene3-step:first-child {
  min-height: 34vh;
}

#scene-3-chart .scene3-step-card {
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
  overflow: hidden;
}

#scene-3-chart .scene3-axis text,
#scene-3-chart .scene3-axis-label,
#scene-3-chart .scene3-lane-summary {
  fill: #5f6a5f;
  font-family: Georgia, "Times New Roman", serif;
}

#scene-3-chart .scene3-annotation {
  fill: #243228;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 0.94rem;
  font-weight: 700;
}

#scene-3-chart .scene3-axis path,
#scene-3-chart .scene3-axis line,
#scene-3-chart .scene3-grid line {
  stroke: #cdbda0;
}

#scene-3-chart .scene3-grid path {
  stroke: none;
}

#scene-3-chart .scene3-axis-label {
  font-size: 0.92rem;
  font-weight: 700;
}

#scene-3-chart .scene3-lane-band {
  fill: #f8f1e4;
  stroke: rgba(118, 104, 75, 0.1);
  rx: 16;
}

#scene-3-chart .scene3-dot {
  stroke: rgba(36, 50, 40, 0.22);
  stroke-width: 0.9;
}

#scene-3-chart .scene3-dot.is-hovered {
  stroke: #1f2a21;
  stroke-width: 1.8;
}

#scene-3-tooltip {
  position: fixed;
  display: none;
  max-width: 260px;
  pointer-events: none;
  padding: 12px 14px;
  border-radius: 14px;
  background: rgba(25, 31, 24, 0.96);
  color: #f9f6f0;
  box-shadow: 0 14px 32px rgba(16, 21, 17, 0.24);
  font-size: 0.92rem;
  line-height: 1.45;
  z-index: 30;
  left: 0;
  top: 0;
}

#scene-3-tooltip strong {
  display: block;
  margin-bottom: 4px;
}

@media (max-width: 1020px) {
  #scene-3-chart .scene3-layout {
    padding: 14px 10px 36px;
  }

  #scene-3-chart .scene3-panel,
  #scene-3-chart .scene3-scroll-track {
    width: calc(100% - 10px);
  }
}

@media (max-width: 900px) {
  #scene-3-chart .scene3-road-stage {
    min-height: 1800px;
  }

  #scene-3-chart .scene3-panel {
    position: static;
    padding: 16px 14px 12px;
  }

  #scene-3-chart .scene3-legend {
    position: static;
    align-items: flex-start;
    margin-top: 16px;
  }

  #scene-3-chart .scene3-scroll-track {
    padding-top: 40px;
    padding-bottom: 40px;
  }

  #scene-3-chart .scene3-step,
  #scene-3-chart .scene3-step:first-child {
    min-height: 30vh;
  }

}
