:root {
  --hebert-green: #555555;
  --hebert-gold: #b8b8b8;
  --hebert-red: #111111;
  --hebert-blue: #6f6f6f;
  --hebert-black: #111111;
  --hebert-white: #FFFFFF;
}

html, body, #hebertMap {
  width: 100%;
  height: 100%;
  margin: 0;
}

body {
  font-family: "Avenir Next", Avenir, Montserrat, sans-serif;
  background: var(--hebert-black);
}

.hebert-map-shell {
  position: relative;
  width: 100%;
  min-height: 720px;
  height: 82vh;
  overflow: hidden;
  background: #e7e7e7;
}

#hebertMap {
  min-height: 720px;
}

.hebert-panel {
  position: absolute;
  z-index: 1001;
  left: 18px;
  top: 18px;
  width: min(370px, calc(100% - 36px));
  box-sizing: border-box;
  padding: 18px;
  background: rgba(255, 255, 255, 0.97);
  border: 1px solid var(--hebert-black);
  box-shadow: 0 10px 32px rgba(0, 0, 0, 0.16);
}

.hebert-brand {
  color: var(--hebert-green);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.hebert-panel h1 {
  margin: 7px 0 4px;
  font-family: "Avenir Next", Avenir, Montserrat, sans-serif;
  font-size: 26px;
  font-weight: 500;
  color: var(--hebert-black);
}

.hebert-count {
  margin-bottom: 13px;
  color: #555555;
  font-size: 12px;
}

.hebert-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.hebert-filter {
  border: 1px solid var(--hebert-black);
  background: var(--hebert-white);
  color: var(--hebert-black);
  padding: 8px 11px;
  cursor: pointer;
  font-size: 12px;
  font-weight: 700;
}

.hebert-filter.active {
  background: var(--hebert-black);
  color: var(--hebert-white);
}

.hebert-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 13px;
  font-size: 11px;
}

.hebert-dot {
  display: inline-block;
  width: 10px;
  height: 10px;
  margin-right: 4px;
  border-radius: 50%;
}

.hebert-status {
  position: absolute;
  z-index: 6;
  left: 18px;
  bottom: 16px;
  padding: 8px 10px;
  background: var(--hebert-black);
  color: var(--hebert-white);
  font-size: 11px;
}

.hebert-popup-address {
  font-size: 15px;
  font-weight: 700;
}

.hebert-popup-type {
  margin-top: 4px;
  font-size: 12px;
}

.hebert-popup-amount {
  margin-top: 5px;
  font-size: 13px;
  font-weight: 700;
}

@media (max-width: 650px) {
  .hebert-map-shell,
  #hebertMap {
    min-height: 640px;
    height: 78vh;
  }

  .hebert-panel {
    left: 10px;
    right: 10px;
    top: 10px;
    width: auto;
    padding: 14px;
  }

  .hebert-panel h1 {
    font-size: 22px;
  }

  .hebert-status {
    left: 10px;
    bottom: 10px;
  }
}
.hebert-popup { min-width: 210px; font-family: "Avenir Next", Avenir, Montserrat, sans-serif; }
.hebert-popup strong, .hebert-popup span, .hebert-popup small { display:block; }
.hebert-popup strong { font-size: 15px; font-weight: 600; }
.hebert-popup span { margin-top: 5px; font-size: 12px; text-transform: uppercase; letter-spacing: .08em; }
.hebert-popup small { margin-top: 7px; color:#666; font-size: 11px; }
.leaflet-tile { filter: grayscale(1) contrast(.92) brightness(1.04); }
