.rp-atlas {
  position: relative;
  isolation: isolate;
  width: 100%;
  height: clamp(360px, 65vh, 790px);
  overflow: hidden;
  border-radius: 12px;
  background: #e4e5d7;
  color: #172c42;
  font: inherit;
}
.rp-atlas--compact {
  height: clamp(215px, 23vw, 300px);
}
.rp-atlas__viewport,
.rp-atlas__pins {
  position: absolute;
  inset: 0;
}
.rp-atlas__viewport {
  overflow: hidden;
  cursor: grab;
  touch-action: none;
  outline-offset: -3px;
}
.rp-atlas__viewport--dragging {
  cursor: grabbing;
}
.rp-atlas__image {
  display: block;
  position: absolute;
  inset: 0 auto auto 0;
  width: 3072px !important;
  height: 3072px !important;
  max-width: none !important;
  max-height: none !important;
  object-fit: fill;
  transform-origin: 0 0;
  user-select: none;
  pointer-events: none;
  filter: saturate(0.62) contrast(0.92) brightness(1.045);
}
.rp-atlas__pins {
  pointer-events: none;
}
.rp-atlas__pins > [hidden],
.rp-atlas__detail[hidden] {
  display: none;
}
.rp-atlas__pin,
.rp-atlas__city {
  position: absolute;
  transform: translate(-50%, -50%);
}
.rp-atlas__pin {
  z-index: 1;
  width: 31px !important;
  height: 31px !important;
  min-width: 0 !important;
  padding: 0 !important;
  border: 2px solid white !important;
  border-radius: 50% !important;
  background: #223952 !important;
  color: white !important;
  pointer-events: auto;
  display: grid;
  place-items: center;
  cursor: pointer;
  box-shadow: 0 2px 8px #172c4240;
}
.rp-atlas__pin:before {
  content: "";
  position: absolute;
  top: calc(100% - 1px);
  left: calc(50% - 4px);
  border: 4px solid transparent;
  border-top-color: white;
}
.rp-atlas__pin:hover,
.rp-atlas__pin--selected {
  background: #9d6617 !important;
  z-index: 2;
}
.rp-atlas__city {
  font-family: inherit;
  font-weight: 750;
  font-size: clamp(14px, 1.1vw, 18px);
  color: #293d4a;
  white-space: nowrap;
  text-shadow:
    1.5px 1.5px 1px white,
    -1.5px -1.5px 1px white,
    1.5px -1.5px 1px white,
    -1.5px 1.5px 1px white;
  letter-spacing: 0.01em;
}
.rp-atlas__controls {
  position: absolute;
  inset: 12px 12px auto auto;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.rp-atlas__controls button,
.rp-atlas__detail .rp-atlas__close {
  display: grid;
  place-items: center;
  padding: 0 !important;
  margin: 0;
  width: 32px;
  height: 32px;
  border: 0;
  border-radius: 5px;
  background: #fff;
  color: #263a4e;
  cursor: pointer;
}
.rp-atlas__controls > button,
.rp-atlas__zoom,
.rp-atlas__locator select {
  box-shadow: 0 1px 6px #11243827;
  border: 1px solid #bdc5c7;
}
.rp-atlas__zoom {
  overflow: hidden;
  border-radius: 5px;
  background: #fff;
}
.rp-atlas__zoom button {
  width: 30px;
  height: 30px;
  border-radius: 0;
}
.rp-atlas__zoom button + button {
  border-top: 1px solid #d4dbdc;
}
.rp-atlas__controls button:hover,
.rp-atlas__detail .rp-atlas__close:hover {
  background: #f0f3f4;
}
.rp-atlas__controls button:disabled {
  color: #8d989f;
  cursor: default;
}
.rp-atlas__locator {
  position: absolute;
  inset: 12px auto auto 12px;
  width: min(225px, calc(100% - 78px));
}
.rp-atlas__locator select {
  height: 35px;
  min-height: 35px;
  width: 100%;
  max-width: 100%;
  border-radius: 6px;
  padding: 0 30px 0 11px;
  background-color: white;
  color: #203248;
  font: inherit;
  font-size: 0.875rem;
  cursor: pointer;
}
.rp-atlas--compact:not(.rp-atlas--expanded, .rp-atlas--schedule)
  .rp-atlas__locator {
  display: none;
}
.rp-atlas__detail {
  position: absolute;
  inset: auto auto 28px 12px;
  max-width: calc(100% - 24px);
  padding: 9px 34px 9px 12px;
  border-radius: 6px;
  background: #21364a;
  color: white;
  box-shadow: 0 2px 8px #10233433;
}
.rp-atlas__detail strong,
.rp-atlas__detail span {
  display: block;
  color: inherit;
}
.rp-atlas__detail strong {
  font-size: 0.875rem;
  font-weight: 650;
}
.rp-atlas__detail span {
  margin-top: 2px;
  color: #e2eaf2;
  font-size: 0.8125rem;
}
.rp-atlas__detail .rp-atlas__close {
  position: absolute;
  inset: 4px 4px auto auto;
  width: 26px;
  height: 26px;
  color: white;
  background: transparent;
}
.rp-atlas__detail .rp-atlas__close:hover {
  color: #142d42;
}
.rp-atlas__credit {
  position: absolute;
  inset: auto auto 0 0;
  border-top-right-radius: 4px;
  background: #ffffffeb;
  padding: 3px 7px;
  color: #344859;
  font-family: inherit;
  font-size: 0.75rem;
  line-height: 1.15;
  text-decoration: none;
}
.rp-atlas__credit:hover {
  text-decoration: underline;
}
.rp-atlas-dialog {
  max-width: none;
  max-height: none;
  width: min(1280px, 95vw);
  height: 90dvh;
  padding: 0;
  margin: auto;
  border: 0;
  border-radius: 12px;
  box-shadow: 0 20px 80px #091a2e45;
}
.rp-atlas-dialog::backdrop {
  background: #0e1f33b3;
}
.rp-atlas--expanded {
  height: 100%;
}
@media (max-width: 600px) {
  .rp-atlas-dialog {
    width: 97vw;
    height: 88dvh;
  }
  .rp-atlas__controls button,
  .rp-atlas__zoom button {
    width: 36px;
    height: 36px;
  }
}

.rp-atlas--schedule {
  background: #e2e6e5;
}
.rp-atlas--schedule .rp-atlas__image {
  box-shadow: 0 0 0 1px #c8cecb;
}
.rp-atlas__pin.rp-atlas__pin--job {
  z-index: 3;
  width: 33px !important;
  height: 33px !important;
  background: #ffd16b !important;
  color: #273142 !important;
  font: inherit;
  font-size: 0.88rem;
  font-weight: 750;
  font-variant-numeric: tabular-nums;
}
.rp-atlas__pin--job.rp-atlas__pin--selected,
.rp-atlas__pin--job:hover {
  background: #243b50 !important;
  color: white !important;
  outline: 2px solid #ebb84f;
  z-index: 4;
}
.rp-atlas__pin:focus-visible {
  outline: 3px solid #1a61a1;
  z-index: 5;
}
.rp-atlas__detail {
  box-sizing: border-box;
  width: max-content;
  max-width: min(400px, calc(100% - 24px));
}
.rp-atlas__detail .rp-atlas__open-job {
  margin: 7px 0 0;
  padding: 6px 10px;
  border: 1px solid #f9d789;
  border-radius: 5px;
  color: #162e41;
  background: #ffe1a1;
  font: inherit;
  font-size: 0.875rem;
  font-weight: 620;
  cursor: pointer;
}
.rp-atlas__detail .rp-atlas__open-job:hover {
  background: #ffdb85;
}
.rp-atlas--compact:not(.rp-atlas--expanded) .rp-atlas__viewport {
  touch-action: pan-y pinch-zoom;
}
.rp-atlas__controls,
.rp-atlas__locator,
.rp-atlas__credit {
  z-index: 6;
}
.rp-atlas__detail {
  z-index: 7;
}
.rp-atlas-dialog .rp-atlas--expanded {
  height: 100%;
}
@media (max-width: 600px) {
  .rp-atlas-dialog {
    inset: env(safe-area-inset-top, 0px) env(safe-area-inset-right, 0px)
      env(safe-area-inset-bottom, 0px) env(safe-area-inset-left, 0px);
    width: calc(
      100vw - env(safe-area-inset-left, 0px) - env(safe-area-inset-right, 0px)
    );
    height: calc(
      100dvh - env(safe-area-inset-top, 0px) - env(safe-area-inset-bottom, 0px)
    );
    border-radius: 0;
  }
  .rp-atlas--expanded {
    border-radius: 0;
  }
  .rp-atlas__controls button,
  .rp-atlas__zoom button,
  .rp-atlas__detail .rp-atlas__open-job {
    min-width: 40px;
    min-height: 40px;
  }
  .rp-atlas__detail {
    max-height: calc(100% - 50px);
    overflow: auto;
  }
}
.rp-atlas__leaders {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  stroke: #8b672c;
  stroke-width: 1;
}
.rp-atlas__pin.rp-atlas__pin--job::before {
  display: none;
}
.rp-atlas--compact:not(.rp-atlas--expanded) .rp-atlas__pin.rp-atlas__pin--job {
  width: 25px !important;
  height: 25px !important;
  font-size: 0.75rem;
}
@media (max-width: 600px) {
  .rp-atlas--compact:not(.rp-atlas--expanded) .rp-atlas__locator {
    width: min(44%, 165px);
  }
}

.rp-atlas--site:not(.rp-atlas--expanded) {
  height: clamp(162px, 27vh, 230px);
  border-radius: 8px;
}
.rp-atlas--site .rp-atlas__locator,
.rp-atlas--site:not(.rp-atlas--expanded) .rp-atlas__detail {
  display: none;
}
