/* ============================================================
   NEGOSYO PLANS — WIZARD.CSS  (Section 21H)
   Blueprint Customization Wizard — full-screen overlay
   shown before the blueprint renders.

   2026-09 redesign: dark navy + gold, live cover preview,
   4-segment named progress rail, sticky gold CTA.
   Matches design/wizard-mockup.html (approved mockup).

   NOTE: everything here is wizard UI OUTSIDE the slides.
   The only slide-affecting rules are the execution-path
   highlight/collapse block, carried over unchanged.
   ============================================================ */

.bwiz {
  /* Local design tokens */
  --wz-bg:        #0A101D;
  --wz-panel:     #101A2C;
  --wz-panel-brd: #1E2B44;
  --wz-card:      #0D1729;
  --wz-card-brd:  #24344F;
  --wz-gold:      #E2B34F;
  --wz-gold-deep: #C8963E;
  --wz-gold-dim:  rgba(226, 179, 79, 0.32);
  --wz-gold-ink:  #221605;
  --wz-text:      #EEF2F8;
  --wz-muted:     #9FADC3;
  --wz-faint:     #6E7E96;
  --wz-green:     #3FBF77;
  --wz-serif:     'Playfair Display', Georgia, serif;
  --wz-sans:      'Plus Jakarta Sans', -apple-system, sans-serif;

  position: fixed;
  inset: 0;
  background: var(--wz-bg);
  z-index: 500;
  display: flex;
  flex-direction: column;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  font-family: var(--wz-sans);
  color: var(--wz-text);
  color-scheme: dark;
}
body.wizard-open { overflow: hidden; }

.bwiz *, .bwiz *::before, .bwiz *::after { box-sizing: border-box; }

/* Visible focus states everywhere in the wizard */
.bwiz :focus-visible {
  outline: 2px solid var(--wz-gold);
  outline-offset: 2px;
  border-radius: 4px;
}

/* ── Brand bar (sticky) ────────────────────────────────────── */
.bwiz-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 18px 10px;
  background: var(--wz-bg);
}
.bwiz-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-family: var(--wz-serif);
  font-weight: 700;
  font-size: 1.08rem;
  line-height: 1;
  white-space: nowrap;
}
.bwiz-logo-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border: 1px solid var(--wz-gold-dim);
  border-radius: 8px;
  font-family: var(--wz-serif);
  font-weight: 700;
  font-size: 0.82rem;
  color: var(--wz-text);
  background: var(--wz-panel);
  flex-shrink: 0;
}
.bwiz-logo-n { color: var(--wz-text); }
.bwiz-logo-p { color: var(--wz-gold); }

.bwiz-skip {
  background: none;
  border: none;
  padding: 6px 2px;
  font-family: var(--wz-sans);
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--wz-muted);
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
  white-space: nowrap;
}
.bwiz-skip:hover { color: var(--wz-text); }

/* ── Progress rail: 4 named segments ───────────────────────── */
.bwiz-rail {
  position: sticky;
  top: 56px;
  z-index: 9;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  padding: 2px 18px 12px;
  background: var(--wz-bg);
  border-bottom: 1px solid rgba(30, 43, 68, 0.7);
}
.bwiz-dot {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
  background: none;
  border: none;
  padding: 4px 0 0;
  cursor: pointer;
  text-align: left;
  min-width: 0;
}
.bwiz-dot:disabled { cursor: default; }
.bwiz-dot-name {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--wz-faint);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
}
.bwiz-dot-bar {
  display: block;
  width: 100%;
  height: 3px;
  border-radius: 2px;
  background: #202E48;
}
.bwiz-dot--current .bwiz-dot-name { color: var(--wz-gold); font-weight: 700; }
.bwiz-dot--current .bwiz-dot-bar  { background: var(--wz-gold); }
.bwiz-dot--done .bwiz-dot-name    { color: var(--wz-muted); }
.bwiz-dot--done .bwiz-dot-bar     { background: var(--wz-gold-dim); }

/* ── One-question-per-screen: the 4-tab rail is hidden (DOM + updateDots
     kept for restore) and replaced by a thin gold progress bar. ─────── */
.bwiz-rail { display: none; }

.bwiz-progress {
  position: sticky;
  top: 56px;
  z-index: 9;
  height: 3px;
  width: 100%;
  background: #202E48;
  overflow: hidden;
}
.bwiz-progress-fill {
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, var(--wz-gold-dim), var(--wz-gold));
  border-radius: 0 2px 2px 0;
  transition: width 0.35s ease;
}

/* ── Body: centered single column ──────────────────────────── */
.bwiz-body {
  flex: 1;
  width: 100%;
  padding: 18px 16px 28px;
}
.bwiz-col {
  max-width: 560px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
}

/* ── Live cover preview card ───────────────────────────────── */
.bwiz-cover {
  position: relative;
  overflow: hidden;
  background: linear-gradient(150deg, #13203A 0%, #0D1526 62%, #0B1220 100%);
  border: 1px solid rgba(226, 179, 79, 0.22);
  border-left: 3px solid var(--wz-gold);
  border-radius: 12px;
  padding: 22px 22px 20px;
  min-height: 158px;
}
.bwiz-cover-wm {
  position: absolute;
  top: 44%;
  left: 50%;
  transform: translate(-50%, -50%) rotate(-10deg);
  font-family: var(--wz-serif);
  font-size: 2.4rem;
  font-weight: 700;
  letter-spacing: 0.3em;
  color: rgba(226, 179, 79, 0.05);
  pointer-events: none;
  user-select: none;
  white-space: nowrap;
}
.bwiz-cover-corner {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 64px;
  height: 46px;
  border-top: 1px solid rgba(226, 179, 79, 0.5);
  border-right: 1px solid rgba(226, 179, 79, 0.5);
  pointer-events: none;
}
.bwiz-cover-eyebrow {
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--wz-gold);
  margin-bottom: 30px;
}
.bwiz-cover-title {
  margin: 0 0 4px;
  font-family: var(--wz-serif);
  font-weight: 700;
  font-size: 1.42rem;
  line-height: 1.22;
  color: var(--wz-text);
  padding-right: 56px;
}
.bwiz-cover-bizname {
  font-family: var(--wz-serif);
  font-style: italic;
  font-size: 1rem;
  color: var(--wz-gold);
  margin-bottom: 10px;
}
.bwiz-cover-prepared {
  font-size: 0.8rem;
  color: var(--wz-muted);
  margin-top: 8px;
}
.bwiz-cover-prepared strong { color: var(--wz-text); font-weight: 700; }
.bwiz-cover-loc {
  font-size: 0.8rem;
  color: var(--wz-muted);
  margin-top: 2px;
}
.bwiz-cover-seal {
  position: absolute;
  right: 18px;
  bottom: 16px;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  opacity: 0.92;
}
.bwiz-cover-caption {
  text-align: center;
  font-size: 0.78rem;
  color: var(--wz-faint);
  margin: 10px 0 16px;
}
.bwiz-cover-caption .bwiz-step-label { color: var(--wz-text); font-weight: 700; }

/* ── Step panel ────────────────────────────────────────────── */
.bwiz-card {
  background: var(--wz-panel);
  border: 1px solid var(--wz-panel-brd);
  border-radius: 16px;
  padding: 26px 20px 22px;
}
.bwiz-step-title {
  margin: 0 0 8px;
  font-family: var(--wz-serif);
  font-weight: 700;
  font-size: 1.62rem;
  line-height: 1.22;
  color: var(--wz-text);
  text-align: center;
}
.bwiz-step-desc {
  margin: 0 0 22px;
  font-size: 0.92rem;
  line-height: 1.55;
  color: var(--wz-muted);
  text-align: center;
}
/* Empty desc collapses so the question + input stay vertically tight. */
.bwiz-step-desc:empty { display: none; }

/* ── Fields ────────────────────────────────────────────────── */
.bwiz-fields { display: flex; flex-direction: column; gap: 22px; }
.bwiz-field  { display: flex; flex-direction: column; gap: 8px; }

.bwiz-label {
  font-size: 0.98rem;
  font-weight: 700;
  color: var(--wz-text);
  line-height: 1.35;
}
.bwiz-optional {
  font-weight: 500;
  font-size: 0.8rem;
  color: var(--wz-faint);
  margin-left: 6px;
}
.bwiz-hint {
  font-size: 0.78rem;
  line-height: 1.5;
  color: var(--wz-faint);
}

.bwiz-input,
.bwiz-select,
.bwiz-textarea {
  width: 100%;
  background: var(--wz-card);
  border: 1px solid var(--wz-card-brd);
  border-radius: 10px;
  padding: 13px 14px;
  font-family: var(--wz-sans);
  font-size: 0.95rem;
  color: var(--wz-text);
  transition: border-color 0.15s, box-shadow 0.15s;
  appearance: none;
  -webkit-appearance: none;
}
.bwiz-input::placeholder,
.bwiz-textarea::placeholder { color: var(--wz-faint); }
.bwiz-input:focus,
.bwiz-select:focus,
.bwiz-textarea:focus {
  outline: none;
  border-color: var(--wz-gold);
  box-shadow: 0 0 0 3px rgba(226, 179, 79, 0.2);
}
.bwiz-select {
  background-image: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='9' viewBox='0 0 14 9'%3E%3Cpath d='M1 1l6 6 6-6' fill='none' stroke='%23E2B34F' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 40px;
  cursor: pointer;
}
.bwiz-select option { background: var(--wz-panel); color: var(--wz-text); }
.bwiz-textarea { min-height: 96px; resize: vertical; line-height: 1.5; }

.bwiz-date-row { display: flex; gap: 10px; }
.bwiz-date-row .bwiz-select { flex: 1; }

.bwiz-char-counter-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
}
.bwiz-char-counter {
  font-size: 0.72rem;
  color: var(--wz-faint);
  white-space: nowrap;
}

/* ── Option cards (radio cards with icon + gold check) ─────── */
.bwiz-options {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.bwiz-option { position: relative; display: block; cursor: pointer; }
.bwiz-option input {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
}
.bwiz-option-label {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
  height: 100%;
  background: var(--wz-card);
  border: 1px solid var(--wz-card-brd);
  border-radius: 12px;
  padding: 14px 13px;
  transition: border-color 0.15s, background 0.15s;
}
.bwiz-option:hover .bwiz-option-label { border-color: var(--wz-gold-dim); }
.bwiz-option input:checked + .bwiz-option-label {
  border-color: var(--wz-gold);
  background: linear-gradient(160deg, rgba(226, 179, 79, 0.10), rgba(226, 179, 79, 0.03) 55%, var(--wz-card));
  box-shadow: 0 0 0 1px var(--wz-gold);
}
.bwiz-option input:focus-visible + .bwiz-option-label {
  outline: 2px solid var(--wz-gold);
  outline-offset: 2px;
}
/* Gold check badge on the selected card */
.bwiz-option input:checked + .bwiz-option-label::after {
  content: "";
  position: absolute;
  top: 10px;
  right: 10px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--wz-gold) url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='11' height='9' viewBox='0 0 11 9'%3E%3Cpath d='M1 4.5L4 7.5 10 1' fill='none' stroke='%23221605' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center no-repeat;
}
/* Inline SVG icon chip at the top of each card */
.bwiz-option-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border: 1px solid var(--wz-gold-dim);
  border-radius: 10px;
  color: var(--wz-gold);
  margin-bottom: 4px;
  flex-shrink: 0;
}
.bwiz-option-icon svg { width: 20px; height: 20px; display: block; }
.bwiz-option-name {
  font-size: 0.94rem;
  font-weight: 700;
  color: var(--wz-text);
  line-height: 1.3;
}
.bwiz-option-sub {
  font-size: 0.78rem;
  color: var(--wz-muted);
  line-height: 1.4;
}
/* Full-width card (e.g. 5th option) */
.bwiz-option--wide { grid-column: 1 / -1; }
.bwiz-option--wide .bwiz-option-label {
  flex-direction: row;
  align-items: center;
  gap: 12px;
}
.bwiz-option--wide .bwiz-option-icon { margin-bottom: 0; }
.bwiz-option--wide .bwiz-option-text { display: flex; flex-direction: column; gap: 2px; }
/* Legacy compact modifier (pre-redesign markup) */
.bwiz-option--compact .bwiz-option-label { padding: 12px 10px; }

/* ── Chips (single-select pill group) ──────────────────────── */
.bwiz-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.bwiz-chip { position: relative; display: inline-block; cursor: pointer; }
.bwiz-chip input {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
}
.bwiz-chip-label {
  display: inline-flex;
  align-items: center;
  min-height: 44px;               /* touch target ≥ 44px */
  background: var(--wz-card);
  border: 1px solid var(--wz-card-brd);
  border-radius: 999px;
  padding: 9px 16px;
  font-size: 0.85rem;
  font-weight: 600;
  color: #C9D4E4;
  transition: border-color 0.15s, background 0.15s, color 0.15s;
  line-height: 1.25;
}
.bwiz-chip:hover .bwiz-chip-label { border-color: var(--wz-gold-dim); }
.bwiz-chip input:checked + .bwiz-chip-label {
  background: var(--wz-gold);
  border-color: var(--wz-gold);
  color: var(--wz-gold-ink);
}
.bwiz-chip input:focus-visible + .bwiz-chip-label {
  outline: 2px solid var(--wz-gold);
  outline-offset: 2px;
}

/* ── Legacy radio list (kept for interim markup) ───────────── */
.bwiz-radio-list { display: flex; flex-direction: column; gap: 8px; }
.bwiz-radio-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  background: var(--wz-card);
  border: 1px solid var(--wz-card-brd);
  border-radius: 10px;
  padding: 12px 14px;
  cursor: pointer;
  transition: border-color 0.15s;
}
.bwiz-radio-item:hover { border-color: var(--wz-gold-dim); }
.bwiz-radio-item input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.bwiz-radio-mark {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  margin-top: 1px;
  border: 2px solid var(--wz-card-brd);
  border-radius: 50%;
  transition: border-color 0.15s, background 0.15s;
}
.bwiz-radio-item input:checked ~ .bwiz-radio-mark {
  border-color: var(--wz-gold);
  background: radial-gradient(circle, var(--wz-gold) 0 45%, transparent 50%);
}
.bwiz-radio-item input:checked ~ .bwiz-radio-text { color: var(--wz-text); }
.bwiz-radio-text { font-size: 0.9rem; font-weight: 600; color: #C9D4E4; line-height: 1.4; }
.bwiz-radio-sub  { font-weight: 400; font-size: 0.82rem; color: var(--wz-muted); }

/* ── Legacy checkboxes (unused by current steps, kept safe) ── */
.bwiz-checkboxes { display: flex; flex-direction: column; gap: 8px; }
.bwiz-checkbox {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--wz-card);
  border: 1px solid var(--wz-card-brd);
  border-radius: 10px;
  padding: 11px 14px;
  cursor: pointer;
}
.bwiz-checkbox input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.bwiz-checkbox-mark {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  border: 2px solid var(--wz-card-brd);
  border-radius: 5px;
}
.bwiz-checkbox input:checked ~ .bwiz-checkbox-mark {
  border-color: var(--wz-gold);
  background: var(--wz-gold) url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='11' height='9' viewBox='0 0 11 9'%3E%3Cpath d='M1 4.5L4 7.5 10 1' fill='none' stroke='%23221605' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center no-repeat;
}
.bwiz-checkbox-text { font-size: 0.9rem; color: #C9D4E4; }

/* ── Warning banner (OFW-vs-self conflict) ─────────────────── */
.bwiz-warn {
  padding: 12px 16px;
  border-left: 3px solid var(--wz-gold-deep);
  background: rgba(226, 179, 79, 0.08);
  border-radius: 0 8px 8px 0;
  font-size: 0.84rem;
  line-height: 1.55;
  color: #E8D9B8;
  margin-top: 10px;
}

/* ── Error banner ──────────────────────────────────────────── */
.bwiz-error {
  margin-top: 18px;
  padding: 12px 16px;
  border-left: 3px solid #E0604F;
  background: rgba(224, 96, 79, 0.1);
  border-radius: 0 8px 8px 0;
  font-size: 0.85rem;
  color: #F2A79C;
}

/* ── Sticky actions: gold CTA + back + saved indicator ─────── */
.bwiz-actions {
  position: sticky;
  bottom: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 14px 0 10px;
  background: linear-gradient(rgba(10, 16, 29, 0), var(--wz-bg) 30%);
}
.bwiz-btn-next {
  width: 100%;
  border: none;
  border-radius: 12px;
  padding: 16px 24px;
  background: linear-gradient(180deg, #EBC163, #DCA93F);
  color: var(--wz-gold-ink);
  font-family: var(--wz-sans);
  font-size: 1.02rem;
  font-weight: 800;
  letter-spacing: 0.01em;
  cursor: pointer;
  box-shadow: 0 6px 18px rgba(226, 179, 79, 0.22);
  transition: filter 0.15s, transform 0.1s;
}
.bwiz-btn-next:hover  { filter: brightness(1.05); }
.bwiz-btn-next:active { transform: translateY(1px); }
.bwiz-btn-next:disabled { filter: saturate(0.55) brightness(0.85); cursor: wait; }
.bwiz-btn-back {
  background: none;
  border: none;
  min-height: 44px;               /* touch target ≥ 44px */
  padding: 8px 16px;
  font-family: var(--wz-sans);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--wz-muted);
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
}
.bwiz-btn-back:hover { color: var(--wz-text); }

.bwiz-saved {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.78rem;
  color: var(--wz-muted);
  padding-top: 2px;
}
.bwiz-saved-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--wz-green);
  flex-shrink: 0;
}
.bwiz-privacy {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 0.72rem;
  color: var(--wz-faint);
  padding-top: 4px;
  text-align: center;
}

/* ── Review step (summary cards) ───────────────────────────── */
.bwiz-summary-card {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 6px;
}
.bwiz-summary-section {
  background: var(--wz-card);
  border: 1px solid var(--wz-card-brd);
  border-radius: 12px;
  padding: 14px 16px;
}
.bwiz-summary-section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--wz-gold);
}
.bwiz-edit-link {
  background: none;
  border: none;
  padding: 2px 4px;
  font-family: var(--wz-sans);
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--wz-gold);
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
}
.bwiz-summary-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  padding: 3px 0;
}
.bwiz-summary-label {
  font-size: 0.82rem;
  color: var(--wz-muted);
  flex-shrink: 0;
}
.bwiz-summary-value {
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--wz-text);
  text-align: right;
  overflow-wrap: anywhere;
}

/* ── Generate CTA + loading (review step) ──────────────────── */
.bwiz-generate-wrap { display: flex; flex-direction: column; gap: 12px; }
.bwiz-generate-btn {
  width: 100%;
  border: none;
  border-radius: 12px;
  padding: 16px 24px;
  background: linear-gradient(180deg, #EBC163, #DCA93F);
  color: var(--wz-gold-ink);
  font-family: var(--wz-sans);
  font-size: 1.02rem;
  font-weight: 800;
  cursor: pointer;
  box-shadow: 0 6px 18px rgba(226, 179, 79, 0.22);
}
.bwiz-generate-btn:disabled { filter: saturate(0.55) brightness(0.85); cursor: wait; }
.bwiz-loading-area { padding-top: 4px; }
.bwiz-loading-bar-track {
  height: 6px;
  border-radius: 3px;
  background: #202E48;
  overflow: hidden;
}
.bwiz-loading-bar-fill {
  width: 0;
  height: 100%;
  border-radius: 3px;
  background: linear-gradient(90deg, var(--wz-gold-deep), var(--wz-gold));
}
.bwiz-loading-step {
  margin-top: 8px;
  text-align: center;
  font-size: 0.8rem;
  color: var(--wz-muted);
}

/* ── Skip confirmation dialog ──────────────────────────────── */
.bwiz-skip-confirm {
  position: fixed;
  inset: 0;
  z-index: 40;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(5, 9, 17, 0.72);
}
.bwiz-skip-confirm-box {
  max-width: 420px;
  width: 100%;
  background: var(--wz-panel);
  border: 1px solid var(--wz-panel-brd);
  border-radius: 14px;
  padding: 22px 20px;
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.5);
}
.bwiz-skip-confirm-msg {
  margin: 0 0 18px;
  font-size: 0.92rem;
  line-height: 1.55;
  color: var(--wz-text);
}
.bwiz-skip-confirm-btns {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.bwiz-skip-confirm-no {
  flex: 1;
  border: none;
  border-radius: 10px;
  padding: 12px 16px;
  background: linear-gradient(180deg, #EBC163, #DCA93F);
  color: var(--wz-gold-ink);
  font-family: var(--wz-sans);
  font-size: 0.88rem;
  font-weight: 700;
  cursor: pointer;
}
.bwiz-skip-confirm-yes {
  flex: 1;
  background: none;
  border: 1px solid var(--wz-card-brd);
  border-radius: 10px;
  padding: 12px 16px;
  font-family: var(--wz-sans);
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--wz-muted);
  cursor: pointer;
}
.bwiz-skip-confirm-yes:hover { color: var(--wz-text); border-color: var(--wz-gold-dim); }

/* ── Execution path slides: highlight & collapse ──────────────
   (carried over unchanged — affects slides, NOT wizard UI) */
.slide-page.path-highlighted {
  box-shadow: 0 0 0 3px #C8963E;
  border-radius: 4px;
}
.slide-page.path-collapsed {
  opacity: 0.42;
  position: relative;
  max-height: 160px;
  overflow: hidden;
  cursor: pointer;
  transition: opacity 0.2s;
}
.path-expand-bar {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(transparent, rgba(15, 14, 13, 0.88));
  padding: 36px 0 14px;
  display: flex;
  justify-content: center;
  pointer-events: none;
}
.path-expand-btn {
  pointer-events: auto;
  background: #C8963E;
  color: #0F0E0D;
  border: none;
  border-radius: 4px;
  padding: 7px 18px;
  font-size: 0.78rem;
  font-weight: 700;
  font-family: 'Plus Jakarta Sans', sans-serif;
  cursor: pointer;
  letter-spacing: 0.02em;
}

/* ── Small screens (≥360px supported) ──────────────────────── */
@media (max-width: 420px) {
  .bwiz-header { padding: 12px 14px 8px; }
  .bwiz-rail   { padding: 2px 14px 10px; top: 52px; }
  .bwiz-dot-name { font-size: 0.66rem; }
  .bwiz-body   { padding: 14px 12px 24px; }
  .bwiz-card   { padding: 22px 16px 20px; }
  .bwiz-step-title { font-size: 1.44rem; }
  .bwiz-cover  { padding: 18px 16px 16px; }
  .bwiz-cover-title { font-size: 1.22rem; padding-right: 46px; }
  .bwiz-cover-seal  { width: 44px; height: 44px; right: 14px; bottom: 13px; }
}

/* ── Reduced motion ────────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  .bwiz *, .bwiz *::before, .bwiz *::after {
    transition: none !important;
    animation: none !important;
  }
}

/* ── Hide in PDF / print ───────────────────────────────────────
   CRITICAL — do not remove. The pdf-renderer Worker (and the
   client html2pdf fallback) add body.pdf-generating before
   screenshotting each .slide-page; without this rule the fixed
   wizard overlay is captured on every PDF page. This rule was
   present in the pre-redesign wizard.css and was lost in the
   2026-09 rewrite (regression fixed 2026-09-01). */
@media print { .bwiz, #blueprint-wizard { display: none !important; } }
body.pdf-generating #blueprint-wizard,
body.pdf-generating .bwiz { display: none !important; }
/* Hidden failure #8 — save to license failed: warning + retry (was: badge just stayed hidden) */
.bwiz-saved.is-fail { color: #F3C29A; flex-wrap: wrap; align-items: flex-start; }
.bwiz-saved.is-fail #bwiz-saved-text { flex: 1 1 0; min-width: 0; }
.bwiz-saved.is-fail .bwiz-saved-retry { flex-basis: auto; margin-left: 13px; }
.bwiz-saved.is-fail .bwiz-saved-dot { background: #E8A15C; margin-top: 6px; }
.bwiz-saved-retry { min-height: 44px; padding: 0 14px; border-radius: 10px; border: 1px solid var(--wz-gold); background: transparent; color: var(--wz-gold); font: 700 0.8rem var(--wz-sans); cursor: pointer; }
