/* ============================================================
   tour.css — first-run walkthrough overlay (funnel U10)
   ============================================================
   Pairs with assets/tour.js. The spotlight is a ring positioned over the
   anchored element; the page dims behind it. Byte-identical across the
   painting and tint admins (brand comes from the shared tokens). */

.tour-overlay {
  position: fixed;
  inset: 0;
  background: rgba(10, 37, 64, 0.55); /* navy scrim */
  z-index: 1200;
}

.tour-ring {
  position: absolute;
  z-index: 1201;
  border: 2px solid var(--brand-primary, #1559C9);
  border-radius: 10px;
  box-shadow: 0 0 0 6px rgba(21, 89, 201, 0.25), 0 0 0 9999px rgba(10, 37, 64, 0.0);
  pointer-events: none;
  transition: top .25s ease, left .25s ease, width .25s ease, height .25s ease;
}

.tour-tip {
  position: absolute;
  z-index: 1202;
  background: var(--card, #fff);
  color: var(--ink, #16202b);
  border: 1px solid var(--border, #e2e2da);
  border-radius: 12px;
  box-shadow: 0 12px 40px rgba(10, 37, 64, 0.25);
  padding: 16px 18px;
  font-size: 0.92rem;
  line-height: 1.5;
}

.tour-tip-count {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--shadow, #6b7280);
  margin-bottom: 4px;
}

.tour-tip-title {
  margin: 0 0 6px;
  font-size: 1.02rem;
  font-weight: 700;
  color: var(--ink, #16202b);
}

.tour-tip-body {
  margin: 0 0 12px;
  color: var(--ink, #16202b);
}

.tour-tip-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.tour-tip-spacer { flex: 1; }

.tour-btn {
  font: inherit;
  font-size: 0.85rem;
  font-weight: 600;
  padding: 7px 14px;
  border-radius: 8px;
  border: 1.5px solid var(--border, #e2e2da);
  background: var(--card, #fff);
  color: var(--ink, #16202b);
  cursor: pointer;
}

.tour-btn:focus-visible {
  outline: 2px solid var(--brand-primary, #1559C9);
  outline-offset: 2px;
}

.tour-btn-primary {
  background: var(--brand-primary, #1559C9);
  border-color: var(--brand-primary, #1559C9);
  color: #fff;
}

.tour-btn-text {
  border-color: transparent;
  background: transparent;
  color: var(--shadow, #6b7280);
}

.tour-replay {
  font-size: 0.78rem;
  color: var(--shadow, #6b7280);
  text-decoration: none;
}
.tour-replay:hover { text-decoration: underline; }
