/* ============================================
   ABSOLUTEPREP QUESTION PAGE
   ============================================ */

.question-page {
    min-height: 900px;
    padding: 45px 20px 80px;
    background: #f8fafc;
}


/* ============================================
   UTILITY
   ============================================ */

.hidden {
    display: none !important;
}


/* ============================================
   LOADING
   ============================================ */

.loading-screen {
    min-height: 500px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 18px;
}

.loading-screen p {
    margin: 0;
    color: #64748b;
    font-size: 15px;
}

.loading-spinner {
    width: 38px;
    height: 38px;
    border: 4px solid #dbe5ef;
    border-top-color: #0f9f9a;
    border-radius: 50%;
    animation: loading-spin 0.8s linear infinite;
}

@keyframes loading-spin {
    to {
        transform: rotate(360deg);
    }
}


/* ============================================
   APPLICATION
   ============================================ */

.question-app {
    width: min(1380px, 100%);
    margin: 0 auto;
}


/* ============================================
   TOP BAR
   ============================================ */

.question-topbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 30px;
    margin-bottom: 30px;
}

.question-set-info {
    min-width: 0;
}

.small-label {
    display: block;
    margin-bottom: 7px;
    color: #0f9f9a;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1.5px;
}

.question-set-info h1 {
    margin: 0;
    color: #0f172a;
    font-size: 28px;
    line-height: 1.25;
    font-weight: 700;
}

.timer-container {
    min-width: 145px;
    padding: 12px 20px;
    background: #ffffff;
    border: 1px solid #dbe3ec;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 3px 12px rgba(15, 23, 42, 0.05);
}

.timer-label {
    display: block;
    margin-bottom: 2px;
    color: #64748b;
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 1px;
}

.timer {
    color: #0f172a;
    font-size: 24px;
    line-height: 1.2;
    font-weight: 700;
    font-variant-numeric: tabular-nums;
}

.timer.warning {
    color: #c47b18;
}

.timer.danger {
    color: #c43b3b;
}


/* ============================================
   MAIN LAYOUT
   ============================================ */

.question-layout {
    display: block;
    width: min(980px, 100%);
    margin: 0 auto;
}

.question-main {
    width: 100%;
}


/* ============================================
   QUESTION PROGRESS
   ============================================ */

.question-progress-row {
    min-height: 48px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    margin-bottom: 14px;
}

#question-number {
    color: #475569;
    font-size: 14px;
    font-weight: 600;
}

.question-progress-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 10px;
    min-width: 0;
}

.question-inline-navigation {
    display: inline-flex;
    align-items: center;
    gap: 7px;
}

.question-nav-button {
    min-height: 38px;
    padding: 8px 12px;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    background: #ffffff;
    color: #475569;
    font-family: inherit;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition:
        background 0.18s ease,
        border-color 0.18s ease,
        color 0.18s ease,
        transform 0.15s ease;
}

.question-nav-button:hover:not(:disabled) {
    border-color: #8bc6bf;
    background: #f7fbfa;
    color: #0f766e;
    transform: translateY(-1px);
}

.question-nav-button:disabled {
    opacity: 0.42;
    cursor: default;
    transform: none;
}

.review-button {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 9px 13px;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    background: #ffffff;
    color: #475569;
    font-family: inherit;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition:
        background 0.2s ease,
        border-color 0.2s ease,
        color 0.2s ease;
}

.review-button:hover {
    border-color: #0f9f9a;
    color: #0f8d89;
}

.review-button.reviewing {
    border-color: #d99b35;
    background: #fff8e8;
    color: #9a6815;
}

.bookmark-icon {
    width: 16px;
    height: 18px;
    flex: 0 0 16px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.7;
    stroke-linecap: round;
    stroke-linejoin: round;
    transition:
        fill 0.18s ease,
        transform 0.18s ease;
}

.review-button.reviewing .bookmark-icon {
    fill: currentColor;
    transform: translateY(-1px);
}


/* ============================================
   QUESTION CARD
   ============================================ */

.question-card {
    padding: 38px 42px 42px;
    background: #ffffff;
    border: 1px solid #dce4ed;
    border-radius: 14px;
    box-shadow: 0 5px 20px rgba(15, 23, 42, 0.045);
}

.question-text {
    color: #172033;
    font-size: 17px;
    line-height: 1.75;
    font-weight: 500;
    white-space: pre-line;
}


/* ============================================
   CHOICES
   ============================================ */

.choices {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 32px;
}

.choice-wrapper {
    position: relative;
    width: 100%;
}

.choice {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 17px 52px 17px 18px;
    border: 1.5px solid #d5dee8;
    border-radius: 10px;
    background: #ffffff;
    color: #1e293b;
    font-family: inherit;
    font-size: 15px;
    line-height: 1.55;
    text-align: left;
    cursor: pointer;
    transition:
        border-color 0.18s ease,
        background 0.18s ease,
        box-shadow 0.18s ease;
}

.choice:hover {
    border-color: #7ebebb;
    background: #f8fffe;
}

.choice.eliminated {
    border-style: dashed;
    background: #f8fafc;
    color: #64748b;
}

.choice.eliminated .choice-text {
    color: #94a3b8;
    text-decoration: line-through;
    text-decoration-thickness: 1.5px;
}

.choice.eliminated .choice-letter {
    color: #94a3b8;
    border-color: #cbd5e1;
    background: #f8fafc;
}

.choice-strike-button {
    position: absolute;
    top: 50%;
    right: 13px;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    border: 1px solid #d5dee8;
    border-radius: 50%;
    background: #ffffff;
    color: #94a3b8;
    font-family: inherit;
    font-size: 15px;
    font-weight: 600;
    line-height: 1;
    cursor: pointer;
    transform: translateY(-50%);
    transition:
        color 0.18s ease,
        border-color 0.18s ease,
        background 0.18s ease,
        transform 0.18s ease;
}

.choice-strike-button:hover {
    border-color: #ef4444;
    background: #fff5f5;
    color: #dc2626;
}

.choice-wrapper:has(.choice.eliminated)
    .choice-strike-button {
    border-color: #fca5a5;
    background: #fef2f2;
    color: #dc2626;
}

.choice.selected {
    border-color: #0f9f9a;
    background: #effcfb;
    box-shadow: 0 0 0 2px rgba(15, 159, 154, 0.08);
}

.choice-letter {
    flex: 0 0 32px;
    width: 32px;
    height: 32px;
    display: flex;
    justify-content: center;
    align-items: center;
    border: 1.5px solid #b9c5d3;
    border-radius: 50%;
    color: #475569;
    font-size: 13px;
    font-weight: 700;
}

.choice.selected .choice-letter {
    border-color: #0f9f9a;
    background: #0f9f9a;
    color: #ffffff;
}

.choice-text {
    flex: 1 1 auto;
    min-width: 0;
    padding-top: 0;
    white-space: pre-line;
}

.choice.correct-answer {
    border-color: #22c55e;
    background: #ecfdf3;
    box-shadow: 0 0 0 2px rgba(34, 197, 94, 0.12);
}

.choice.correct-answer .choice-letter {
    border-color: #22c55e;
    background: #22c55e;
    color: #ffffff;
}

.choice.incorrect-answer {
    border-color: #ef4444;
    background: #fef2f2;
    box-shadow: 0 0 0 2px rgba(239, 68, 68, 0.10);
}

.choice.incorrect-answer .choice-letter {
    border-color: #ef4444;
    background: #ef4444;
    color: #ffffff;
}

.choice:disabled {
    cursor: default;
}

.choice-strike-button:disabled {
    opacity: 0.5;
    cursor: default;
}

.answer-feedback {
    margin-top: 24px;
    padding: 18px 20px;
    border: 1px solid #dbe3ec;
    border-radius: 10px;
    background: #f8fafc;
    color: #334155;
    animation: answer-feedback-in 0.22s ease both;
}

.answer-feedback.correct {
    border-color: #86efac;
    background: #f0fdf4;
}

.answer-feedback.incorrect {
    border-color: #fca5a5;
    background: #fef2f2;
}

.answer-feedback.neutral {
    border-color: #cbd5e1;
    background: #f8fafc;
}

.answer-feedback-title {
    margin-bottom: 6px;
    color: #0f172a;
    font-size: 16px;
    font-weight: 700;
}

.answer-feedback.correct .answer-feedback-title {
    color: #15803d;
}

.answer-feedback.incorrect .answer-feedback-title {
    color: #dc2626;
}

.answer-feedback-explanation {
    color: #475569;
    font-size: 14px;
    line-height: 1.65;
}

.check-answer-button {
    width: 100%;
    min-height: 46px;
    padding: 11px 18px;
    border: 1px solid #0f9f9a;
    border-radius: 9px;
    background: #0f9f9a;
    color: #ffffff;
    font-family: inherit;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition:
        background 0.18s ease,
        border-color 0.18s ease,
        transform 0.15s ease;
}

.check-answer-button:hover:not(:disabled) {
    border-color: #0b8985;
    background: #0b8985;
    transform: translateY(-1px);
}

.check-answer-button:disabled {
    opacity: 0.65;
    cursor: default;
}

.next-question-button {
    width: 100%;
    min-height: 46px;
    margin-top: 10px;
    padding: 11px 18px;
    border: 1px solid #cbd5e1;
    border-radius: 9px;
    background: #ffffff;
    color: #334155;
    font-family: inherit;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition:
        background 0.18s ease,
        border-color 0.18s ease,
        color 0.18s ease,
        transform 0.15s ease;
}

.next-question-button:hover {
    border-color: #0f9f9a;
    background: #f8fffe;
    color: #0f8d89;
    transform: translateY(-1px);
}

@keyframes answer-feedback-in {
    from {
        opacity: 0;
        transform: translateY(5px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}


/* ============================================
   QUESTION ACTIONS
   ============================================ */

.question-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    margin-top: 18px;
}

.clear-button {
    padding: 11px 15px;
    border: 0;
    background: transparent;
    color: #64748b;
    font-family: inherit;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
}

.clear-button:hover {
    color: #0f9f9a;
    text-decoration: underline;
}

.navigation-buttons {
    display: flex;
    gap: 9px;
}

.secondary-navigation-button,
.primary-navigation-button {
    min-width: 105px;
    padding: 11px 17px;
    border-radius: 8px;
    font-family: inherit;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
}

.secondary-navigation-button {
    border: 1px solid #cbd5e1;
    background: #ffffff;
    color: #475569;
}

.secondary-navigation-button:hover:not(:disabled) {
    border-color: #94a3b8;
}

.primary-navigation-button {
    border: 1px solid #0f9f9a;
    background: #0f9f9a;
    color: #ffffff;
}

.primary-navigation-button:hover {
    background: #0b8985;
}

.secondary-navigation-button:disabled {
    opacity: 0.45;
    cursor: not-allowed;
}


/* ============================================
   SIDEBAR
   ============================================ */

.question-sidebar {
    position: sticky;
    top: 115px;
    padding: 22px;
    background: #ffffff;
    border: 1px solid #dce4ed;
    border-radius: 14px;
    box-shadow: 0 5px 20px rgba(15, 23, 42, 0.045);
}

.sidebar-title {
    margin-bottom: 16px;
    color: #0f172a;
    font-size: 17px;
    font-weight: 700;
}

.sidebar-summary {
    display: flex;
    flex-direction: column;
    gap: 9px;
    padding-bottom: 18px;
    border-bottom: 1px solid #e7edf3;
}

.summary-item {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #64748b;
    font-size: 11px;
    font-weight: 500;
}

.summary-dot {
    width: 9px;
    height: 9px;
    border-radius: 50%;
}

.answered-dot {
    background: #0f9f9a;
}

.review-dot {
    background: #d99b35;
}

.unanswered-dot {
    background: #cbd5e1;
}

.question-navigator {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 8px;
    padding: 20px 0;
}

.question-number-button {
    aspect-ratio: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    border: 1px solid #d5dee8;
    border-radius: 7px;
    background: #ffffff;
    color: #475569;
    font-family: inherit;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
}

.question-number-button:hover {
    border-color: #0f9f9a;
}

.question-number-button.current {
    border-color: #0f9f9a;
    box-shadow: 0 0 0 2px rgba(15, 159, 154, 0.12);
    color: #0f9f9a;
}

.question-number-button.answered {
    background: #eaf9f8;
    border-color: #8bcfcb;
}

.question-number-button.review {
    background: #fff7e8;
    border-color: #e3bd76;
}

.question-number-button.answered.review {
    background:
        linear-gradient(
            135deg,
            #eaf9f8 0%,
            #eaf9f8 70%,
            #fff1d3 70%,
            #fff1d3 100%
        );
}

.submit-button {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #0f9f9a;
    border-radius: 8px;
    background: #0f9f9a;
    color: #ffffff;
    font-family: inherit;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
}

.submit-button:hover {
    background: #0b8985;
}


/* ============================================
   RESULTS
   ============================================ */

.results-screen {
    width: min(1050px, 100%);
    margin: 0 auto;
}

.results-card {
    padding: 45px;
    background: #ffffff;
    border: 1px solid #dce4ed;
    border-radius: 16px;
    box-shadow: 0 5px 20px rgba(15, 23, 42, 0.05);
    text-align: center;
}

.results-heading {
    margin-bottom: 30px;
}

.results-eyebrow {
    color: #0f9f9a;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1.5px;
}

.results-heading h1 {
    margin: 7px 0 4px;
    color: #0f172a;
    font-size: 30px;
}

.results-heading p {
    margin: 0;
    color: #64748b;
    font-size: 14px;
}

.score-circle {
    width: 145px;
    height: 145px;
    margin: 0 auto 32px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    border: 8px solid #d9f1ef;
    border-radius: 50%;
}

.score-circle div {
    color: #0f9f9a;
    font-size: 34px;
    font-weight: 700;
    line-height: 1;
}

.score-circle span {
    margin-top: 5px;
    color: #64748b;
    font-size: 11px;
    font-weight: 600;
}

.results-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    max-width: 650px;
    margin: 0 auto;
    border-top: 1px solid #e5ebf1;
    border-bottom: 1px solid #e5ebf1;
}

.result-stat {
    padding: 19px 10px;
    border-right: 1px solid #e5ebf1;
}

.result-stat:last-child {
    border-right: 0;
}

.result-stat strong {
    display: block;
    color: #0f172a;
    font-size: 23px;
}

.result-stat span {
    color: #64748b;
    font-size: 12px;
}

.results-message {
    max-width: 650px;
    margin: 24px auto;
    color: #475569;
    font-size: 14px;
    line-height: 1.6;
}

.results-actions {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 25px;
}

.results-primary-button,
.results-secondary-button {
    padding: 11px 18px;
    border-radius: 8px;
    font-family: inherit;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
}

.results-primary-button {
    border: 1px solid #0f9f9a;
    background: #0f9f9a;
    color: #ffffff;
}

.results-primary-button:hover {
    background: #0b8985;
}

.results-secondary-button {
    border: 1px solid #cbd5e1;
    background: #ffffff;
    color: #475569;
}


/* ============================================
   RESULTS REVIEW
   ============================================ */

.results-review {
    margin-top: 25px;
}

.results-review h2 {
    margin: 0 0 15px;
    color: #0f172a;
    font-size: 22px;
}

.review-result-item {
    margin-bottom: 14px;
    padding: 24px;
    background: #ffffff;
    border: 1px solid #dce4ed;
    border-radius: 12px;
}

.review-result-item.correct {
    border-left: 4px solid #0f9f9a;
}

.review-result-item.incorrect {
    border-left: 4px solid #c43b3b;
}

.review-result-item.unanswered {
    border-left: 4px solid #94a3b8;
}

.review-result-number {
    margin-bottom: 8px;
    color: #64748b;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.review-result-question {
    margin-bottom: 14px;
    color: #1e293b;
    font-size: 14px;
    line-height: 1.6;
}

.review-result-answer {
    margin-bottom: 8px;
    color: #475569;
    font-size: 13px;
}

.review-result-explanation {
    margin-top: 13px;
    padding: 13px;
    background: #f8fafc;
    border-radius: 8px;
    color: #475569;
    font-size: 12px;
    line-height: 1.6;
}


/* ============================================
   RESPONSIVE
   ============================================ */

@media (max-width: 950px) {

    .question-layout {
        grid-template-columns: 1fr;
    }

    .question-sidebar {
        position: static;
    }

    .question-navigator {
        grid-template-columns: repeat(10, 1fr);
    }

}


@media (max-width: 700px) {

    .question-page {
        padding: 30px 15px 60px;
    }

    .question-topbar {
        align-items: flex-start;
        flex-direction: column;
    }

    .question-set-info h1 {
        font-size: 24px;
    }

    .timer-container {
        align-self: stretch;
    }

    .question-card {
        padding: 28px 22px;
    }

    .question-text {
        font-size: 15px;
        line-height: 1.7;
    }

    .choice {
        padding: 14px;
        font-size: 14px;
    }

    .question-actions {
        align-items: stretch;
        flex-direction: column;
    }

    .navigation-buttons {
        width: 100%;
    }

    .secondary-navigation-button,
    .primary-navigation-button {
        flex: 1;
    }

    .question-navigator {
        grid-template-columns: repeat(5, 1fr);
    }

    .results-card {
        padding: 32px 20px;
    }

    .results-stats {
        grid-template-columns: 1fr;
    }

    .result-stat {
        border-right: 0;
        border-bottom: 1px solid #e5ebf1;
    }

    .result-stat:last-child {
        border-bottom: 0;
    }

    .results-actions {
        flex-direction: column;
    }

    .results-primary-button,
    .results-secondary-button {
        width: 100%;
    }

}


@media (max-width: 480px) {

    .question-progress-row {
        align-items: flex-start;
        flex-direction: column;
        gap: 10px;
    }

    .question-card {
        padding: 23px 17px;
    }

    .question-text {
        font-size: 14px;
    }

    .choice {
        gap: 10px;
    }

    .choice-letter {
        flex-basis: 29px;
        width: 29px;
        height: 29px;
    }

}


/* Legacy set controls are no longer shown on the single-question practice page. */
.question-sidebar {
    display: none;
}

.question-actions {
    margin-top: 18px;
    display: block;
}

.clear-button,
.navigation-buttons,
.secondary-navigation-button,
.primary-navigation-button,
.submit-button,
.question-navigator {
    display: none !important;
}



/* ============================================
   DIGITAL SAT-STYLE TWO-PANE LAYOUT
   ============================================ */

.question-layout {
    width: min(1380px, 100%);
    margin: 0 auto;
    display: grid;
    grid-template-columns:
        minmax(0, 1fr)
        minmax(0, 1fr);
    align-items: stretch;
    gap: 18px;
}

.sat-question-pane {
    min-width: 0;
    min-height: 650px;
    display: flex;
    flex-direction: column;
    background: #ffffff;
    border: 1px solid #dce4ed;
    border-radius: 12px;
    box-shadow: 0 4px 18px rgba(15, 23, 42, 0.045);
}

.sat-passage-pane {
    overflow: hidden;
}

.sat-answer-pane {
    padding: 0 24px 24px;
}

.sat-pane-label {
    flex: 0 0 auto;
    padding: 18px 22px 12px;
    color: #64748b;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 1.4px;
}

.question-passage {
    flex: 1 1 auto;
    padding: 4px 26px 30px;
    overflow: auto;
    color: #172033;
    font-size: 16px;
    line-height: 1.8;
    font-weight: 400;
    white-space: pre-line;
}

.question-passage:empty {
    display: none;
}

.sat-passage-pane:not(.has-passage) .sat-pane-label{
    opacity:.55;
}

.question-passage-copy{
    max-width:100%;
}

.question-passage mjx-container[display="true"],
.question-text mjx-container[display="true"],
.choice-text mjx-container[display="true"]{
    max-width:100%;
    overflow-x:auto;
    overflow-y:hidden;
    padding-bottom:2px;
}

.question-passage mjx-container,
.question-text mjx-container,
.choice-text mjx-container{
    line-height:1.25;
}

.question-passage-table-wrap {
    width: 100%;
    margin: 24px 0 4px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.question-passage-table {
    width: 100%;
    min-width: 560px;
    border-collapse: collapse;
    table-layout: fixed;
    background: #ffffff;
    font-size: 12.5px;
    line-height: 1.45;
}

.question-passage-table caption {
    margin-bottom: 9px;
    color: #475569;
    font-size: 12px;
    font-weight: 600;
    text-align: left;
}

.question-passage-table th,
.question-passage-table td {
    padding: 9px 8px;
    border: 1px solid #dbe3ec;
    text-align: center;
    vertical-align: middle;
    overflow-wrap: anywhere;
}

.question-passage-table th {
    background: #f8fafc;
    color: #334155;
    font-weight: 700;
}

.question-passage-table td:first-child,
.question-passage-table th:first-child {
    text-align: left;
    font-weight: 600;
}

@media (max-width: 900px) {
    .question-passage-table {
        min-width: 520px;
    }
}

.sat-answer-pane .question-progress-row {
    min-height: 62px;
    margin: 0;
    padding: 0 0 0 0;
}

.sat-answer-pane .question-card {
    flex: 1 1 auto;
    padding: 8px 0 22px;
    border: 0;
    border-radius: 0;
    box-shadow: none;
}


.sat-answer-pane .question-text {
    font-size: 17px;
    line-height: 1.7;
    font-weight: 600;
}

.sat-answer-pane .choices {
    margin-top: 26px;
}

.sat-answer-pane .question-actions {
    margin-top: auto;
    padding-top: 0;
}

.sat-answer-pane .check-answer-button {
    margin-top: 0;
}

.sat-passage-pane.has-passage {
    display: flex;
}

@media (max-width: 900px) {
    .question-layout {
        grid-template-columns: 1fr;
    }

    .sat-question-pane {
        min-height: auto;
    }

    .question-passage {
        max-height: none;
        overflow: visible;
    }

    .sat-answer-pane {
        padding-left: 20px;
        padding-right: 20px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .sat-question-pane,
    .question-passage,
    .sat-answer-pane .question-card {
        animation: none !important;
    }
}


/* Inline choice-specific explanations */
.choice-wrapper.has-reason,
.choice-wrapper:has(.choice-reason){
    padding-bottom:0;
}
.choice-reason{
    margin:8px 2px 2px 47px;
    padding:10px 12px;
    border-radius:8px;
    font-size:12px;
    line-height:1.55;
    animation:answer-feedback-in .18s ease both;
}
.choice-reason-correct{
    border:1px solid #b8dfc4;
    background:#f4fbf6;
    color:#315b3d;
}
.choice-reason-wrong{
    border:1px solid #e8c2bd;
    background:#fff8f7;
    color:#6f4743;
}
.choice-reason-label{
    margin-bottom:3px;
    font-size:10px;
    font-weight:700;
    letter-spacing:.35px;
    text-transform:uppercase;
}
.choice-reason-correct .choice-reason-label{
    color:#2f7a47;
}
.choice-reason-wrong .choice-reason-label{
    color:#a3534c;
}
.choice-reason-text{
    color:inherit;
    white-space:pre-line;
}
.answer-feedback{
    padding:13px 16px;
}
.answer-feedback-title{
    margin-bottom:2px;
    font-size:14px;
}
.answer-feedback-explanation{
    font-size:12px;
    line-height:1.5;
}
@media(max-width:620px){
    .choice-reason{
        margin-left:0;
    }
}


/* ============================================================
   QUESTION GRAPH + RETRY FLOW + TOPBAR NEXT CONTROL
   ============================================================ */
.question-topbar-actions{
    display:flex;
    align-items:stretch;
    justify-content:flex-end;
    gap:10px;
    flex:0 0 auto;
}
.topbar-next-button{
    width:auto;
    min-width:138px;
    min-height:100%;
    margin-top:0;
    padding:12px 18px;
    align-self:stretch;
    border-color:#b9d8d1;
    background:#f8fcfb;
    color:#0f766e;
    box-shadow:0 2px 7px rgba(15,23,42,.035);
}
.topbar-next-button:hover{
    background:#eef8f5;
    border-color:#78b6aa;
}
.question-actions .check-answer-button{
    width:100%;
}
.choice.attempted-wrong{
    opacity:.82;
}
.choice.attempted-wrong .choice-text{
    color:#7d4b47;
}
.choice.attempted-wrong:disabled{
    cursor:not-allowed;
}
.question-passage-copy{
    margin-top:0;
    white-space:pre-line;
}
.question-passage-table-wrap + .question-passage-copy,
.question-graph-wrap + .question-passage-copy{
    margin-top:20px;
}
.question-graph-wrap{
    margin:0;
    padding:16px 16px 12px;
    border:1px solid #d9e4e2;
    border-radius:13px;
    background:#ffffff;
    box-shadow:0 3px 10px rgba(15,23,42,.035);
}
.question-graph-caption{
    margin:0 0 10px;
    color:#193b36;
    font-size:13px;
    font-weight:650;
    line-height:1.4;
    text-align:center;
}
.question-graph-scroll{
    width:100%;
    overflow-x:auto;
    overflow-y:hidden;
    -webkit-overflow-scrolling:touch;
}
.question-graph{
    display:block;
    width:100%;
    min-width:620px;
    height:auto;
}
.question-graph-grid-line{
    stroke:#e6eeec;
    stroke-width:1;
    vector-effect:non-scaling-stroke;
}
.question-graph-axis-line{
    stroke:#91a7a2;
    stroke-width:1.2;
    vector-effect:non-scaling-stroke;
}
.question-graph-bar{
    opacity:.92;
}
.question-graph-bar.graph-series-0{
    fill:#0f766e;
}
.question-graph-bar.graph-series-1{
    fill:#8eb8b0;
}
.question-graph-legend-text,
.question-graph-category,
.question-graph-tick,
.question-graph-value,
.question-graph-axis-label{
    font-family:"Poppins",sans-serif;
}
.question-graph-legend-text{
    fill:#52645f;
    font-size:10px;
    font-weight:500;
}
.question-graph-category{
    fill:#344b46;
    font-size:10.5px;
    font-weight:600;
}
.question-graph-tick{
    fill:#7a8b87;
    font-size:9px;
}
.question-graph-value{
    fill:#314642;
    font-size:9px;
    font-weight:600;
}
.question-graph-axis-label{
    fill:#6f817d;
    font-size:9.5px;
    font-weight:500;
}
@media(max-width:700px){
    .question-topbar-actions{
        width:100%;
    }
    .topbar-next-button{
        flex:1 1 auto;
        min-height:70px;
    }
    .question-topbar-actions .timer-container{
        flex:1 1 auto;
        min-width:0;
        align-self:auto;
    }
    .question-graph-wrap{
        padding:13px 12px 10px;
    }
}


/* Additional graph types */
.question-graph-line{
    fill:none;
    stroke-width:2.2;
    stroke-linecap:round;
    stroke-linejoin:round;
    vector-effect:non-scaling-stroke;
}
.question-graph-point{
    stroke:#ffffff;
    stroke-width:1.6;
    vector-effect:non-scaling-stroke;
}
.question-graph-line.graph-series-0{
    stroke:#0f766e;
}
.question-graph-line.graph-series-1{
    stroke:#668f87;
}
.question-graph-line.graph-series-2{
    stroke:#9a7a4c;
}
.question-graph-line.graph-series-3{
    stroke:#7b8794;
}
.question-graph-point.graph-series-0{
    fill:#0f766e;
}
.question-graph-point.graph-series-1{
    fill:#668f87;
}
.question-graph-point.graph-series-2{
    fill:#9a7a4c;
}
.question-graph-point.graph-series-3{
    fill:#7b8794;
}
.question-graph-bar.graph-series-2{
    fill:#a88b62;
}
.question-graph-bar.graph-series-3{
    fill:#87939f;
}


/* Inline question navigation beside Mark for Review */
@media (max-width: 700px) {
    .question-progress-row {
        align-items: flex-start;
        gap: 10px;
    }

    .question-progress-actions {
        flex-wrap: wrap;
        gap: 8px;
    }

    .question-inline-navigation {
        gap: 6px;
    }

    .question-nav-button,
    .review-button {
        min-height: 36px;
    }
}


/* OCT 6 QUESTION SCREEN SCALE + ALIGNMENT */
.question-page{
    min-height:calc(100vh - 72px);
    padding:
        clamp(26px,3vw,45px)
        clamp(14px,2vw,24px)
        clamp(48px,5vw,80px);
}
.question-app{
    width:min(100%,1380px);
}
.question-topbar,
.question-layout{
    width:min(100%,clamp(780px,72vw,1040px));
    margin-left:auto;
    margin-right:auto;
}
.question-card{
    padding:
        clamp(26px,2.5vw,38px)
        clamp(22px,3vw,42px)
        clamp(30px,3vw,42px);
}
.question-text{
    font-family:Arial,Helvetica,sans-serif;
    font-size:clamp(17px,0.22vw + 14px,18px);
    font-weight:400;
    line-height:1.58;
    letter-spacing:0;
}
.choices{
    gap:10px;
    margin-top:20px;
}
.choice{
    min-height:58px;
    align-items:center;
    padding:13px 50px 13px 16px;
    line-height:1.45;
}
.choice-letter{
    align-self:center;
    flex:0 0 30px;
    width:30px;
    height:30px;
}
.choice-text{
    display:flex;
    align-items:center;
    min-height:30px;
    padding:0;
    line-height:1.45;
}
.question-nav-button{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    gap:6px;
}
.question-nav-symbol{
    display:inline-block;
    font-size:14px;
    font-weight:700;
    line-height:1;
}
@media(max-width:700px){
    .question-topbar,
    .question-layout{
        width:100%;
    }
    .question-card{
        padding:22px 18px 26px;
    }
    .question-text{
        font-size:17px;
        line-height:1.55;
    }
    .choices{
        margin-top:18px;
        gap:9px;
    }
    .choice{
        min-height:54px;
        padding:12px 46px 12px 14px;
    }
}


/* OCT 6 SCREENSHOT-DRIVEN QUESTION LAYOUT FIX */
.question-page{
    padding:
        clamp(14px,1.35vw,24px)
        clamp(12px,1.5vw,28px)
        clamp(32px,3vw,52px);
}
.question-app{
    width:min(100%,1540px);
    margin:0 auto;
}
.question-topbar,
.question-layout{
    width:min(100%,1500px);
    margin-left:auto;
    margin-right:auto;
}
.question-layout{
    grid-template-columns:minmax(0,1fr) minmax(0,1fr);
    gap:clamp(16px,1.6vw,24px);
}
.sat-question-pane{
    min-height:clamp(600px,72vh,760px);
}
.sat-passage-pane .question-passage{
    padding:
        10px
        clamp(30px,2.8vw,48px)
        34px;
    font-size:clamp(17px,.42vw + 12px,20px);
    line-height:1.72;
}
.sat-answer-pane{
    padding:
        0
        clamp(28px,2.5vw,42px)
        28px;
}
.sat-answer-pane .question-progress-row{
    min-height:82px;
    gap:16px;
}
.sat-answer-pane .question-card{
    padding:14px 0 22px;
}
.sat-answer-pane .question-text{
    font-family:Arial,Helvetica,sans-serif;
    font-size:clamp(18px,.25vw + 14px,19px);
    font-weight:700;
    line-height:1.35;
    letter-spacing:-.01em;
}
.sat-answer-pane .choices{
    margin-top:clamp(18px,1.6vw,24px);
    gap:12px;
}
.sat-answer-pane .choice{
    min-height:0;
    gap:18px;
    padding:
        clamp(14px,1.25vw,18px)
        52px
        clamp(14px,1.25vw,18px)
        18px;
    align-items:center;
    font-size:clamp(15px,.18vw + 12px,16px);
    line-height:1.42;
}
.sat-answer-pane .choice-letter{
    align-self:center;
    flex:0 0 32px;
    width:32px;
    height:32px;
}
.sat-answer-pane .choice-text{
    display:block;
    min-height:0;
    padding:0;
    align-self:center;
    line-height:1.42;
}
.question-progress-actions{
    gap:10px;
}
.question-inline-navigation{
    gap:8px;
}
.question-nav-button{
    min-height:44px;
    padding:9px 13px;
    gap:7px;
}
.question-nav-symbol{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    width:16px;
    height:16px;
    font-family:Arial,Helvetica,sans-serif;
    font-size:17px;
    font-weight:700;
    line-height:1;
}
.review-button{
    min-height:44px;
}
@media (min-width:1700px){
    .question-app{
        width:min(92vw,1600px);
    }
    .question-topbar,
    .question-layout{
        width:min(92vw,1560px);
    }
}
@media (max-width:1180px){
    .question-topbar,
    .question-layout{
        width:100%;
    }
    .sat-answer-pane{
        padding-left:22px;
        padding-right:22px;
    }
    .sat-passage-pane .question-passage{
        padding-left:28px;
        padding-right:28px;
    }
}
@media (max-width:900px){
    .question-layout{
        grid-template-columns:1fr;
    }
    .sat-question-pane{
        min-height:auto;
    }
    .sat-answer-pane .question-progress-row{
        min-height:68px;
    }
}
@media (max-width:700px){
    .question-page{
        padding:18px 14px 38px;
    }
    .sat-answer-pane{
        padding-left:18px;
        padding-right:18px;
    }
    .sat-answer-pane .question-text{
        font-size:18px;
    }
    .sat-answer-pane .choice{
        padding:13px 46px 13px 14px;
        gap:12px;
    }
}


/* OCT 6 FINAL COMPACT SAT QUESTION LAYOUT */
/* Desktop geometry: use available width without scaling typography with viewport width. */
.question-page{
    min-height:calc(100vh - 72px);
    padding:18px 20px 36px;
}
.question-app{
    width:min(calc(100vw - 40px),1480px);
    margin:0 auto;
}
.question-topbar,
.question-layout{
    width:100%;
    max-width:none;
    margin-left:auto;
    margin-right:auto;
}
.question-layout{
    grid-template-columns:minmax(0,1fr) minmax(0,1fr);
    gap:18px;
}
.sat-question-pane{
    min-height:620px;
}
.sat-passage-pane .question-passage{
    padding:14px 34px 32px;
    font-size:17px;
    line-height:1.68;
}
.sat-answer-pane{
    padding:0 28px 24px;
}
.sat-answer-pane .question-progress-row{
    min-height:68px;
    padding:0;
    gap:14px;
}
#question-number{
    font-size:14px;
    line-height:1.3;
}
.question-progress-actions{
    gap:8px;
}
.question-inline-navigation{
    gap:7px;
}
.question-nav-button{
    min-height:40px;
    padding:8px 12px;
    gap:5px;
    font-size:13px;
}
.question-nav-button::before,
.question-nav-button::after{
    display:none;
}
.question-nav-symbol{
    display:inline-flex!important;
    align-items:center;
    justify-content:center;
    width:12px;
    height:12px;
    font-family:Arial,Helvetica,sans-serif;
    font-size:0;
    line-height:1;
}
#previous-button .question-nav-symbol::before{
    content:"‹";
    font-size:19px;
    font-weight:700;
}
#next-button .question-nav-symbol::before{
    content:"›";
    font-size:19px;
    font-weight:700;
}
.review-button{
    min-height:40px;
    padding:8px 12px;
    font-size:13px;
}
.sat-answer-pane .question-card{
    flex:0 0 auto;
    padding:16px 0 18px;
}
.sat-answer-pane .question-text{
    font-family:Arial,Helvetica,sans-serif;
    font-size:18px;
    font-weight:600;
    line-height:1.36;
    letter-spacing:0;
}
.sat-answer-pane .choices{
    margin-top:22px;
    gap:10px;
}
.sat-answer-pane .choice{
    min-height:62px;
    height:auto;
    padding:12px 48px 12px 16px;
    gap:14px;
    align-items:center;
    font-size:15px;
    line-height:1.42;
}
.sat-answer-pane .choice-letter{
    flex:0 0 30px;
    width:30px;
    height:30px;
    align-self:center;
}
.sat-answer-pane .choice-text{
    display:block;
    flex:1 1 auto;
    min-width:0;
    min-height:0;
    padding:0;
    margin:0;
    align-self:center;
    line-height:1.42;
}
.sat-answer-pane .choice-strike-button{
    top:50%;
    right:12px;
    width:28px;
    height:28px;
}
.sat-answer-pane .question-actions{
    margin-top:10px;
}
.sat-answer-pane .check-answer-button{
    min-height:42px;
    padding:9px 16px;
}

/* Preserve essentially the same apparent type/control size on large screens. */
@media(min-width:1500px){
    .question-app{
        width:min(calc(100vw - 48px),1540px);
    }
    .sat-passage-pane .question-passage{
        font-size:17px;
    }
    .sat-answer-pane .question-text{
        font-size:18px;
    }
    .sat-answer-pane .choice{
        font-size:15px;
    }
}
@media(max-width:1100px){
    .question-app{
        width:calc(100vw - 28px);
    }
    .question-page{
        padding-left:14px;
        padding-right:14px;
    }
    .sat-answer-pane{
        padding-left:22px;
        padding-right:22px;
    }
    .sat-passage-pane .question-passage{
        padding-left:26px;
        padding-right:26px;
    }
}
@media(max-width:900px){
    .question-layout{
        grid-template-columns:1fr;
    }
    .sat-question-pane{
        min-height:auto;
    }
}
@media(max-width:700px){
    .question-app{
        width:100%;
    }
    .question-page{
        padding:14px 12px 32px;
    }
    .sat-answer-pane{
        padding-left:16px;
        padding-right:16px;
    }
    .sat-answer-pane .question-text{
        font-size:17px;
    }
    .sat-answer-pane .choice{
        min-height:58px;
        padding:11px 44px 11px 13px;
        font-size:14px;
    }
}


/* OCT 6 CHOICE GROUP CENTER + NAV SVG */
/* Match the test prompt typography without changing passage/choice/site fonts. */
.sat-answer-pane .question-text{
    font-family:Arial,"Helvetica Neue",Helvetica,sans-serif!important;
    font-size:18px!important;
    font-weight:700!important;
    line-height:1.32!important;
    letter-spacing:-0.01em!important;
}

/* Center the visible answer payload (badge + text) as one unit. */
.sat-answer-pane .choice{
    position:relative;
    display:grid!important;
    grid-template-columns:30px fit-content(min(560px, calc(100% - 96px)));
    justify-content:center!important;
    align-items:center!important;
    column-gap:14px!important;
    min-height:62px!important;
    padding:12px 48px!important;
}
.sat-answer-pane .choice-letter{
    grid-column:1;
    justify-self:center;
    align-self:center!important;
    margin:0!important;
}
.sat-answer-pane .choice-text{
    grid-column:2;
    justify-self:start;
    align-self:center!important;
    width:auto!important;
    max-width:560px;
    margin:0!important;
    padding:0!important;
    text-align:left!important;
}
.sat-answer-pane .choice-strike-button{
    position:absolute;
    top:50%!important;
    right:12px!important;
    transform:translateY(-50%)!important;
}

/* Real SVG icons are in the buttons; do not rely on font glyph pseudo-elements. */
.question-nav-symbol{
    display:inline-flex!important;
    width:14px!important;
    height:14px!important;
    font-size:inherit!important;
}
.question-nav-symbol::before{
    content:none!important;
}
.question-nav-symbol svg{
    display:block;
    width:14px;
    height:14px;
    fill:none;
    stroke:currentColor;
    stroke-width:2;
    stroke-linecap:round;
    stroke-linejoin:round;
}
@media(max-width:700px){
    .sat-answer-pane .choice{
        grid-template-columns:30px minmax(0,1fr);
        justify-content:stretch!important;
        padding:11px 44px 11px 13px!important;
    }
    .sat-answer-pane .choice-text{
        max-width:none;
    }
}


/* OCT 6 BLUEBOOK CONTENT FONT + RESTORED CHOICE PLACEMENT */
/* College Board documents Bluebook test content as Noto Serif 15/24. */
.question-passage,
.sat-answer-pane .question-text,
.sat-answer-pane .choice-text,
.choice-reason-text,
.answer-feedback-explanation,
.review-result-explanation{
    font-family:"Noto Serif",Georgia,"Times New Roman",serif!important;
    font-size:15px!important;
    line-height:24px!important;
    letter-spacing:0!important;
}
.question-passage,
.sat-answer-pane .choice-text,
.choice-reason-text,
.answer-feedback-explanation,
.review-result-explanation{
    font-weight:400!important;
}

/* Keep explanation prose from visually running into inline math.
   MathJax renders inline expressions as their own containers, so give
   them explicit breathing room instead of relying on collapsed HTML spaces. */
.choice-reason-text,
.answer-feedback-explanation,
.review-result-explanation{
    line-height:26px!important;
    word-spacing:.035em!important;
}
.choice-reason-text mjx-container:not([display="true"]),
.answer-feedback-explanation mjx-container:not([display="true"]),
.review-result-explanation mjx-container:not([display="true"]){
    margin-left:.16em!important;
    margin-right:.16em!important;
}
.choice-reason-text mjx-container[display="true"],
.answer-feedback-explanation mjx-container[display="true"],
.review-result-explanation mjx-container[display="true"]{
    margin-top:.55em!important;
    margin-bottom:.55em!important;
}
.sat-answer-pane .question-text{
    font-weight:700!important;
}

/* Restore the original left-to-right answer placement.
   Only correct the vertical relationship between the badge and answer text. */
.sat-answer-pane .choice{
    display:flex!important;
    grid-template-columns:none!important;
    justify-content:flex-start!important;
    align-items:center!important;
    gap:15px!important;
    min-height:62px!important;
    height:auto!important;
    padding:12px 48px 12px 16px!important;
}
.sat-answer-pane .choice-letter{
    flex:0 0 30px!important;
    width:30px!important;
    height:30px!important;
    align-self:center!important;
    justify-self:auto!important;
    margin:0!important;
}
.sat-answer-pane .choice-text{
    display:block!important;
    flex:1 1 auto!important;
    min-width:0!important;
    min-height:30px!important;
    width:auto!important;
    max-width:none!important;
    align-items:center!important;
    align-self:center!important;
    justify-self:auto!important;
    margin:0!important;
    padding:0!important;
    text-align:left!important;
    transform:none!important;
}

/* Keep the real inline SVG chevrons visible. */
.question-nav-symbol{
    display:inline-flex!important;
    align-items:center!important;
    justify-content:center!important;
    flex:0 0 14px!important;
    width:14px!important;
    height:14px!important;
}
.question-nav-symbol svg{
    display:block!important;
    width:14px!important;
    height:14px!important;
    overflow:visible!important;
    fill:none!important;
    stroke:currentColor!important;
    stroke-width:2!important;
    stroke-linecap:round!important;
    stroke-linejoin:round!important;
}


/* MATH RESPONSE + DESMOS */
.student-response-wrapper{
    margin-top:22px;
}
.student-response-label{
    display:block;
    margin-bottom:8px;
    color:#53645f;
    font-family:"Noto Serif",Georgia,serif;
    font-size:13px;
    font-weight:700;
}
.student-response-input{
    width:min(100%,340px);
    min-height:54px;
    box-sizing:border-box;
    padding:12px 14px;
    border:1.5px solid #aebfbb;
    border-radius:9px;
    background:#fff;
    color:#173b36;
    font-family:"Noto Serif",Georgia,serif;
    font-size:17px;
    line-height:1.4;
    outline:none;
}
.student-response-input:focus{
    border-color:#0e7367;
    box-shadow:0 0 0 3px rgba(14,115,103,.1);
}
.student-response-input.correct-answer{
    border-color:#3d8c66;
    background:#f1faf5;
}
.student-response-input.incorrect-answer{
    border-color:#dc5a50;
    background:#fff4f2;
    color:#7f2f2a;
}
.student-response-reveal{
    width:min(100%,340px);
    margin-top:10px;
    padding:11px 13px;
    box-sizing:border-box;
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:16px;
    border:1px solid #bad8c8;
    border-radius:9px;
    background:#f4fbf7;
    font-family:"Noto Serif",Georgia,serif;
}
.student-response-reveal-label{
    color:#4b625b;
    font-size:13px;
    font-weight:600;
}
.student-response-reveal-value{
    color:#1f6a48;
    font-size:16px;
    font-weight:700;
    text-align:right;
    overflow-wrap:anywhere;
}
.student-response-explanation{
    width:100%;
    margin-top:14px;
    padding:15px 17px;
    box-sizing:border-box;
    border:1px solid #d7e2df;
    border-radius:10px;
    background:#f8faf9;
}
.student-response-explanation-label{
    margin-bottom:7px;
    color:#31524a;
    font-family:Poppins,sans-serif;
    font-size:11px;
    font-weight:700;
    letter-spacing:.08em;
    text-transform:uppercase;
}
.student-response-explanation-text{
    color:#334b45;
    font-family:"Noto Serif",Georgia,"Times New Roman",serif;
    font-size:15px;
    line-height:1.75;
    white-space:pre-line;
}
.student-response-explanation-text mjx-container:not([display="true"]){
    margin-left:.14em!important;
    margin-right:.14em!important;
}
.student-response-explanation-text mjx-container[display="true"]{
    margin-top:.65em!important;
    margin-bottom:.65em!important;
}
.choice-mini-table{
    border-collapse:collapse;
    min-width:160px;
    font-family:"Noto Serif",Georgia,serif;
    font-size:14px;
}
.choice-mini-table th,
.choice-mini-table td{
    padding:4px 12px;
    border:1px solid #bdc9c6;
    text-align:center;
}
.choice-mini-table th{
    background:#f5f8f7;
    font-weight:700;
}
.question-xy-graph{
    display:block;
    width:100%;
    min-width:680px;
    height:auto;
    shape-rendering:geometricPrecision;
    text-rendering:geometricPrecision;
}
.question-xy-grid{
    vector-effect:non-scaling-stroke;
}
.question-xy-grid-minor{
    stroke:#edf2f1;
    stroke-width:.8;
}
.question-xy-grid-major{
    stroke:#dce6e3;
    stroke-width:1.05;
}
.question-xy-axis{
    stroke:#718680;
    stroke-width:1.35;
    vector-effect:non-scaling-stroke;
}
.question-xy-axis-emphasis{
    stroke:#536a64;
    stroke-width:1.75;
}
.question-xy-arrow-head{
    fill:#536a64;
}
.question-xy-plot-border{
    fill:none;
    stroke:#9badA8;
    stroke-width:1.15;
    vector-effect:non-scaling-stroke;
}
.question-xy-tick-mark{
    stroke:#718680;
    stroke-width:1.15;
    vector-effect:non-scaling-stroke;
}
.question-xy-tick{
    fill:#536761;
    font:500 11px Poppins,sans-serif;
}
.question-xy-axis-label{
    fill:#304b44;
    font:600 12px Poppins,sans-serif;
}
.question-xy-point-label{
    fill:#3d514c;
    font:600 10.5px Poppins,sans-serif;
    paint-order:stroke;
    stroke:#fff;
    stroke-width:3px;
    stroke-linejoin:round;
}
.question-xy-point-highlight{
    stroke:#163f37!important;
    stroke-width:2.25!important;
}
.question-xy-legend-text{
    fill:#3e544f;
    font:600 10.5px Poppins,sans-serif;
}
.choice-graph-wrap{
    width:min(100%,300px);
    margin:2px 0 4px;
}
.choice-mini-graph{
    display:block;
    width:100%;
    height:auto;
    border:1px solid #dce5e2;
    border-radius:8px;
    background:#fff;
}
.choice-graph-grid{
    stroke:#edf2f0;
    stroke-width:1;
}
.choice-graph-axis{
    stroke:#7b8f89;
    stroke-width:1.25;
}
.choice-graph-series{
    fill:none;
    stroke:#0e7367;
    stroke-width:2.5;
    stroke-linecap:round;
    stroke-linejoin:round;
}
.choice-graph-label{
    display:block;
    margin-top:6px;
    font-size:13px;
    font-weight:600;
    color:#445650;
}
.question-xy-series{
    fill:none;
    stroke:#0e7367;
    stroke-width:2.6;
    stroke-linecap:round;
    stroke-linejoin:round;
    vector-effect:non-scaling-stroke;
    shape-rendering:geometricPrecision;
}
.question-xy-series.series-1{
    stroke:#d18b42;
}
.question-xy-series.series-2{
    stroke:#6879b8;
}
.question-xy-point{
    fill:#0e7367;
    stroke:#fff;
    stroke-width:1.5;
}
.question-xy-point.series-1{
    fill:#d18b42;
}
.question-xy-point.series-2{
    fill:#6879b8;
}
.desmos-toggle-button{
    min-height:44px;
    display:inline-flex;
    align-items:center;
    justify-content:center;
    gap:7px;
    padding:9px 14px;
    border:1px solid #c9d8d4;
    border-radius:10px;
    background:#fff;
    color:#24554d;
    font-family:Poppins,sans-serif;
    font-size:13px;
    font-weight:700;
    cursor:pointer;
}
.desmos-toggle-button:hover{
    border-color:#8ab4ab;
    background:#f8fcfb;
}
.desmos-toggle-icon{
    font-size:20px;
    line-height:1;
}
.desmos-panel{
    position:fixed;
    inset:0;
    z-index:2500;
    display:block;
    padding:0;
    background:transparent;
    backdrop-filter:none;
    pointer-events:none;
}
.desmos-panel-card{
    position:absolute;
    left:50%;
    top:50%;
    transform:translate(-50%,-50%);
    width:min(1040px,calc(100vw - 44px));
    height:min(720px,calc(100vh - 44px));
    min-width:420px;
    min-height:320px;
    max-width:calc(100vw - 8px);
    max-height:calc(100vh - 8px);
    display:flex;
    flex-direction:column;
    overflow:hidden;
    resize:none;
    pointer-events:auto;
    contain:layout paint;
    will-change:width,height,left,top;
    border:1px solid #d0dcda;
    border-radius:16px;
    background:#fff;
    box-shadow:0 18px 55px rgba(15,23,42,.22);
}
.desmos-panel-head{
    min-height:58px;
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:20px;
    padding:10px 14px 10px 18px;
    border-bottom:1px solid #e0e8e6;
    cursor:move;
    user-select:none;
    touch-action:none;
}
.desmos-panel-head>div{
    display:flex;
    align-items:baseline;
    gap:9px;
}
.desmos-panel-head span{
    color:#76908a;
    font-size:9px;
    font-weight:800;
    letter-spacing:.13em;
}
.desmos-panel-head strong{
    color:#173b36;
    font-size:16px;
}
.desmos-panel-head button{
    width:36px;
    height:36px;
    border:0;
    border-radius:9px;
    background:#f1f5f4;
    color:#50645f;
    font-size:24px;
    cursor:pointer;
}
.desmos-frame{
    display:block;
    flex:1;
    width:100%;
    min-height:0;
    border:0;
    background:#fff;
    transform:none;
    filter:none!important;
    mix-blend-mode:normal!important;
    opacity:1;
}
.desmos-panel-card.is-resizing .desmos-frame,
.desmos-panel-card.is-dragging .desmos-frame{
    pointer-events:none;
}
.desmos-resize-handle{
    position:absolute;
    z-index:6;
    touch-action:none;
    user-select:none;
}
.desmos-resize-handle[data-resize-direction="n"]{
    top:0;
    left:14px;
    right:14px;
    height:9px;
    cursor:ns-resize;
}
.desmos-resize-handle[data-resize-direction="s"]{
    bottom:0;
    left:14px;
    right:14px;
    height:9px;
    cursor:ns-resize;
}
.desmos-resize-handle[data-resize-direction="e"]{
    top:14px;
    right:0;
    bottom:14px;
    width:9px;
    cursor:ew-resize;
}
.desmos-resize-handle[data-resize-direction="w"]{
    top:14px;
    left:0;
    bottom:14px;
    width:9px;
    cursor:ew-resize;
}
.desmos-resize-handle[data-resize-direction="ne"],
.desmos-resize-handle[data-resize-direction="nw"],
.desmos-resize-handle[data-resize-direction="se"],
.desmos-resize-handle[data-resize-direction="sw"]{
    width:16px;
    height:16px;
}
.desmos-resize-handle[data-resize-direction="ne"]{
    top:0;
    right:0;
    cursor:nesw-resize;
}
.desmos-resize-handle[data-resize-direction="nw"]{
    top:0;
    left:0;
    cursor:nwse-resize;
}
.desmos-resize-handle[data-resize-direction="se"]{
    right:0;
    bottom:0;
    cursor:nwse-resize;
}
.desmos-resize-handle[data-resize-direction="sw"]{
    left:0;
    bottom:0;
    cursor:nesw-resize;
}
.desmos-panel-card.is-resizing .desmos-resize-handle{
    background:transparent;
}
@media(max-width:700px){
    .desmos-panel-card{
        width:calc(100vw - 16px);
        height:min(82vh,680px);
        min-width:280px;
        min-height:280px;
        max-width:calc(100vw - 8px);
        max-height:calc(100vh - 8px);
        border-radius:12px;
    }
}


/* Systemic inline math / italic spacing */
.question-passage mjx-container:not([display="true"]),
.sat-answer-pane .question-text mjx-container:not([display="true"]),
.sat-answer-pane .choice-text mjx-container:not([display="true"]),
.choice-reason-text mjx-container:not([display="true"]),
.answer-feedback-explanation mjx-container:not([display="true"]),
.review-result-explanation mjx-container:not([display="true"]){
    margin-left:.14em!important;
    margin-right:.14em!important;
}
.question-passage em,
.sat-answer-pane .question-text em,
.sat-answer-pane .choice-text em,
.choice-reason-text em,
.answer-feedback-explanation em,
.review-result-explanation em{
    margin:0;
}


/* Math questions use upright prose. MathJax still applies normal
   mathematical italics to variables inside rendered equations. */
body.math-question-active #question-app em {
    font-style: normal;
}


/* ============================================================
   MATH: SINGLE STACKED QUESTION BLOCK
   Information + question stay above the answer choices.
   Reading & Writing keeps the two-pane SAT layout.
   ============================================================ */
body.math-question-active .question-layout{
    display:block!important;
    width:min(100%,980px)!important;
    max-width:980px!important;
    margin-left:auto!important;
    margin-right:auto!important;
}

body.math-question-active .sat-passage-pane{
    display:none!important;
}

body.math-question-active .sat-answer-pane{
    width:100%;
    min-height:0!important;
    padding:0 30px 26px!important;
}

body.math-question-active .sat-answer-pane .question-card{
    width:100%;
    padding:26px 0 20px!important;
}

body.math-question-active .math-question-context{
    margin:0 0 22px;
    padding:0 0 22px;
    border-bottom:1px solid #e2e8f0;
}

body.math-question-active .math-question-context-label{
    margin-bottom:12px;
    color:#64748b;
    font-family:Arial,"Helvetica Neue",Helvetica,sans-serif;
    font-size:10px;
    font-weight:700;
    letter-spacing:1.35px;
}

body.math-question-active .math-question-context-content{
    color:#172033;
    font-family:Arial,"Helvetica Neue",Helvetica,sans-serif;
    font-size:16px;
    font-weight:400;
    line-height:1.65;
    white-space:pre-line;
}

body.math-question-active .math-question-context-content .question-passage-copy{
    max-width:100%;
}

body.math-question-active .math-question-context-content mjx-container[display="true"]{
    max-width:100%;
    overflow-x:auto;
    overflow-y:hidden;
    padding-bottom:2px;
}

body.math-question-active .sat-answer-pane .question-text{
    margin:0;
}

body.math-question-active .sat-answer-pane .choices{
    margin-top:28px!important;
}

@media(max-width:700px){
    body.math-question-active .question-layout{
        width:100%!important;
    }

    body.math-question-active .sat-answer-pane{
        padding-left:16px!important;
        padding-right:16px!important;
    }

    body.math-question-active .sat-answer-pane .question-card{
        padding-top:20px!important;
    }

    body.math-question-active .math-question-context{
        margin-bottom:18px;
        padding-bottom:18px;
    }
}


/* Math content typography: serif like the original SAT-style presentation.
   UI controls/labels remain sans-serif; prose is upright via the rule above. */
body.math-question-active .math-question-context-content,
body.math-question-active .sat-answer-pane .question-text,
body.math-question-active .sat-answer-pane .choice-text,
body.math-question-active .choice-reason-text,
body.math-question-active .answer-feedback-explanation{
    font-family:"Noto Serif", Georgia, "Times New Roman", serif!important;
}


/* Compact imported Math prose around display equations.
   Raw source line breaks should never create giant vertical gaps. */
body.math-question-active .math-question-context-content,
body.math-question-active .math-question-context-content .question-passage-copy,
body.math-question-active .sat-answer-pane .question-text,
body.math-question-active .sat-answer-pane .choice-text{
    white-space:normal!important;
}

body.math-question-active .math-question-context-content mjx-container[display="true"],
body.math-question-active .sat-answer-pane .question-text mjx-container[display="true"],
body.math-question-active .sat-answer-pane .choice-text mjx-container[display="true"]{
    display:block;
    margin:.45em auto!important;
    padding-top:0!important;
    padding-bottom:0!important;
}

body.math-question-active .math-question-context-content br,
body.math-question-active .sat-answer-pane .question-text br,
body.math-question-active .sat-answer-pane .choice-text br{
    line-height:1.15;
}


/* ============================================================
   SYSTEMIC MATH RICH-TEXT NORMALIZATION
   The same spacing/MathJax rules apply to stems, choices,
   explanations, student responses, and result-review content.
   ============================================================ */
body.math-question-active .question-text,
body.math-question-active .choice-text,
body.math-question-active .choice-reason-text,
body.math-question-active .answer-feedback-explanation,
body.math-question-active .student-response-explanation-text,
body.math-question-active .review-result-question,
body.math-question-active .review-result-answer,
body.math-question-active .review-result-explanation,
body.math-question-active .math-question-context-content{
    white-space:normal!important;
    overflow-wrap:normal;
    word-break:normal;
}

body.math-question-active .question-text mjx-container:not([display="true"]),
body.math-question-active .choice-text mjx-container:not([display="true"]),
body.math-question-active .choice-reason-text mjx-container:not([display="true"]),
body.math-question-active .answer-feedback-explanation mjx-container:not([display="true"]),
body.math-question-active .student-response-explanation-text mjx-container:not([display="true"]),
body.math-question-active .review-result-question mjx-container:not([display="true"]),
body.math-question-active .review-result-answer mjx-container:not([display="true"]),
body.math-question-active .review-result-explanation mjx-container:not([display="true"]),
body.math-question-active .math-question-context-content mjx-container:not([display="true"]){
    display:inline-block!important;
    margin-left:.12em!important;
    margin-right:.12em!important;
    vertical-align:baseline!important;
}

body.math-question-active .question-text mjx-container[display="true"],
body.math-question-active .choice-text mjx-container[display="true"],
body.math-question-active .choice-reason-text mjx-container[display="true"],
body.math-question-active .answer-feedback-explanation mjx-container[display="true"],
body.math-question-active .student-response-explanation-text mjx-container[display="true"],
body.math-question-active .review-result-question mjx-container[display="true"],
body.math-question-active .review-result-answer mjx-container[display="true"],
body.math-question-active .review-result-explanation mjx-container[display="true"],
body.math-question-active .math-question-context-content mjx-container[display="true"]{
    display:block!important;
    max-width:100%;
    margin:.5em auto!important;
    padding:0!important;
    overflow-x:auto;
    overflow-y:hidden;
}

body.math-question-active .student-response-explanation-text,
body.math-question-active .review-result-explanation{
    font-family:"Noto Serif",Georgia,"Times New Roman",serif!important;
    line-height:1.6;
}

body.math-question-active .student-response-explanation-text em,
body.math-question-active .review-result-question em,
body.math-question-active .review-result-answer em,
body.math-question-active .review-result-explanation em{
    font-style:normal!important;
}


/* Desmos is Math-only. Even if stale UI state survives navigation,
   Reading & Writing can never display the calculator panel. */
body:not(.math-question-active) #desmos-toggle-button,
body:not(.math-question-active) #desmos-panel{
    display:none!important;
}


/* ============================================================
   FULL MOCK TEST MODE
   ============================================================ */
body.mock-test-active .question-page{
    min-height:calc(100vh - 92px);
    background:#f4f7f8;
}

body.mock-test-active .question-topbar{
    margin-bottom:18px;
}

body.mock-test-active .question-set-info .small-label{
    color:#0f8f88;
    letter-spacing:.14em;
}

body.mock-test-active .question-set-info h1{
    color:#102235;
    font-size:22px;
    letter-spacing:-.02em;
}

body.mock-test-active .timer-container{
    min-width:154px;
    border-color:#d4e2e5;
    box-shadow:none;
}

body.mock-test-active .timer-label{
    color:#66768a;
}

body.mock-test-active .timer{
    color:#102235;
}

body.mock-test-active .sat-question-pane{
    box-shadow:0 8px 26px rgba(16,34,53,.04);
}

body.mock-test-active .question-progress-row{
    border-bottom:1px solid #edf1f3;
}

body.mock-test-active #question-number{
    color:#4f6072;
    font-weight:700;
}

body.mock-test-active .check-answer-button{
    max-width:240px;
    margin-left:auto!important;
    background:#0f8f88;
    border-color:#0f8f88;
}

body.mock-test-active .check-answer-button:hover{
    background:#0b716b;
    border-color:#0b716b;
}

body.mock-test-active .question-actions{
    display:flex!important;
    justify-content:flex-end;
}

body.mock-test-active .answer-feedback{
    display:none!important;
}

body.mock-test-active .choice.correct-answer,
body.mock-test-active .choice.incorrect-answer{
    border-color:#d5dee8!important;
    background:#fff!important;
    box-shadow:none!important;
}

body.mock-test-active .choice.correct-answer .choice-letter,
body.mock-test-active .choice.incorrect-answer .choice-letter{
    border-color:#b9c5d3!important;
    background:#fff!important;
    color:#475569!important;
}

body.mock-test-active .student-response-explanation,
body.mock-test-active .student-response-reveal,
body.mock-test-active .choice-reason{
    display:none!important;
}

body.mock-test-active .review-button.reviewing{
    border-color:#d8a241;
    background:#fff9ec;
    color:#8d641b;
}

.mock-gate-overlay{
    position:fixed;
    inset:92px 0 0;
    z-index:1200;
    display:flex;
    align-items:center;
    justify-content:center;
    padding:28px;
    background:#f4f7f8;
}

.mock-gate-card{
    width:min(560px,100%);
    padding:42px 42px 38px;
    border:1px solid #d8e2e6;
    border-radius:16px;
    background:#fff;
    box-shadow:0 20px 60px rgba(16,34,53,.08);
    text-align:center;
}

.mock-gate-eyebrow{
    margin-bottom:10px;
    color:#0f8f88;
    font-size:11px;
    font-weight:700;
    letter-spacing:.14em;
}

.mock-gate-card h2{
    margin:0;
    color:#102235;
    font-size:30px;
    line-height:1.2;
    letter-spacing:-.035em;
}

.mock-gate-card p{
    max-width:430px;
    margin:14px auto 0;
    color:#66768a;
    font-size:14px;
    line-height:1.7;
}

.mock-break-clock{
    margin:28px auto 26px;
    color:#102235;
    font-size:48px;
    font-weight:700;
    line-height:1;
    font-variant-numeric:tabular-nums;
    letter-spacing:-.04em;
}

.mock-gate-primary{
    width:100%;
    min-height:48px;
    border:1px solid #0f8f88;
    border-radius:9px;
    background:#0f8f88;
    color:#fff;
    font-family:inherit;
    font-size:14px;
    font-weight:700;
    cursor:pointer;
}

.mock-gate-primary:hover{
    background:#0b716b;
    border-color:#0b716b;
}

.mock-gate-exit{
    display:inline-block;
    margin-top:18px;
    color:#66768a;
    font-size:12px;
    font-weight:600;
    text-decoration:none;
}

.mock-gate-exit:hover{
    color:#0f8f88;
}

body.mock-results-active .results-card{
    border-color:#d8e2e6;
    box-shadow:0 14px 42px rgba(16,34,53,.06);
}

body.mock-results-active .results-eyebrow{
    color:#0f8f88;
}

body.mock-results-active .score-circle{
    border-color:#0f8f88;
}

body.mock-results-active .score-circle #score-number{
    font-size:30px;
}

@media(max-width:700px){
    .mock-gate-overlay{
        inset:92px 0 0;
        padding:16px;
    }

    .mock-gate-card{
        padding:32px 22px 28px;
    }

    .mock-gate-card h2{
        font-size:26px;
    }

    .mock-break-clock{
        font-size:42px;
    }

    body.mock-test-active .check-answer-button{
        max-width:none;
    }
}


/* ============================================================
   QUESTION BANK CLASSIFICATION + STABLE CHOICE CROSS-OUT
   ============================================================ */
.question-progress-identity{
    display:flex;
    align-items:center;
    flex-wrap:wrap;
    gap:9px 12px;
    min-width:0;
}

.question-metadata{
    display:flex;
    align-items:center;
    flex-wrap:wrap;
    gap:6px;
    min-width:0;
}

.question-meta-pill{
    display:inline-flex;
    align-items:center;
    min-height:25px;
    max-width:340px;
    padding:4px 9px;
    border:1px solid #dde5e2;
    border-radius:9px;
    background:#fbfcfb;
    color:#53615f;
    font-size:11px;
    font-weight:600;
    line-height:1.2;
    white-space:normal;
    box-shadow:none;
}

/*
 * Match the calm university-position palette: muted color,
 * soft borders, and nearly-neutral fills rather than bright chips.
 */
.question-meta-domain{
    background:#f7fbfa;
    border-color:#d5e5df;
    color:#416f62;
}

.question-meta-subtopic{
    background:#fafcfa;
    border-color:#dce6e2;
    color:#587368;
}

.question-meta-difficulty[data-difficulty="easy"]{
    background:#f7fbf9;
    border-color:#cfe2db;
    color:#326958;
}

.question-meta-difficulty[data-difficulty="medium"]{
    background:#fcfbf6;
    border-color:#e8e4d5;
    color:#7b7047;
}

.question-meta-difficulty[data-difficulty="hard"]{
    background:#fcf8f7;
    border-color:#ead8d6;
    color:#8b4d4a;
}

/* Mock tests intentionally never expose domain/subtopic/difficulty. */
body.mock-test-active .question-metadata{
    display:none!important;
}

/*
 * Cross-out is purely visual. The choice DOM stays intact so MathJax,
 * graphs, tables, superscripts, fractions, and spacing cannot be lost.
 */
.choice-strike-button.active{
    border-color:#fca5a5;
    background:#fef2f2;
    color:#dc2626;
}

.choice.eliminated .choice-text{
    opacity:.68;
}

/* Do not apply one continuous text-decoration across rich MathJax/table
   content; that can visually cut through fractions and restructure math. */
.choice.eliminated .choice-text{
    text-decoration:none!important;
}

.choice.eliminated .choice-text::after{
    content:"";
}

@media(max-width:900px){
    .question-progress-identity{
        align-items:flex-start;
        flex-direction:column;
        gap:7px;
    }

    .question-meta-pill{
        max-width:280px;
    }
}


/* Reading & Writing Question Bank metadata lives on the passage side. */
.sat-passage-header{
    flex:0 0 auto;
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:12px;
    padding:18px 22px 12px;
}

.sat-passage-header .sat-pane-label{
    padding:0;
}

.reading-question-metadata-host{
    display:flex;
    justify-content:flex-end;
    min-width:0;
}

.reading-question-metadata-host .question-metadata{
    justify-content:flex-end;
}

.sat-passage-header + .question-passage{
    padding-top:4px;
}

@media(max-width:760px){
    .sat-passage-header{
        align-items:flex-start;
        flex-direction:column;
        gap:8px;
    }

    .reading-question-metadata-host,
    .reading-question-metadata-host .question-metadata{
        justify-content:flex-start;
    }
}


/* ============================================================
   QUESTION BANK PEEKER
   ============================================================ */
.question-bank-peeker{
    position:fixed;
    left:18px;
    bottom:18px;
    z-index:1150;
    display:flex;
    flex-direction:column-reverse;
    align-items:flex-start;
    gap:8px;
    font-family:'Poppins',sans-serif;
}

.question-bank-peeker-toggle{
    display:inline-flex;
    align-items:center;
    gap:8px;
    min-height:40px;
    padding:8px 11px;
    border:1px solid #d6e1e5;
    border-radius:10px;
    background:rgba(255,255,255,.96);
    color:#415365;
    box-shadow:0 8px 24px rgba(15,23,42,.09);
    backdrop-filter:blur(8px);
    font:600 11px/1 'Poppins',sans-serif;
    cursor:pointer;
}

.question-bank-peeker-toggle:hover{
    border-color:#adc8c3;
    background:#fbfdfd;
}

.question-bank-peeker-icon{
    display:inline-flex;
    width:17px;
    height:17px;
    color:#4f7c75;
}

.question-bank-peeker-icon svg{
    width:100%;
    height:100%;
    fill:none;
    stroke:currentColor;
    stroke-width:1.45;
    stroke-linecap:round;
    stroke-linejoin:round;
}

.question-bank-peeker-position{
    color:#85918f;
    font-size:10px;
    font-variant-numeric:tabular-nums;
}

.question-bank-peeker-panel{
    width:min(330px,calc(100vw - 36px));
    overflow:hidden;
    border:1px solid #d9e3e6;
    border-radius:13px;
    background:rgba(255,255,255,.985);
    box-shadow:0 18px 48px rgba(15,23,42,.14);
    backdrop-filter:blur(12px);
}

.question-bank-peeker-head{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:12px;
    padding:15px 15px 12px;
    border-bottom:1px solid #edf1f2;
}

.question-bank-peeker-head div{
    display:flex;
    flex-direction:column;
    gap:2px;
}

.question-bank-peeker-head span{
    color:#78908c;
    font-size:8px;
    font-weight:700;
    letter-spacing:.12em;
}

.question-bank-peeker-head strong{
    color:#283c4d;
    font-size:13px;
    font-weight:700;
}

.question-bank-peeker-head button{
    width:28px;
    height:28px;
    border:0;
    border-radius:7px;
    background:transparent;
    color:#7c8b98;
    font:400 20px/1 Arial,sans-serif;
    cursor:pointer;
}

.question-bank-peeker-head button:hover{
    background:#f1f5f5;
    color:#3e555f;
}

.question-bank-peeker-filters{
    display:flex;
    flex-wrap:wrap;
    gap:5px;
    padding:10px 14px;
    border-bottom:1px solid #edf1f2;
}

.question-bank-peeker-filters span{
    display:inline-flex;
    align-items:center;
    min-height:22px;
    max-width:100%;
    padding:3px 7px;
    overflow:hidden;
    border:1px solid #dfe7e5;
    border-radius:7px;
    background:#fafcfb;
    color:#61716f;
    font-size:9px;
    font-weight:600;
    line-height:1.25;
    text-overflow:ellipsis;
    white-space:nowrap;
}

.question-bank-peeker-filters .question-bank-peeker-filter-empty{
    color:#879390;
    font-weight:500;
}

.question-bank-peeker-list{
    --peeker-tile-size:42px;
    --peeker-grid-gap:7px;
    display:grid;
    grid-template-columns:repeat(5,var(--peeker-tile-size));
    grid-auto-rows:var(--peeker-tile-size);
    justify-content:center;
    gap:var(--peeker-grid-gap);
    height:312px;
    max-height:312px;
    padding:10px 8px 10px 10px;
    overflow-x:hidden;
    overflow-y:auto;
    overscroll-behavior:contain;
    scrollbar-gutter:stable;
    scroll-behavior:smooth;
}

.question-bank-peeker-list::-webkit-scrollbar{
    width:7px;
}

.question-bank-peeker-list::-webkit-scrollbar-track{
    background:transparent;
}

.question-bank-peeker-list::-webkit-scrollbar-thumb{
    border:2px solid transparent;
    border-radius:999px;
    background:#b8c6c3;
    background-clip:padding-box;
}

.question-bank-peeker-list::-webkit-scrollbar-thumb:hover{
    background:#95aaa5;
    background-clip:padding-box;
}

.question-bank-peeker-list{
    scrollbar-width:thin;
    scrollbar-color:#b8c6c3 transparent;
}

.question-bank-peeker-item{
    position:relative;
    width:100%;
    height:100%;
    aspect-ratio:auto;
    display:flex;
    align-items:center;
    justify-content:center;
    min-width:0;
    padding:0;
    border:1px solid #dde5e2;
    border-radius:9px;
    background:#fbfcfb;
    color:#53615f;
    font-family:'Poppins',sans-serif;
    text-align:center;
    cursor:pointer;
    box-shadow:none;
    transition:
        transform .14s ease,
        background .14s ease,
        border-color .14s ease,
        color .14s ease,
        box-shadow .14s ease;
}

/* Muted SAT-label palette: color communicates difficulty without shouting. */
.question-bank-peeker-item.difficulty-easy{
    background:#f7fbf9;
    border-color:#cfe2db;
    color:#326958;
}

.question-bank-peeker-item.difficulty-medium{
    background:#fcfbf6;
    border-color:#e8e4d5;
    color:#7b7047;
}

.question-bank-peeker-item.difficulty-hard{
    background:#fcf8f7;
    border-color:#ead8d6;
    color:#8b4d4a;
}

.question-bank-peeker-item:hover{
    transform:translateY(-1px);
    background:#f7faf9;
    border-color:#cbd8d4;
    box-shadow:0 3px 8px rgba(35,66,59,.07);
}

.question-bank-peeker-item.current{
    z-index:2;
    border-color:#75978a;
    box-shadow:
        0 0 0 2px #fff,
        0 0 0 3px #75978a;
}

.question-bank-peeker-item-number{
    display:block;
    font-size:10px;
    font-weight:750;
    line-height:1;
    font-variant-numeric:tabular-nums;
}

.question-bank-peeker-status-dot{
    position:absolute;
    right:3px;
    bottom:3px;
    width:6px;
    height:6px;
    border:1.5px solid #fff;
    border-radius:50%;
    box-shadow:0 0 0 1px rgba(15,23,42,.05);
}

.question-bank-peeker-status-dot.unanswered{
    background:#99a5a2;
}

.question-bank-peeker-status-dot.correct{
    background:#5e9c88;
}

.question-bank-peeker-status-dot.incorrect{
    background:#b76b66;
}

.question-bank-peeker-review-icon{
    position:absolute;
    top:-3px;
    right:-3px;
    display:flex;
    align-items:center;
    justify-content:center;
    width:12px;
    height:12px;
    border:1px solid #d9cfaa;
    border-radius:50%;
    background:#fffdf7;
    color:#9f8d4f;
    box-shadow:0 1px 3px rgba(15,23,42,.08);
}

.question-bank-peeker-review-icon svg{
    width:7px;
    height:8px;
    fill:currentColor;
    stroke:currentColor;
    stroke-width:1.4;
    stroke-linecap:round;
    stroke-linejoin:round;
}

.question-bank-peeker-open{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:10px;
    margin:0 6px 6px;
    padding:10px 9px;
    border-radius:8px;
    color:#3b6e66;
    font-size:10px;
    font-weight:700;
    text-decoration:none;
}

.question-bank-peeker-open:hover{
    background:#f0f7f5;
}

body.mock-test-active .question-bank-peeker{
    display:none!important;
}

@media(max-width:700px){
    .question-bank-peeker-list{
        --peeker-tile-size:40px;
        --peeker-grid-gap:6px;
        grid-template-columns:repeat(4,var(--peeker-tile-size));
        height:288px;
        max-height:288px;
    }
    .question-bank-peeker{
        left:10px;
        bottom:10px;
    }

    .question-bank-peeker-toggle{
        min-height:38px;
        padding:7px 9px;
    }

    .question-bank-peeker-panel{
        width:min(270px,calc(100vw - 20px));
    }
}

/* ============================================================
   DARK MODE: KEEP DESMOS OUTSIDE ALL FILTERED LAYERS
   ============================================================ */

/*
 * Chromium can recolor/gray a cross-origin iframe when text selection
 * causes a repaint inside any filtered ancestor. The calculator must
 * therefore never sit beneath CSS filter/invert at all.
 *
 * Dark mode still literally inverts the site surfaces, but Desmos is
 * rendered natively and its surrounding window receives explicit dark
 * chrome instead of being color-filtered.
 */
html.lexlogica-dark-mode{
    filter:none!important;
    background:#000;
}

html.lexlogica-dark-mode body{
    background:#000;
}

html.lexlogica-dark-mode body > .header,
html.lexlogica-dark-mode body > .question-page,
html.lexlogica-dark-mode body > .question-bank-peeker,
html.lexlogica-dark-mode body > .mock-gate-overlay{
    filter:invert(1) brightness(1.08);
}

html.lexlogica-dark-mode body > #desmos-panel,
html.lexlogica-dark-mode #desmos-panel,
html.lexlogica-dark-mode .desmos-panel-card,
html.lexlogica-dark-mode #desmos-frame{
    filter:none!important;
    backdrop-filter:none!important;
    mix-blend-mode:normal!important;
}

html.lexlogica-dark-mode body > #desmos-panel{
    isolation:isolate;
    will-change:auto;
}

html.lexlogica-dark-mode .desmos-panel-card{
    border-color:#33413f;
    background:#111817;
    box-shadow:0 18px 55px rgba(0,0,0,.48);
}

html.lexlogica-dark-mode .desmos-panel-head{
    border-bottom-color:#2d3a38;
    background:#111817;
}

html.lexlogica-dark-mode .desmos-panel-head span{
    color:#8fa7a2;
}

html.lexlogica-dark-mode .desmos-panel-head strong{
    color:#e5eeec;
}

html.lexlogica-dark-mode .desmos-panel-head button{
    background:#202b29;
    color:#c8d5d2;
}

html.lexlogica-dark-mode .desmos-frame{
    background:#fff;
    color-scheme:light;
    isolation:isolate;
    backface-visibility:visible;
    transform:none!important;
    will-change:auto;
}



/* ============================================================
   DARK MODE: QUIET QUESTION BANK PEEKER
   ============================================================ */

/*
 * Keep question symbols inside the same charcoal / desaturated teal
 * language as the rest of dark mode. Difficulty colors are intentionally
 * subtle; state and position remain readable without looking neon.
 */
html.lexlogica-dark-mode .question-bank-peeker-item{
    filter:invert(1);
    background:#151c1b;
    border-color:#303d3a;
    color:#aebdb9;
    box-shadow:none;
}

html.lexlogica-dark-mode .question-bank-peeker-item.difficulty-easy{
    background:#17201e;
    border-color:#3b504a;
    color:#78968d;
}

html.lexlogica-dark-mode .question-bank-peeker-item.difficulty-medium{
    background:#201f1a;
    border-color:#514d3f;
    color:#9a9278;
}

html.lexlogica-dark-mode .question-bank-peeker-item.difficulty-hard{
    background:#211b1b;
    border-color:#554443;
    color:#a4807d;
}

html.lexlogica-dark-mode .question-bank-peeker-item:hover{
    background:#1b2422;
    border-color:#43534f;
    box-shadow:0 2px 7px rgba(0,0,0,.16);
}

html.lexlogica-dark-mode .question-bank-peeker-item.current{
    border-color:#52776f;
    color:#c7d5d1;
    box-shadow:
        0 0 0 2px #111817,
        0 0 0 3px #52776f;
}

html.lexlogica-dark-mode .question-bank-peeker-status-dot{
    border-color:#151c1b;
    box-shadow:none;
}

html.lexlogica-dark-mode .question-bank-peeker-status-dot.unanswered{
    background:#687a75;
    color:#687a75;
}

html.lexlogica-dark-mode .question-bank-peeker-status-dot.correct{
    background:#5f8f80;
    color:#5f8f80;
}

html.lexlogica-dark-mode .question-bank-peeker-status-dot.incorrect{
    background:#9b6662;
    color:#9b6662;
}

html.lexlogica-dark-mode .question-bank-peeker-review-icon{
    border-color:#625e4d;
    background:#1d1d18;
    color:#988f69;
    box-shadow:none;
}


/* ============================================================
   MOCK TEST SCORE BREAKDOWN
   ============================================================ */

.mock-section-scores{
    display:grid;
    grid-template-columns:repeat(2,minmax(0,1fr));
    width:min(620px,100%);
    margin:0 auto 24px;
    overflow:hidden;
    border:1px solid #dfe7ec;
    border-radius:14px;
    background:#fff;
}

.mock-section-score{
    padding:20px 22px 18px;
    text-align:left;
    border-right:1px solid #dfe7ec;
}

.mock-section-score:last-child{
    border-right:0;
}

.mock-section-score > span{
    display:block;
    color:#66768a;
    font-size:11px;
    font-weight:650;
    letter-spacing:.02em;
}

.mock-section-score > strong{
    display:block;
    margin-top:5px;
    color:#102235;
    font-size:32px;
    line-height:1.05;
    letter-spacing:-.035em;
}

.mock-section-score > small{
    display:block;
    margin-top:7px;
    color:#7a8796;
    font-size:11px;
}

.mock-section-score > small b{
    color:#425466;
    font-weight:700;
}

body.mock-results-active .score-circle{
    width:158px;
    height:158px;
}

body.mock-results-active .score-circle #score-number{
    font-size:38px;
    letter-spacing:-.04em;
}

body.mock-results-active .score-circle span{
    text-transform:uppercase;
    letter-spacing:.09em;
}

@media(max-width:620px){
    .mock-section-scores{
        grid-template-columns:1fr;
    }

    .mock-section-score{
        border-right:0;
        border-bottom:1px solid #dfe7ec;
    }

    .mock-section-score:last-child{
        border-bottom:0;
    }
}


/* ============================================================
   MOCK QUESTION NAVIGATOR MENU
   ============================================================ */

.question-progress-identity{
    position:relative;
}

.mock-question-menu-toggle{
    width:26px;
    height:26px;
    display:inline-flex;
    align-items:center;
    justify-content:center;
    padding:0;
    border:1px solid #d8e1e8;
    border-radius:8px;
    background:#fff;
    color:#64748b;
    cursor:pointer;
}

.mock-question-menu-toggle svg{
    width:14px;
    height:14px;
    fill:none;
    stroke:currentColor;
    stroke-width:1.8;
    stroke-linecap:round;
    stroke-linejoin:round;
    transition:transform .16s ease;
}

.mock-question-menu-toggle[aria-expanded="true"] svg{
    transform:rotate(180deg);
}

.mock-question-menu-toggle:hover{
    border-color:#9eb4b0;
    color:#315e59;
}

.mock-question-menu{
    position:absolute;
    top:calc(100% + 10px);
    left:0;
    z-index:80;
    width:min(390px,calc(100vw - 36px));
    padding:14px;
    border:1px solid #d8e2e6;
    border-radius:14px;
    background:#fff;
    box-shadow:0 16px 42px rgba(16,34,53,.16);
}

.mock-question-menu-head{
    display:flex;
    align-items:flex-start;
    justify-content:space-between;
    gap:12px;
    margin-bottom:11px;
}

.mock-question-menu-head > div{
    display:flex;
    flex-direction:column;
    gap:2px;
}

.mock-question-menu-head strong{
    color:#17283a;
    font-size:14px;
    font-weight:700;
}

.mock-question-menu-head span{
    color:#7b8998;
    font-size:10px;
}

.mock-question-menu-head > button{
    width:27px;
    height:27px;
    border:0;
    border-radius:7px;
    background:#f3f6f7;
    color:#6f7e8d;
    font-size:18px;
    line-height:1;
    cursor:pointer;
}

.mock-question-menu-filters{
    display:flex;
    gap:6px;
    margin-bottom:12px;
}

.mock-question-menu-filters button{
    display:inline-flex;
    align-items:center;
    gap:5px;
    min-height:30px;
    padding:5px 9px;
    border:1px solid #dde5e9;
    border-radius:999px;
    background:#fafcfc;
    color:#617080;
    font:600 10px/1.2 "Poppins",sans-serif;
    cursor:pointer;
}

.mock-question-menu-filters button span{
    min-width:17px;
    padding:2px 4px;
    border-radius:999px;
    background:#edf2f3;
    color:#52636e;
    text-align:center;
    font-size:9px;
}

.mock-question-menu-filters button.active{
    border-color:#7eb5ad;
    background:#edf8f5;
    color:#356f67;
}

.mock-question-menu .question-navigator{
    display:grid!important;
    grid-template-columns:repeat(7,1fr);
    gap:7px;
    max-height:220px;
    padding:2px 2px 8px;
    overflow-y:auto;
}

.mock-question-menu .question-number-button{
    position:relative;
    width:100%;
    aspect-ratio:1;
    border-radius:9px;
    font-size:11px;
}

.mock-question-menu .question-number-button.unanswered{
    background:#fff;
    border-color:#cfd9df;
    color:#566676;
}

.mock-question-menu .question-number-button.answered{
    background:#e9f6f3;
    border-color:#85c5ba;
    color:#326b62;
}

.mock-question-menu .question-number-button.review::after{
    content:"";
    position:absolute;
    top:-3px;
    right:-3px;
    width:8px;
    height:10px;
    border-radius:2px 2px 4px 4px;
    background:#d8a940;
    box-shadow:0 0 0 2px #fff;
}

.mock-question-menu .question-number-button.current{
    border-color:#176f68;
    box-shadow:
        0 0 0 2px #fff,
        0 0 0 4px #176f68;
}

.mock-question-menu .question-number-button.navigator-filter-hidden{
    display:none;
}

.mock-question-menu-legend{
    display:flex;
    flex-wrap:wrap;
    gap:10px 14px;
    padding-top:10px;
    border-top:1px solid #edf1f3;
    color:#778594;
    font-size:9px;
}

.mock-question-menu-legend span{
    display:inline-flex;
    align-items:center;
    gap:5px;
}

.mock-question-menu-legend i{
    width:8px;
    height:8px;
    border:1px solid #cfd9df;
    border-radius:2px;
    background:#fff;
}

.mock-question-menu-legend i.answered{
    border-color:#85c5ba;
    background:#e9f6f3;
}

.mock-question-menu-legend i.review{
    border-color:#d8a940;
    background:#f4cc68;
}

body:not(.mock-test-active) .mock-question-menu-toggle{
    display:none!important;
}

@media(max-width:620px){
    .mock-question-menu{
        width:min(350px,calc(100vw - 28px));
    }

    .mock-question-menu .question-navigator{
        grid-template-columns:repeat(6,1fr);
    }

    .mock-question-menu-filters{
        flex-wrap:wrap;
    }
}


/* ============================================================
   MOCK RESULTS COMPACT SUMMARY
   ============================================================ */

body.mock-results-active .results-message{
    max-width:680px;
    margin:22px auto 8px;
}

.mock-results-summary{
    display:grid;
    grid-template-columns:repeat(3,minmax(0,1fr));
    overflow:hidden;
    border:1px solid #dfe7eb;
    border-radius:13px;
    background:#fafcfc;
    text-align:left;
}

.mock-results-summary-item{
    min-width:0;
    padding:14px 16px 13px;
    border-right:1px solid #dfe7eb;
}

.mock-results-summary-item:last-child{
    border-right:0;
}

.mock-results-summary-item > span{
    display:block;
    color:#748392;
    font-size:9px;
    font-weight:700;
    letter-spacing:.07em;
    text-transform:uppercase;
}

.mock-results-summary-item > strong{
    display:block;
    margin-top:3px;
    color:#17283a;
    font-size:22px;
    line-height:1.1;
    letter-spacing:-.025em;
}

.mock-results-summary-item > small{
    display:block;
    margin-top:4px;
    color:#71808d;
    font-size:10px;
    line-height:1.35;
}

.mock-results-summary-total{
    background:#f3f9f7;
}

.mock-results-summary-total > strong{
    color:#176f68;
}

@media(max-width:620px){
    .mock-results-summary{
        grid-template-columns:1fr;
    }

    .mock-results-summary-item{
        border-right:0;
        border-bottom:1px solid #dfe7eb;
    }

    .mock-results-summary-item:last-child{
        border-bottom:0;
    }
}


/* ============================================================
   MOCK DOMAIN PERFORMANCE + SYMBOL REVIEW
   ============================================================ */

.mock-domain-performance{
    width:min(760px,100%);
    margin:24px auto 6px;
    padding:18px;
    border:1px solid #dfe7eb;
    border-radius:14px;
    background:#fff;
    text-align:left;
}

.mock-domain-performance-head{
    display:flex;
    align-items:baseline;
    justify-content:space-between;
    gap:14px;
    margin-bottom:16px;
}

.mock-domain-performance-head > span{
    color:#25394a;
    font-size:13px;
    font-weight:700;
}

.mock-domain-performance-head > small{
    color:#85919c;
    font-size:10px;
}

.mock-domain-section + .mock-domain-section{
    margin-top:18px;
    padding-top:17px;
    border-top:1px solid #edf1f3;
}

.mock-domain-section-title{
    margin-bottom:10px;
    color:#667584;
    font-size:10px;
    font-weight:700;
    letter-spacing:.08em;
    text-transform:uppercase;
}

.mock-domain-cards{
    display:grid;
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:9px;
}

.mock-domain-card{
    padding:11px 12px;
    border:1px solid #e3eaed;
    border-radius:10px;
    background:#fafcfc;
}

.mock-domain-card-top{
    display:flex;
    align-items:flex-start;
    justify-content:space-between;
    gap:12px;
}

.mock-domain-card-top span{
    color:#445766;
    font-size:10px;
    font-weight:600;
    line-height:1.35;
}

.mock-domain-card-top strong{
    flex:0 0 auto;
    color:#213849;
    font-size:12px;
}

.mock-domain-meter{
    height:5px;
    margin-top:9px;
    overflow:hidden;
    border-radius:999px;
    background:#e9eef0;
}

.mock-domain-meter i{
    display:block;
    height:100%;
    border-radius:inherit;
    background:#769b94;
}

.mock-domain-card small{
    display:block;
    margin-top:5px;
    color:#89959e;
    font-size:9px;
}


/* Mock review uses neutral symbols; difficulty never changes their color. */
body.mock-results-active .results-review{
    width:min(920px,100%);
    margin:28px auto 0;
}

body.mock-results-active .results-review h2{
    margin-bottom:14px;
    color:#203446;
    font-size:20px;
}

body.mock-results-active #results-review-list{
    display:block;
}

.mock-review-group{
    padding:14px 0 16px;
    border-bottom:1px solid #e7edef;
}

.mock-review-group:first-child{
    padding-top:0;
}

.mock-review-group-title{
    margin-bottom:9px;
    color:#6b7987;
    font-size:10px;
    font-weight:700;
    letter-spacing:.075em;
    text-transform:uppercase;
}

.mock-review-symbol-grid{
    display:grid;
    grid-template-columns:repeat(12,42px);
    gap:9px;
}

.mock-review-symbol{
    position:relative;
    width:42px;
    height:42px;
    display:flex;
    align-items:center;
    justify-content:center;
    padding:0;
    border:1px solid #ccd7dd;
    border-radius:10px;
    background:#f7f9fa;
    color:#536673;
    font:700 11px/1 "Poppins",sans-serif;
    cursor:pointer;
    box-shadow:
        inset 0 1px 0 rgba(255,255,255,.86),
        0 2px 5px rgba(15,23,42,.055);
    transition:
        transform .13s ease,
        border-color .13s ease,
        box-shadow .13s ease,
        background .13s ease;
}

.mock-review-symbol:hover{
    transform:translateY(-1px);
    border-color:#91a5ae;
    background:#fff;
    box-shadow:
        inset 0 1px 0 rgba(255,255,255,.92),
        0 4px 9px rgba(15,23,42,.08);
}

.mock-review-symbol.selected{
    border-color:#607c87;
    background:#fff;
    box-shadow:
        0 0 0 2px #fff,
        0 0 0 4px #607c87,
        0 4px 10px rgba(42,65,77,.12);
}

.mock-review-status-dot{
    position:absolute;
    right:4px;
    bottom:4px;
    width:7px;
    height:7px;
    border:1.5px solid #fff;
    border-radius:50%;
    background:#98a6af;
}

.mock-review-symbol.correct .mock-review-status-dot{
    background:#36a56f;
}

.mock-review-symbol.incorrect .mock-review-status-dot{
    background:#d75e5e;
}

.mock-review-symbol.unanswered .mock-review-status-dot{
    background:#98a6af;
}

.mock-review-bookmark{
    position:absolute;
    top:-4px;
    right:-3px;
    width:9px;
    height:12px;
    border:1px solid #9a8250;
    border-radius:2px 2px 4px 4px;
    background:#d7bd7a;
    box-shadow:0 0 0 2px #fff;
}

.mock-review-detail{
    margin-top:22px;
    padding:22px;
    border:1px solid #dce5e9;
    border-radius:14px;
    background:#fff;
    text-align:left;
}

.mock-review-detail-head{
    display:flex;
    align-items:flex-start;
    justify-content:space-between;
    gap:14px;
    margin-bottom:18px;
}

.mock-review-detail-head > div{
    display:flex;
    flex-direction:column;
    gap:3px;
}

.mock-review-detail-head > div > span{
    color:#7c8994;
    font-size:10px;
    font-weight:600;
}

.mock-review-detail-head > div > strong{
    color:#213748;
    font-size:16px;
}

.mock-review-detail-status{
    padding:5px 8px;
    border:1px solid #d7e0e4;
    border-radius:999px;
    color:#667681;
    font-size:9px;
    font-weight:700;
}

.mock-review-detail-status.correct{
    border-color:#b8dcc9;
    background:#f1faf5;
    color:#39775a;
}

.mock-review-detail-status.incorrect{
    border-color:#e5c3c3;
    background:#fff5f5;
    color:#955050;
}

.mock-review-context{
    margin-bottom:18px;
    padding:16px 17px;
    border:1px solid #e2e8eb;
    border-radius:10px;
    background:#fafbfc;
    color:#34495a;
    font-family:"Noto Serif",Georgia,serif;
    font-size:14px;
    line-height:1.65;
}

.mock-review-context-label{
    margin-bottom:8px;
    color:#7b8895;
    font-family:"Poppins",sans-serif;
    font-size:9px;
    font-weight:700;
    letter-spacing:.09em;
    text-transform:uppercase;
}

.mock-review-question-text{
    margin-bottom:19px;
    color:#172a3b;
    font-family:"Noto Serif",Georgia,serif;
    font-size:16px;
    font-weight:700;
    line-height:1.65;
}

.mock-review-choices{
    display:flex;
    flex-direction:column;
    gap:12px;
}

.mock-review-choice{
    overflow:hidden;
    border:1px solid #dce5e9;
    border-radius:11px;
    background:#fff;
}

.mock-review-choice-row{
    min-height:58px;
    display:flex;
    align-items:center;
    gap:12px;
    padding:11px 13px;
}

.mock-review-choice.correct .mock-review-choice-row{
    background:#f6fbf8;
}

.mock-review-choice.selected:not(.correct) .mock-review-choice-row{
    background:#fff8f7;
}

.mock-review-choice-letter{
    flex:0 0 29px;
    width:29px;
    height:29px;
    display:flex;
    align-items:center;
    justify-content:center;
    border:1px solid #bdcad0;
    border-radius:50%;
    color:#4d6070;
    font:700 12px/1 "Poppins",sans-serif;
}

.mock-review-choice.correct .mock-review-choice-letter{
    border-color:#75ae91;
    color:#39775a;
}

.mock-review-choice.selected:not(.correct) .mock-review-choice-letter{
    border-color:#cb8f8f;
    color:#975454;
}

.mock-review-choice-text{
    flex:1 1 auto;
    min-width:0;
    color:#2e4252;
    font-family:"Noto Serif",Georgia,serif;
    font-size:14px;
    line-height:1.55;
}

.mock-review-choice-badges{
    flex:0 0 auto;
    display:flex;
    flex-wrap:wrap;
    justify-content:flex-end;
    gap:5px;
}

.mock-review-choice-badges span{
    padding:4px 6px;
    border-radius:999px;
    font:700 8px/1 "Poppins",sans-serif;
    text-transform:uppercase;
    letter-spacing:.04em;
}

.mock-review-choice-badges .your-answer{
    background:#eef2f4;
    color:#63727d;
}

.mock-review-choice-badges .correct-answer{
    background:#e9f7ef;
    color:#39775a;
}

.mock-review-choice-explanation{
    padding:12px 14px 13px;
    border-top:1px solid #e6ecef;
    background:#fafcfc;
}

.mock-review-choice-explanation > strong{
    display:block;
    margin-bottom:5px;
    color:#526572;
    font-size:9px;
    font-weight:700;
    letter-spacing:.055em;
    text-transform:uppercase;
}

.mock-review-choice-explanation.correct > strong{
    color:#39775a;
}

.mock-review-choice-explanation.wrong > strong{
    color:#8a6262;
}

.mock-review-choice-explanation > div{
    color:#52616d;
    font-family:"Noto Serif",Georgia,serif;
    font-size:12px;
    line-height:1.65;
}

.mock-review-student-response{
    display:grid;
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:10px;
}

.mock-review-student-response > div{
    padding:13px 14px;
    border:1px solid #e0e7ea;
    border-radius:10px;
    background:#fafcfc;
}

.mock-review-student-response span,
.mock-review-response-explanation > span{
    display:block;
    margin-bottom:5px;
    color:#7c8994;
    font-size:9px;
    font-weight:700;
    letter-spacing:.055em;
    text-transform:uppercase;
}

.mock-review-student-response strong{
    color:#263c4c;
    font-family:"Noto Serif",Georgia,serif;
    font-size:15px;
}

.mock-review-response-explanation{
    margin-top:11px;
    padding:13px 14px;
    border:1px solid #e0e7ea;
    border-radius:10px;
    background:#fafcfc;
}

.mock-review-response-explanation > div{
    color:#4e606c;
    font-family:"Noto Serif",Georgia,serif;
    font-size:12px;
    line-height:1.65;
}


/* Separate neutral symbol treatment for literal-invert dark mode. */
html.lexlogica-dark-mode .mock-review-symbol{
    filter:invert(1)!important;
    background:#11171b!important;
    border-color:#3d4b53!important;
    color:#d7e2e7!important;
    box-shadow:
        inset 0 1px 0 rgba(255,255,255,.035),
        0 2px 7px rgba(0,0,0,.26)!important;
}

html.lexlogica-dark-mode .mock-review-symbol:hover{
    filter:invert(1)!important;
    background:#171f24!important;
    border-color:#728791!important;
}

html.lexlogica-dark-mode .mock-review-symbol.selected{
    filter:invert(1)!important;
    background:#172026!important;
    border-color:#9ab2bc!important;
    box-shadow:
        0 0 0 2px #0c1114,
        0 0 0 4px #9ab2bc,
        0 3px 11px rgba(0,0,0,.32)!important;
}

html.lexlogica-dark-mode .mock-review-symbol .mock-review-status-dot{
    border-color:#11171b!important;
}

html.lexlogica-dark-mode .mock-review-bookmark{
    border-color:#b9a06b!important;
    background:#c5ab70!important;
    box-shadow:0 0 0 2px #11171b!important;
}

@media(max-width:760px){
    .mock-domain-cards{
        grid-template-columns:1fr;
    }

    .mock-review-symbol-grid{
        grid-template-columns:repeat(8,40px);
        gap:8px;
    }

    .mock-review-symbol{
        width:40px;
        height:40px;
    }
}

@media(max-width:520px){
    .mock-domain-performance-head{
        align-items:flex-start;
        flex-direction:column;
        gap:3px;
    }

    .mock-review-symbol-grid{
        grid-template-columns:repeat(6,38px);
    }

    .mock-review-symbol{
        width:38px;
        height:38px;
    }

    .mock-review-choice-row{
        align-items:flex-start;
        flex-wrap:wrap;
    }

    .mock-review-choice-badges{
        width:100%;
        justify-content:flex-start;
        padding-left:41px;
    }

    .mock-review-student-response{
        grid-template-columns:1fr;
    }
}


/* ============================================================
   MOCK SCORE GAUGES
   ============================================================ */

.mock-score-gauges{
    width:min(900px,100%);
    margin:8px auto 22px;
    display:grid;
    grid-template-columns:repeat(3,minmax(0,1fr));
    overflow:hidden;
    border:1px solid #dfe6ea;
    border-radius:16px;
    background:#fff;
}

.mock-score-gauge-card{
    min-width:0;
    padding:22px 18px 18px;
    text-align:center;
    border-right:1px solid #dfe6ea;
}

.mock-score-gauge-card:last-child{
    border-right:0;
}

.mock-score-gauge-card h2{
    margin:0 0 4px;
    color:#15283a;
    font-size:15px;
    font-weight:700;
    line-height:1.25;
}

.mock-score-gauge-card > small{
    display:block;
    margin-top:0;
    color:#7c8995;
    font-size:9px;
}

.mock-score-gauge-card > small b{
    color:#52626f;
}

.mock-score-gauge{
    position:relative;
    width:min(190px,100%);
    margin:0 auto;
    aspect-ratio:160 / 138;
}

.mock-score-gauge svg{
    display:block;
    width:100%;
    height:100%;
    overflow:visible;
}

.mock-score-gauge-track,
.mock-score-gauge-progress{
    fill:none;
    stroke-width:14;
    stroke-linecap:round;
    stroke-linejoin:round;
    shape-rendering:geometricPrecision;
}

.mock-score-gauge-track{
    stroke:#e8ecef;
}

.mock-score-gauge-progress{
    stroke:#3243b5;
}

.mock-score-gauge-value{
    position:absolute;
    left:50%;
    top:50%;
    transform:translate(-50%,-39%);
    display:flex;
    flex-direction:column;
    align-items:center;
    gap:1px;
}

.mock-score-gauge-value strong{
    color:#16191d;
    font-size:34px;
    font-weight:700;
    line-height:1;
    letter-spacing:-.035em;
    font-variant-numeric:tabular-nums;
}

.mock-score-gauge-value span{
    color:#30363c;
    font-size:9px;
    font-weight:500;
}

.mock-score-gauge-min,
.mock-score-gauge-max{
    position:absolute;
    bottom:4px;
    color:#5f656b;
    font-size:11px;
    font-variant-numeric:tabular-nums;
}

.mock-score-gauge-min{
    left:15%;
}

.mock-score-gauge-max{
    right:10%;
}

body.mock-results-active .results-card > .score-circle{
    display:none!important;
}

.mock-route-summary{
    display:flex;
    justify-content:center;
    flex-wrap:wrap;
    gap:8px;
}

.mock-route-summary > span{
    padding:7px 10px;
    border:1px solid #dfe7eb;
    border-radius:999px;
    background:#fafcfc;
    color:#71808d;
    font-size:9px;
}

.mock-route-summary strong{
    color:#435766;
    font-weight:700;
}

@media(max-width:760px){
    .mock-score-gauges{
        grid-template-columns:1fr;
        width:min(430px,100%);
    }

    .mock-score-gauge-card{
        border-right:0;
        border-bottom:1px solid #dfe6ea;
    }

    .mock-score-gauge-card:last-child{
        border-bottom:0;
    }

    .mock-score-gauge{
        width:180px;
    }
}


/* ============================================================
   DESMOS NATIVE THEME
   ============================================================ */

/*
 * Desmos dark mode is loaded natively through its calculator URL.
 * Never color-filter the cross-origin iframe: doing so reintroduces
 * Chromium selection/repaint color glitches.
 */
html.lexlogica-dark-mode #desmos-frame,
html:not(.lexlogica-dark-mode) #desmos-frame{
    filter:none!important;
    mix-blend-mode:normal!important;
    opacity:1!important;
}


/* ============================================================
   WHOLE-WORD TEXT SELECTION
   ============================================================ */

.question-passage,
.question-text,
.choice-text,
.choice-reason-text,
.answer-feedback-explanation,
.student-response-explanation-text,
.review-result-question,
.review-result-answer,
.review-result-explanation,
.mock-review-context,
.mock-review-question-text,
.mock-review-choice-text,
.mock-review-choice-explanation{
    user-select:text;
    -webkit-user-select:text;
}

.question-passage::selection,
.question-text::selection,
.choice-text::selection,
.choice-reason-text::selection,
.answer-feedback-explanation::selection,
.student-response-explanation-text::selection,
.review-result-question::selection,
.review-result-answer::selection,
.review-result-explanation::selection,
.mock-review-context::selection,
.mock-review-question-text::selection,
.mock-review-choice-text::selection,
.mock-review-choice-explanation::selection{
    background:rgba(0,196,232,.48);
    color:#06232a;
}

/*
 * The Question page uses a literal inversion in dark mode. Use the
 * complementary pre-inversion selection color so the visible result
 * remains a warm highlighter yellow instead of turning blue.
 */
html.lexlogica-dark-mode .question-page .question-passage::selection,
html.lexlogica-dark-mode .question-page .question-text::selection,
html.lexlogica-dark-mode .question-page .choice-text::selection,
html.lexlogica-dark-mode .question-page .choice-reason-text::selection,
html.lexlogica-dark-mode .question-page .answer-feedback-explanation::selection,
html.lexlogica-dark-mode .question-page .student-response-explanation-text::selection,
html.lexlogica-dark-mode .question-page .review-result-question::selection,
html.lexlogica-dark-mode .question-page .review-result-answer::selection,
html.lexlogica-dark-mode .question-page .review-result-explanation::selection,
html.lexlogica-dark-mode .question-page .mock-review-context::selection,
html.lexlogica-dark-mode .question-page .mock-review-question-text::selection,
html.lexlogica-dark-mode .question-page .mock-review-choice-text::selection,
html.lexlogica-dark-mode .question-page .mock-review-choice-explanation::selection{
    /* Visible after the page inversion: warm amber with near-black text. */
    background:rgba(0,65,199,.52);
    color:#ffffff;
}


/* ============================================================
   PERSISTENT PER-QUESTION HIGHLIGHTER
   ============================================================ */

.persistent-text-highlight{
    /*
     * Light mode: vivid cyan, but dark ink rather than white.
     * High opacity makes the mark read as a real annotation instead of a tint.
     */
    padding:0 .04em;
    margin:0 -.04em;
    border-radius:3px;
    background:rgba(0,201,238,.88);
    color:#06232a;
    box-shadow:
        inset 0 -1px 0 rgba(0,113,139,.16),
        0 0 0 1px rgba(0,145,177,.08);
    text-shadow:none;
    box-decoration-break:clone;
    -webkit-box-decoration-break:clone;
}

.text-highlight-hint{
    display:inline-flex;
    align-items:center;
    gap:6px;
    min-height:32px;
    padding:5px 8px;
    border:1px solid #dfe5e8;
    border-radius:8px;
    background:#fafcfc;
    color:#71808c;
    font-size:9px;
    font-weight:600;
    line-height:1.15;
    white-space:nowrap;
    user-select:none;
}

.text-highlight-hint svg{
    width:14px;
    height:14px;
    fill:none;
    stroke:currentColor;
    stroke-width:1.55;
    stroke-linecap:round;
    stroke-linejoin:round;
}

html.lexlogica-dark-mode .question-page .persistent-text-highlight{
    /*
     * The whole Question page is inverted in dark mode.
     * These authored colors therefore render visibly as:
     *   background -> warm amber (#ffbe38-ish)
     *   text       -> near-black
     */
    background:rgba(0,65,199,.92);
    color:#ffffff;
    box-shadow:
        inset 0 -1px 0 rgba(56,128,255,.18),
        0 0 0 1px rgba(45,118,255,.10);
}

@media(max-width:760px){
    .text-highlight-hint span{
        display:none;
    }

    .text-highlight-hint{
        width:32px;
        justify-content:center;
        padding:5px;
    }
}


/* ============================================================
   LEFT-SIDE HIGHLIGHTER CONTROLS
   ============================================================ */

.sat-passage-header{
    justify-content:flex-start;
}

.highlight-tools-host{
    flex:0 0 auto;
}

.reading-question-metadata-host{
    margin-left:auto;
}

.text-highlight-tools{
    display:inline-flex;
    align-items:center;
    gap:6px;
}

.text-highlight-hint,
.clear-highlights-button{
    min-height:30px;
}

.clear-highlights-button{
    display:inline-flex;
    align-items:center;
    gap:5px;
    padding:5px 8px;
    border:1px solid #dfe5e8;
    border-radius:8px;
    background:#fff;
    color:#71808c;
    font:600 9px/1.15 "Poppins",sans-serif;
    white-space:nowrap;
    cursor:pointer;
}

.clear-highlights-button svg{
    width:14px;
    height:14px;
    fill:none;
    stroke:currentColor;
    stroke-width:1.55;
    stroke-linecap:round;
    stroke-linejoin:round;
}

.clear-highlights-button:hover{
    border-color:#c9d4d9;
    background:#f7f9fa;
    color:#425866;
}

.math-question-context-header{
    display:flex;
    align-items:center;
    justify-content:flex-start;
    gap:10px;
    margin-bottom:12px;
}

body.math-question-active .math-question-context-header .math-question-context-label{
    margin-bottom:0;
}

.math-highlight-tools-fallback{
    display:flex;
    justify-content:flex-start;
    margin-bottom:14px;
}

html.lexlogica-dark-mode .question-page .clear-highlights-button{
    background:#fff;
    color:#71808c;
}

@media(max-width:760px){
    .sat-passage-header{
        flex-direction:row;
        align-items:center;
        flex-wrap:wrap;
    }

    .reading-question-metadata-host{
        width:100%;
        margin-left:0;
    }

    .text-highlight-tools{
        gap:4px;
    }

    .clear-highlights-button span{
        display:none;
    }

    .clear-highlights-button{
        width:32px;
        justify-content:center;
        padding:5px;
    }

    .math-question-context-header{
        flex-wrap:wrap;
    }
}


/* ============================================================
   MATH: NATIVE TEXT SELECTION ONLY
   ============================================================ */

/*
 * Persistent highlighting is a Reading & Writing tool only.
 * Math keeps ordinary browser text selection and never shows the
 * highlighter/eraser controls.
 */
body.math-question-active .text-highlight-tools{
    display:none!important;
}

body.math-question-active .question-text::selection,
body.math-question-active .choice-text::selection,
body.math-question-active .choice-reason-text::selection,
body.math-question-active .answer-feedback-explanation::selection,
body.math-question-active .student-response-explanation-text::selection,
body.math-question-active .math-question-context-content::selection{
    background:Highlight;
    color:HighlightText;
}


/* ============================================================
   DRILL MODE
   ============================================================ */
body.drill-mode .question-bank-peeker{
    display:none!important;
}
body.drill-mode .timer-container{
    min-width:154px;
}
body.drill-mode .timer-label{
    color:#0f766e;
}
body.drill-mode #set-title::after{
    content:" · 10 max";
    color:#94a3b8;
    font-size:.62em;
    font-weight:600;
}

/* ============================================================
   DRILL RESULTS
   ============================================================ */
.drill-performance{
    width:min(820px,100%);
    margin:24px auto 0;
    padding:18px;
    border:1px solid #dfe7e5;
    border-radius:16px;
    background:#fbfdfc;
    text-align:left;
}
.drill-performance-head{
    display:flex;
    align-items:baseline;
    justify-content:space-between;
    gap:18px;
    margin-bottom:14px;
}
.drill-performance-head>span{
    color:#163d36;
    font-size:13px;
    font-weight:700;
}
.drill-performance-head>small{
    color:#7e8d89;
    font-size:10px;
}
.drill-performance-grid{
    display:grid;
    grid-template-columns:repeat(3,minmax(0,1fr));
    gap:10px;
}
.drill-performance-card{
    min-width:0;
    padding:16px;
    border:1px solid #e2ebe9;
    border-radius:12px;
    background:#fff;
}
.drill-performance-card span,
.drill-performance-card small{
    display:block;
    color:#81908c;
    font-size:9px;
}
.drill-performance-card strong{
    display:block;
    margin:5px 0 4px;
    color:#153c35;
    font-size:25px;
    line-height:1;
    font-variant-numeric:tabular-nums;
}
body.drill-results-active .results-card{
    width:min(980px,100%);
    margin:0 auto;
}
body.drill-results-active .score-circle{
    border-color:#cdebe4;
}
body.drill-results-active .score-circle div{
    color:#0f766e;
}
body.drill-results-active .mock-domain-performance{
    width:min(820px,100%);
    margin-left:auto;
    margin-right:auto;
}
body.drill-results-active .results-review{
    width:min(1080px,100%);
    margin-left:auto;
    margin-right:auto;
}
@media(max-width:700px){
    .drill-performance-grid{grid-template-columns:1fr}
    .drill-performance-head{align-items:flex-start;flex-direction:column;gap:4px}
}


/* Math information should read as one continuous paragraph, not stacked source lines. */
.question-passage-copy.question-math-information{
    white-space:normal;
    line-height:1.7;
}
.question-math-information mjx-container[display="true"]{
    display:inline-block!important;
    width:auto!important;
    max-width:none!important;
    margin:0 .18em!important;
    padding:0!important;
    overflow:visible!important;
    vertical-align:baseline!important;
}
.question-math-information br{
    display:none;
}


/* Systemic italic rendering fix.
   Never synthesize slanted glyphs: real italic faces are loaded in question.html. */
.question-passage,
.question-text,
.choice-text,
.choice-reason-text,
.answer-feedback-explanation,
.student-response-explanation-text,
.review-result-question,
.review-result-answer,
.review-result-explanation,
.math-question-context-content{
    font-synthesis:none!important;
}

.question-passage em,
.question-text em,
.choice-text em,
.choice-reason-text em,
.answer-feedback-explanation em,
.student-response-explanation-text em,
.review-result-question em,
.review-result-answer em,
.review-result-explanation em{
    font-style:italic;
    font-synthesis:none!important;
    letter-spacing:normal;
    word-spacing:normal;
}

body.math-question-active .question-passage em,
body.math-question-active .question-text em,
body.math-question-active .choice-text em,
body.math-question-active .choice-reason-text em,
body.math-question-active .answer-feedback-explanation em,
body.math-question-active .student-response-explanation-text em,
body.math-question-active .review-result-question em,
body.math-question-active .review-result-answer em,
body.math-question-active .review-result-explanation em{
    font-style:normal!important;
}

/* Inline MathJax should never visually fuse with neighboring prose. */
.question-passage mjx-container:not([display="true"]),
.question-text mjx-container:not([display="true"]),
.choice-text mjx-container:not([display="true"]),
.choice-reason-text mjx-container:not([display="true"]),
.answer-feedback-explanation mjx-container:not([display="true"]),
.student-response-explanation-text mjx-container:not([display="true"]),
.review-result-question mjx-container:not([display="true"]),
.review-result-answer mjx-container:not([display="true"]),
.review-result-explanation mjx-container:not([display="true"]){
    margin-inline:.16em!important;
}


/* ============================================================
   QUESTION UI DEPTH NORMALIZATION — light mode
   Keep controls tactile but remove glossy / floating 3D treatment.
   ============================================================ */
html:not(.lexlogica-dark-mode) .sat-question-pane,
html:not(.lexlogica-dark-mode) .question-card,
html:not(.lexlogica-dark-mode) .results-card,
html:not(.lexlogica-dark-mode) .mock-gate-card,
html:not(.lexlogica-dark-mode) .drill-performance{
    border-color:#dbe4e2!important;
    border-radius:14px!important;
    box-shadow:0 4px 14px rgba(15,23,42,.04)!important;
}

html:not(.lexlogica-dark-mode) .timer-container,
html:not(.lexlogica-dark-mode) .question-nav-button,
html:not(.lexlogica-dark-mode) .review-button,
html:not(.lexlogica-dark-mode) .topbar-next-button,
html:not(.lexlogica-dark-mode) .desmos-toggle-button,
html:not(.lexlogica-dark-mode) .choice-strike-button,
html:not(.lexlogica-dark-mode) .check-answer-button,
html:not(.lexlogica-dark-mode) .next-question-button{
    border-radius:9px!important;
    box-shadow:0 2px 6px rgba(15,23,42,.035)!important;
    transition:
        transform .16s ease,
        border-color .16s ease,
        background-color .16s ease,
        box-shadow .16s ease,
        color .16s ease!important;
}
html:not(.lexlogica-dark-mode) .question-nav-button:hover:not(:disabled),
html:not(.lexlogica-dark-mode) .review-button:hover,
html:not(.lexlogica-dark-mode) .topbar-next-button:hover,
html:not(.lexlogica-dark-mode) .desmos-toggle-button:hover,
html:not(.lexlogica-dark-mode) .choice-strike-button:hover,
html:not(.lexlogica-dark-mode) .next-question-button:hover{
    transform:translateY(-1px)!important;
    box-shadow:0 4px 10px rgba(15,23,42,.05)!important;
}
html:not(.lexlogica-dark-mode) .choice{
    border-width:1px!important;
    border-color:#d7e1df!important;
    border-radius:10px!important;
    box-shadow:0 2px 6px rgba(15,23,42,.025)!important;
}
html:not(.lexlogica-dark-mode) .choice:hover{
    border-color:#9fc8bf!important;
    box-shadow:0 4px 10px rgba(15,23,42,.04)!important;
}
html:not(.lexlogica-dark-mode) .choice-letter{
    border-width:1px!important;
    box-shadow:none!important;
}
html:not(.lexlogica-dark-mode) .question-bank-peeker-toggle{
    border:1px solid #d6e1de!important;
    background:#fff!important;
    box-shadow:0 4px 12px rgba(15,23,42,.055)!important;
    backdrop-filter:none!important;
}
html:not(.lexlogica-dark-mode) .question-bank-peeker-panel{
    border-color:#dbe4e2!important;
    box-shadow:0 9px 24px rgba(15,23,42,.08)!important;
    backdrop-filter:none!important;
}
html:not(.lexlogica-dark-mode) .question-bank-peeker-review-icon{
    box-shadow:0 1px 3px rgba(15,23,42,.06)!important;
}
html:not(.lexlogica-dark-mode) .desmos-panel-card{
    border-color:#d5e0dd!important;
    box-shadow:0 10px 28px rgba(15,23,42,.11)!important;
}


/* ============================================================
   SYSTEMIC MATH TYPOGRAPHY NORMALIZATION
   ============================================================ */
body.math-question-active .question-text,
body.math-question-active .choice-text,
body.math-question-active .math-question-context-content{
    white-space:normal!important;
    word-break:normal!important;
    overflow-wrap:normal!important;
}

body.math-question-active .question-text mjx-container:not([display="true"]),
body.math-question-active .choice-text mjx-container:not([display="true"]),
body.math-question-active .math-question-context-content mjx-container:not([display="true"]){
    white-space:nowrap!important;
}

body.math-question-active .question-text em,
body.math-question-active .choice-text em,
body.math-question-active .math-question-context-content em{
    font-style:normal!important;
}


/* Shaded coordinate-plane regions used by inequality questions. */
.question-xy-region{
    fill:rgba(83,97,95,.12);
    stroke:none;
}
html.lexlogica-dark-mode .question-xy-region{
    fill:rgba(174,189,185,.12);
}

/* Question-bank typography: preserve a single prose line box when an answer
   contains mixed normal text, italic spans, and MathJax containers. A flex
   text wrapper converts each span into a separate flex item and causes the
   fragment wrapping seen in R&W choices. The outer .choice remains flex. */
#question-app .sat-answer-pane .choice-text{
    display:block!important;
    flex:1 1 auto!important;
    min-width:0!important;
    white-space:normal!important;
    word-break:normal!important;
    overflow-wrap:break-word!important;
}
#question-app .sat-answer-pane .choice-text em,
#question-app .sat-answer-pane .choice-text strong,
#question-app .sat-answer-pane .choice-text u{
    display:inline!important;
}
#question-app .sat-answer-pane .choice-text mjx-container:not([display="true"]){
    display:inline-block!important;
    max-width:100%;
    vertical-align:middle;
}
#question-app .question-passage-copy,
#question-app .sat-answer-pane .question-text,
#question-app .choice-reason-text,
#question-app .answer-feedback-explanation{
    overflow-wrap:break-word;
}


/* ============================================================
   DARK MODE — EXPLANATION PANEL PALETTE
   The Question page uses one inversion filter. Correct/incorrect
   feedback and inline choice rationales intentionally counter-invert
   to preserve green/red status colors. Without native dark surface
   colors those counter-inverted explanations remain light.
   ============================================================ */
html.lexlogica-dark-mode .question-page .answer-feedback,
html.lexlogica-dark-mode .question-page .choice-reason{
    filter:invert(1)!important;
    border-color:#3b4d47;
    background:#182521;
    color:#d6e5df;
}

html.lexlogica-dark-mode .question-page .answer-feedback-title{
    color:#e8f1ed;
}
html.lexlogica-dark-mode .question-page .answer-feedback-explanation,
html.lexlogica-dark-mode .question-page .choice-reason-text{
    color:#d6e5df;
}
html.lexlogica-dark-mode .question-page .answer-feedback.correct,
html.lexlogica-dark-mode .question-page .choice-reason-correct{
    border-color:#38604f;
    background:#172c24;
}
html.lexlogica-dark-mode .question-page .answer-feedback.correct .answer-feedback-title,
html.lexlogica-dark-mode .question-page .choice-reason-correct .choice-reason-label{
    color:#8fdbb2;
}
html.lexlogica-dark-mode .question-page .answer-feedback.incorrect,
html.lexlogica-dark-mode .question-page .choice-reason-wrong{
    border-color:#694340;
    background:#301f22;
}
html.lexlogica-dark-mode .question-page .answer-feedback.incorrect .answer-feedback-title,
html.lexlogica-dark-mode .question-page .choice-reason-wrong .choice-reason-label{
    color:#f1aaa3;
}
html.lexlogica-dark-mode .question-page .answer-feedback.neutral{
    border-color:#3b4d47;
    background:#182521;
}
