/*
 * styles-onboarding.css — Day-1/Day-2 onboarding tier (epic #11 C4, #176).
 *
 * The welcome reuses the shared .modal-overlay / .modal-box shell (styles-kept.css);
 * only .ori-onboarding-welcome sizing is added here. The first-session checklist
 * is a small fixed card modeled on the coachmark card (styles-coachmark.css).
 * All colors come from the theme tokens (styles.css), so light + dark adapt
 * automatically — no per-theme rules needed.
 */

/* ── Welcome card (on the shared modal shell) ── */
.ori-onboarding-welcome {
  max-width: 460px;
}
.ori-onboarding-welcome p {
  color: var(--text-2);
  line-height: 1.5;
}
.ori-onboarding-welcome .ori-onboarding-primary {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}

/* ── First-session checklist ── */
.ori-onboarding-checklist {
  position: fixed;
  left: var(--space-4);
  bottom: var(--space-4);
  z-index: 3900; /* above the bottom panel, below modals (welcome) + coachmarks */
  width: 280px;
  max-width: calc(100vw - var(--space-6));
  padding: var(--space-3) var(--space-4);
  background: var(--surface-hi, var(--surface));
  border: 1px solid var(--accent);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  color: var(--text);
  font-size: var(--fs-sm, 13px);
  transition: opacity 0.25s ease;
}
.ori-onboarding-checklist.complete {
  opacity: 0;
}

.ori-onboarding-checklist-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: var(--space-2);
}
.ori-onboarding-checklist-title {
  font-weight: 600;
}
.ori-onboarding-checklist-close {
  background: none;
  border: none;
  color: var(--text-2);
  font-size: 18px;
  line-height: 1;
  cursor: pointer;
  padding: 0 var(--space-1);
}
.ori-onboarding-checklist-close:hover {
  color: var(--text);
}

.ori-onboarding-item {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-1) 0;
  color: var(--text-2);
}
.ori-onboarding-item .ori-onboarding-tick {
  flex: 0 0 auto;
  width: 16px;
  height: 16px;
  border: 2px solid var(--text-2);
  border-radius: 50%;
  box-sizing: border-box;
  transition: background 0.2s ease, border-color 0.2s ease;
}
.ori-onboarding-item.done {
  color: var(--text);
}
.ori-onboarding-item.done .ori-onboarding-tick {
  background: var(--green);
  border-color: var(--green);
  position: relative;
}
.ori-onboarding-item.done .ori-onboarding-tick::after {
  content: "";
  position: absolute;
  left: 4px;
  top: 1px;
  width: 4px;
  height: 8px;
  border: solid #05241a;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}
.ori-onboarding-item.done .ori-onboarding-label {
  text-decoration: line-through;
  text-decoration-color: var(--text-2);
}
