html, body {
  margin: 0;
  padding: 0;
  height: 100%;
  font-family: system-ui, sans-serif;
}

#map {
  position: absolute;
  inset: 0;
}

#controls {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

#search-box {
  position: relative;
  width: 280px;
}

#search-input {
  width: 100%;
  box-sizing: border-box;
  padding: 8px 10px;
  border: 1px solid #ccc;
  border-radius: 4px;
  font-size: 14px;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.15);
}

#search-results {
  list-style: none;
  margin: 4px 0 0;
  padding: 0;
  background: white;
  border-radius: 4px;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.15);
  max-height: 240px;
  overflow-y: auto;
}

#search-results:empty {
  display: none;
}

#search-results li {
  padding: 8px 10px;
  cursor: pointer;
  font-size: 13px;
  border-bottom: 1px solid #eee;
}

#search-results li:hover {
  background: #f2f2f2;
}

#toggles {
  background: white;
  border-radius: 4px;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.15);
  padding: 8px 10px;
  font-size: 13px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

#error-banner {
  position: absolute;
  top: 12px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  background: #b91c1c;
  color: white;
  padding: 8px 16px;
  border-radius: 4px;
  font-size: 14px;
}

#category-filters {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-top: 4px;
  padding-top: 8px;
  border-top: 1px solid #eee;
}

#category-filters span {
  font-weight: 600;
  font-size: 12px;
  color: #555;
}

#verdict-explainer {
  font-size: 12px;
  color: #333;
}

#verdict-explainer summary {
  cursor: pointer;
  color: #2563eb;
}

#verdict-explainer p {
  margin: 6px 0 0;
  line-height: 1.4;
}

#page-title {
  margin: 0;
  padding: 6px 10px;
  background: white;
  border-radius: 4px;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.15);
  font-size: 15px;
  font-weight: 600;
  width: fit-content;
}
