.quiz-page { padding: 20px 0 40px; }
.quiz-page .quiz-breadcrumbs { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 18px; font-size: 12px; color: #56625c; }
.quiz-page h1 { margin: 0 0 24px; font-size: 22px; line-height: 1.45; letter-spacing: 0; }
.quiz-page h2 { margin: 0 0 12px; font-size: 19px; line-height: 1.5; }
.quiz-page h3 { font-size: 16px; }
#quiz-app { min-width: 0; }
#quiz-app p { line-height: 1.75; overflow-wrap: anywhere; }
#quiz-app button { appearance: none; display: inline-flex; justify-content: center; align-items: center; min-height: 44px; padding: 10px 16px; border: 1px solid #b9c8bf; border-radius: 6px; background: #fff; color: #253b30; font: inherit; font-size: 14px; font-weight: 600; line-height: 1.5; cursor: pointer; }
#quiz-app button:disabled { cursor: not-allowed; background: #f0f2f1; color: #68736d; border-color: #d9dfdb; }
#quiz-app .quiz-primary { background: #176449; border-color: #176449; color: #fff; }
#quiz-app .quiz-primary:disabled { background: #e3e8e5; color: #56635c; border-color: #c6d0ca; }
.quiz-page :is(button, input, a, summary):focus-visible { outline: 3px solid #176449; outline-offset: 4px; }
.quiz-page [data-focus]:focus { outline: none; }
.quiz-actions { display: flex; flex-wrap: wrap; gap: 10px; margin: 20px 0 12px; }
.quiz-return-link { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 10px 14px; border: 1px solid #b9c8bf; border-radius: 6px; color: #253b30; font-size: 14px; font-weight: 600; text-decoration: none; }
.quiz-return-link:focus-visible { outline: 3px solid #176449; outline-offset: 4px; }
.quiz-facts { margin: 0; font-size: 14px; color: #56635c; }
.quiz-facts span { padding: 0 4px; }
.quiz-intro .quiz-actions { max-width: 420px; }
.quiz-intro .quiz-actions button { flex: 1 1 160px; min-height: 48px; }
.quiz-storage { margin-top: 16px; font-size: 12px; color: #56635c; }
.quiz-storage summary { cursor: pointer; padding: 12px 0; }
.quiz-resume { padding: 12px 0; border-top: 1px solid #dce5df; }
.quiz-page .quiz-small { font-size: 12px; line-height: 1.7; color: #56635c; }
#quiz-app .quiz-text-button { border: 0; background: transparent; text-decoration: underline; text-underline-offset: 4px; padding: 10px 0; font-size: 13px; }
.quiz-progress { display: flex; justify-content: space-between; gap: 12px; font-size: 13px; font-weight: 600; margin-bottom: 10px; }
.quiz-page progress { display: block; appearance: none; border: 0; width: 100%; height: 6px; border-radius: 3px; overflow: hidden; background: #e3eae6; margin: 0 0 24px; accent-color: #176449; }
.quiz-page progress::-webkit-progress-bar { background: #e3eae6; }
.quiz-page progress::-webkit-progress-value { background: #176449; }
.quiz-page progress::-moz-progress-bar { background: #176449; }
.quiz-page fieldset { border: 0; padding: 0; margin: 0; min-width: 0; }
.quiz-page legend { display: block; width: 100%; padding: 0; margin-bottom: 20px; font-size: 17px; line-height: 1.85; font-weight: 600; overflow-wrap: anywhere; }
.quiz-options { display: grid; gap: 10px; }
.quiz-option { display: grid; grid-template-columns: 20px 20px minmax(0, 1fr); align-items: start; gap: 8px; min-height: 56px; padding: 14px 12px; border: 1px solid #cbd6cf; border-radius: 6px; background: #fff; cursor: pointer; font-size: 15px; line-height: 1.65; overflow-wrap: anywhere; }
.quiz-option input { width: 18px; height: 18px; margin: 4px 0 0; accent-color: #176449; }
.quiz-option:has(input:checked) { background: #edf7f0; border-color: #176449; box-shadow: inset 3px 0 #176449; }
.quiz-option:has(input:focus-visible) { outline: 3px solid #176449; outline-offset: 3px; }
.quiz-option-number { color: #66736b; font-size: 13px; line-height: 1.9; }
.quiz-navigation { justify-content: space-between; }
.quiz-next-only { justify-content: flex-end; }
.quiz-navigation button { min-width: 96px; }
.quiz-answer-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 8px; margin: 20px 0; }
#quiz-app .quiz-answer-grid button { min-width: 0; flex-direction: column; padding: 8px 2px; min-height: 62px; }
.quiz-answer-grid small { font-size: 10px; font-weight: 400; }
#quiz-app .quiz-answer-grid .is-answered { border-color: #60977a; background: #edf7f0; }
.quiz-score { display: flex; align-items: baseline; gap: 10px; font-size: 23px; margin: 8px 0; }
.quiz-score strong { font-size: 40px; color: #176449; line-height: 1.3; }
.quiz-score span { font-size: 14px; }
.quiz-domain-results { margin: 20px 0; border-top: 1px solid #dce5df; }
.quiz-domain-results > div { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; border-bottom: 1px solid #dce5df; padding: 10px 0; font-size: 13px; }
.quiz-domain-results strong { white-space: nowrap; }
.quiz-review-heading { margin: 28px 0 12px; }
.quiz-result { margin: 10px 0; border: 1px solid #ccd7d0; border-radius: 6px; background: #fff; overflow: hidden; }
.quiz-result summary { cursor: pointer; min-height: 48px; padding: 14px 12px; font-size: 13px; line-height: 1.7; }
.quiz-result-status { font-weight: 700; margin-right: 8px; }
.quiz-result-status.correct { color: #176449; }
.quiz-result-status.incorrect { color: #9c3429; }
.quiz-result-body { padding: 0 14px 16px; font-size: 14px; }
.quiz-result-body p { margin: 12px 0; }
.quiz-result-prompt { font-weight: 600; }
.quiz-answer-line, .quiz-correct-answer, .quiz-explanation { padding: 10px 12px; border-radius: 4px; }
.quiz-answer-line { background: #f7f7f5; color: #3d3936; border-left: 3px solid #a2968f; }
.quiz-answer-line.is-correct { background: #f1f8f3; color: #145439; }
.quiz-correct-answer { background: #f1f8f3; color: #145439; font-weight: 700; }
.quiz-answer-line span, .quiz-correct-answer span, .quiz-explanation span { display: block; margin-bottom: 4px; font-size: 12px; font-weight: 700; color: #56635c; }
.quiz-explanation { background: #f6f8f7; }
.quiz-feedback { margin: 8px 0 20px; padding: 16px; border: 1px solid #ccd7d0; border-radius: 6px; background: #fff; }
.quiz-feedback.is-correct { border-color: #60977a; background: #f1f8f3; }
.quiz-feedback.is-incorrect { border-color: #d8d4cf; background: #f7f7f5; }
.quiz-feedback-status { margin: 0 0 12px; font-size: 18px; font-weight: 700; color: #176449; }
.quiz-feedback.is-incorrect .quiz-feedback-status { color: #5c4d48; }
.quiz-feedback p { margin: 10px 0; }
.quiz-feedback-question { border: 0; padding: 0; margin: 0; min-width: 0; }
.quiz-feedback-question legend { margin-bottom: 20px; }
.quiz-options-feedback .quiz-option { cursor: default; }
.quiz-options-feedback .quiz-option.is-correct-choice { border-color: #60977a; background: #f1f8f3; }
.quiz-options-feedback .quiz-option.is-wrong-choice { border-color: #a2968f; background: #f7f7f5; }
.quiz-options-feedback .quiz-option { grid-template-columns: 20px 20px minmax(0, 1fr) auto; }
.quiz-options-feedback .quiz-option-mark { color: #176449; font-size: 13px; white-space: nowrap; }
.quiz-options-feedback .is-wrong-choice .quiz-option-mark { color: #5c4d48; }
.quiz-page .quiz-notice { font-size: 13px; color: #754118; line-height: 1.7; }
.quiz-notice:empty { display: none; }
.quiz-disclaimer { margin-top: 28px; padding-top: 16px; border-top: 1px solid #dce5df; font-size: 12px; color: #56635c; line-height: 1.8; }
.quiz-disclaimer p { margin: 0 0 8px; }
.quiz-disclaimer summary { cursor: pointer; min-height: 44px; display: list-item; align-content: center; }
.quiz-disclaimer + a { display: inline-flex; align-items: center; min-height: 44px; font-size: 14px; }
@media (hover: hover) {
  #quiz-app button:not(:disabled):hover { border-color: #176449; background: #edf7f0; color: #145439; }
  #quiz-app .quiz-primary:not(:disabled):hover { background: #104d37; color: #fff; }
  .quiz-return-link:hover { border-color: #176449; background: #edf7f0; color: #145439; }
  .quiz-option:hover { border-color: #639c7f; }
}
@media (min-width: 600px) {
  .quiz-page { padding-top: 28px; }
  .quiz-page h1 { font-size: 26px; }
  .quiz-page legend { font-size: 18px; }
  .quiz-answer-grid { grid-template-columns: repeat(10, minmax(0, 1fr)); }
}
