.quiz-panel {
    max-width: 980px;
}

.quiz-panel > p {
    margin: 0 0 1.4rem 0;
}

.quiz-last-score {
    margin: 0 0 1.25rem 0;
    padding: 0.6rem 0.8rem;
    border: 1px solid #d8e2ef;
    border-radius: 8px;
    background: #f7f9fc;
    color: #25364f;
}

.quiz-question {
    margin: 0;
    padding: 1rem 0 1.7rem 0;
    border-top: 1px solid #e6ebf2;
}

.quiz-question + .quiz-question {
    margin-top: 0.85rem;
}

.quiz-question__header {
    display: flex;
    align-items: baseline;
    gap: 0.6rem;
    margin: 0 0 0.7rem 0;
    padding: 0.45rem 0.65rem;
    border-radius: 10px;
    background: linear-gradient(90deg, rgba(79, 70, 229, 0.1), rgba(79, 70, 229, 0.02));
    border: 1px solid rgba(79, 70, 229, 0.2);
}

.quiz-question__header span {
    color: #3f5167;
}

.quiz-question__number {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    font-weight: 700;
    letter-spacing: 0.01em;
}

.quiz-question__number::before {
    content: "";
    width: 8px;
    height: 8px;
    border-radius: 999px;
    background: #4f46e5;
    box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.14);
}

.quiz-question__prompt {
    margin: 0.95rem 0 1rem 0;
}

.quiz-question__prompt > *:first-child {
    margin-top: 0;
}

.quiz-question__prompt > *:last-child {
    margin-bottom: 0;
}

.quiz-choices {
    display: flex;
    flex-direction: column;
    gap: 0.55rem;
}

.quiz-choice {
    display: flex;
    align-items: flex-start;
    gap: 0.65rem;
    line-height: 1.35;
}

.quiz-choice input[type="radio"] {
    margin-top: 0.2rem;
    flex: 0 0 auto;
}

.quiz-text-response {
    width: 100%;
    max-width: 100%;
    min-height: 120px;
    padding: 0.7rem;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    font: inherit;
    line-height: 1.4;
    resize: vertical;
}

.quiz-lock-panel {
    max-width: 760px;
    padding: 1rem;
    border: 1px solid #dbe5f2;
    border-radius: 10px;
    background: #f8fbff;
}

.quiz-lock-panel p {
    margin-top: 0;
}

@media (max-width: 800px) {
    .quiz-question {
        padding-bottom: 1.35rem;
    }

    .quiz-question + .quiz-question {
        margin-top: 0.75rem;
    }
}
