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

body {
  background: #dfe6ea;
  color: #1f2933;
  font: 13px/1.4 system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
}

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

.cc-pin {
  background: #2f6fdb;
  border: 2px solid #fff;
  border-radius: 50%;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.45), 0 1px 4px rgba(0, 0, 0, 0.35);
  box-sizing: border-box;
  cursor: pointer;
}

.cc-pin.cc-sev-HIGH { background: #d64545; }
.cc-pin.cc-sev-MEDIUM { background: #e8912d; }
.cc-pin.cc-sev-LOW { background: #2f9e44; }
.cc-pin.cc-sev-INFO { background: #2f6fdb; }

.cc-pin.cc-selected {
  box-shadow: 0 0 0 3px #fff, 0 0 0 5px #1f2933, 0 2px 8px rgba(0, 0, 0, 0.5);
}

.cc-pin:focus-visible {
  outline: 3px solid #1f2933;
  outline-offset: 2px;
}

.cc-popup {
  max-width: 260px;
}

.cc-popup .label {
  display: block;
  margin-bottom: 4px;
}

.cc-popup .detail {
  white-space: pre-line;
}

.map-status,
.standalone {
  background: #fff;
  border-radius: 4px;
  box-shadow: 0 1px 6px rgba(0, 0, 0, 0.3);
  position: absolute;
  z-index: 1000;
}

.map-status {
  left: 50%;
  margin: 0;
  padding: 6px 10px;
  top: 12px;
  transform: translateX(-50%);
}

.standalone {
  display: flex;
  flex-direction: column;
  gap: 4px;
  max-width: 300px;
  padding: 10px 12px;
  right: 12px;
  top: 12px;
}

.standalone[hidden],
.map-status[hidden] {
  display: none;
}
