/* ============================================
   WEBSITE REQUEST — page-specific styles.
   Loaded alongside styles.css; reuses its :root
   tokens, .quiz__input/.quiz__check/.btn/.eyebrow
   etc. as-is. Only new/wizard-specific rules live
   here.
============================================ */

.wr {
  padding: 110px 24px 130px;
  background: var(--navy-950);
}
.wr__inner { max-width: 680px; margin: 0 auto; }

/* ---- Card shell (extends .quiz__card) ---- */
.wr__card {
  margin-top: 40px;
  background: var(--navy-800);
  border: 1px solid var(--navy-700);
  border-radius: 8px;
  padding: 40px;
}
@media (max-width: 560px) { .wr__card { padding: 28px 22px; } }

/* ---- Progress: 4 labeled fill segments ---- */
.wr__progress {
  display: flex;
  gap: 8px;
  margin-bottom: 8px;
}
.wr__progress__segment {
  flex: 1;
  height: 4px;
  border-radius: 999px;
  background: var(--navy-600);
  overflow: hidden;
}
.wr__progress__fill {
  display: block;
  height: 100%;
  width: 0%;
  background: var(--gold-500);
  border-radius: 999px;
  transition: width 0.3s ease;
}
.wr__progress__segment.is-done .wr__progress__fill { width: 100%; }
.wr__progress__labels {
  display: flex;
  justify-content: space-between;
  margin-bottom: 28px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--slate-500);
}
.wr__progress__labels span.is-active { color: var(--gold-400); }
.wr__progress__labels span.is-done { color: var(--slate-400); }

/* ---- Steps (same show/hide + fadeUp pattern as .quiz__step) ---- */
.wr__step { display: none; }
.wr__step.is-active { display: block; animation: fadeUp 0.35s ease; }

.wr__interstitial { text-align: center; padding: 20px 0; }
.wr__interstitial__copy {
  font-family: var(--font-display);
  font-size: 22px;
  line-height: 1.4;
  color: var(--ivory);
  max-width: 460px;
  margin: 0 auto 24px;
}

.wr__row { display: flex; gap: 12px; margin-top: 28px; }
.wr__row .btn { flex: 1; }
.wr__row--end { justify-content: flex-end; }
.wr__row--end .btn { flex: none; min-width: 220px; }
@media (max-width: 480px) { .wr__row--end .btn { min-width: 0; width: 100%; } }

/* ---- Choice card grid (big tappable single/multi-select) ---- */
.wr__choice-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}
.wr__choice-grid[data-cols="1"] { grid-template-columns: 1fr; }
@media (max-width: 560px) { .wr__choice-grid { grid-template-columns: 1fr; } }

.wr__choice-card {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 64px;
  padding: 16px 18px;
  background: var(--navy-900);
  border: 1px solid var(--navy-600);
  border-radius: 8px;
  cursor: pointer;
  font-size: 15px;
  color: var(--ivory-dim);
  transition: border-color 0.15s ease, background 0.15s ease, color 0.15s ease;
}
.wr__choice-card input { position: absolute; opacity: 0; width: 0; height: 0; }
.wr__choice-card:hover { border-color: var(--gold-500); }
.wr__choice-card:has(input:focus-visible) { outline: 2px solid var(--gold-300); outline-offset: 2px; }
.wr__choice-card:has(input:checked) {
  border-color: var(--gold-500);
  background: rgba(201, 169, 97, 0.08);
  color: var(--ivory);
}

/* ---- Chip / tag selector (word picker, max handled in JS) ---- */
.wr__chip-group { display: flex; flex-wrap: wrap; gap: 10px; }
.wr__chip {
  position: relative;
  display: inline-flex;
  align-items: center;
  padding: 8px 16px;
  border-radius: 999px;
  border: 1px solid var(--navy-600);
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--ivory-dim);
  cursor: pointer;
  transition: border-color 0.15s ease, background 0.15s ease, color 0.15s ease, opacity 0.15s ease;
}
.wr__chip input { position: absolute; opacity: 0; width: 0; height: 0; }
.wr__chip:hover { border-color: var(--gold-500); }
.wr__chip:has(input:focus-visible) { outline: 2px solid var(--gold-300); outline-offset: 2px; }
.wr__chip:has(input:checked) {
  border-color: var(--gold-500);
  background: rgba(201, 169, 97, 0.1);
  color: var(--gold-300);
}
.wr__chip.is-disabled { opacity: 0.35; pointer-events: none; }

/* ---- Summary strip (before final submit) ---- */
.wr__summary-strip {
  text-align: left;
  background: var(--navy-900);
  border: 1px solid var(--navy-700);
  border-radius: var(--radius);
  padding: 16px 18px;
  margin: 0 auto 8px;
  font-size: 14px;
  color: var(--slate-400);
  line-height: 1.7;
}
.wr__summary-strip strong { color: var(--ivory-dim); }

/* ---- Report ---- */
.wr__report { text-align: left; }
.wr__report__header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 28px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--navy-700);
}
.wr__report__mark { width: 36px; height: 36px; object-fit: contain; }
.wr__report__title { font-family: var(--font-display); font-size: 20px; color: var(--ivory); }
.wr__report__date { font-family: var(--font-mono); font-size: 12px; color: var(--slate-500); margin-top: 2px; }

.wr__report-card {
  border-radius: 8px;
  padding: 24px 26px;
  margin-bottom: 24px;
}
.wr__report-card--recommendation {
  background: linear-gradient(160deg, rgba(201, 169, 97, 0.14), rgba(201, 169, 97, 0.03));
  border: 1px solid rgba(201, 169, 97, 0.35);
}
.wr__report__recommendation {
  font-family: var(--font-display);
  font-size: 19px;
  color: var(--ivory);
  margin-top: 8px;
  line-height: 1.5;
}

.wr__report-section { margin-bottom: 24px; }
.wr__report-section__title {
  font-family: var(--font-display);
  font-size: 16px;
  color: var(--gold-400);
  margin-bottom: 8px;
}
.wr__report-section p { color: var(--ivory-dim); line-height: 1.7; font-size: 15px; }

.wr__report__actions { display: flex; gap: 12px; margin-top: 8px; flex-wrap: wrap; }
.wr__report__actions .btn { flex: 1; min-width: 200px; }
.wr__report__book-url { display: none; }

@media print {
  .nav, .footer, .wr__progress, .wr__progress__labels, .eyebrow, .section-sub,
  .wr__report__actions, #wrPrintBtn { display: none !important; }
  body, .wr { background: #fff !important; }
  .wr { padding: 0; }
  .wr__card { border: none; padding: 0; margin-top: 0; background: #fff; }
  .wr__report-section p, .wr__report__recommendation, .wr__report-section__title,
  .wr__report__title, .wr__report__date, .section-title { color: #111 !important; }
  .wr__report-card--recommendation { background: #f4f1e9 !important; border-color: #c9a961 !important; -webkit-print-color-adjust: exact; print-color-adjust: exact; }
  .wr__report-card { break-inside: avoid; }
  .wr__report__book-url { display: block; margin-top: 20px; font-family: var(--font-mono); font-size: 13px; color: #333 !important; }
}
