.quiz-section .quiz-shell { max-width: 48rem; color: #172f3b; margin-block-start: 1.5rem; }
.quiz-shell [hidden] { display: none !important; }
.quiz-shell fieldset { border: 0; padding: 0; margin: 0; min-inline-size: 0; }
.quiz-shell legend, .quiz-shell h3 { font: 600 clamp(1.25rem, 3vw, 1.8rem)/1.25 Georgia, serif; color: #172f3b; }
.quiz-shell .quiz-progress { color: #49616c; font-weight: 600; }
.quiz-options { display: grid; gap: .45rem; margin-block: 1rem; }
.quiz-options label { display: flex; align-items: center; gap: .75rem; padding: .75rem 1rem; min-height: 44px; border: 1px solid #82969e; background: white; border-radius: 3px; cursor: pointer; }
.quiz-options label:has(:checked) { border-color: #172f3b; background: #e7eef0; box-shadow: inset 3px 0 #172f3b; }
.quiz-options input { appearance: auto; margin: 0; flex: none; width: 1.1rem; height: 1.1rem; accent-color: #172f3b; }
.quiz-shell .quiz-actions { display: flex; flex-wrap: wrap; gap: .75rem; align-items: center; margin-top: 1rem; }
.quiz-shell button, .quiz-shell a[data-draft] { font: inherit; font-weight: 600; cursor: pointer; padding: .8rem 1.2rem; min-height: 44px; border: 1px solid #172f3b; border-radius: 3px; color: white; background: #172f3b; text-decoration: none; }
.quiz-shell button[data-back], .quiz-shell button[data-reset] { background: white; color: #172f3b; }
.quiz-shell button:hover, .quiz-shell a[data-draft]:hover { box-shadow: inset 0 -3px #b52429; }
.quiz-shell :focus-visible { outline: 3px solid #b52429; outline-offset: 3px; }
.quiz-shell .quiz-error { margin: .5rem 0; color: #9a1622; font-weight: 600; }
.quiz-shell .quiz-error:empty { margin: 0; }
.quiz-result ol { padding-inline-start: 1.5rem; }
.quiz-result li { margin-block: .8rem; }
