/* =========================================================
   Builder tutorial — sequential spotlight modals
   ========================================================= */

.tutorial-overlay {
  position: fixed;
  inset: 0;
  z-index: 9999;
  pointer-events: auto;
}
.tutorial-overlay[hidden] { display: none; }

.tutorial-dim {
  position: absolute;
  background: rgba(15, 17, 28, 0.55);
  transition: all 0.18s ease;
}

.tutorial-spotlight-ring {
  position: absolute;
  border: 2px solid #fff;
  border-radius: 10px;
  box-shadow: 0 0 0 9999px rgba(15, 17, 28, 0.55), 0 0 0 4px rgba(103, 61, 230, 0.45);
  pointer-events: none;
  transition: top 0.18s ease, left 0.18s ease, width 0.18s ease, height 0.18s ease;
}

.tutorial-tooltip {
  position: absolute;
  width: 320px;
  max-width: calc(100vw - 32px);
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 12px 32px rgba(15, 17, 28, 0.25);
  padding: 16px 18px 14px;
  font-family: inherit;
  color: #18181A;
  transition: top 0.18s ease, left 0.18s ease;
}
.tutorial-tooltip__step {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #673DE6;
}
.tutorial-tooltip__title {
  margin: 4px 0 6px;
  font-size: 15px;
  font-weight: 700;
}
.tutorial-tooltip__body {
  margin: 0 0 14px;
  font-size: 13px;
  line-height: 1.45;
  color: #3F3F46;
}
.tutorial-tooltip__actions {
  display: flex;
  align-items: center;
  gap: 8px;
}
.tutorial-tooltip__actions .spacer { flex: 1; }
.tutorial-btn {
  font-family: inherit;
  font-size: 12px;
  font-weight: 600;
  padding: 6px 12px;
  border-radius: 6px;
  border: 1px solid transparent;
  cursor: pointer;
}
.tutorial-btn--skip {
  background: transparent;
  border: 0;
  color: #58585E;
  padding: 6px 4px;
}
.tutorial-btn--skip:hover { color: #18181A; }
.tutorial-btn--ghost {
  background: #fff;
  border-color: #E5E5EA;
  color: #18181A;
}
.tutorial-btn--ghost:hover { background: #F8F9FA; }
.tutorial-btn--primary {
  background: #673DE6;
  color: #fff;
}
.tutorial-btn--primary:hover { background: #4A1FB7; }
.tutorial-btn[disabled] { opacity: 0.4; cursor: not-allowed; }
