/* Local preview only. Keep shared website and landingpage styles unchanged. */
.quiz-hero h1 { max-width: 18ch; }
.quiz-hero .lead { max-width: 43rem; }
.quiz-section { background: var(--paper); }
.quiz-layout { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(2rem, 5vw, 5rem); align-items: start; }
.quiz-layout > * { min-width: 0; }
.quiz-aside h2 { font-size: clamp(2rem, 3vw, 2.8rem); }
.quiz-facts { padding-left: 1.2rem; margin-block: 1.8rem; }
.quiz-facts li::marker { color: var(--accent-strong); }
.quiz-small { font-size: .88rem; line-height: 1.65; margin-top: 1.5rem; }
.quiz-panel { padding: clamp(1.25rem, 3vw, 2.75rem); background: var(--pale); border: 1px solid var(--border); border-radius: 28px; }
.quiz-panel [hidden] { display: none !important; }
.quiz-panel h2 { font-size: clamp(1.8rem, 3vw, 2.5rem); }
.quiz-panel button { white-space: normal; }
.quiz-panel progress { display: block; width: 100%; height: .45rem; margin: -.5rem 0 2rem; border: 0; border-radius: 1rem; overflow: hidden; background: var(--border); color: var(--accent-strong); accent-color: var(--accent-strong); }
.quiz-panel progress::-webkit-progress-bar { background: var(--border); }
.quiz-panel progress::-webkit-progress-value { background: var(--accent-strong); }
.quiz-panel progress::-moz-progress-bar { background: var(--accent-strong); }
.quiz-panel fieldset { min-width: 0; border: 0; padding: 0; margin: 0; }
.quiz-panel legend { width: 100%; margin-bottom: 1.5rem; color: var(--ink); font: 600 clamp(1.35rem, 2.5vw, 1.85rem)/1.35 var(--display); letter-spacing: -.02em; }
.quiz-options { display: grid; gap: .7rem; }
.quiz-option { display: flex; align-items: flex-start; gap: .9rem; min-height: 58px; padding: 1rem 1.1rem; border: 1px solid var(--accent-strong); border-radius: 15px; background: var(--paper); color: var(--ink); cursor: pointer; line-height: 1.55; }
.quiz-option:hover { background: #f5fcfc; }
.quiz-option:has(input:checked) { background: var(--border); box-shadow: inset 0 0 0 1px var(--accent-strong); }
.quiz-option:focus-within { outline: 3px solid var(--action); outline-offset: 3px; }
.quiz-option input { flex: 0 0 auto; width: 1.2rem; height: 1.2rem; margin: .2rem 0 0; accent-color: var(--action); }
.quiz-actions { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; margin-top: 1.7rem; }
.quiz-actions .button { min-width: 7rem; }
.quiz-error { margin: 1rem 0 0; font-weight: 600; color: #822f27; }
.quiz-error:empty { display: none; }
.quiz-summary { margin-block: 2rem; }
.quiz-summary dt { color: var(--ink); font-weight: 650; padding-top: 1rem; border-top: 1px solid var(--accent-strong); }
.quiz-summary dd { margin: .25rem 0 1rem; }
.quiz-next { padding-top: 1rem; }
.quiz-next h3 { font-size: 1.4rem; }
.quiz-panel :focus { scroll-margin-top: 9rem; }
@media (max-width: 900px) { .quiz-layout { grid-template-columns: 1fr; } .quiz-aside { max-width: 42rem; } }
@media (max-width: 480px) { .quiz-panel { border-radius: 20px; } .quiz-actions { flex-direction: column; } .quiz-actions .button { width: 100%; } .quiz-hero h1 { font-size: 2.2rem; } }

