.route-example { width: 100%; min-inline-size: 0 }
.route-example > legend { color: var(--ink); font-weight: 700 }
.route-example > label { min-height: 44px; align-content: center }
.route-example .example-route {
  padding: clamp(.9rem, 2vw, 1.4rem);
  border: 1px solid var(--line);
  background: var(--paper);
}
.route-example [hidden] { display: none !important }
.route-editor { margin-bottom: 1.15rem }
.gate-toggle {
  max-width: 100%; min-height: 44px;
  padding: .55rem .95rem;
  background: #fff; color: var(--blue);
  border: 1px solid #b0b9df; border-radius: .65rem;
  font: 700 1rem/1.35 Manrope, "Segoe UI", sans-serif;
  text-align: start; cursor: pointer;
}
.gate-toggle:hover { border-color: var(--blue); background: #f8f9ff }
.gate-settings {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: .25rem .8rem;
  margin-top: .9rem;
}
.route-example .gate-settings label {
  display: block; grid-row: 1;
  padding: 0; margin: 0; border: 0; border-radius: 0;
  color: var(--muted); font-size: .9rem; font-weight: 650; cursor: default;
}
.gate-settings select {
  display: block; grid-row: 2; min-width: 0; width: 100%; min-height: 44px;
  padding: .45rem .4rem; border: 1px solid #a8b1c9; border-radius: .5rem;
  background: #fff; color: var(--ink); font: inherit;
}
.route-example .route-timeline { list-style: none; margin: 0; padding: 0 }
.route-example .route-timeline li {
  position: relative; border-left: 2px solid #abb7f0;
  padding: 0 0 1rem 1.2rem; margin: 0 0 0 .32rem;
}
.route-timeline li::before {
  content: ""; position: absolute;
  top: .48rem; left: -.375rem; width: .62rem; height: .62rem;
  border-radius: 100%; background: var(--blue);
}
.route-example .route-timeline li:last-child { border-color: transparent; padding-bottom: 0 }
.route-timeline li strong,.route-timeline li span { display: block; overflow-wrap: anywhere }
.route-timeline li strong { font-size: 1.04rem; line-height: 1.4 }
.route-timeline li span { margin-top: .2rem; color: var(--muted) }
.route-gate-stage strong { display: table; width: fit-content; max-width: 100%; padding-inline: .25rem; background: var(--marker) }
.route-example .gate-assignment { color: var(--ink); font-weight: 650 }
.gate-announcement {
  position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden;
  clip-path: inset(50%); white-space: nowrap;
}
@media (max-width: 530px) {
  .gate-settings { grid-template-columns: 1fr }
  .route-example .gate-settings label,.gate-settings select { grid-row: auto }
  .gate-settings select + label { margin-top: .4rem }
}
