/* Isolated dashboard onboarding. No existing dashboard selectors are overridden. */
.tour-restart-btn {
  width: 100%; margin-top: 8px; padding: 8px 12px;
  border: 1px solid #e4e4e7; border-radius: 6px;
  background: #f4f4f5; color: #3f3f46;
  font: 600 12px inherit; cursor: pointer;
  transition: all 0.15s ease;
}
.tour-restart-btn:hover, .tour-restart-btn:focus-visible { background: #e4e4e7; color: #09090b; }

.placiq-checklist {
  grid-column: 1 / -1; padding: 18px 20px; border: 1px solid var(--border);
  border-radius: var(--r-lg); background: var(--card); box-shadow: var(--sh-card);
}
.placiq-checklist-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.placiq-checklist-title { display: flex; align-items: center; gap: 10px; }
.placiq-checklist-title strong { color: var(--ink); font-size: 14px; }
.placiq-checklist-count { color: var(--ink-muted); font-size: 12px; }
.placiq-checklist-toggle { border: 0; background: transparent; color: var(--ink-muted); font-size: 12px; cursor: pointer; }
.placiq-checklist-progress { height: 5px; margin-top: 12px; overflow: hidden; border-radius: 999px; background: var(--surface-raised); }
.placiq-checklist-progress span { display: block; height: 100%; border-radius: inherit; background: var(--brand); transition: width .25s ease; }
.placiq-checklist-items { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 10px; margin-top: 14px; }
.placiq-checklist.collapsed .placiq-checklist-items { display: none; }
.placiq-check-item {
  display: flex; align-items: center; gap: 9px; min-height: 44px; padding: 9px 11px;
  border: 1px solid var(--border); border-radius: 9px; background: var(--card-soft);
  color: var(--ink-muted); font: 600 12px Inter, sans-serif; text-align: left; cursor: pointer;
}
.placiq-check-item:hover { border-color: var(--brand); color: var(--ink); }
.placiq-check-item.done { opacity: .7; }
.placiq-check-dot { display: grid; place-items: center; width: 19px; height: 19px; flex: 0 0 19px; border: 1px solid var(--border); border-radius: 50%; font-size: 11px; }
.placiq-check-item.done .placiq-check-dot { border-color: #16a34a; background: #16a34a; color: #fff; }

.placiq-tour-layer { position: fixed; inset: 0; z-index: 5000; pointer-events: none; }
.placiq-tour-shade { position: absolute; inset: 0; background: rgba(3,7,18,.48); pointer-events: auto; }
.placiq-tour-spotlight {
  position: fixed; z-index: 1; border: 2px solid #fb923c; border-radius: 12px;
  box-shadow: 0 0 0 9999px rgba(3,7,18,.5), 0 0 0 5px rgba(251,146,60,.18);
  transition: inset .2s ease, width .2s ease, height .2s ease; pointer-events: none;
}
.placiq-tour-card {
  position: fixed; z-index: 2; width: min(360px, calc(100vw - 28px)); padding: 20px;
  border: 1px solid rgba(255,255,255,.1); border-radius: 14px; background: #111827;
  color: #fff; box-shadow: 0 24px 70px rgba(0,0,0,.35); pointer-events: auto;
}
.placiq-tour-kicker { color: #fb923c; font-size: 11px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.placiq-tour-card h2 { margin: 8px 0; color: #fff; font-size: 20px; }
.placiq-tour-card p { margin: 0; color: rgba(255,255,255,.68); font-size: 13px; line-height: 1.65; }
.placiq-tour-actions { display: flex; align-items: center; gap: 8px; margin-top: 18px; }
.placiq-tour-actions button { padding: 9px 13px; border-radius: 8px; font: 700 12px Inter,sans-serif; cursor: pointer; }
.placiq-tour-skip { margin-right: auto; border: 0; background: transparent; color: rgba(255,255,255,.55); }
.placiq-tour-back { border: 1px solid rgba(255,255,255,.16); background: transparent; color: #fff; }
.placiq-tour-next { border: 1px solid #ea580c; background: #ea580c; color: #fff; }
body.placiq-tour-open { overflow: hidden; }

@media (max-width: 900px) { .placiq-checklist-items { grid-template-columns: repeat(2,minmax(0,1fr)); } }
@media (max-width: 560px) {
  .placiq-checklist-items { grid-template-columns: 1fr; }
  .placiq-tour-card { left: 14px !important; right: 14px; bottom: 14px !important; top: auto !important; width: auto; }
}
@media (prefers-reduced-motion: reduce) { .placiq-tour-spotlight, .placiq-checklist-progress span { transition: none; } }
