input,
select {
  max-width: 100%;
  width: 100%;
}

.select {
  width: 100%;
}

button {
  background: var(--color-blue);
}

#map {
  margin: 0;
}

.pill {
  font-size: 0.8rem;
}

#pill-count {
  background: none;
  color: inherit;
  font-size: 1rem;
  border: none;
  padding: 0;
}

#list {
  max-height: 400px;
  border-top: 1px solid #ddd;
  border-bottom: 1px solid #ddd;
  overflow-y: scroll;
  margin-bottom: 4rem;
}





@media screen and (max-width: 1024px) {
  section.tools .grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.5rem 1rem;
  }

  section.tools .grid .flex {
    gap: 0.2rem;
  }
}





@media screen and (max-width: 767px) {
  section.tools .grid {
    grid-template-columns: 1fr;
  }

  section.map-area>.flex {
    max-width: 100%;
    width: max-content;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.25rem;
  }

  .summary {
    gap: 0.25rem;
  }

  #list {
    margin-bottom: 2rem;
  }
}