.map-overlay {
  left: auto;
  right: 16px;
  top: 16px;
  max-width: min(220px, calc(100% - 90px));
}

.map-legend {
  bottom: 28px;
}

.history-summary {
  margin: -4px 0 15px;
  color: #75677c;
  font-size: 13px;
  line-height: 1.4;
}

.history-more {
  display: block;
  width: 100%;
  margin-top: 15px;
  padding: 11px 15px;
  border: 1px solid #bb29bb;
  background: #fff;
  color: #8c1a8c;
  font-size: 13px;
  font-weight: 800;
}

.history-more:hover,
.history-more:focus-visible {
  background: #fce8fc;
}
