:root {
  color-scheme: light;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: #183d37;
  background: #f6f5ef;
  font-synthesis: none;
  line-height: 1.6;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
body { margin: 0; min-width: 280px; }
.site-header { max-width: 1000px; margin: 0 auto; padding: 26px 28px; display: flex; align-items: center; gap: 12px; font-size: .9rem; font-weight: 650; }
.mark { background: #183d37; color: white; border-radius: 12px; padding: 8px 10px; font-size: .75rem; letter-spacing: .06em; }
.header-level { color: #5c6a65; margin-left: 6px; }
main { max-width: 790px; margin: 26px auto 0; padding: 0 22px; }
.level-nav { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 18px; }
.level-nav a { padding: 8px 13px; border: 1px solid #cad5ce; border-radius: 24px; color: #183d37; text-decoration: none; font-size: .82rem; font-weight: 650; }
.level-nav a:hover { background: #e8eee3; }
.level-nav a[aria-current="page"] { background: #183d37; color: white; border-color: #183d37; }
.card { background: #fff; border: 1px solid #e0e4dc; border-radius: 24px; padding: clamp(24px, 5vw, 48px); box-shadow: 0 12px 36px #183d3706; }
.eyebrow { color: #516c61; font-size: .73rem; letter-spacing: .13em; font-weight: 750; margin: 0 0 20px; }
h1 { font-size: clamp(2.7rem, 8vw, 4.8rem); line-height: 1.05; letter-spacing: -.055em; margin: 0 0 26px; }
.accent { color: #36775b; }
.lead { font-size: 1.14rem; color: #4a5d55; max-width: 540px; }
.facts { display: flex; flex-wrap: wrap; gap: 8px; padding: 0; list-style: none; margin: 26px 0; }
.facts li, .pill { border-radius: 30px; background: #eef3ec; color: #42604c; font-size: .8rem; padding: 6px 12px; font-weight: 600; }
.instructions { border-top: 1px solid #e6e9e1; padding-top: 22px; margin-bottom: 28px; }
.instructions p { margin: 6px 0 0; color: #4a5d55; }
.button { font: inherit; font-weight: 650; padding: 13px 21px; border: 1px solid transparent; border-radius: 12px; cursor: pointer; min-height: 50px; }
.primary { background: #183d37; color: white; }
.primary:hover:not(:disabled) { background: #29574b; }
.secondary { background: #fff; color: #183d37; border-color: #cad5ce; }
.secondary:hover:not(:disabled) { background: #f3f6f0; }
.button:disabled { background: #eceeea; color: #626d66; cursor: not-allowed; }
:focus-visible { outline: 3px solid #be7100; outline-offset: 4px; }
h1:focus, h2:focus { outline: none; }
.small { color: #637169; font-size: .8rem; margin: 20px 0 0; }
.quiz-top { display: flex; align-items: center; justify-content: space-between; gap: 14px; }
.quiz-top .eyebrow { margin: 0; }
progress { width: 100%; height: 7px; border: 0; border-radius: 10px; overflow: hidden; background: #e9eee7; display: block; margin: 22px 0 28px; accent-color: #36775b; }
progress::-webkit-progress-bar { background: #e9eee7; }
progress::-webkit-progress-value { background: #36775b; border-radius: 10px; }
progress::-moz-progress-bar { background: #36775b; }
.topic { color: #637169; font-size: .85rem; margin-bottom: 8px; }
h2 { font-size: clamp(1.3rem, 4vw, 1.65rem); line-height: 1.4; margin: 0 0 25px; letter-spacing: -.025em; }
fieldset { border: 0; padding: 0; margin: 0; min-width: 0; }
.choice { display: flex; align-items: center; gap: 14px; border: 2px solid #e3e8df; border-radius: 14px; padding: 16px; margin-bottom: 12px; cursor: pointer; }
.choice:hover { border-color: #91b29a; background: #f8faf6; }
.choice:has(input:checked) { border-color: #36775b; background: #eef5ec; }
.choice:focus-within { outline: 3px solid #be7100; outline-offset: 2px; }
.choice input { accent-color: #36775b; width: 19px; height: 19px; flex-shrink: 0; margin: 0; }
.choice input:focus-visible { outline: 0; }
.navigation { display: flex; justify-content: space-between; gap: 12px; margin-top: 28px; }
.navigation .primary { margin-left: auto; }
.result-summary h1 { font-size: 2.7rem; margin-bottom: 12px; }
.score { margin: 0; font-size: 5.2rem; font-weight: 750; line-height: 1.2; letter-spacing: -.06em; }
.score-total { font-size: 2rem; color: #637169; letter-spacing: -.04em; }
.result-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 15px; }
.result-actions a { display: inline-flex; align-items: center; text-decoration: none; }
.correction-title { margin: 34px 0 18px; }
.correction { border: 1px solid #e0e4dc; background: white; padding: 24px; border-radius: 18px; margin-bottom: 14px; }
.correction h3 { font-size: 1.05rem; line-height: 1.5; margin: 12px 0; }
.status { font-size: .78rem; font-weight: 750; border-radius: 30px; padding: 5px 10px; display: inline-block; }
.correct { color: #285c36; background: #edf5e8; }
.incorrect { color: #8a3f20; background: #fff0e5; }
.correction p { margin: 10px 0 0; }
.explanation { color: #516359; }
footer { text-align: center; color: #637169; font-size: .78rem; padding: 32px 18px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
@media (max-width: 480px) {
  .site-header { padding: 18px 20px; }
  main { margin-top: 8px; padding: 0 14px; }
  .card { border-radius: 18px; }
  .quiz-top { flex-wrap: wrap; }
  .button { padding: 12px 15px; font-size: .9rem; }
  .choice { padding: 14px 12px; }
}
.input-help { margin: -10px 0 22px; }
.passage { line-height: 2.9; font-size: 1.06rem; }
.blank-field { display: inline-flex; align-items: center; gap: 6px; max-width: 100%; vertical-align: baseline; margin: 3px 2px; line-height: 1.5; }
.blank-number { font-size: .72rem; color: #516c61; font-weight: 750; }
.blank-field input { width: 205px; max-width: 100%; min-width: 0; padding: 8px 10px; font: inherit; color: #183d37; background: #f3f7ef; border: 1px solid #93ad96; border-bottom: 2px solid #36775b; border-radius: 7px; }
.completed-text { line-height: 1.9; }
.completed-text strong { color: #245f40; background: #eef5e9; border-radius: 3px; padding: 1px 3px; }
.blank-results { padding: 0; list-style: none; }
.blank-results li { padding: 12px 0; border-bottom: 1px solid #e6e9e1; }
.blank-results p { overflow-wrap: anywhere; }
.maps-main { max-width: 1150px; }
.map-layout { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(210px, 1fr); gap: 26px; align-items: start; }
.exercise-map { display: block; width: 100%; height: auto; }
.map-sea { fill: #edf5f6; }
.map-land { fill: #f7f2df; stroke: #82988e; stroke-width: 1.5; stroke-linejoin: round; }
.map-caption { fill: #4b686b; font-size: 20px; }
.map-city-name { fill: #183d37; font-weight: 700; font-size: 19px; paint-order: stroke; stroke: #f7f8ef; stroke-width: 5; stroke-linejoin: round; }
.map-leader { stroke: #4d6960; stroke-width: 1.5; fill: none; }
.map-city-dot { fill: #183d37; }
.map-number-circle { fill: #183d37; stroke: white; stroke-width: 2; }
.map-number { fill: white; font-size: 19px; font-weight: 700; }
.map-marker-link { cursor: pointer; }
.map-marker-link:hover .map-number-circle, .map-marker-link:focus .map-number-circle { fill: #8a5200; }
.north-arrow { stroke: #385d50; stroke-width: 2.5; fill: none; }
.map-answer { display: block; margin-bottom: 12px; font-size: .9rem; font-weight: 650; }
.map-answer input { display: block; width: 100%; min-width: 0; margin-top: 5px; padding: 9px 12px; border: 1px solid #9eb6a5; border-radius: 8px; font: inherit; font-weight: 400; color: #183d37; background: #f8faf5; }
.map-instructions { color: #4a5d55; margin-bottom: 25px; }
.map-correction-layout .blank-results { margin-top: 0; }
@media (max-width: 720px) {
  .map-layout { grid-template-columns: minmax(0, 1fr); gap: 22px; }
  #map-inputs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 12px; }
}
@media (max-width: 360px) { #map-inputs { grid-template-columns: minmax(0, 1fr); } }
.selection-help { color: #4a5d55; margin: -8px 0 22px; font-size: .9rem; }
.expert-corrections { list-style: none; padding: 0; margin-bottom: 0; }
.expert-corrections li { border-top: 1px solid #e6e9e1; padding: 18px 0; }
.expert-corrections li:last-child { padding-bottom: 0; }
.question-document { margin: 0 0 24px; }
.question-data-table { border-collapse: collapse; width: 100%; font-size: .9rem; line-height: 1.5; table-layout: fixed; overflow-wrap: anywhere; }
.question-data-table caption { text-align: left; font-weight: 650; margin-bottom: 10px; color: #4a5d55; }
.question-data-table th, .question-data-table td { border: 1px solid #cbd8cd; padding: 10px; text-align: left; }
.question-data-table thead { background: #e9f1e5; }
.question-data-table tbody th { background: #f5f8f1; font-weight: 600; }
@media (max-width: 480px) {
  .question-data-table { font-size: .8rem; }
  .question-data-table th, .question-data-table td { padding: 7px 5px; }
}
