.engine-shell {
  max-width: 1140px;
  margin: 40px auto 80px auto;
  padding: 0 24px;
}

.engine-header h1 {
  font-size: 2.1rem;
  margin-bottom: 10px;
}

.engine-header p {
  color: var(--brand-grey);
  max-width: 720px;
}

.stepper {
  display: flex;
  flex-wrap: wrap;
  margin: 30px 0 20px 0;
  gap: 10px;
}

.step-item {
  display: flex;
  align-items: center;
  padding: 8px 12px;
  border-radius: 999px;
  background: white;
  box-shadow: rgba(0,0,0,0.04) 0 2px 6px;
  cursor: pointer;
  opacity: 0.6;
}

.step-item.active {
  opacity: 1;
  background: var(--brand-purple-light);
}

.step-circle {
  width: 24px;
  height: 24px;
  border-radius: 999px;
  background: var(--brand-purple);
  color: white;
  font-size: 13px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-right: 8px;
}

.step-label {
  font-size: 14px;
  font-weight: 500;
}

.wizard-body {
  display: grid;
  grid-template-columns: minmax(0, 2.1fr) minmax(260px, 1fr);
  gap: 24px;
  margin-top: 10px;
}

.wizard-main {
  background: white;
  border-radius: var(--radius);
  box-shadow: rgba(0,0,0,0.04) 0 4px 14px;
  padding: 26px 26px 30px 26px;
}

.step-panel {
  display: none;
}

.step-panel.active {
  display: block;
}

.step-panel h2 {
  margin-bottom: 16px;
}

.field-row {
  margin-bottom: 16px;
  display: flex;
  flex-direction: column;
}

.field-row label {
  font-size: 14px;
  font-weight: 500;
  margin-bottom: 6px;
}

.field-row input,
.field-row textarea,
.field-row select {
  border-radius: 8px;
  border: 1px solid #ddd;
  padding: 10px 12px;
  font-size: 14px;
  font-family: inherit;
}

.field-row textarea {
  resize: vertical;
}

.field-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 18px;
  margin-bottom: 8px;
}

.chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 16px;
  font-size: 13px;
}

.chip-row label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
}

.note {
  font-size: 13px;
  color: var(--brand-grey);
  margin-bottom: 14px;
}

.submit-row {
  margin-top: 24px;
  display: flex;
  justify-content: space-between;
  gap: 12px;
}

.btn.ghost {
  background: transparent;
  border: 1px solid var(--brand-purple);
  color: var(--brand-purple);
}

.btn.ghost:hover {
  background: var(--brand-purple-light);
}

/* ASIDE */
.wizard-aside {
  position: sticky;
  top: 100px;
  align-self: flex-start;
  padding: 20px 18px;
  background: #f4f3ff;
  border-radius: var(--radius);
  border: 1px solid #ded9ff;
}

.wizard-aside h3 {
  margin-bottom: 8px;
}

.wizard-aside p {
  font-size: 13px;
  color: #494963;
  line-height: 1.6;
}

/* RESPONSIVE */
@media (max-width: 880px) {
  .wizard-body {
    grid-template-columns: 1fr;
  }
  .wizard-aside {
    position: static;
    margin-top: 16px;
  }
}
/* TOP LOADER BAR */
.top-loader {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  width: 0;
  background: var(--brand-purple);
  opacity: 0;
  transition: width 0.35s ease-out, opacity 0.35s ease-out;
  z-index: 9999;
}
.top-loader.active {
  width: 100%;
  opacity: 1;
}
.top-loader.fade {
  opacity: 0;
}
