/* FamilyCase first-run guided tour — coach-mark overlay styles.
 * Scoped under .fc-tour-* so nothing here can affect the canonical workspace UI.
 * Colors reuse the workspace CSS variables where available with safe fallbacks. */

.fc-tour-overlay {
  position: fixed;
  inset: 0;
  z-index: 2147483000;
  background: rgba(15, 23, 42, 0.45);
  pointer-events: auto;
}

.fc-tour-spotlight {
  position: fixed;
  border-radius: 10px;
  box-shadow: 0 0 0 9999px rgba(15, 23, 42, 0.45);
  outline: 2px solid var(--accent, #2563eb);
  transition: top 0.15s ease, left 0.15s ease, width 0.15s ease, height 0.15s ease;
  pointer-events: none;
  display: none;
}

.fc-tour-pop {
  position: fixed;
  max-width: 340px;
  width: calc(100vw - 32px);
  box-sizing: border-box;
  background: #fff;
  color: var(--ink, #0f172a);
  border: 1px solid var(--line, #e2e8f0);
  border-radius: 12px;
  box-shadow: 0 12px 40px rgba(15, 23, 42, 0.25);
  padding: 18px 18px 14px;
  font-family: system-ui, -apple-system, "Segoe UI", sans-serif;
}

.fc-tour-pop.fc-tour-centered { max-width: 380px; }

.fc-tour-title {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 6px;
}

.fc-tour-body {
  font-size: 13.5px;
  line-height: 1.5;
  color: var(--muted, #475569);
}

.fc-tour-meta {
  font-size: 11.5px;
  color: var(--muted, #94a3b8);
  margin-top: 12px;
  letter-spacing: 0.02em;
}

.fc-tour-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 12px;
}

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

.fc-tour-btn {
  font: inherit;
  font-size: 13px;
  font-weight: 700;
  padding: 7px 14px;
  border-radius: 8px;
  cursor: pointer;
  border: 1px solid var(--line, #e2e8f0);
  background: #fff;
  color: var(--ink, #0f172a);
}

.fc-tour-btn:hover { background: #f8fafc; }

.fc-tour-next {
  background: var(--accent, #2563eb);
  border-color: var(--accent, #2563eb);
  color: #fff;
}

.fc-tour-next:hover { filter: brightness(0.96); }

.fc-tour-skip {
  border-color: transparent;
  color: var(--muted, #64748b);
  background: transparent;
}

.fc-tour-btn:focus-visible {
  outline: 2px solid var(--accent, #2563eb);
  outline-offset: 2px;
}
