/* Keep the sentence, answer and next action close together on small screens. */
.readerNavigator { display: flex; align-items: center; justify-content: space-between; gap: 15px; padding: 0 0 21px; }
.readerNavigator > div { display: flex; align-items: center; flex-direction: column; gap: 4px; min-width: 0; text-align: center; }
.readerNavigator small { font-size: 11px; line-height: 1.8; color: #65728a; }
.readerNavigator span { color: #4c6084; font-size: 13px; font-variant-numeric: tabular-nums; }
.readerPageBtn { min-height: 44px; border: 1px solid #dce3ee; border-radius: 10px; background: #f7f9fd; color: #52688b; padding: 9px 13px; font-size: 13px; white-space: nowrap; }
.readerPageBtn:disabled { color: #67758d; background: #f4f5f9; opacity: .65; }
#readerSentence { scroll-margin-top: 95px; }
.quizTaskTitle { font-size: 16px !important; font-weight: 500 !important; color: #536580; line-height: 1.8; }
.quizSelectionHint { min-height: 24px; margin: 12px 0 0; color: #65718a; font-size: 13px; line-height: 1.85; }
.quizInputError { min-height: 22px; margin: 8px 0 0; color: #94636c; font-size: 13px; line-height: 1.8; }
#activeQuizPrompt, #activeRecallPrompt, #activeRecallAnswer, #quizFeedback, #reviewResultTitle, #testResultTitle { scroll-margin-top: 100px; }
#quizFeedback:empty { display: none; }
#activeRecallAnswer[hidden] { display: none; }
.quizChoices button[aria-pressed=true]:not(:disabled) { border-color: #8c9fc0; background: #edf2fb; color: #435c83; }
@media (max-width:780px) {
 .readerNavigator { padding: 0 0 18px; gap: 10px; }
 .readerPageBtn { font-size: 14px; min-height: 45px; padding: 10px 12px; }
 .readerNavigator small { font-size: 10px; }
 .readerNavigator span { font-size: 13px; }
 .quizTaskTitle { font-size: 16px !important; margin: 20px 0 12px !important; }
 .quizSelectionHint, .quizInputError { font-size: 14px; line-height: 1.9; }
 .quizCard .quizPrompt { margin-top: 16px; }
 #quizFeedback > .feedbackBox { margin-top: 18px; border-radius: 14px; }
 #activeRecallAnswer { border-radius: 13px; }
 .reviewSession .reviewControls { margin-top: 21px; }
 .sessionButtons { flex-wrap: wrap; gap: 7px 14px; }
 .sessionButtons button { min-height: 44px; }
}
@media (max-width:359px) {
 .readerNavigator small { display: none; }
 .readerPageBtn { padding-left: 10px; padding-right: 10px; font-size: 13px; }
}
