.lab-quiz { width: min(100%, 880px); margin-inline: auto; color: #18231f; }
.quiz-heading { margin-bottom: 26px; }
.quiz-heading h1 { margin: 8px 0; font-size: clamp(32px, 4vw, 48px); }
.quiz-heading p, .quiz-result-copy { color: #526158; line-height: 1.7; }
.quiz-kicker { font: 700 12px/1.4 Consolas, monospace; letter-spacing: .15em; color: #4c6b39; }
.quiz-panel { border: 1px solid #dce1d9; border-radius: 19px; background: white; overflow: hidden; }
.quiz-progress { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 18px clamp(18px, 4vw, 38px); background: #f0f4eb; border-bottom: 1px solid #dce1d9; font-size: 14px; color: #435447; }
.quiz-progress div { display: flex; gap: 5px; }
.quiz-progress i { height: 5px; width: clamp(13px, 3vw, 35px); border-radius: 5px; background: #d7dfd4; }
.quiz-progress .now { background: #5b8a37; }
.quiz-progress .done { background: #9bcf72; }
.quiz-question, .quiz-result { padding: clamp(20px, 4vw, 38px); }
.quiz-scenario { display: inline-flex; align-items: center; padding: 5px 10px; border-radius: 6px; color: #46683c; background: #eef6e6; font-weight: 700; font-size: 13px; }
.quiz-context { margin: 16px 0 8px; line-height: 1.75; color: #526158; }
.quiz-prompt { font-size: clamp(21px, 3vw, 29px); line-height: 1.5; letter-spacing: -.02em; margin: 0 0 20px; }
.quiz-options { padding: 0; margin: 0; list-style: none; display: grid; gap: 10px; }
.quiz-option { font: inherit; color: inherit; display: flex; align-items: center; gap: 13px; width: 100%; padding: 13px 15px; border: 1px solid #d9dfd7; border-radius: 9px; background: #fff; text-align: left; cursor: pointer; line-height: 1.55; }
.quiz-option:enabled:hover { border-color: #8aa66f; background: #f6faef; }
.quiz-option:disabled { opacity: 1; cursor: default; }
.quiz-letter { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 6px; background: #f0f3ee; flex-shrink: 0; font: 600 15px/1 Consolas, monospace; }
.quiz-option.correct { border-color: #81a760; background: #f2f9e9; }
.quiz-option.correct .quiz-letter { background: #c5f66e; }
.quiz-option.wrong { border-color: #c09d8a; background: #fff5ee; }
.quiz-option.wrong .quiz-letter { background: #f3d2bc; }
.quiz-option small { margin-left: auto; flex-shrink: 0; color: #465740; font-size: 12px; }
.quiz-explanation { border-left: 3px solid #9085ba; background: #f5f3fa; padding: 16px 18px; margin-top: 20px; border-radius: 0 7px 7px 0; }
.quiz-explanation p, .quiz-review-list p { margin: 5px 0; line-height: 1.7; }
.quiz-explanation small { display: block; margin-top: 8px; color: #62626a; }
.quiz-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 13px; margin-top: 18px; }
.quiz-result h2 { margin-top: 15px; }
.quiz-score { margin: 25px 0 15px; }
.quiz-score strong { font: 700 70px/1 Consolas, monospace; letter-spacing: -.08em; }
.quiz-score span { font-size: 19px; }
.quiz-compare { color: #365036; font-weight: 650; text-decoration: underline; text-underline-offset: 3px; }
.quiz-review-list { border-top: 1px solid #dce1d9; margin-top: 25px; }
.quiz-review-list h3 { margin: 22px 0 12px; }
.quiz-review-list article { padding: 16px 0; border-bottom: 1px solid #e7ebe3; }
.quiz-review-list article:last-child { border: 0; padding-bottom: 0; }
.quiz-review-list h4 { margin: 12px 0 8px; font-size: 17px; }
.lab-quiz :focus-visible { outline: 3px solid #6f63a4; outline-offset: 2px; }
@media(max-width: 480px) {
  .quiz-option { display: grid; grid-template-columns: 26px 1fr; padding: 12px; gap: 7px 10px; }
  .quiz-letter { width: 26px; height: 26px; }
  .quiz-option small { grid-column: 2; margin: 0; }
}
