.hr-public-tour-root {
  position: fixed;
  inset: 0;
  z-index: 90000;
  pointer-events: none;
  font-family: inherit;
}

.hr-public-tour-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(5, 18, 32, 0.62);
  opacity: 1;
  transition: opacity 0.18s ease;
  pointer-events: auto;
}

.hr-public-tour-root.has-target .hr-public-tour-backdrop {
  background: transparent;
  pointer-events: none;
}

.hr-public-tour-spotlight {
  position: fixed;
  border: 2px solid rgba(255, 255, 255, 0.92);
  border-radius: 12px;
  box-shadow:
    0 0 0 9999px rgba(5, 18, 32, 0.58),
    0 0 0 6px rgba(31, 143, 229, 0.24),
    0 18px 44px rgba(7, 21, 38, 0.24);
  pointer-events: none;
  transition:
    top 0.18s ease,
    left 0.18s ease,
    width 0.18s ease,
    height 0.18s ease;
}

.hr-public-tour-spotlight-associated {
  border-color: rgba(125, 211, 252, 0.94);
  box-shadow:
    0 0 0 9999px rgba(5, 18, 32, 0),
    0 0 0 5px rgba(31, 143, 229, 0.18),
    0 12px 34px rgba(7, 21, 38, 0.18);
}

.hr-public-tour-target-active {
  position: relative;
  z-index: 89999 !important;
}

.hr-public-tour-target-associated {
  z-index: 90001 !important;
}

.hr-public-tour-target-clickable {
  pointer-events: auto;
}

.hr-public-tour-nav-surface-active {
  position: sticky;
  z-index: 90002 !important;
  overflow: visible !important;
}

body.hr-public-tour-nav-open .hr-public-tour-target-active.hr-nav-cta {
  box-shadow:
    0 0 0 2px rgba(255, 255, 255, 0.94),
    0 0 0 7px rgba(31, 143, 229, 0.24),
    0 12px 30px rgba(22, 58, 95, 0.22) !important;
}

.hr-public-tour-card {
  position: fixed;
  z-index: 90003;
  display: flex;
  flex-direction: column;
  width: min(420px, calc(100vw - 32px));
  max-height: min(76vh, 620px);
  overflow: hidden;
  padding: 20px;
  border: 1px solid rgba(21, 94, 145, 0.18);
  border-radius: 8px;
  background: #ffffff;
  color: #102033;
  box-shadow: 0 28px 70px rgba(3, 18, 34, 0.28);
  pointer-events: auto;
}

.hr-public-tour-card-head {
  flex: 0 0 auto;
}

.hr-public-tour-card.is-centered {
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.hr-public-tour-close {
  position: absolute;
  top: 10px;
  right: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border: 1px solid rgba(16, 32, 51, 0.14);
  border-radius: 8px;
  background: #f7f9fc;
  color: #102033;
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
}

.hr-public-tour-close:hover,
.hr-public-tour-close:focus-visible {
  background: #eef7fc;
}

.hr-public-tour-kicker {
  margin: 0 42px 8px 0;
  color: #5f6f82;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hr-public-tour-title {
  margin: 0 42px 10px 0;
  color: #102033;
  font-size: 22px;
  line-height: 1.18;
  letter-spacing: 0;
}

.hr-public-tour-text {
  flex: 1 1 auto;
  min-height: 0;
  overflow: auto;
  overscroll-behavior: contain;
  margin: 0;
  color: #3f5f78;
  font-size: 15px;
  line-height: 1.55;
  white-space: pre-line;
}

.hr-public-tour-actions {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 18px;
  flex-wrap: wrap;
}

.hr-public-tour-button {
  min-height: 42px;
  border: 1px solid rgba(22, 58, 95, 0.2);
  border-radius: 8px;
  padding: 0 15px;
  font: inherit;
  font-size: 14px;
  font-weight: 800;
  line-height: 1;
  cursor: pointer;
}

.hr-public-tour-button-primary {
  color: #ffffff;
  background: linear-gradient(135deg, #163a5f, #102033);
  border-color: transparent;
}

.hr-public-tour-button-secondary {
  color: #163a5f;
  background: #eef7fc;
}

.hr-public-tour-button-ghost {
  color: #3f5f78;
  background: #ffffff;
}

.hr-public-tour-button:focus-visible,
.hr-public-tour-close:focus-visible,
.hr-public-tour-footer-trigger:focus-visible {
  outline: 3px solid #7dd3fc;
  outline-offset: 2px;
}

.hr-public-tour-footer-trigger {
  border: 0;
  padding: 0;
  background: transparent;
  color: #0f3d5e;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

.hr-public-tour-footer-trigger:hover {
  color: #1f8fe5;
}

body.hr-public-tour-scroll-locked {
  overflow: hidden;
}

body.hr-public-tour-dropdown-open .hr-dropdown {
  z-index: 90004;
}

body.hr-public-tour-dropdown-open [data-public-tour-target="analysis-menu"] {
  position: relative;
  z-index: 90003 !important;
}

body.hr-public-tour-dropdown-open [data-public-tour-target="analysis-menu"] > .hr-dropdown-toggle {
  box-shadow:
    0 0 0 2px rgba(255, 255, 255, 0.94),
    0 0 0 7px rgba(31, 143, 229, 0.22) !important;
}

body.hr-public-tour-dropdown-open [data-public-tour-target="analysis-menu"] .hr-dropdown {
  box-sizing: border-box;
  opacity: 1 !important;
  visibility: visible !important;
  pointer-events: auto !important;
  transform: translateY(0) !important;
  box-shadow:
    0 0 0 2px rgba(255, 255, 255, 0.94),
    0 0 0 7px rgba(31, 143, 229, 0.18),
    0 18px 45px rgba(7, 29, 51, 0.16) !important;
}

@media (max-width: 1120px) {
  .hr-public-tour-footer-trigger {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hr-public-tour-backdrop,
  .hr-public-tour-spotlight {
    transition: none;
  }
}
