.alert-item > div {
  min-width: 0;
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  column-gap: 5px;
  row-gap: 1px;
}

.alert-item b,
.alert-item span {
  white-space: nowrap;
}

.global-filters {
  align-items: center;
}

.top-select,
.top-apply {
  height: 36px;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: #fff;
  color: var(--ink);
  font-size: 9px;
  font-weight: 800;
}

.top-select {
  max-width: 138px;
  padding: 0 25px 0 10px;
}

.top-apply {
  padding: 0 13px;
  background: var(--navy);
  border-color: var(--navy);
  color: #fff;
}

.share-button {
  color: var(--teal);
  font-weight: 900;
}

.map-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 240px;
  gap: 15px;
}

.mp-map {
  height: min(60vh, 520px);
  width: 100%;
  display: block;
}

.mp-shape {
  fill: #e4efea;
  stroke: #83a9a1;
  stroke-width: 2;
}

.map-marker {
  cursor: pointer;
}

.map-marker circle {
  fill: var(--teal);
  stroke: #fff;
  stroke-width: 3;
}

.map-marker.high circle {
  fill: var(--orange);
}

.map-marker text {
  fill: var(--ink);
  font-size: 10px;
  font-weight: 800;
}

.map-list {
  display: grid;
  align-content: start;
  gap: 8px;
}

.map-row {
  display: grid;
  grid-template-columns: 8px 1fr auto;
  align-items: center;
  gap: 8px;
  padding: 10px;
  border-radius: 9px;
  background: #f7faf8;
  font-size: 9px;
}

.map-row i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--teal);
}

.map-row.high i {
  background: var(--orange);
}

.map-row b:last-child {
  color: var(--muted);
}

@media (max-width: 760px) {
  .topbar {
    padding: 0 10px;
  }

  .topbar > div:first-of-type {
    min-width: 70px;
  }

  .topbar h2 {
    font-size: 15px;
  }

  .global-filters {
    min-width: 0;
    gap: 4px;
  }

  .top-select {
    width: 74px;
    padding: 0 4px;
  }

  .top-apply {
    padding: 0 8px;
  }

  .global-filters .alert-dot {
    display: none;
  }

  .top-actions .share-button {
    display: block;
  }

  .map-layout {
    grid-template-columns: 1fr;
  }

  .mp-map {
    height: 390px;
  }
}
