.level-check-page { min-height: 100vh; }
.level-check-page main.level-check-shell { width: min(calc(100% - 32px), 880px) !important; max-width: 880px !important; margin: 0 auto !important; padding: 56px 0 72px !important; }
.level-check-intro { max-width: 720px; margin: 0 auto !important; padding-bottom: 28px; }
.level-check-eyebrow { margin: 0 0 8px; color: #526a83; font-size: .78rem; font-weight: 750; letter-spacing: .12em; text-transform: uppercase; }
.level-check-intro h1 { margin: 0; color: #102d4b; font-size: clamp(2.1rem, 6vw, 3.5rem); line-height: 1.08; letter-spacing: -.045em; }
.level-check-intro > p:not(.level-check-eyebrow) { max-width: 650px; margin: 16px 0; color: #445a70; font-size: 1.08rem; }
.level-check-notice { margin-top: 22px; padding: 16px 18px; color: #33495f; background: #eef3f7; border-left: 4px solid #274b70; line-height: 1.55; }
.test-panel { padding: clamp(22px, 5vw, 42px); background: #fff; border: 1px solid #dbe4ec; box-shadow: 0 12px 32px rgba(16,45,75,.07); }
.test-panel h2 { margin: 0 0 14px; color: #102d4b; font-size: clamp(1.45rem, 4vw, 2rem); line-height: 1.2; }
.test-expectations { padding-left: 1.3rem; color: #40566e; }
.test-expectations li + li { margin-top: 8px; }
.test-button { min-height: 46px; padding: 11px 20px; color: #fff; background: #102d4b; border: 2px solid #102d4b; border-radius: 3px; font: inherit; font-weight: 700; cursor: pointer; }
.test-button:hover { background: #1d466d; border-color: #1d466d; }
.test-button:focus-visible, .answer-option:focus-within { outline: 3px solid #985d12; outline-offset: 3px; }
.test-button-secondary { color: #102d4b; background: #fff; }
.test-button-secondary:hover { color: #fff; }
.question-meta { display: flex; justify-content: space-between; gap: 16px; margin-bottom: 10px; color: #40566e; font-size: .9rem; font-weight: 700; }
.question-meta span:first-child { color: #274b70; }
.level-check-page progress { width: 100%; height: 10px; accent-color: #274b70; }
.question-progress-text { margin: 6px 0 24px; color: #63768a; font-size: .88rem; }
.level-check-page fieldset { min-width: 0; margin: 0; padding: 0; border: 0; }
.level-check-page legend { margin-bottom: 18px; color: #102d4b; font-size: clamp(1.18rem, 3vw, 1.45rem); font-weight: 700; line-height: 1.45; }
.answer-options { display: grid; gap: 10px; }
.answer-option { display: flex; align-items: flex-start; gap: 12px; padding: 13px 15px; color: #273d53; background: #fff; border: 1px solid #cbd7e2; cursor: pointer; }
.answer-option:hover { background: #f4f7fa; border-color: #70869b; }
.answer-option input { width: 20px; height: 20px; margin: 2px 0 0; accent-color: #274b70; flex: none; }
.answer-error { margin: 14px 0 0; color: #a12a2a; font-weight: 650; }
.question-actions { display: flex; justify-content: space-between; gap: 12px; margin-top: 26px; }
.question-actions button:last-child { margin-left: auto; }
.results-caveat { padding: 14px 16px; background: #eef3f7; color: #40566e; }
.study-level-estimate { margin: 18px 0 24px; padding: 18px; border: 1px solid #cbd7e2; background: #f7f9fb; }
.study-level-estimate h3 { margin: 0 0 8px; color: #102d4b; font-size: 1.1rem; }
.study-level-estimate p { color: #40566e; }
.study-level-estimate label { display: block; margin: 12px 0 6px; color: #344b62; font-weight: 700; }
.study-level-estimate input { box-sizing: border-box; width: 100%; min-height: 46px; padding: 10px 12px; color: #455b70; background: #e8edf2; border: 1px solid #b8c5d1; border-radius: 3px; font: inherit; }
.study-level-estimate input:disabled { opacity: 1; cursor: not-allowed; }
.study-level-estimate #study-level-caveat { margin-bottom: 0; font-size: .92rem; }
.skill-results { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin: 20px 0 28px; }
.skill-result { padding: 16px; border: 1px solid #dbe4ec; }
.skill-result h3 { margin: 0 0 8px; color: #102d4b; font-size: 1.05rem; }
.skill-result p { margin: 0; color: #40566e; }
.skill-result .score { display: block; margin-bottom: 6px; color: #274b70; font-size: 1.25rem; font-weight: 750; }
.answer-review-heading { margin: 12px 0 6px; color: #102d4b; font-weight: 700; }
.skill-result details { margin-top: 8px; color: #40566e; font-size: .92rem; }
.skill-result summary { cursor: pointer; font-weight: 650; }
.skill-result details p { margin-top: 6px; padding-left: 12px; border-left: 2px solid #dbe4ec; }
.next-steps { margin: 24px 0; padding-top: 20px; border-top: 1px solid #dbe4ec; }
.next-steps h3 { margin: 0 0 8px; color: #102d4b; font-size: 1.15rem; }
.next-steps p { color: #40566e; }
.next-step-links { display: flex; flex-wrap: wrap; gap: 10px; }
.next-step-links a, .back-to-site a { color: #173e63; font-weight: 700; text-underline-offset: .2em; }
.next-step-links a { padding: 9px 12px; border: 1px solid #cbd7e2; }
.back-to-site { margin: 22px auto 0; max-width: 720px; }
[hidden] { display: none !important; }
@media (max-width: 640px) {
  .level-check-page main.level-check-shell { width: calc(100% - 24px) !important; padding: 34px 0 48px !important; }
  .skill-results { grid-template-columns: 1fr; }
  .question-actions { align-items: stretch; }
  .question-actions .test-button { flex: 1; padding-inline: 10px; }
}
@media (prefers-reduced-motion: reduce) { .level-check-page *, .level-check-page *::before, .level-check-page *::after { scroll-behavior: auto !important; animation: none !important; transition: none !important; } }
