.haccp-qcm-managed-page .wpProQuiz_content {
    display: none !important;
}

.haccp-qcm-app {
    max-width: 920px;
    margin: 24px auto;
    font-family: inherit;
}

.haccp-qcm-card {
    background: #fff;
    border: 1px solid #dfe7e2;
    border-radius: 14px;
    padding: clamp(20px, 4vw, 38px);
    box-shadow: 0 8px 28px rgba(0,0,0,.05);
}

.haccp-qcm-loading,
.haccp-qcm-login-required {
    padding: 24px;
    text-align: center;
}

.haccp-qcm-kicker {
    margin: 0 0 8px;
    color: #045546;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .06em;
}

.haccp-qcm-title {
    margin: 0 0 12px;
    line-height: 1.25;
}

.haccp-qcm-text {
    font-size: 17px;
    line-height: 1.6;
}

.haccp-qcm-muted {
    color: #646970;
    font-size: 14px;
}

.haccp-qcm-progress {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 18px;
    font-size: 14px;
}

.haccp-qcm-timer {
    min-width: 78px;
    padding: 7px 12px;
    border-radius: 999px;
    background: #edf8f1;
    color: #045546;
    text-align: center;
    font-size: 20px;
    font-weight: 800;
    font-variant-numeric: tabular-nums;
}

.haccp-qcm-timer.is-low {
    background: #fff1f0;
    color: #b32d2e;
}

.haccp-qcm-question {
    margin: 0 0 22px;
    font-size: clamp(20px, 3vw, 27px);
    line-height: 1.35;
}

.haccp-qcm-image {
    display: block;
    width: 100%;
    max-width: 760px;
    aspect-ratio: 16 / 9;
    object-fit: contain;
    background: #f6f7f7;
    border-radius: 10px;
    margin: 0 auto 24px;
}

.haccp-qcm-answers {
    display: grid;
    gap: 12px;
    margin: 0;
}

.haccp-qcm-answer {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    width: 100%;
    padding: 15px 16px;
    border: 2px solid #dfe7e2;
    border-radius: 10px;
    background: #fff;
    color: #1d2327;
    cursor: pointer;
    text-align: left;
    font: inherit;
    line-height: 1.45;
    transition: border-color .12s ease, background .12s ease;
}

.haccp-qcm-answer:hover {
    border-color: #21965a;
}

.haccp-qcm-answer.is-selected {
    border-color: #045546;
    background: #edf8f1;
}

.haccp-qcm-answer-label {
    flex: 0 0 auto;
    min-width: 32px;
    height: 32px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #f0f0f1;
    font-weight: 800;
}

.haccp-qcm-answer.is-selected .haccp-qcm-answer-label {
    background: #045546;
    color: #fff;
}

.haccp-qcm-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
    margin-top: 24px;
}

.haccp-qcm-button {
    appearance: none;
    border: 0;
    border-radius: 8px;
    padding: 12px 20px;
    background: #045546;
    color: #fff;
    font: inherit;
    font-weight: 700;
    cursor: pointer;
}

.haccp-qcm-button:hover,
.haccp-qcm-button:focus {
    background: #014b3e;
    color: #fff;
}

.haccp-qcm-button:disabled {
    opacity: .45;
    cursor: not-allowed;
}

.haccp-qcm-notice {
    margin-top: 14px;
    min-height: 20px;
    color: #646970;
    font-size: 14px;
}

.haccp-qcm-error {
    padding: 14px 16px;
    border-left: 4px solid #d63638;
    background: #fcf0f1;
    margin-bottom: 18px;
}

.haccp-qcm-feedback {
    margin: 0 0 26px;
    padding: 18px;
    border-radius: 10px;
    background: #f6f7f7;
}

.haccp-qcm-feedback.is-correct {
    background: #edf8f1;
}

.haccp-qcm-feedback.is-wrong {
    background: #fff8e5;
}

.haccp-qcm-feedback h3 {
    margin-top: 0;
}

.haccp-qcm-feedback p:last-child {
    margin-bottom: 0;
}

.haccp-qcm-result-percent {
    margin: 20px 0;
    font-size: clamp(44px, 10vw, 78px);
    font-weight: 800;
    line-height: 1;
    color: #045546;
}

.haccp-qcm-summary {
    margin-top: 28px;
}

.haccp-qcm-summary-item {
    padding: 18px 0;
    border-top: 1px solid #e5e5e5;
}

.haccp-qcm-summary-item:first-child {
    border-top: 0;
}

.haccp-qcm-summary-status {
    font-weight: 800;
}

.haccp-qcm-summary-status.is-correct {
    color: #045546;
}

.haccp-qcm-summary-status.is-wrong {
    color: #b32d2e;
}

.haccp-qcm-ready {
    text-align: center;
}

.haccp-qcm-ready .haccp-qcm-button {
    margin-top: 12px;
}

@media (max-width: 640px) {
    .haccp-qcm-card {
        border-radius: 10px;
        padding: 20px 16px;
    }

    .haccp-qcm-progress {
        align-items: flex-start;
    }

    .haccp-qcm-answer {
        padding: 13px;
    }
}
