/* ── Guided tour ─────────────────────────────────────────────────────────── */

.tour-popover {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  padding: 20px 22px 16px;
  box-shadow: 0 8px 36px rgba(0, 0, 0, 0.4);
  font-family: var(--font-sans);
  pointer-events: all;
}

.tour-progress {
  display: flex;
  gap: 5px;
  margin-bottom: 12px;
}

.tour-dot {
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--color-border);
  transition: background 0.2s;
}

.tour-dot--active {
  background: var(--color-primary);
}

.tour-title {
  font-size: 15px;
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: 8px;
}

.tour-body {
  font-size: 13px;
  color: var(--color-text-muted);
  line-height: 1.6;
  margin-bottom: 16px;
}

.tour-body strong {
  color: var(--color-text-secondary);
  font-weight: 700;
}

.tour-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.tour-skip-btn {
  background: none;
  border: none;
  color: var(--color-border);
  font-size: 12px;
  cursor: pointer;
  padding: 0;
  font-family: inherit;
  transition: color 0.15s;
}

.tour-skip-btn:hover { color: var(--color-text-muted); }

.tour-back-btn {
  background: none;
  border: 1.5px solid var(--color-border);
  color: var(--color-text-muted);
  font-size: 13px;
  font-weight: 600;
  border-radius: var(--radius-sm);
  padding: 5px 12px;
  cursor: pointer;
  font-family: inherit;
  transition: border-color 0.15s, color 0.15s;
}

.tour-back-btn:hover {
  border-color: var(--color-text-secondary);
  color: var(--color-text);
}

.tour-next-btn {
  background: var(--color-primary);
  border: none;
  color: var(--color-bg);
  font-size: 13px;
  font-weight: 700;
  border-radius: var(--radius-sm);
  padding: 6px 16px;
  cursor: pointer;
  font-family: inherit;
  transition: background 0.15s;
}

.tour-next-btn:hover { background: var(--color-primary-hover); }

/* ── "Take the tour" trigger button ─────────────────────────────────────── */

.tour-start-btn {
  background: none;
  border: 1.5px solid var(--color-border);
  color: var(--color-text-muted);
  font-size: 0.85rem;
  font-weight: 600;
  border-radius: var(--radius-sm);
  padding: 0.45rem 0.9rem;
  cursor: pointer;
  font-family: inherit;
  transition: border-color 0.15s, color 0.15s;
  white-space: nowrap;
}

.tour-start-btn:hover {
  border-color: var(--color-accent);
  color: var(--color-accent);
}
