/* Pre-screen quiz — guided flow */
.quiz-shell { max-width: 42rem; margin: 0 auto; padding: 2.5rem 1.25rem 5rem; }

.q-progress { height: 6px; background: var(--line); border-radius: 999px; overflow: hidden; margin-bottom: 2rem; }
.q-progress .bar { height: 100%; width: 0%; background: linear-gradient(90deg, var(--teal), var(--amber)); border-radius: 999px; transition: width 0.3s ease; }
.q-meta { display: flex; justify-content: space-between; font-family: var(--display); font-size: 0.85rem; color: var(--ink-faint); margin-bottom: 0.6rem; }

.q-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
  padding: 2.2rem 2.2rem 2rem;
}
@media (max-width: 560px) { .q-card { padding: 1.5rem 1.2rem 1.4rem; } }

.q-card h2 { font-size: clamp(1.3rem, 3.4vw, 1.7rem); min-height: 3.2em; display: flex; align-items: center; }
.q-help { color: var(--ink-faint); font-size: 0.9rem; margin: 0 0 1.4rem; }

.q-options { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0.7rem; }
@media (max-width: 560px) { .q-options { grid-template-columns: repeat(2, 1fr); } }
.q-options input[type="radio"] { position: absolute; opacity: 0; }
.q-options label {
  display: block;
  text-align: center;
  border: 1.5px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 1rem 0.5rem 0.85rem;
  cursor: pointer;
  font-family: var(--display);
  font-weight: 600;
  font-size: 0.98rem;
  background: var(--paper);
  transition: border-color 0.12s ease, background 0.12s ease, transform 0.12s ease;
  user-select: none;
}
.q-options label small { display: block; font-family: var(--body); font-weight: 400; font-size: 0.75rem; color: var(--ink-faint); margin-top: 0.15rem; }
.q-options label:hover { border-color: var(--teal); transform: translateY(-1px); }
.q-options input[type="radio"]:checked + label { border-color: var(--teal); background: var(--teal-tint); box-shadow: 0 0 0 1px var(--teal); }
.q-options input[type="radio"]:focus-visible + label { outline: 3px solid var(--amber); outline-offset: 2px; }

.q-nav { display: flex; justify-content: space-between; align-items: center; margin-top: 1.8rem; }
.q-nav .back { background: none; border: none; color: var(--ink-faint); font-family: var(--display); font-weight: 600; cursor: pointer; font-size: 0.92rem; padding: 0.4rem 0.6rem; }
.q-nav .back:hover { color: var(--teal-deep); }
.q-nav .back[disabled] { visibility: hidden; }

.q-intro h1 { font-size: clamp(1.9rem, 5vw, 2.6rem); }
.q-intro .facts { display: flex; gap: 1.6rem; flex-wrap: wrap; margin: 1.4rem 0 1.8rem; }
.q-intro .facts span { font-size: 0.9rem; color: var(--ink-soft); display: flex; align-items: center; gap: 0.45rem; }
.q-intro .facts svg { width: 1.05rem; height: 1.05rem; color: var(--teal); flex: none; }

/* results */
.score-dial { text-align: center; margin: 0.6rem 0 1.4rem; }
.score-dial .num { font-family: var(--display); font-weight: 700; font-size: 4.2rem; line-height: 1; }
.score-dial .outof { color: var(--ink-faint); font-size: 0.95rem; }
.score-band { border-radius: var(--radius-sm); padding: 1.1rem 1.3rem; margin: 1.2rem 0 1.6rem; font-size: 1rem; }
.score-band.low { background: #e8f3ec; color: #185c3c; }
.score-band.mid { background: var(--amber-tint); color: var(--amber-deep); }
.score-band.high { background: #fbe9e2; color: #96341c; }
.score-band strong { font-family: var(--display); display: block; font-size: 1.15rem; margin-bottom: 0.25rem; }
.result-ctas { display: flex; flex-direction: column; gap: 0.8rem; }
.result-ctas .btn { justify-content: center; }
.result-note { font-size: 0.85rem; color: var(--ink-faint); margin-top: 1.2rem; text-align: center; }

.quiz-shell .fine { font-size: 0.82rem; color: var(--ink-faint); margin-top: 1.6rem; }
