/* Hide the per-question star/score display */
.h5p-question-scorebar-container,
.h5p-question-scorebar {
    display: none !important;
}

/*
 * For questions with NO real written feedback:
 * keep the post-check area exactly the same height
 * whether the answer is right or wrong.
 */
.h5p-question-evaluation-container.evaluation-mode:not(:has(.h5p-question-feedback-content.has-content)) {
    height: 4.25rem !important;
    min-height: 4.25rem !important;
    max-height: 4.25rem !important;

    padding: 0 1rem !important;
    margin-top: 0 !important;

    background: transparent !important;
    box-sizing: border-box !important;

    display: flex !important;
    align-items: center !important;
    justify-content: flex-end !important;
    gap: 0.75rem !important;

    transition: none !important;
}

/* Keep Show solution / Retry compact inside that reserved space */
.h5p-question-evaluation-container.evaluation-mode:not(:has(.h5p-question-feedback-content.has-content))
.h5p-question-buttons.h5p-question-visible {
    flex: 0 0 auto !important;
    width: auto !important;
    margin: 0 !important;
    justify-content: flex-end !important;
}

/* Let Question Set use more horizontal space when available */
.questionset .question-container {
    width: min(100%, 800px);
    margin-left: auto !important;
    margin-right: auto !important;
}

@media (min-width: 700px) {
    .h5p-question {
        font-size: 0.92em;
    }
}