:root {
  color-scheme: light;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  font-size: 16px;
  color: #192b2a;
  background: #f6f7f5;
  font-synthesis: none;
}
* { box-sizing: border-box; }
body { margin: 0; }
button, input { font: inherit; }
button { cursor: pointer; }
button:disabled { cursor: not-allowed; opacity: .46; }
:focus-visible { outline: 3px solid #137a6c; outline-offset: 3px; }
[hidden] { display: none !important; }
.skip-link { position: absolute; left: -9999px; top: 8px; padding: 12px; background: #fff; z-index: 2; }
.skip-link:focus { left: 8px; }
.shell { max-width: 940px; margin: 0 auto; padding: 0 32px; }
.header { display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 90px; border-bottom: 1px solid #dfe5e1; }
.brand { display: flex; gap: 12px; align-items: center; font-size: 17px; font-weight: 700; line-height: 1.15; }
.brand small { display: block; margin-top: 5px; font-size: 12px; font-weight: 500; color: #536563; }
.brand-mark { display: grid; place-items: center; width: 36px; height: 36px; flex: none; border-radius: 10px; color: #fff; background: #156658; font-size: 18px; }
.header-note, .muted { color: #536563; }
.header-note { font-size: 13px; text-align: right; }
.intro { margin: 49px 0 32px; }
.eyebrow { margin: 0 0 11px; color: #146c5d; font-size: 12px; font-weight: 700; letter-spacing: .09em; text-transform: uppercase; }
h1, h2, h3, p { overflow-wrap: anywhere; }
h1 { font-size: clamp(29px, 5vw, 43px); font-weight: 700; line-height: 1.15; letter-spacing: -.035em; margin: 0 0 12px; }
.lead { color: #465956; line-height: 1.55; margin: 0; }
.notice { padding: 20px; background: #fff; border: 1px solid #dfe5e1; border-radius: 12px; }
.mode-switch { display: flex; width: fit-content; padding: 4px; gap: 4px; border-radius: 11px; background: #e9eeea; }
.mode { min-height: 44px; border: 0; border-radius: 8px; padding: 0 18px; color: #435651; background: transparent; font-weight: 600; }
.mode:hover:not(.active) { background: #dae4dd; }
.mode.active { color: #16453e; background: #fff; box-shadow: 0 1px 4px #13352a18; }
.section-heading { display: flex; justify-content: space-between; align-items: end; gap: 16px; margin: 37px 0 17px; }
h2 { margin: 0; font-size: 25px; letter-spacing: -.025em; }
.section-heading .muted { margin: 0 0 3px; font-size: 13px; }
.toolbar { display: flex; align-items: end; justify-content: space-between; gap: 24px; padding: 17px 20px; margin-bottom: 15px; border: 1px solid #dfe5e1; border-radius: 12px; background: #fff; }
.jump-form label, .start-form label { display: block; margin-bottom: 8px; font-size: 13px; font-weight: 650; }
.jump-row, .start-row { display: flex; gap: 8px; }
input[type=number] { width: 85px; min-height: 44px; padding: 0 10px; color: #192b2a; background: #fff; border: 1px solid #b9c9c2; border-radius: 8px; }
.toolbar-hint { max-width: 315px; color: #536563; font-size: 13px; line-height: 1.45; margin: 0 0 3px; }
.surface, .question-card { border: 1px solid #dfe5e1; border-radius: 15px; background: #fff; box-shadow: 0 2px 16px #103d2510; }
.question-card { padding: 26px; }
.question-count { color: #146c5d; font-weight: 700; font-size: 13px; }
.question-title { margin: 14px 0 25px; font-size: clamp(18px, 2.8vw, 21px); line-height: 1.5; font-weight: 650; }
.answers { display: grid; gap: 9px; }
.answer { display: flex; align-items: flex-start; gap: 13px; width: 100%; min-height: 54px; text-align: left; padding: 13px 14px; border: 1px solid #dce4de; border-radius: 10px; background: #fff; color: #192b2a; line-height: 1.45; transition: border-color .18s, background-color .18s; }
.answer:hover:not(:disabled) { border-color: #679e8c; background: #f4faf6; }
.answer .letter { flex: none; display: grid; place-items: center; width: 26px; height: 26px; border-radius: 6px; background: #edf3ef; color: #326052; font-size: 13px; font-weight: 700; }
.answer .answer-text { flex: 1; padding-top: 2px; }
.answer .answer-note { margin-left: auto; padding: 3px 0; font-size: 12px; font-weight: 700; white-space: nowrap; }
.answer.selected { border-color: #397b6a; background: #edf6f0; }
.answer.correct { border-color: #2f8469; background: #e9f6ee; }
.answer.incorrect { border-color: #ae655e; background: #fbefec; }
.answer:disabled { cursor: default; opacity: 1; }
.feedback { margin: 19px 0 0; font-size: 14px; font-weight: 650; }
.feedback.good { color: #176347; }
.feedback.bad { color: #9a403a; }
.controls { display: flex; justify-content: space-between; gap: 10px; margin: 18px 0 42px; }
.button { display: inline-flex; justify-content: center; align-items: center; min-height: 44px; padding: 9px 16px; border-radius: 9px; font-weight: 650; text-align: center; transition: background-color .18s, border-color .18s; }
.button.primary { color: #fff; border: 1px solid #156658; background: #156658; }
.button.primary:hover:not(:disabled) { background: #0e4f43; }
.button.secondary { color: #214e42; border: 1px solid #c9d7ce; background: #fff; }
.button.secondary:hover:not(:disabled) { background: #eaf1ec; }
.setup { padding: 27px; }
.setup h3 { margin: 0 0 9px; font-size: 21px; }
.setup .muted { line-height: 1.5; margin: 0 0 25px; }
.start-row input { width: 94px; }
.test-meta { display: flex; justify-content: space-between; gap: 12px; margin: 0 0 13px; font-size: 13px; font-weight: 650; color: #536563; }
.test-controls { justify-content: flex-start; flex-wrap: wrap; }
.test-controls #test-finish { margin-left: auto; }
.result-head { padding: 27px; }
.result-head h3 { font-size: clamp(27px, 5vw, 35px); margin: 0 0 8px; }
.result-head .muted { margin: 0 0 22px; }
.review-heading { margin: 30px 0 16px; font-size: 20px; }
.review-list { display: grid; gap: 12px; margin-bottom: 44px; }
.review-item { padding: 19px; }
.review-item h4 { font-size: 15px; line-height: 1.45; margin: 12px 0 10px; }
.review-item p { margin: 5px 0; line-height: 1.5; font-size: 14px; }
.review-item .picked { color: #9a403a; }
.review-item .right { color: #176347; }
footer { margin: 46px 0 26px; color: #536563; border-top: 1px solid #dfe5e1; padding-top: 18px; font-size: 12px; line-height: 1.6; }
@media (max-width: 650px) {
  .shell { padding: 0 16px; }
  .header { min-height: 74px; }
  .header-note { display: none; }
  .intro { margin: 34px 0 26px; }
  .mode-switch { display: flex; width: 100%; }
  .mode { flex: 1; padding: 0 9px; }
  .section-heading { align-items: start; flex-direction: column; gap: 7px; margin: 29px 0 15px; }
  .toolbar { align-items: start; flex-direction: column; gap: 12px; padding: 16px; }
  .toolbar-hint { max-width: none; }
  .question-card { padding: 19px 15px; }
  .answer { gap: 10px; padding: 12px 10px; }
  .answer .answer-note { white-space: normal; text-align: right; }
  .controls .button { padding: 9px 11px; }
  .setup, .result-head { padding: 20px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: 0s !important; scroll-behavior: auto !important; }
}
