/* Changenaire quiz element (Nov 23, 2026) — shared styles for the
   email-gated retention quiz. One quiz per piece, 5-10 questions, placed
   after the substance and before the newsletter box (the box stays last).
   Reuses the FAQ box treatment (white, 1px line border, 6px radius);
   radios take the lavender accent. No per-page inline styles. */
.cn-quiz { background: #fff; border: 1px solid var(--line); border-radius: 6px; padding: 28px 32px; margin: 32px 0; }
.cn-quiz .quiz-kicker { color: var(--ember-text); letter-spacing: 3px; font-size: 12px; text-transform: uppercase; font-weight: 800; margin-bottom: 8px; }
.cn-quiz h2 { margin-top: 0; }
.cn-quiz .quiz-intro { color: var(--muted); font-size: 17px; margin-bottom: 20px; }
.cn-quiz .cn-quiz-progress { font-size: 15px; color: var(--muted); margin: 0 0 16px; font-weight: 700; }
.cn-quiz-q { border: 1px solid var(--line); border-radius: 6px; padding: 20px 24px; margin: 0 0 16px; min-width: 0; }
.cn-quiz-q legend { font-weight: 800; font-size: 18px; padding: 0 6px; background: #fff; }
.cn-quiz-options label { display: block; padding: 9px 0; font-size: 17px; cursor: pointer; }
.cn-quiz-options input[type="radio"] { width: 18px; height: 18px; margin: 0 10px 0 0; vertical-align: -3px; accent-color: var(--ember); }
.cn-quiz-btn { display: inline-block; background: var(--ink); color: var(--paper); border: 0; border-radius: 6px; padding: 14px 28px; font-size: 17px; font-weight: 800; cursor: pointer; }
.cn-quiz-btn:hover { background: #242424; }
.cn-quiz-btn:disabled { opacity: .45; cursor: not-allowed; }
/* The gate form reuses the capture engine (.cn-cap + form.cn-capture);
   flatten the nested box so it reads as part of the quiz, not a box in a box. */
.cn-quiz .cn-cap { border: 0; padding: 0; background: transparent; margin: 0; }
.cn-quiz .cn-cap h3 { font-size: 20px; margin-bottom: 12px; }
.cn-quiz-score .quiz-score-num { font-size: 44px; font-weight: 800; color: var(--ember-text); line-height: 1.1; }
.cn-quiz-score .quiz-score-line { font-size: 18px; margin: 8px 0 20px; }
.cn-quiz-recap { list-style: none; margin: 0; padding: 0; }
.cn-quiz-recap li { border-top: 1px solid var(--line); padding: 14px 0; font-size: 16px; }
.cn-quiz-recap .quiz-mark { font-weight: 800; }
.cn-quiz-recap .quiz-mark.right { color: #1d7a3a; }
.cn-quiz-recap .quiz-mark.miss { color: #b3351f; }
.cn-quiz-recap .quiz-right { color: var(--muted); }
.cn-quiz [hidden] { display: none !important; }
@media (max-width: 640px) {
  .cn-quiz { padding: 20px; margin: 24px 0; }
  .cn-quiz-q { padding: 16px; }
  .cn-quiz-btn { width: 100%; }
}
