.lucida-tour-active {
  overflow: hidden;
}

.help-tour-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 12px 0 22px;
}

.lucida-onboarding {
  position: fixed;
  inset: 0;
  z-index: 30000;
  font-family: var(--font-sans, "Inter", sans-serif);
  pointer-events: none;
}

.lucida-tour-blocker {
  position: fixed;
  z-index: 30000;
  background: rgba(3, 11, 16, 0.78);
  backdrop-filter: blur(2px) saturate(0.75);
  -webkit-backdrop-filter: blur(2px) saturate(0.75);
  cursor: not-allowed;
  pointer-events: auto;
}

.lucida-tour-spotlight,
.lucida-tour-target-shield {
  position: fixed;
  z-index: 30001;
  border-radius: 14px;
}

.lucida-tour-spotlight {
  pointer-events: none;
  border: 2px solid #68e0b8;
  box-shadow:
    0 0 0 4px rgba(104, 224, 184, 0.2),
    0 0 32px rgba(31, 215, 157, 0.32);
  animation: lucida-tour-pulse 1.8s ease-in-out infinite;
}

.lucida-tour-target-shield {
  pointer-events: auto;
  cursor: default;
  background: transparent;
}

.lucida-tour-card {
  position: fixed;
  z-index: 30003;
  width: min(410px, calc(100vw - 24px));
  max-height: min(640px, calc(100vh - 24px));
  overflow: auto;
  padding: 0;
  color: #ecf8f4;
  background:
    linear-gradient(145deg, rgba(21, 43, 49, 0.985), rgba(8, 24, 30, 0.99));
  border: 1px solid rgba(139, 233, 204, 0.3);
  border-radius: 18px;
  box-shadow: 0 24px 72px rgba(0, 0, 0, 0.52);
  pointer-events: auto;
}

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

.lucida-tour-card:not(.is-centered) {
  transform: none;
}

.lucida-tour-card > header,
.lucida-tour-card > footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 16px;
}

.lucida-tour-card > header {
  border-bottom: 1px solid rgba(179, 231, 215, 0.12);
}

.lucida-tour-card > header > div {
  display: flex;
  align-items: center;
  gap: 10px;
}

.lucida-tour-eyebrow {
  color: #83e5c5;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.lucida-tour-progress {
  padding: 4px 8px;
  color: #b8d4cc;
  background: rgba(255, 255, 255, 0.06);
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 700;
}

.lucida-tour-icon-button,
.lucida-tour-button,
.lucida-tour-choice-button {
  appearance: none;
  border: 0;
  font: inherit;
}

.lucida-tour-icon-button {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  color: #bdd4ce;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  cursor: pointer;
}

.lucida-tour-icon-button:hover,
.lucida-tour-icon-button:focus-visible {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.12);
}

.lucida-tour-icon-button svg {
  width: 17px;
  height: 17px;
}

.lucida-tour-copy {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  gap: 14px;
  padding: 20px 18px 18px;
}

.lucida-tour-step-icon {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  color: #061d19;
  background: linear-gradient(135deg, #92f1d2, #49cfa4);
  border-radius: 13px;
  box-shadow: 0 10px 26px rgba(51, 204, 158, 0.22);
}

.lucida-tour-step-icon svg {
  width: 21px;
  height: 21px;
}

.lucida-tour-copy h2 {
  margin: 0 0 8px;
  color: #f3fbf8;
  font-size: 1.08rem;
  line-height: 1.25;
}

.lucida-tour-copy p {
  margin: 0;
  color: #bed1cb;
  font-size: 0.88rem;
  line-height: 1.58;
}

.lucida-tour-choice {
  display: grid;
  gap: 10px;
  padding: 0 18px 20px;
}

.lucida-tour-choice[hidden] {
  display: none;
}

.lucida-tour-choice-button {
  display: grid;
  gap: 4px;
  width: 100%;
  padding: 13px 14px;
  color: #e7f5f0;
  text-align: left;
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid rgba(196, 235, 223, 0.13);
  border-radius: 12px;
  cursor: pointer;
}

.lucida-tour-choice-button.primary {
  background: rgba(64, 208, 163, 0.12);
  border-color: rgba(101, 227, 188, 0.34);
}

.lucida-tour-choice-button:hover,
.lucida-tour-choice-button:focus-visible {
  background: rgba(102, 225, 186, 0.17);
  border-color: rgba(122, 237, 201, 0.56);
  outline: none;
}

.lucida-tour-choice-button strong {
  font-size: 0.88rem;
}

.lucida-tour-choice-button span {
  color: #a9c4bc;
  font-size: 0.75rem;
}

.lucida-tour-card > footer {
  border-top: 1px solid rgba(179, 231, 215, 0.12);
}

.lucida-tour-button {
  display: inline-flex;
  min-height: 39px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 9px 14px;
  border-radius: 10px;
  cursor: pointer;
  font-size: 0.82rem;
  font-weight: 800;
}

.lucida-tour-button svg {
  width: 16px;
  height: 16px;
}

.lucida-tour-button.primary {
  color: #06221b;
  background: linear-gradient(135deg, #8ae9ca, #48cf9f);
  box-shadow: 0 8px 20px rgba(42, 194, 147, 0.2);
}

.lucida-tour-button.secondary {
  color: #c6dad4;
  background: rgba(255, 255, 255, 0.06);
}

.lucida-tour-button:hover,
.lucida-tour-button:focus-visible {
  filter: brightness(1.08);
  outline: 2px solid rgba(138, 233, 202, 0.45);
  outline-offset: 2px;
}

.lucida-tour-button:disabled {
  opacity: 0.38;
  cursor: default;
  filter: none;
}

@keyframes lucida-tour-pulse {
  0%, 100% { box-shadow: 0 0 0 4px rgba(104, 224, 184, 0.18), 0 0 26px rgba(31, 215, 157, 0.24); }
  50% { box-shadow: 0 0 0 7px rgba(104, 224, 184, 0.09), 0 0 38px rgba(31, 215, 157, 0.4); }
}

@media (max-width: 720px) {
  .lucida-tour-card:not(.is-centered) {
    left: 12px !important;
    right: 12px;
    top: auto !important;
    bottom: 12px;
    width: auto;
  }

  .lucida-tour-copy {
    grid-template-columns: 36px minmax(0, 1fr);
    padding: 16px;
  }

  .lucida-tour-step-icon {
    width: 36px;
    height: 36px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .lucida-tour-spotlight {
    animation: none;
  }
}
