/* ============================================================
   Wizard shell
   The frame that never changes: top bar, progress line, the
   scrolling middle, and the footer with next/back.
   ============================================================ */

.app {
  height: 100vh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

/* ---------- Top bar ---------- */

.topbar {
  flex-shrink: 0;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 28px;
}

.topbar__left {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
}

.topbar__title {
  font-size: 16px;
  font-weight: 400;
  letter-spacing: -.01em;
  white-space: nowrap;
}

/* ---------- Draft indicator ---------- */

.draft-pill {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 3px 9px 3px 8px;
  border: 1px solid #1e2c3a;
  border-radius: 999px;
  color: var(--text-4);
  font-size: 12px;
  margin-left: 2px;
}

.dot-live {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 6px var(--accent);
}

/* ---------- Progress ---------- */

.progress {
  flex-shrink: 0;
  height: 3px;
  background: #141f2b;
}

.progress__bar {
  height: 100%;
  background: var(--accent);
  transition: width .4s cubic-bezier(.4, 0, .2, 1);
}

/* ---------- Layout ---------- */

.wizard {
  flex: 1;
  display: flex;
  flex-direction: column;
  min-height: 0;
}

.wizard__scroll {
  flex: 1;
  overflow-y: auto;
}

/* Rail on the left, step content (and sometimes a preview) on the right */
.layout {
  max-width: 1160px;
  margin: 0 auto;
  padding: 34px 40px 48px;
  display: flex;
  gap: 44px;
  align-items: flex-start;
}

/* ---------- Footer ---------- */

.footer {
  flex-shrink: 0;
  border-top: 1px solid var(--border);
  padding: 14px 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.footer__right {
  display: flex;
  align-items: center;
  gap: 12px;
}
