/* NhoEmiGo H5P Resolver Lab 0.4.2 — learner-facing typography.
   Loaded in embedded H5P frames through h5p_alter_library_styles.
   Does not affect the correctness engine, scoring, or editable answer values. */

/* Instructions and context (both plain text and paragraphs rendered by the H5P editor). */
.h5p-content .h5p-question-introduction,
.h5p-content .h5p-question-introduction p,
.h5p-content .h5p-question-introduction div,
.h5p-content .h5p-question-content,
.h5p-content .h5p-question-content p,
.h5p-content .h5p-blanks .h5p-question-introduction,
.h5p-content .h5p-blanks .h5p-question-introduction p,
.h5p-content .h5p-blanks .h5p-question-content {
  font-size: 17px !important;
  line-height: 1.65 !important;
}

/* The fill-in-the-blanks statement, surrounding words and the answer field. */
.h5p-content .h5p-blanks .h5p-blanks-text,
.h5p-content .h5p-blanks .h5p-blanks-text p,
.h5p-content .h5p-blanks .h5p-blanks-text > div,
.h5p-content .h5p-blanks .h5p-cloze,
.h5p-content .h5p-blanks .h5p-cloze input,
.h5p-content .h5p-blanks input.h5p-text-input,
.h5p-content .h5p-blanks input[type="text"],
.h5p-content .h5p-blanks .h5p-question-feedback,
.h5p-content .h5p-blanks .h5p-question-feedback p,
.h5p-content .h5p-blanks .h5p-question-feedback-content {
  font-size: 18px !important;
  line-height: 1.55 !important;
}

/* Other question types: comfortable question and feedback typography. */
.h5p-content .h5p-question .h5p-question-feedback,
.h5p-content .h5p-question .h5p-question-feedback-content,
.h5p-content .h5p-question .h5p-question-feedback-content p,
.h5p-content .h5p-multichoice .h5p-answer,
.h5p-content .h5p-multichoice .h5p-answer .h5p-alternative-container {
  font-size: 17px !important;
  line-height: 1.55 !important;
}

/* Controls: accessible minimum touch target and readable labels. */
.h5p-content .h5p-question-check-answer,
.h5p-content .h5p-question-try-again,
.h5p-content .h5p-question-show-solution,
.h5p-content .h5p-question-submit,
.h5p-content .h5p-question-set button,
.h5p-content button.h5p-theme-button,
.h5p-content button.h5p-question-check-answer,
.h5p-content button.h5p-question-try-again,
.h5p-content button.h5p-question-show-solution,
.h5p-content button.h5p-question-submit,
.h5p-content .h5p-question-buttons button,
.h5p-content .h5p-question-set .h5p-question-set-button,
.h5p-content .h5p-question-set .qs-navigation button,
.h5p-content .h5p-question-set .h5p-question-set-previous,
.h5p-content .h5p-question-set .h5p-question-set-next,
.h5p-content .h5p-question-set .h5p-question-set-finish {
  font-size: 16px !important;
  font-weight: 600 !important;
  line-height: 1.35 !important;
  min-height: 44px;
}

/* Score counter and feedback state labels, avoiding star/icon sizes. */
.h5p-content .h5p-question-scorebar .h5p-question-scorebar-numeric,
.h5p-content .h5p-question-scorebar .h5p-question-scorebar-text,
.h5p-content .h5p-question-feedback .h5p-question-feedback-content {
  font-size: 16px !important;
}

@media (max-width: 480px) {
  .h5p-content .h5p-question-introduction,
  .h5p-content .h5p-question-introduction p,
  .h5p-content .h5p-question-content,
  .h5p-content .h5p-blanks .h5p-blanks-text,
  .h5p-content .h5p-blanks .h5p-cloze,
  .h5p-content .h5p-blanks input[type="text"] { font-size: 16px !important; }
  .h5p-content .h5p-question-buttons button,
  .h5p-content .h5p-question-set button,
  .h5p-content button.h5p-theme-button { font-size: 15px !important; }
}


/* 0.4.3 — Question Set final results screen (H5P.Components / legacy variants).
   Scope deliberately restricted to result screens; do not scale graphic icons or question content. */
.h5p-content .questionset-results,
.h5p-content .h5p-question-set-results {
  font-size: 17px !important;
  line-height: 1.55 !important;
}
.h5p-content .questionset-results .h5p-theme-results-list,
.h5p-content .questionset-results .h5p-theme-results-list *,
.h5p-content .questionset-results .result-header,
.h5p-content .questionset-results .result-text,
.h5p-content .questionset-results .feedback-section,
.h5p-content .questionset-results .feedback-text,
.h5p-content .questionset-results .greeting,
.h5p-content .questionset-results .h5p-theme-results-header,
.h5p-content .questionset-results .h5p-theme-result-header,
.h5p-content .questionset-results table,
.h5p-content .questionset-results th,
.h5p-content .questionset-results td,
.h5p-content .questionset-results li,
.h5p-content .h5p-question-set-results table,
.h5p-content .h5p-question-set-results th,
.h5p-content .h5p-question-set-results td {
  font-size: 17px !important;
  line-height: 1.5 !important;
}
.h5p-content .questionset-results h2,
.h5p-content .questionset-results .result-header,
.h5p-content .questionset-results .h5p-theme-result-header {
  font-size: 20px !important;
  font-weight: 700 !important;
}
.h5p-content .questionset-results th,
.h5p-content .questionset-results .h5p-theme-results-header {
  font-weight: 700 !important;
}
/* Score-star appearance is owned exclusively by NhoEmiGo H5P Visual Styler.
   Do not set SVG fill/stroke here: applying them to all SVG paths made it
   impossible to adjust the outline or remove the decorative shadow. */
@media (max-width: 480px) {
 .h5p-content .questionset-results .h5p-theme-results-list,
 .h5p-content .questionset-results .h5p-theme-results-list *,
 .h5p-content .questionset-results table,
 .h5p-content .questionset-results th,
 .h5p-content .questionset-results td {font-size:16px !important;}
}

/* 0.5.2: All score-star overrides removed; only Visual Styler controls stars. */
