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

body {
  display: flex;
}

.sidebar {
  width: 320px;
  padding: 0 12px;
  overflow-y: auto;
  border-right: 1px solid #ccc;
  box-sizing: border-box;
}

.sidebar h1 {
  font-size: 18px;
}

.map {
  flex: 1;
}

.panel {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-bottom: 12px;
  padding-bottom: 12px;
  border-bottom: 1px solid #eee;
}

.status {
  color: #555;
}

.results {
  padding-left: 20px;
}

.results li {
  cursor: pointer;
  padding: 3px 0;
}

.results li:hover,
.results li.selected {
  color: #0057b8;
}

.results .meta {
  color: #777;
  font-size: 12px;
}

.links {
  font-size: 12px;
}

.popup {
  max-width: 280px;
  max-height: 240px;
  overflow: auto;
  padding: 6px 8px;
  background: white;
  border: 1px solid #999;
  border-radius: 4px;
  font-size: 12px;
}

.popup table {
  border-collapse: collapse;
}

.popup td {
  padding: 1px 4px;
  vertical-align: top;
}
