html, body {
  height: 100%;
  margin: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: #f7f7f4;
  color: #1e1e1e;
  overflow: hidden;
}

header {
  height: 76px;
  box-sizing: border-box;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 18px;
  border-bottom: 1px solid #d0d0ca;
  background: #ffffff;
}

h1 {
  margin: 0;
  font-size: 22px;
}

header p {
  margin: 4px 0 0;
  font-size: 13px;
  color: #555;
}

button {
  border: 1px solid #333;
  background: #fff;
  padding: 9px 12px;
  cursor: pointer;
  font-weight: 600;
}

main {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  height: calc(100vh - 76px);
  width: 100vw;
}

#map {
  height: 100%;
  width: 100%;
}

aside {
  padding: 16px;
  overflow: auto;
  border-left: 1px solid #d0d0ca;
  background: #fbfbf8;
  box-sizing: border-box;
}

h2 {
  margin: 16px 0 8px;
  font-size: 15px;
}

.legend-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 7px 0;
  font-size: 13px;
}

.legend-row span {
  width: 22px;
  height: 16px;
  border: 1px solid #444;
  display: inline-block;
  flex: 0 0 auto;
}

.legend-row .nodata {
  background: repeating-linear-gradient(
    45deg,
    #ffffff,
    #ffffff 5px,
    #cfcfcf 5px,
    #cfcfcf 8px
  );
}

pre {
  white-space: pre-wrap;
  word-break: break-word;
  background: #eeeeea;
  padding: 10px;
  border: 1px solid #d5d5cf;
  font-size: 12px;
}
