.construction-map-areas {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 8px 0 20px;
  padding: 0;
  list-style: none;
}

.construction-map-areas a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 16px;
  border: 1px solid var(--rule);
  color: var(--text);
  font-size: .88rem;
  text-decoration: none;
  white-space: nowrap;
}

.construction-map-areas a:hover {
  border-color: var(--navy);
}

.construction-map-areas a[aria-current="true"] {
  border-color: var(--navy);
  background: var(--navy);
  color: #fff;
}

.construction-map-areas a span {
  font-size: .76rem;
  opacity: .75;
}

.construction-map {
  margin: 0 0 14px;
}

.construction-map__canvas {
  width: 100%;
  height: min(68vh, 720px);
  min-height: 380px;
  border: 1px solid var(--rule);
  background: var(--ground-2);
}

.construction-map .leaflet-tile-pane {
  filter: grayscale(1);
}

.construction-map figcaption {
  margin-top: 10px;
  color: var(--text-2);
  font-size: .82rem;
}

.construction-map .leaflet-popup-content {
  min-width: 170px;
  line-height: 1.75;
}

.construction-map .leaflet-popup-content strong,
.construction-map .leaflet-popup-content span {
  display: block;
}

.construction-map .leaflet-popup-content span {
  color: #555;
  font-size: .8rem;
}

.construction-map-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 20px;
  margin: 0 0 28px;
  padding: 0;
  list-style: none;
  color: var(--text-2);
  font-size: .82rem;
}

.construction-map-legend li {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.construction-map-dot {
  display: inline-block;
  flex: none;
  width: 12px;
  height: 12px;
  border: 2px solid #fff;
  border-radius: 50%;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, .35);
}

.construction-map-dot--planned {
  width: 13px;
  height: 13px;
  border: 4px solid var(--text-2);
  background: #fff;
  box-shadow: none;
}

.construction-map-list__tag {
  padding: 1px 6px;
  border: 1px solid var(--rule);
  color: var(--text-2);
  font-size: .7rem;
  font-weight: 400;
  white-space: nowrap;
}

.construction-map-list tr[hidden] {
  display: none;
}

.construction-map-list__name {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.construction-map-list button {
  min-height: 36px;
  padding: 0 12px;
  border: 1px solid var(--rule);
  background: none;
  color: var(--text);
  font: inherit;
  font-size: .78rem;
  white-space: nowrap;
  cursor: pointer;
}

.construction-map-list button:hover {
  border-color: var(--navy);
}

@media (max-width: 600px) {
  .construction-map__canvas {
    height: 62vh;
    min-height: 340px;
  }

  .construction-map-areas a {
    padding: 0 12px;
  }
}
