:root {
  --hh-tour-orange: #ff8a00;
  --hh-tour-bg: #101112;
  --hh-tour-panel: #17191b;
  --hh-tour-border: rgba(255,255,255,.12);
  --hh-tour-text: #f8f8f5;
  --hh-tour-muted: #a7abb0;
}

.hh-tour-launcher {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 2600;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 42px;
  padding: 9px 14px;
  border: 1px solid rgba(255,138,0,.45);
  border-radius: 999px;
  background: rgba(16,17,18,.96);
  color: var(--hh-tour-text);
  box-shadow: 0 14px 34px rgba(0,0,0,.32);
  font: 700 13px/1 inherit;
  cursor: pointer;
  backdrop-filter: blur(12px);
}
.hh-tour-launcher span {
  display: grid;
  width: 23px;
  height: 23px;
  place-items: center;
  border-radius: 50%;
  background: var(--hh-tour-orange);
  color: #111;
  font-weight: 900;
}
.hh-tour-launcher:hover { transform: translateY(-1px); border-color: var(--hh-tour-orange); }
.hh-tour-launcher[hidden] { display: none !important; }

.hh-tour-prompt {
  position: fixed;
  right: 18px;
  bottom: 72px;
  z-index: 2700;
  width: min(350px, calc(100vw - 24px));
  padding: 20px;
  border: 1px solid rgba(255,138,0,.32);
  border-radius: 18px;
  background: linear-gradient(145deg, rgba(28,29,31,.98), rgba(14,15,16,.99));
  color: var(--hh-tour-text);
  box-shadow: 0 24px 70px rgba(0,0,0,.48);
}
.hh-tour-prompt-close {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 32px;
  height: 32px;
  border: 0;
  background: transparent;
  color: #8f949a;
  font-size: 24px;
  cursor: pointer;
}
.hh-tour-prompt-tag,
.hh-tour-eyebrow {
  display: block;
  margin-bottom: 8px;
  color: var(--hh-tour-orange);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .11em;
  text-transform: uppercase;
}
.hh-tour-prompt strong { display: block; padding-right: 28px; font-size: 22px; letter-spacing: -.02em; }
.hh-tour-prompt p { margin: 9px 0 17px; color: var(--hh-tour-muted); font-size: 14px; line-height: 1.55; }
.hh-tour-prompt > div { display: flex; gap: 9px; }
.hh-tour-prompt button:not(.hh-tour-prompt-close) {
  min-height: 41px;
  padding: 10px 14px;
  border-radius: 10px;
  font-weight: 800;
  cursor: pointer;
}
.hh-tour-prompt-primary { border: 1px solid var(--hh-tour-orange); background: var(--hh-tour-orange); color: #fff !important; text-shadow: 0 1px 1px rgba(0,0,0,.25); }
.hh-tour-prompt-dismiss { border: 1px solid var(--hh-tour-border); background: transparent; color: var(--hh-tour-text); }

.hh-tour-click-shield {
  position: fixed;
  inset: 0;
  z-index: 2990;
  background: transparent;
}
.hh-tour-click-shield[hidden] { display: none; }

.hh-tour-spotlight {
  position: fixed;
  z-index: 3000;
  border: 2px solid var(--hh-tour-orange);
  border-radius: 15px;
  box-shadow: 0 0 0 9999px rgba(4,5,6,.79), 0 0 0 5px rgba(255,138,0,.15), 0 14px 46px rgba(0,0,0,.4);
  pointer-events: none;
  transition: left .2s ease, top .2s ease, width .2s ease, height .2s ease;
}
.hh-tour-spotlight[hidden] { display: none; }

.hh-tour-tooltip {
  position: fixed;
  z-index: 3100;
  width: min(390px, calc(100vw - 24px));
  max-height: calc(100vh - 28px);
  overflow: auto;
  padding: 18px;
  border: 1px solid rgba(255,138,0,.3);
  border-radius: 18px;
  background: linear-gradient(150deg, rgba(29,30,32,.995), rgba(14,15,16,.995));
  color: var(--hh-tour-text);
  box-shadow: 0 28px 80px rgba(0,0,0,.55);
}
.hh-tour-tooltip[hidden] { display: none; }
.hh-tour-tooltip.centered { transform: translate(-50%, -50%); }
.hh-tour-tooltip > header { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.hh-tour-step-count { color: #c5c8cb; font-size: 12px; font-weight: 800; }
.hh-tour-tooltip > header button {
  width: 33px;
  height: 33px;
  border: 1px solid var(--hh-tour-border);
  border-radius: 50%;
  background: transparent;
  color: #c9cccf;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
}
.hh-tour-progress { height: 4px; margin: 13px 0 20px; overflow: hidden; border-radius: 999px; background: rgba(255,255,255,.09); }
.hh-tour-progress i { display: block; height: 100%; border-radius: inherit; background: var(--hh-tour-orange); transition: width .25s ease; }
.hh-tour-copy h2 { margin: 0; color: var(--hh-tour-text); font-size: 25px; line-height: 1.12; letter-spacing: -.035em; }
.hh-tour-copy p { margin: 12px 0 0; color: var(--hh-tour-muted); font-size: 14px; line-height: 1.62; }
.hh-tour-access-note {
  display: grid;
  gap: 4px;
  margin-top: 14px;
  padding: 12px 13px;
  border: 1px solid rgba(255,138,0,.38);
  border-radius: 12px;
  background: rgba(255,138,0,.09);
}
.hh-tour-access-note[hidden] { display: none !important; }
.hh-tour-access-note strong { color: #fff; font-size: 13px; }
.hh-tour-access-note span { color: #d7d9dc; font-size: 12px; line-height: 1.5; }
.hh-tour-tooltip > footer { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 21px; }
.hh-tour-tooltip > footer button {
  min-height: 42px;
  padding: 10px 14px;
  border: 1px solid var(--hh-tour-border);
  border-radius: 10px;
  background: transparent;
  color: var(--hh-tour-text);
  font-weight: 800;
  cursor: pointer;
}
.hh-tour-footer-actions { display: flex; justify-content: flex-end; gap: 8px; flex-wrap: wrap; }
.hh-tour-tooltip.final-step > footer { align-items: flex-end; }
.hh-tour-tooltip.final-step .hh-tour-footer-actions { max-width: 100%; }
.hh-tour-tooltip [data-tour-primary],
.hh-tour-tooltip [data-tour-secondary] { color: #e7e9eb; }
.hh-tour-tooltip .hh-tour-next { border-color: var(--hh-tour-orange); background: var(--hh-tour-orange); color: #fff !important; text-shadow: 0 1px 1px rgba(0,0,0,.25); }
.hh-tour-tooltip button:hover { filter: brightness(1.08); }
body.hh-tour-active { overflow-x: hidden; }

@media (max-width: 760px) {
  .hh-tour-launcher { right: 12px; bottom: 12px; }
  .hh-tour-prompt { right: 12px; bottom: 64px; padding: 18px; }
  .hh-tour-tooltip.mobile {
    width: auto;
    max-height: min(54vh, 500px);
    transform: none;
    border-radius: 18px;
  }
  .hh-tour-tooltip.mobile .hh-tour-copy h2 { font-size: 21px; }
  .hh-tour-tooltip > footer { align-items: stretch; }
  .hh-tour-footer-actions { flex: 1; }
  .hh-tour-footer-actions button { flex: 1 1 120px; }
  .hh-tour-tooltip.final-step > footer { flex-direction: column; }
  .hh-tour-tooltip.final-step > footer > [data-tour-back],
  .hh-tour-tooltip.final-step .hh-tour-footer-actions { width: 100%; }
  .hh-tour-tooltip > footer > [data-tour-back] { min-width: 70px; }
}

@media (prefers-reduced-motion: reduce) {
  .hh-tour-spotlight,
  .hh-tour-progress i,
  .hh-tour-launcher { transition: none !important; }
}

body.tracker-standalone .hh-tour-launcher { bottom: 72px; }
@media (max-width: 760px) { body.tracker-standalone .hh-tour-launcher { bottom: 82px; } }
