/* ============================================
   Wizard V3 — AI-Tech Premium Wizard
   Scoped: .wizard-v3
   Flag:   window.__UI_FLAGS.wizardV3
   ============================================ */

/* ---- Root ---- */
.wizard-v3 {
  isolation: isolate;
  font-family: -apple-system, BlinkMacSystemFont, 'Inter', 'Segoe UI', sans-serif;
  color: var(--ui-text, #fff);
  line-height: 1.5;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 8px;
}
.wizard-v3 *, .wizard-v3 *::before, .wizard-v3 *::after {
  box-sizing: border-box;
}

/* ---- Step Indicator ---- */
.wv3-steps {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  margin: 0 0 28px;
  padding: 0;
  list-style: none;
}
.wv3-step-item {
  display: flex;
  align-items: center;
  gap: 0;
}
.wv3-step-btn {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 16px;
  border: none;
  background: none;
  cursor: default;
  border-radius: 10px;
  transition: background .2s;
}
.wv3-step-btn:hover { background: rgba(255,255,255,.05); }
.wv3-step-num {
  width: 30px; height: 30px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 13px; font-weight: 700;
  background: var(--ui-surface-2, #111111); color: var(--ui-muted-2, rgba(255,255,255,.45));
  transition: all .3s;
  flex-shrink: 0;
}
.wv3-step-item.active .wv3-step-num {
  background: linear-gradient(135deg, #6D4AFF, #9B8CFF);
  color: #fff;
  box-shadow: 0 2px 8px rgba(109,74,255,.35);
}
.wv3-step-item.done .wv3-step-num {
  background: #34D399; color: #fff;
}
.wv3-step-label {
  font-size: 13px; font-weight: 600;
  color: var(--ui-muted-2, rgba(255,255,255,.45));
  transition: color .2s;
}
.wv3-step-item.active .wv3-step-label { color: var(--ui-accent, #6D4AFF); }
.wv3-step-item.done .wv3-step-label { color: #34D399; }
.wv3-step-connector {
  width: 40px; height: 2px;
  background: var(--ui-border, rgba(255,255,255,.08));
  margin: 0 4px;
  border-radius: 1px;
  transition: background .3s;
}
.wv3-step-item.done + .wv3-step-item .wv3-step-connector,
.wv3-step-connector.done {
  background: #34D399;
}

/* ---- Panel container ---- */
.wv3-panel { display: none; }
.wv3-panel.active { display: block; animation: wv3FadeIn .25s ease; }
@keyframes wv3FadeIn {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ---- 2-Column Grid ---- */
.wv3-grid {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 24px;
  align-items: start;
}
@media (max-width: 900px) {
  .wv3-grid { grid-template-columns: 1fr; }
}

/* ---- Card ---- */
.wv3-card {
  background: var(--ui-surface, #141414);
  border: 1px solid var(--ui-border, rgba(255,255,255,.08));
  border-radius: 14px;
  box-shadow: 0 1px 3px rgba(0,0,0,.35);
  overflow: hidden;
}
.wv3-card-header {
  padding: 18px 22px 14px;
  border-bottom: 1px solid var(--ui-border, rgba(255,255,255,.08));
  display: flex; align-items: center; justify-content: space-between;
}
.wv3-card-title {
  margin: 0; font-size: 16px; font-weight: 700;
  color: var(--ui-text, #fff); letter-spacing: -.01em;
}
.wv3-card-subtitle {
  margin: 3px 0 0; font-size: 12px; color: var(--ui-muted-2, rgba(255,255,255,.45));
}
.wv3-card-body { padding: 22px; }
.wv3-card-body-flush { padding: 0; }

/* ---- Badge ---- */
.wv3-badge {
  display: inline-flex; align-items: center; gap: 4px;
  padding: 3px 10px; border-radius: 6px;
  font-size: 10px; font-weight: 700;
  letter-spacing: .05em; text-transform: uppercase;
}
.wv3-badge--indigo { background: rgba(109,74,255,.10); color: var(--ui-accent, #6D4AFF); }
.wv3-badge--green  { background: rgba(52,211,153,.12); color: #34D399; }
.wv3-badge--amber  { background: rgba(242,182,90,.12); color: #F2B65A; }
.wv3-badge--red    { background: rgba(248,113,106,.12); color: #F8716A; }

/* ---- Dropzone ---- */
.wv3-dropzone {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  min-height: 200px; padding: 36px 24px;
  border: 2px dashed rgba(109,74,255,.28);
  border-radius: 12px;
  background: linear-gradient(180deg, rgba(109,74,255,.04) 0%, rgba(109,74,255,.02) 100%);
  cursor: pointer; text-align: center;
  transition: all .25s; position: relative;
}
.wv3-dropzone:hover {
  border-color: rgba(109,74,255,.45);
  background: linear-gradient(180deg, rgba(109,74,255,.07) 0%, rgba(109,74,255,.04) 100%);
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(0,0,0,.35);
}
.wv3-dropzone.drag-over {
  border-color: var(--ui-accent, #6D4AFF); border-style: solid;
  background: linear-gradient(180deg, rgba(109,74,255,.10) 0%, rgba(109,74,255,.06) 100%);
  box-shadow: 0 0 0 4px rgba(109,74,255,.35);
}
.wv3-dropzone:focus-visible { outline: 2px solid var(--ui-accent, #6D4AFF); outline-offset: 2px; }
.wv3-dropzone-icon { width: 48px; height: 48px; color: var(--ui-accent, #6D4AFF); opacity: .55; margin-bottom: 12px; }
.wv3-dropzone-title { font-size: 15px; font-weight: 600; color: var(--ui-text, #fff); margin: 0 0 3px; }
.wv3-dropzone-sub { font-size: 13px; color: var(--ui-muted-2, rgba(255,255,255,.45)); margin: 0 0 10px; }
.wv3-dropzone-hint {
  font-size: 11px; color: var(--ui-muted-2, rgba(255,255,255,.45));
  padding: 3px 10px; background: rgba(255,255,255,.05); border-radius: 6px;
}

/* ---- AI Loader Overlay ---- */
.wv3-loader-overlay {
  position: absolute; inset: 0; z-index: 10;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  background: rgba(20,20,20,.92);
  backdrop-filter: blur(4px);
  border-radius: 12px;
  opacity: 0; pointer-events: none;
  transition: opacity .25s;
}
.wv3-loader-overlay.active {
  opacity: 1; pointer-events: auto;
}
.wv3-loader-shimmer {
  width: 200px; height: 4px;
  border-radius: 2px;
  background: linear-gradient(90deg,
    rgba(109,74,255,.10) 0%,
    rgba(109,74,255,.40) 40%,
    rgba(155,140,255,.40) 60%,
    rgba(109,74,255,.10) 100%);
  background-size: 200% 100%;
  animation: wv3Shimmer 1.5s ease infinite;
  margin-bottom: 18px;
}
@keyframes wv3Shimmer {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}
.wv3-loader-scan {
  width: 200px; height: 1px;
  background: linear-gradient(90deg, transparent, #6D4AFF, transparent);
  margin-bottom: 20px;
  animation: wv3Scan 2s ease-in-out infinite;
}
@keyframes wv3Scan {
  0% { transform: translateX(-50px); opacity: 0; }
  50% { opacity: 1; }
  100% { transform: translateX(50px); opacity: 0; }
}
.wv3-loader-title {
  font-size: 15px; font-weight: 700; color: var(--ui-text, #fff); margin: 0 0 6px;
}
.wv3-loader-msg {
  font-size: 13px; color: var(--ui-accent, #6D4AFF); margin: 0 0 16px;
  min-height: 18px;
  transition: opacity .2s;
}
.wv3-loader-progress {
  width: 200px; height: 4px;
  background: var(--ui-bg, #0A0A0A); border-radius: 2px; overflow: hidden;
}
.wv3-loader-bar {
  height: 100%; border-radius: 2px;
  background: linear-gradient(90deg, #6D4AFF, #9B8CFF);
  width: 0%; transition: width .4s ease;
}

/* ---- File Card ---- */
.wv3-file-card {
  display: none; align-items: center; gap: 12px;
  padding: 12px 14px;
  background: rgba(52,211,153,.12);
  border: 1px solid rgba(52,211,153,.25);
  border-radius: 10px;
  margin-bottom: 18px;
}
.wv3-file-card.active { display: flex; }
.wv3-file-card-icon {
  width: 38px; height: 38px; border-radius: 9px;
  background: rgba(52,211,153,.12);
  display: flex; align-items: center; justify-content: center; color: #34D399; flex-shrink: 0;
}
.wv3-file-card-meta { flex: 1; min-width: 0; }
.wv3-file-card-name {
  font-weight: 600; font-size: 13px; color: #34D399; margin: 0;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.wv3-file-card-detail { font-size: 11px; color: #34D399; margin: 2px 0 0; opacity: .8; }
.wv3-file-card-actions { display: flex; gap: 6px; flex-shrink: 0; }

/* ---- Small Button ---- */
.wv3-btn-sm {
  padding: 5px 12px; border-radius: 7px;
  border: 1px solid var(--ui-border, rgba(255,255,255,.08));
  background: var(--ui-surface-2, #111111); color: var(--ui-muted, rgba(255,255,255,.66));
  font-size: 12px; font-weight: 600; cursor: pointer;
  transition: all .15s;
}
.wv3-btn-sm:hover { background: rgba(255,255,255,.05); border-color: var(--ui-border, rgba(255,255,255,.08)); }
.wv3-btn-sm.danger { color: #F8716A; border-color: rgba(248,113,106,.25); }
.wv3-btn-sm.danger:hover { background: rgba(248,113,106,.12); }

/* ---- Column Selector ---- */
.wv3-col-section { margin-top: 18px; display: none; }
.wv3-col-section.active { display: block; }
.wv3-col-label {
  display: flex; align-items: center; gap: 8px;
  font-size: 13px; font-weight: 600; color: var(--ui-text, #fff); margin-bottom: 6px;
}
.wv3-select {
  width: 100%; padding: 9px 12px;
  border: 1px solid var(--ui-border, rgba(255,255,255,.08)); border-radius: 9px;
  font-size: 13px; background: var(--ui-surface-2, #111111); color: var(--ui-text, #fff); cursor: pointer;
  transition: border-color .2s, box-shadow .2s;
  -webkit-appearance: none; appearance: none;
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='%2394A3B8'%3e%3cpath fill-rule='evenodd' d='M5.293 7.293a1 1 0 011.414 0L10 10.586l3.293-3.293a1 1 0 111.414 1.414l-4 4a1 1 0 01-1.414 0l-4-4a1 1 0 010-1.414z'/%3e%3c/svg%3e");
  background-repeat: no-repeat; background-position: right 10px center; background-size: 16px;
  padding-right: 32px;
}
.wv3-select:focus { outline: none; border-color: var(--ui-accent, #6D4AFF); box-shadow: 0 0 0 3px rgba(109,74,255,.35); }
.wv3-col-hint { margin: 5px 0 0; font-size: 11px; color: var(--ui-muted-2, rgba(255,255,255,.45)); font-style: italic; }

/* ---- Preview Table ---- */
.wv3-preview { margin-top: 18px; display: none; }
.wv3-preview.active { display: block; }
.wv3-preview-header {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 8px;
}
.wv3-preview-title {
  font-size: 11px; font-weight: 700; color: var(--ui-muted-2, rgba(255,255,255,.45));
  text-transform: uppercase; letter-spacing: .05em;
}
.wv3-preview-count { font-size: 11px; color: var(--ui-muted-2, rgba(255,255,255,.45)); }
.wv3-preview-wrap {
  overflow-x: auto; border: 1px solid var(--ui-border, rgba(255,255,255,.08));
  border-radius: 9px; max-height: 280px; overflow-y: auto;
}
.wv3-preview-table { width: 100%; border-collapse: collapse; font-size: 12px; }
.wv3-preview-table th {
  padding: 7px 10px; text-align: left;
  background: var(--ui-surface-2, #111111); border-bottom: 1px solid var(--ui-border, rgba(255,255,255,.08));
  font-weight: 700; font-size: 11px; color: var(--ui-muted, rgba(255,255,255,.66));
  white-space: nowrap; position: sticky; top: 0; z-index: 1;
  text-transform: uppercase; letter-spacing: .03em;
}
.wv3-preview-table th.col-active { background: rgba(109,74,255,.10); color: var(--ui-accent, #6D4AFF); }
.wv3-preview-table th .null-count {
  display: block; font-size: 10px; font-weight: 500; color: var(--ui-muted-2, rgba(255,255,255,.45));
  text-transform: none; letter-spacing: normal; margin-top: 1px;
}
.wv3-preview-table th .null-count.warn { color: #F2B65A; }
.wv3-preview-table td {
  padding: 6px 10px; border-bottom: 1px solid var(--ui-border, rgba(255,255,255,.08));
  color: var(--ui-muted, rgba(255,255,255,.66)); max-width: 200px;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.wv3-preview-table td.col-active { background: rgba(109,74,255,.10); color: var(--ui-text, #fff); font-weight: 500; }
.wv3-preview-table td.cell-empty { color: rgba(248,113,106,.55); font-style: italic; }
.wv3-preview-table tr:hover td { background: rgba(255,255,255,.05); }
.wv3-preview-table tr:hover td.col-active { background: rgba(109,74,255,.10); }

/* ---- Error Card ---- */
.wv3-error {
  display: none; padding: 14px 16px;
  background: rgba(248,113,106,.12); border: 1px solid rgba(248,113,106,.25);
  border-radius: 10px; margin-bottom: 16px;
}
.wv3-error.active { display: flex; align-items: center; gap: 10px; }
.wv3-error-icon { color: #F8716A; flex-shrink: 0; }
.wv3-error-text { flex: 1; font-size: 13px; color: #F8716A; }
.wv3-error-retry {
  padding: 5px 14px; border: 1px solid rgba(248,113,106,.25);
  border-radius: 7px; background: var(--ui-surface-2, #111111); color: #F8716A;
  font-size: 12px; font-weight: 600; cursor: pointer; flex-shrink: 0;
}
.wv3-error-retry:hover { background: rgba(248,113,106,.12); }

/* ---- Diagnostics Panel (right sidebar) ---- */
.wv3-diag { position: sticky; top: 20px; }

/* Score Ring */
.wv3-score-block {
  display: flex; align-items: center; gap: 14px;
  padding: 14px; margin-bottom: 14px;
  background: var(--ui-surface-2, #111111); border-radius: 10px;
  border: 1px solid var(--ui-border, rgba(255,255,255,.08));
}
.wv3-score-ring { position: relative; width: 50px; height: 50px; flex-shrink: 0; }
.wv3-score-ring svg { transform: rotate(-90deg); width: 50px; height: 50px; }
.wv3-score-ring .ring-bg { fill: none; stroke: rgba(255,255,255,.08); stroke-width: 4; }
.wv3-score-ring .ring-fill {
  fill: none; stroke-width: 4; stroke-linecap: round;
  transition: stroke-dashoffset .6s ease, stroke .3s;
}
.wv3-score-num {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  font-size: 14px; font-weight: 800; color: var(--ui-text, #fff); letter-spacing: -.02em;
}
.wv3-score-info { flex: 1; }
.wv3-score-label {
  font-size: 11px; font-weight: 700; color: var(--ui-muted-2, rgba(255,255,255,.45));
  text-transform: uppercase; letter-spacing: .04em; margin: 0 0 2px;
}
.wv3-score-desc { font-size: 12px; color: var(--ui-muted, rgba(255,255,255,.66)); margin: 0; line-height: 1.35; }

/* Checklist */
.wv3-checklist { list-style: none; padding: 0; margin: 0 0 4px; }
.wv3-checklist li {
  display: flex; align-items: center; gap: 10px;
  padding: 8px 0; border-bottom: 1px solid var(--ui-border, rgba(255,255,255,.08));
  font-size: 13px; color: var(--ui-muted-2, rgba(255,255,255,.45)); transition: color .2s;
}
.wv3-checklist li:last-child { border-bottom: none; }
.wv3-checklist li.done { color: #34D399; }
.wv3-check-dot {
  width: 20px; height: 20px; border-radius: 50%;
  border: 2px solid var(--ui-border, rgba(255,255,255,.08));
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; transition: all .25s; color: transparent;
}
.wv3-checklist li.done .wv3-check-dot {
  border-color: #34D399; background: rgba(52,211,153,.12); color: #34D399;
}

/* Validation Stats */
.wv3-stats { margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--ui-border, rgba(255,255,255,.08)); display: none; }
.wv3-stats.active { display: block; }
.wv3-stats-title {
  font-size: 11px; font-weight: 700; color: var(--ui-muted-2, rgba(255,255,255,.45));
  text-transform: uppercase; letter-spacing: .04em; margin: 0 0 8px;
}
.wv3-stat-row {
  display: flex; justify-content: space-between; align-items: center;
  padding: 4px 0; font-size: 12px;
}
.wv3-stat-lbl { color: var(--ui-muted, rgba(255,255,255,.66)); }
.wv3-stat-val { font-weight: 700; color: var(--ui-text, #fff); }
.wv3-risk {
  display: inline-flex; padding: 2px 10px; border-radius: 10px;
  font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .03em;
}
.wv3-risk[data-risk="low"]    { background: rgba(52,211,153,.12); color: #34D399; }
.wv3-risk[data-risk="medium"] { background: rgba(242,182,90,.12); color: #F2B65A; }
.wv3-risk[data-risk="high"]   { background: rgba(248,113,106,.12); color: #F8716A; }

/* Warnings */
.wv3-warnings { margin-top: 12px; display: none; }
.wv3-warnings.active { display: block; }
.wv3-warn-title {
  font-size: 11px; font-weight: 700; color: var(--ui-muted-2, rgba(255,255,255,.45));
  text-transform: uppercase; letter-spacing: .04em; margin: 0 0 6px;
  display: flex; align-items: center; gap: 6px;
}
.wv3-warn-count {
  width: 18px; height: 18px; border-radius: 50%;
  font-size: 10px; font-weight: 800;
  background: rgba(242,182,90,.12); color: #F2B65A;
  display: inline-flex; align-items: center; justify-content: center;
}
.wv3-warn-item {
  display: flex; align-items: flex-start; gap: 6px;
  padding: 7px 8px; margin-bottom: 4px; border-radius: 7px;
  font-size: 12px; color: var(--ui-muted, rgba(255,255,255,.66)); line-height: 1.4;
}
.wv3-warn-item[data-sev="high"]   { background: rgba(248,113,106,.12); border: 1px solid rgba(248,113,106,.25); }
.wv3-warn-item[data-sev="medium"] { background: rgba(242,182,90,.12); border: 1px solid rgba(242,182,90,.25); }
.wv3-warn-item[data-sev="low"]    { background: rgba(109,74,255,.10); border: 1px solid rgba(109,74,255,.28); }
.wv3-warn-item .wi { flex-shrink: 0; width: 14px; height: 14px; margin-top: 1px; }
.wv3-warn-item[data-sev="high"] .wi   { color: #F8716A; }
.wv3-warn-item[data-sev="medium"] .wi { color: #F2B65A; }
.wv3-warn-item[data-sev="low"] .wi    { color: var(--ui-accent, #6D4AFF); }
.wv3-warn-more {
  display: none; padding: 2px 0; font-size: 12px; font-weight: 600;
  color: var(--ui-accent, #6D4AFF); cursor: pointer; border: none; background: none;
}
.wv3-warn-more:hover { text-decoration: underline; }
.wv3-warn-more.active { display: block; }

/* Suggestions */
.wv3-suggestions { margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--ui-border, rgba(255,255,255,.08)); display: none; }
.wv3-suggestions.active { display: block; }
.wv3-sugg-title {
  font-size: 11px; font-weight: 700; color: var(--ui-muted-2, rgba(255,255,255,.45));
  text-transform: uppercase; letter-spacing: .04em; margin: 0 0 6px;
  display: flex; align-items: center; gap: 6px;
}
.wv3-sugg-title .si { flex-shrink: 0; width: 12px; height: 12px; color: var(--ui-muted-2, rgba(255,255,255,.45)); }
.wv3-sugg-item {
  display: flex; align-items: flex-start; gap: 7px;
  padding: 4px 0; font-size: 12px; color: var(--ui-muted, rgba(255,255,255,.66)); line-height: 1.45;
}
.wv3-sugg-item .si { flex-shrink: 0; width: 14px; height: 14px; margin-top: 2px; color: var(--ui-accent, #6D4AFF); opacity: .55; }

/* CTA Guidance */
.wv3-cta-bar {
  margin-top: 14px; padding: 10px 14px; border-radius: 9px;
  font-size: 13px; font-weight: 600; text-align: center;
  transition: all .25s;
}
.wv3-cta-bar.pending { background: rgba(109,74,255,.10); color: var(--ui-accent, #6D4AFF); }
.wv3-cta-bar.ready   { background: rgba(52,211,153,.12); color: #34D399; }

/* =====================
   STEP 2 — Contexto
   ===================== */

.wv3-intro-msg {
  font-size: 14px; color: var(--ui-muted, rgba(255,255,255,.66)); margin: 0 0 20px;
  line-height: 1.5; padding: 12px 16px;
  background: var(--ui-surface-2, #111111); border-radius: 10px; border: 1px solid var(--ui-border, rgba(255,255,255,.08));
}
.wv3-intro-msg strong { color: var(--ui-text, #fff); }

/* Combobox */
.wv3-combobox { position: relative; margin-bottom: 18px; }
.wv3-combobox-input {
  width: 100%; padding: 10px 14px 10px 38px;
  border: 1px solid var(--ui-border, rgba(255,255,255,.08)); border-radius: 10px;
  font-size: 14px; color: var(--ui-text, #fff); background: var(--ui-surface-2, #111111);
  transition: border-color .2s, box-shadow .2s;
}
.wv3-combobox-input::placeholder { color: var(--ui-muted-2, rgba(255,255,255,.45)); }
.wv3-combobox-input:focus {
  outline: none; border-color: var(--ui-accent, #6D4AFF);
  box-shadow: 0 0 0 3px rgba(109,74,255,.35);
}
.wv3-combobox-icon {
  position: absolute; left: 12px; top: 50%; transform: translateY(-50%);
  width: 18px; height: 18px; color: var(--ui-muted-2, rgba(255,255,255,.45)); pointer-events: none;
}
.wv3-combo-clear {
  position: absolute; right: 10px; top: 50%; transform: translateY(-50%);
  background: none; border: none; cursor: pointer;
  font-size: 18px; line-height: 1; color: var(--ui-muted-2, rgba(255,255,255,.45));
  padding: 2px 6px; border-radius: 4px;
  transition: color .15s, background .15s;
}
.wv3-combo-clear:hover { color: #F8716A; background: rgba(248,113,106,.12); }
.wv3-combobox-dropdown {
  display: none; position: absolute; top: calc(100% + 4px);
  left: 0; right: 0; z-index: 20;
  background: var(--ui-surface, #141414); border: 1px solid var(--ui-border, rgba(255,255,255,.08));
  border-radius: 10px; box-shadow: 0 8px 24px rgba(0,0,0,.35);
  max-height: 260px; overflow-y: auto;
}
.wv3-combobox-dropdown.open { display: block; }
.wv3-combo-item {
  padding: 10px 14px; cursor: pointer;
  border-bottom: 1px solid var(--ui-border, rgba(255,255,255,.08));
  transition: background .1s;
}
.wv3-combo-item:last-child { border-bottom: none; }
.wv3-combo-item:hover { background: rgba(255,255,255,.05); }
.wv3-combo-item.selected { background: rgba(109,74,255,.10); }
.wv3-combo-item-name { font-size: 14px; font-weight: 600; color: var(--ui-text, #fff); }
.wv3-combo-item-meta { font-size: 11px; color: var(--ui-muted-2, rgba(255,255,255,.45)); margin-top: 1px; }
.wv3-combo-create {
  padding: 10px 14px; cursor: pointer;
  display: flex; align-items: center; gap: 8px;
  color: var(--ui-accent, #6D4AFF); font-weight: 600; font-size: 13px;
  border-top: 1px solid var(--ui-border, rgba(255,255,255,.08));
  transition: background .1s;
}
.wv3-combo-create:hover { background: rgba(109,74,255,.10); }
.wv3-combo-empty {
  padding: 16px 14px; text-align: center;
  font-size: 13px; color: var(--ui-muted-2, rgba(255,255,255,.45));
}

/* Project Summary Card */
.wv3-project-summary { display: none; margin-top: 18px; }
.wv3-project-summary.active { display: block; }
.wv3-proj-row {
  display: flex; justify-content: space-between; align-items: center;
  padding: 6px 0; font-size: 13px;
  border-bottom: 1px solid var(--ui-border, rgba(255,255,255,.08));
}
.wv3-proj-row:last-child { border-bottom: none; }
.wv3-proj-lbl { color: var(--ui-muted, rgba(255,255,255,.66)); font-weight: 500; }
.wv3-proj-val { color: var(--ui-text, #fff); font-weight: 600; }

/* Celebrity Toggle */
.wv3-celeb-section { margin-top: 18px; }
.wv3-toggle-row {
  display: flex; align-items: center; justify-content: space-between;
  padding: 12px 14px; background: var(--ui-surface-2, #111111);
  border: 1px solid var(--ui-border, rgba(255,255,255,.08)); border-radius: 10px;
}
.wv3-toggle-info { flex: 1; }
.wv3-toggle-title { font-size: 13px; font-weight: 600; color: var(--ui-text, #fff); margin: 0; }
.wv3-toggle-desc { font-size: 11px; color: var(--ui-muted-2, rgba(255,255,255,.45)); margin: 2px 0 0; }
.wv3-toggle {
  position: relative; width: 44px; height: 24px; flex-shrink: 0;
}
.wv3-toggle input { opacity: 0; width: 0; height: 0; }
.wv3-toggle-slider {
  position: absolute; inset: 0;
  background: var(--ui-border, rgba(255,255,255,.08)); border-radius: 12px; cursor: pointer;
  transition: background .2s;
}
.wv3-toggle-slider::before {
  content: ''; position: absolute; left: 3px; top: 3px;
  width: 18px; height: 18px; border-radius: 50%;
  background: #fff; box-shadow: 0 1px 3px rgba(0,0,0,.15);
  transition: transform .2s;
}
.wv3-toggle input:checked + .wv3-toggle-slider { background: var(--ui-accent, #6D4AFF); }
.wv3-toggle input:checked + .wv3-toggle-slider::before { transform: translateX(20px); }
.wv3-toggle input:focus-visible + .wv3-toggle-slider {
  outline: 2px solid var(--ui-accent, #6D4AFF); outline-offset: 2px;
}

.wv3-celeb-input-wrap { margin-top: 10px; display: none; }
.wv3-celeb-input-wrap.active { display: block; }
.wv3-celeb-input {
  width: 100%; padding: 9px 12px;
  border: 1px solid var(--ui-border, rgba(255,255,255,.08)); border-radius: 9px;
  font-size: 13px; color: var(--ui-text, #fff); background: var(--ui-surface-2, #111111);
}
.wv3-celeb-input:focus { outline: none; border-color: var(--ui-accent, #6D4AFF); box-shadow: 0 0 0 3px rgba(109,74,255,.35); }

/* Step 2 sidebar checklist */
.wv3-ctx-checklist { list-style: none; padding: 0; margin: 0; }
.wv3-ctx-checklist li {
  display: flex; align-items: center; gap: 10px;
  padding: 8px 0; border-bottom: 1px solid var(--ui-border, rgba(255,255,255,.08));
  font-size: 13px; color: var(--ui-muted-2, rgba(255,255,255,.45));
}
.wv3-ctx-checklist li:last-child { border-bottom: none; }
.wv3-ctx-checklist li.done { color: #34D399; }
.wv3-ctx-summary { display: none; margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--ui-border, rgba(255,255,255,.08)); }
.wv3-ctx-summary.active { display: block; }

/* =====================
   STEP 3 — Confirmar
   ===================== */
.wv3-review-cards { display: flex; flex-direction: column; gap: 14px; }
.wv3-review-item {
  display: flex; justify-content: space-between; align-items: center;
  padding: 5px 0; font-size: 13px;
  border-bottom: 1px solid var(--ui-border, rgba(255,255,255,.08));
}
.wv3-review-item:last-child { border-bottom: none; }
.wv3-review-lbl { color: var(--ui-muted, rgba(255,255,255,.66)); }
.wv3-review-val { font-weight: 600; color: var(--ui-text, #fff); }
.wv3-review-celeb { margin-top: 12px; display: none; }
.wv3-review-celeb.active { display: block; }

/* Launching overlay */
.wv3-launch-overlay {
  display: none; position: fixed; inset: 0; z-index: 100;
  background: rgba(10,10,10,.88); backdrop-filter: blur(6px);
  flex-direction: column; align-items: center; justify-content: center;
}
.wv3-launch-overlay.active { display: flex; }
.wv3-launch-spinner {
  width: 48px; height: 48px;
  border: 3px solid rgba(109,74,255,.20);
  border-top-color: var(--ui-accent, #6D4AFF); border-radius: 50%;
  animation: wv3Spin .7s linear infinite;
  margin-bottom: 16px;
}
@keyframes wv3Spin { to { transform: rotate(360deg); } }
.wv3-launch-title { font-size: 17px; font-weight: 700; color: var(--ui-text, #fff); margin: 0 0 6px; }
.wv3-launch-sub { font-size: 13px; color: var(--ui-muted, rgba(255,255,255,.66)); margin: 0; }

/* ---- Footer Navigation ---- */
.wv3-footer {
  display: flex; justify-content: space-between; align-items: center;
  margin-top: 28px; padding-top: 20px;
  border-top: 1px solid var(--ui-border, rgba(255,255,255,.08));
}
.wv3-btn {
  padding: 10px 24px; border-radius: 10px;
  font-size: 14px; font-weight: 600;
  cursor: pointer; border: none;
  transition: all .2s;
}
.wv3-btn:disabled { opacity: .45; cursor: not-allowed; }
.wv3-btn--secondary {
  background: var(--ui-surface-2, #111111); color: var(--ui-muted, rgba(255,255,255,.66));
}
.wv3-btn--secondary:hover:not(:disabled) { background: rgba(255,255,255,.05); }
.wv3-btn--primary {
  background: linear-gradient(135deg, #6D4AFF, #9B8CFF);
  color: #fff; box-shadow: 0 2px 8px rgba(109,74,255,.35);
}
.wv3-btn--primary:hover:not(:disabled) {
  box-shadow: 0 4px 16px rgba(109,74,255,.35);
  transform: translateY(-1px);
}
.wv3-btn--primary:active:not(:disabled) { transform: translateY(0); }
.wv3-btn--start {
  background: linear-gradient(135deg, #34D399, #10B981);
  color: #fff; box-shadow: 0 2px 8px rgba(52,211,153,.25);
}
.wv3-btn--start:hover:not(:disabled) {
  box-shadow: 0 4px 16px rgba(52,211,153,.35);
  transform: translateY(-1px);
}

/* Focus visible */
.wv3-btn:focus-visible,
.wv3-select:focus-visible,
.wv3-combobox-input:focus-visible,
.wv3-dropzone:focus-visible {
  outline: 2px solid var(--ui-accent, #6D4AFF); outline-offset: 2px;
}

/* ---- Recommendation Toggles ---- */
.wv3-reco { margin-top: 14px; display: none; }
.wv3-reco.active { display: block; }
.wv3-reco-title {
  font-size: 11px; font-weight: 700; color: var(--ui-muted-2, rgba(255,255,255,.45));
  text-transform: uppercase; letter-spacing: .04em; margin: 0 0 6px;
}
.wv3-reco-item {
  display: flex; align-items: center; justify-content: space-between;
  padding: 8px 10px; margin-bottom: 4px;
  background: rgba(109,74,255,.10); border: 1px solid rgba(109,74,255,.28);
  border-radius: 8px; font-size: 12px; color: var(--ui-muted, rgba(255,255,255,.66));
}
.wv3-reco-toggle { width: 36px; height: 20px; position: relative; }
.wv3-reco-toggle input { opacity: 0; width: 0; height: 0; }
.wv3-reco-toggle .slider {
  position: absolute; inset: 0; background: var(--ui-border, rgba(255,255,255,.08));
  border-radius: 10px; cursor: pointer; transition: background .2s;
}
.wv3-reco-toggle .slider::before {
  content: ''; position: absolute; left: 2px; top: 2px;
  width: 16px; height: 16px; border-radius: 50%; background: #fff;
  transition: transform .2s;
}
.wv3-reco-toggle input:checked + .slider { background: var(--ui-accent, #6D4AFF); }
.wv3-reco-toggle input:checked + .slider::before { transform: translateX(16px); }
