#guide-map .gm-overview {
  margin-top: 18px;
  padding: 12px 14px 4px;
  border: 1px solid #d4e4df;
  border-radius: 10px;
  background: #f8fcfb;
  color: #365d5a;
  font-size: 13px;
}
#guide-map .gm-overview svg {
  min-width: 700px;
  margin: 2px 0 8px;
}
#guide-map .gm-zoom-controls {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  margin: 16px 0 8px;
}
#guide-map .gm-zoom-controls span {
  margin-right: auto;
  color: #365d5a;
  font-size: 13px;
}
#guide-map .gm-zoom-controls button {
  min-width: 36px;
  padding: 6px 10px;
}
#guide-map .gm-zoom-plot {
  touch-action: pan-y;
  border: 1px solid #e1ece8;
  border-radius: 8px;
  cursor: grab;
}
#guide-map .gm-zoom-plot .gm-guide-hit {
  cursor: pointer;
}
#guide-map .gm-zoom-plot .gm-guide-hit:focus:not(:focus-visible) {
  outline: none;
}
#guide-map .gm-zoom-plot .gm-guide-hit:focus-visible {
  outline: 2px solid #0f172a;
  outline-offset: 2px;
}
#guide-map .gm-annotation-tracks {
  margin-left: -16px;
  margin-right: -16px;
}
#guide-map .gm-ucsc-footer {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
  padding-top: 16px;
  border-top: 1px solid #dbe8e4;
  text-align: right;
}
#guide-map .gm-ucsc-footer .gm-ucsc-link {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 8px 14px;
  border: 0;
  border-radius: 8px;
  background: #17756d;
  color: white;
  text-decoration: none;
  font-weight: 600;
  cursor: pointer;
}
#guide-map .gm-ucsc-footer .gm-ucsc-link:hover,
#guide-map .gm-ucsc-footer .gm-ucsc-link:focus-visible {
  background: #105c55;
}
#guide-map .gm-ucsc-footer small {
  flex-basis: 100%;
  color: #526d68;
}
@media (max-width: 700px) {
  #guide-map .gm-ucsc-footer {
    justify-content: flex-start;
    text-align: left;
  }
}

#guide-map .gm-zoom-plot {
  position: relative;
  height: auto;
  overflow-x: auto;
  overflow-y: hidden;
}
#guide-map .gm-guide-tooltip {
  position: absolute;
  z-index: 1;
  max-width: calc(100% - 8px);
  padding: 5px 9px;
  border-radius: 5px;
  background: #183b3a;
  color: white;
  font-size: 12px;
  overflow-wrap: anywhere;
  pointer-events: none;
}
#guide-map .gm-zoom-plot svg {
  display: block;
  width: 100%;
  min-width: 700px;
  max-width: none;
}

#guide-map .gm-pan-track {
  position: relative;
  height: 18px;
  margin: 8px 0 16px;
  border: 1px solid #b9d6d0;
  border-radius: 10px;
  background: #e7f1ee;
  cursor: pointer;
  touch-action: none;
}
#guide-map .gm-pan-track:focus-visible { outline: 2px solid #0f766e; outline-offset: 2px; }
#guide-map .gm-pan-thumb {
  position: absolute;
  top: 2px;
  bottom: 2px;
  border-radius: 8px;
  background: #17756d;
  box-shadow: 0 1px 3px #0b4d4866;
  cursor: grab;
}
#guide-map .gm-pan-track:active .gm-pan-thumb { cursor: grabbing; }
#guide-map .gm-pan-disabled { opacity: .55; cursor: default; }
#guide-map .gm-pan-disabled .gm-pan-thumb { cursor: default; }

#guide-map .gm-snp-note { display: block; margin: -8px 0 16px; color: #526d68; font-size: 12px; }

#guide-map .gm-guide-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 16px;
  margin: 0 0 14px;
  color: #526d68;
  font-size: 13px;
}
#guide-map .gm-guide-legend span::before {
  content: "";
  display: inline-block;
  width: 12px;
  height: 8px;
  margin-right: 6px;
  border-radius: 2px;
  background: var(--gm-key-color);
}
#guide-map .gm-guide-scores {
  display: grid;
  grid-template-columns: minmax(0, max-content) auto;
  gap: 6px 20px;
  width: fit-content;
  margin: 10px 0 12px;
  font-size: 1rem;
}
#guide-map .gm-guide-scores dt { color: #526d68; }
#guide-map .gm-guide-scores dd {
  margin: 0;
  text-align: right;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}
