/* ============================================
   Wizard styles
   ============================================ */
.wiz-wrap {
  max-width: 920px;
  margin: 0 auto;
  padding: 28px 24px 80px;
  position: relative;
}
.wiz-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 32px;
}
.wiz-hero {
  text-align: center;
  margin-bottom: 36px;
}
.wiz-hero .pill { margin-bottom: 14px; }
.wiz-title {
  font-size: 38px;
  margin: 0 0 10px;
  text-wrap: balance;
  background: linear-gradient(180deg, #1A1812 0%, #3A2F12 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.wiz-sub {
  font-size: 16px;
  color: var(--k-mute);
  max-width: 560px;
  margin: 0 auto;
  text-wrap: pretty;
}

/* Stepper */
.stepper {
  display: flex;
  align-items: center;
  margin: 0 auto 32px;
  gap: 8px;
  max-width: 820px;
}
.step {
  background: transparent;
  border: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
}
.step-circle {
  width: 44px; height: 44px;
  border-radius: 14px;
  background: var(--k-cream-2);
  color: var(--k-mute);
  border: 1px solid var(--k-line);
  display: grid; place-items: center;
  font-weight: 700;
  transition: all .2s ease;
}
.step.active .step-circle {
  background: var(--k-mostaza);
  color: #16140E;
  border-color: var(--k-mostaza-deep);
  box-shadow: 0 4px 14px rgba(229,177,43,.4), 0 0 0 4px rgba(229,177,43,.15);
}
.step.done .step-circle {
  background: var(--k-fresh);
  color: white;
  border-color: var(--k-fresh-dark);
}
.step-text { text-align: center; }
.step-num {
  font-size: 9.5px;
  font-weight: 800;
  letter-spacing: .14em;
  color: var(--k-mute-2);
}
.step.active .step-num { color: var(--k-mostaza-dark); }
.step.done .step-num { color: var(--k-fresh-dark); }
.step-label {
  font-size: 12.5px;
  font-weight: 700;
  color: var(--k-ink-2);
}
.step.todo .step-label { color: var(--k-mute); }
.step-line {
  flex: 1;
  height: 2px;
  background: var(--k-line);
  position: relative;
  top: -16px;
  border-radius: 99px;
}
.step-line.done { background: var(--k-fresh); }

/* Stage card */
.wiz-stage { margin-bottom: 22px; }
.wiz-card {
  background: var(--k-paper);
  border-radius: var(--r-xl);
  border: 1px solid var(--k-line);
  padding: 30px 32px;
  box-shadow: var(--shadow-md);
}
.wiz-card-head {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 22px;
}
.wiz-card-head h2 { margin: 0 0 4px; font-size: 22px; }
.wiz-card-head .glyph { width: 42px; height: 42px; flex-shrink: 0; }

.wiz-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.req { color: var(--k-danger); }

.section-h {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--k-ink-2);
  margin: 22px 0 12px;
}
.section-h .hint { font-weight: 500; text-transform: none; letter-spacing: 0; margin-left: 6px; }

.logo-uploader { margin-top: 16px; }
.logo-slot {
  width: 64px;
  height: 64px;
  border: 1.5px dashed var(--k-line);
  border-radius: var(--r-md);
  display: grid;
  place-items: center;
  background: var(--k-cream-2);
  flex-shrink: 0;
}

/* Tip / callout */
.tip {
  background: linear-gradient(180deg, #FEF9E5 0%, #FBF1C9 100%);
  border: 1px solid #F2DD8C;
  border-radius: var(--r-md);
  padding: 12px 14px;
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 13px;
  color: var(--k-mostaza-dark);
  margin-bottom: 18px;
}
.tip svg { flex-shrink: 0; margin-top: 2px; color: var(--k-mostaza-deep); }
.callout {
  background: var(--k-fresh-soft);
  border: 1px solid #BAD9B6;
  border-radius: var(--r-md);
  padding: 12px 14px;
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 13px;
  color: var(--k-fresh-dark);
  margin-top: 18px;
}
.callout svg { flex-shrink: 0; margin-top: 2px; color: var(--k-fresh); }

/* Option cards (system, role) */
.opt-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 12px;
  margin-top: 8px;
  margin-bottom: 18px;
}
.opt-grid:has(:nth-child(2):last-child) { grid-template-columns: 1fr 1fr; }
.opt-card {
  background: var(--k-paper);
  border: 1.5px solid var(--k-line);
  border-radius: var(--r-md);
  padding: 14px 16px;
  text-align: left;
  cursor: pointer;
  transition: all .15s ease;
}
.opt-card:hover { border-color: var(--k-mostaza-soft); background: #FDFAF1; }
.opt-card.active {
  border-color: var(--k-mostaza);
  background: var(--k-mostaza-bg);
  box-shadow: 0 0 0 4px rgba(229,177,43,.14);
}
.opt-card-h {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 6px;
  color: var(--k-ink);
}
.opt-card.active .opt-card-h { color: var(--k-mostaza-dark); }
.opt-card p { margin: 0; }
.opt-tick {
  margin-left: auto;
  background: var(--k-mostaza);
  color: #16140E;
  width: 20px; height: 20px;
  border-radius: 99px;
  display: grid; place-items: center;
}

/* Subpanel */
.subpanel {
  background: var(--k-cream);
  border: 1px solid var(--k-line-soft);
  border-radius: var(--r-md);
  padding: 16px 18px;
  margin-bottom: 14px;
}
.subpanel-h {
  display: flex; align-items: center; gap: 6px;
  font-size: 13px; font-weight: 700;
  color: var(--k-ink-2);
  margin-bottom: 10px;
}
.input-prefix {
  position: relative;
  display: flex;
  align-items: center;
}
.input-prefix > span:first-child {
  position: absolute;
  left: 12px;
  color: var(--k-mute);
  pointer-events: none;
  z-index: 1;
  display: grid; place-items: center;
}
.input-prefix .input { padding-left: 32px; }
.equation {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: var(--k-ink-2);
  background: white;
  border-radius: var(--r-sm);
  padding: 10px 14px;
  margin-top: 12px;
  border: 1px dashed var(--k-line);
}
.equation strong { color: var(--k-ink); font-family: var(--font-display); font-weight: 700; font-size: 16px; }
.equation .hl { color: var(--k-mostaza-dark); }

/* Bono rows */
.bono-row {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 14px 16px;
  background: var(--k-paper);
  border: 1px solid var(--k-line);
  border-radius: var(--r-md);
  margin-bottom: 8px;
}
.bono-info { flex: 1; }
.bono-info p { margin: 4px 0 0; }
.bono-config {
  padding: 12px 16px 16px;
  margin: -4px 0 12px;
  border-radius: 0 0 var(--r-md) var(--r-md);
  background: var(--k-cream);
  border: 1px solid var(--k-line);
  border-top: 0;
}
.mini-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
}
.mini-table th {
  text-align: left;
  font-weight: 700;
  color: var(--k-mute);
  font-size: 11px;
  text-transform: uppercase;
  padding: 6px 8px;
  letter-spacing: .04em;
}
.mini-table td {
  padding: 8px;
  border-top: 1px solid var(--k-line-soft);
}
.mini-table td:last-child { text-align: right; }

/* Beneficios grid */
.bene-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 18px;
}
.bene-card {
  display: flex;
  gap: 12px;
  text-align: left;
  padding: 14px;
  background: var(--k-paper);
  border: 1.5px solid var(--k-line);
  border-radius: var(--r-md);
  cursor: pointer;
  transition: all .15s ease;
}
.bene-card:hover { border-color: var(--k-mostaza-soft); }
.bene-card.active { border-color: var(--k-mostaza); background: var(--k-mostaza-bg); }
.bene-thumb {
  width: 48px; height: 48px;
  background: var(--k-mostaza-soft);
  color: var(--k-mostaza-dark);
  border-radius: var(--r-sm);
  display: grid; place-items: center;
  flex-shrink: 0;
}
.bene-body { flex: 1; min-width: 0; }
.bene-body strong { display: block; font-size: 14px; margin-bottom: 2px; }
.bene-body p { margin: 0 0 6px; }
.bene-cost {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: white;
  border: 1px solid var(--k-line);
  border-radius: var(--r-pill);
  padding: 2px 9px;
  font-size: 11px;
  font-weight: 700;
  color: var(--k-mostaza-dark);
}

/* Token explainer */
.token-explainer {
  background: var(--k-cream);
  border: 1px solid var(--k-line-soft);
  border-radius: var(--r-md);
  padding: 14px 18px;
  margin-bottom: 18px;
}
.te-row {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 8px 0;
  font-size: 13.5px;
  color: var(--k-ink-2);
}
.te-row + .te-row { border-top: 1px dashed var(--k-line); }
.te-step {
  width: 22px; height: 22px; border-radius: 99px;
  background: var(--k-mostaza);
  color: #16140E;
  font-weight: 800;
  font-size: 12px;
  display: grid; place-items: center;
  flex-shrink: 0;
  margin-top: 1px;
}
.mark-url {
  background: white;
  border: 1px solid var(--k-line);
  padding: 2px 6px;
  border-radius: 4px;
  font-size: 12px;
}
.mark-url .hl { color: var(--k-mostaza-dark); font-weight: 700; }

/* Wizard nav */
.wiz-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 0 0;
  gap: 16px;
}
.wiz-prog {
  font-size: 13px;
  color: var(--k-mute);
}
.wiz-prog strong { color: var(--k-ink); }

/* Final / done */
.wiz-done {
  max-width: 980px;
  margin: 0 auto;
  padding: 60px 24px 80px;
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: 24px;
}
.success-mark {
  width: 72px; height: 72px;
  border-radius: 20px;
  background: linear-gradient(180deg, #4FB375 0%, #2A7A3E 100%);
  color: white;
  display: grid; place-items: center;
  margin-bottom: 6px;
  box-shadow: 0 12px 26px rgba(42,122,62,.3);
}
.done-checklist { display: flex; flex-direction: column; gap: 10px; margin-top: 16px; }
.dc-item {
  display: flex; gap: 12px;
  padding: 12px 14px;
  background: var(--k-cream);
  border-radius: var(--r-md);
}
.dc-check {
  width: 22px; height: 22px; border-radius: 99px;
  background: var(--k-fresh); color: white;
  display: grid; place-items: center;
  flex-shrink: 0; margin-top: 2px;
}
.dc-check.empty { background: white; border: 1.5px dashed var(--k-line); }
.dc-item p { margin: 2px 0 0; }
.sum-row {
  display: flex; justify-content: space-between; align-items: center;
  padding: 9px 0;
  border-bottom: 1px solid var(--k-line-soft);
  font-size: 13.5px;
}
.sum-row:last-child { border-bottom: 0; }
.wiz-summary { align-self: flex-start; position: sticky; top: 80px; }

@media (max-width: 760px) {
  .wiz-grid-2 { grid-template-columns: 1fr; }
  .opt-grid, .bene-grid { grid-template-columns: 1fr; }
  .wiz-done { grid-template-columns: 1fr; }
  .step-text { display: none; }
  .wiz-title { font-size: 28px; }
}
