.gateway-side {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 8px;
}
.gateway-side [aria-current] {
  color: #d7dbe0;
}
.gateway-intro {
  font-weight: bold;
}
.gateway-filters {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  max-width: 900px;
  padding: 8px 0;
  border-bottom: 1px solid #232830;
}
.gateway-filters label {
  display: block;
  position: static;
  clip: auto;
}
.gateway-filters input,
.gateway-filters select {
  width: 100%;
  min-width: 0;
  font: inherit;
}
.gateway-filters small {
  color: #8a929c;
}
.gateway-filter-actions {
  grid-column: 1/-1;
  display: flex;
  gap: 8px;
  align-items: center;
}
.gateway-overview,
.gateway-examples,
.gateway-exports {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin: 8px 0;
}
.gateway-overview span,
.gateway-note {
  color: #8a929c;
  font-size: 12px;
}
.gateway-routes {
  list-style: none;
  margin: 0;
  padding: 0;
}
.gateway-route {
  border-top: 1px solid #232830;
  padding: 8px 0;
}
.gateway-route-heading {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
}
.gateway-route-heading h2 {
  margin: 0;
  color: #d7dbe0;
  text-transform: none;
  font-size: 14px;
}
.gateway-route-heading h2 span {
  color: #8a929c;
  font-weight: normal;
}
.gateway-distance {
  white-space: nowrap;
  color: #7cc4ff;
  font-variant-numeric: tabular-nums;
}
.gateway-summary {
  margin: 4px 0;
}
.gateway-path {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
  padding: 0;
  margin: 8px 0;
}
.gateway-step {
  position: relative;
  min-width: 100px;
  border-left: 3px solid;
  padding: 4px 6px;
  background: #11151a;
}
.gateway-step + li::before {
  content: "→";
  position: absolute;
  left: -20px;
  top: 16px;
  color: #8a929c;
}
.gateway-step span {
  display: block;
  font-size: 12px;
}
.gateway-step a {
  font-weight: bold;
  display: block;
  color: #d7dbe0;
}
.gateway-high {
  border-color: #76c99d;
}
.gateway-high span {
  color: #76c99d;
}
.gateway-low {
  border-color: #e8c174;
}
.gateway-low span {
  color: #e8c174;
}
.gateway-null {
  border-color: #e79c9c;
}
.gateway-null span {
  color: #e79c9c;
}
.gateway-route-foot {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  color: #8a929c;
  font-size: 12px;
}
.gateway-special {
  color: #e8c174;
  font-size: 12px;
}
.gateway-method {
  margin-top: 8px;
  border-top: 1px solid #232830;
  padding-top: 8px;
}
.gateway-method summary {
  cursor: pointer;
}
.gateway-empty {
  padding: 8px 0;
}
@media (max-width: 49.99rem) {
  .gateway-filters {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .gateway-path {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 16px;
  }
  .gateway-step {
    min-width: 0;
    max-width: 100%;
  }
  .gateway-step + li::before {
    content: "↓";
    left: 8px;
    top: -17px;
  }
  .gateway-route-heading {
    align-items: flex-start;
  }
}
