iterate.com / onboarding

git clone https://git.iterate.com/repos/onboarding

onboarding / public / app.cssmain at b65083a

/* app.css — Centered, no-AI onboarding wizard layout built on the theme's CSS variables. */
html,
body,
#root {
  min-height: 100%;
  margin: 0;
}

.wizard-page {
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 1.5rem 1rem;
  background: var(--background);
  color: var(--foreground);
}

.wizard-shell {
  width: 100%;
  max-width: 32rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.wizard-brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  text-align: center;
}

.wizard-mind {
  font-size: 0.875rem;
  color: var(--muted-foreground);
  margin: 0;
}

.wizard-stepper {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  flex-wrap: wrap;
  list-style: none;
  margin: 0;
  padding: 0;
}

.wizard-step-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  padding: 0.25rem 0.625rem;
  border-radius: 9999px;
  border: 1px solid var(--border);
  background: transparent;
  color: var(--muted-foreground);
  font-size: 0.75rem;
  font-weight: 500;
  cursor: default;
}

.wizard-step-pill[data-clickable="true"] {
  cursor: pointer;
}

.wizard-step-pill[data-clickable="true"]:hover {
  background: var(--muted);
  color: var(--foreground);
}

.wizard-step-pill[data-state="active"] {
  border-color: var(--primary);
  color: var(--foreground);
}

.wizard-step-pill[data-state="done"] {
  color: var(--foreground);
}

.wizard-card-title {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.wizard-details {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 0.625rem 0.75rem;
  font-size: 0.8125rem;
}

.wizard-details summary {
  cursor: pointer;
  font-weight: 500;
  color: var(--muted-foreground);
  user-select: none;
}

.wizard-details summary:hover {
  color: var(--foreground);
}

.wizard-details-body {
  margin-top: 0.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
  color: var(--muted-foreground);
  line-height: 1.45;
}

.wizard-points {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin: 0;
}

.wizard-points dt {
  font-weight: 600;
  color: var(--foreground);
}

.wizard-points dd {
  margin: 0.125rem 0 0;
  color: var(--muted-foreground);
}

.wizard-footnote {
  margin: 0;
  font-size: 0.75rem;
  color: var(--muted-foreground);
}

.wizard-status-banner {
  display: flex;
  align-items: flex-start;
  gap: 0.625rem;
  padding: 0.75rem;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--muted);
  font-size: 0.875rem;
}

.wizard-status-banner[data-tone="error"] {
  border-color: color-mix(in oklch, var(--destructive) 40%, transparent);
  background: color-mix(in oklch, var(--destructive) 8%, transparent);
  color: var(--destructive);
}

.wizard-options {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.wizard-option {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  padding: 0.75rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.wizard-option-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
}

.wizard-option-title {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  font-size: 0.875rem;
  font-weight: 600;
  margin: 0;
}

.wizard-option-desc {
  margin: 0;
  font-size: 0.8125rem;
  color: var(--muted-foreground);
}

.wizard-command-row {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.wizard-command {
  flex: 1;
  min-width: 0;
  margin: 0;
  overflow-x: auto;
  border-radius: var(--radius);
  background: var(--muted);
  padding: 0.4375rem 0.625rem;
  font-size: 0.75rem;
  line-height: 1.4;
}

.wizard-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
}

.wizard-actions-group {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
}

.wizard-gate {
  min-height: 11rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 0.75rem;
  padding: 1.5rem 0.5rem;
}

.wizard-gate-title {
  margin: 0;
  font-size: 1rem;
  font-weight: 600;
}

.wizard-gate-desc {
  margin: 0;
  font-size: 0.875rem;
  color: var(--muted-foreground);
  max-width: 24rem;
}

.wizard-error-text {
  margin: 0;
  font-size: 0.875rem;
  color: var(--destructive);
}