/* ---------- Homepage theme applied site-wide ---------- */
html.page-home,
html.page-about,
html.page-ask-scorer,
html.page-best-sat-resources,
html.page-contact,
html.page-grammar-plan,
html.page-grammar,
html.page-learn-sat-regression,
html.page-privacy,
html.page-reading-practice,
html.page-practice-test,
html.page-sat-grammar-videos,
html.page-upload,
html.page-volunteer-hours {
    --ink: #141b2e;
    --muted: #657087;
    --paper: #f5f7fb;
    --forest: #202a43;
    --coral: #7357ff;
    --line: #e0e5ef;
    --home-lime: #c4ff72;
    --home-purple: #7357ff;
}

html.page-about body,
html.page-ask-scorer body,
html.page-best-sat-resources body,
html.page-contact body,
html.page-grammar-plan body,
html.page-grammar body,
html.page-learn-sat-regression body,
html.page-privacy body,
html.page-reading-practice body,
html.page-practice-test body,
html.page-sat-grammar-videos body,
html.page-upload body,
html.page-volunteer-hours body {
    color: #f7f8ff !important;
    background-color: #12182b !important;
    background-image:
        radial-gradient(ellipse at 9% 8%, rgba(128, 104, 255, 0.09), transparent 34%),
        radial-gradient(ellipse at 92% 38%, rgba(146, 208, 99, 0.11), transparent 30%) !important;
    font-family: Inter, "Segoe UI", Arial, sans-serif !important;
}

html.page-about h1,
html.page-about h2,
html.page-ask-scorer h1,
html.page-ask-scorer h2,
html.page-best-sat-resources h1,
html.page-best-sat-resources h2,
html.page-contact h1,
html.page-contact h2,
html.page-grammar-plan h1,
html.page-grammar-plan h2,
html.page-grammar-plan h3,
html.page-grammar h1,
html.page-grammar h2,
html.page-grammar h3,
html.page-learn-sat-regression h1,
html.page-learn-sat-regression h2,
html.page-privacy h1,
html.page-privacy h2,
html.page-reading-practice h1,
html.page-reading-practice h2,
html.page-practice-test h1,
html.page-practice-test h2,
html.page-sat-grammar-videos h1,
html.page-sat-grammar-videos h2,
html.page-upload h1,
html.page-upload h2,
html.page-volunteer-hours h1,
html.page-volunteer-hours h2 {
    color: #f8f9ff !important;
    font-family: Inter, "Segoe UI", Arial, sans-serif !important;
}

html.page-about p,
html.page-ask-scorer p,
html.page-best-sat-resources p,
html.page-contact p,
html.page-grammar-plan p,
html.page-grammar p,
html.page-learn-sat-regression p,
html.page-privacy p,
html.page-reading-practice p,
html.page-practice-test p,
html.page-sat-grammar-videos p,
html.page-upload p,
html.page-volunteer-hours p,
html.page-about li,
html.page-ask-scorer li,
html.page-best-sat-resources li,
html.page-contact li,
html.page-grammar-plan li,
html.page-grammar li,
html.page-learn-sat-regression li,
html.page-privacy li,
html.page-reading-practice li,
html.page-practice-test li,
html.page-sat-grammar-videos li,
html.page-upload li,
html.page-volunteer-hours li {
    color: #e8ecf2 !important;
}

html.page-about a,
html.page-ask-scorer a,
html.page-best-sat-resources a,
html.page-contact a,
html.page-grammar-plan a,
html.page-grammar a,
html.page-learn-sat-regression a,
html.page-privacy a,
html.page-reading-practice a,
html.page-practice-test a,
html.page-sat-grammar-videos a,
html.page-upload a,
html.page-volunteer-hours a {
    color: var(--home-purple) !important;
}

html.page-about .eyebrow,
html.page-ask-scorer .eyebrow,
html.page-best-sat-resources .eyebrow,
html.page-contact .eyebrow,
html.page-grammar-plan .eyebrow,
html.page-grammar .eyebrow,
html.page-learn-sat-regression .eyebrow,
html.page-privacy .eyebrow,
html.page-reading-practice .eyebrow,
html.page-practice-test .eyebrow,
html.page-sat-grammar-videos .eyebrow,
html.page-upload .eyebrow,
html.page-volunteer-hours .eyebrow {
    color: var(--home-lime) !important;
}

/* ---------- Structural overrides — dark theme site-wide ---------- */
html.page-home .page,
html.page-about .page,
html.page-ask-scorer .page,
html.page-best-sat-resources .page,
html.page-contact .page,
html.page-grammar-plan .page,
html.page-grammar .page,
html.page-learn-sat-regression .page,
html.page-privacy .page,
html.page-reading-practice .page,
html.page-practice-test .page,
html.page-sat-grammar-videos .page,
html.page-upload .page,
html.page-volunteer-hours .page {
    background-color: transparent !important;
    max-width: 1024px;
    margin: 0 auto;
    padding: 0 20px;
}

html.page-home main,
html.page-about main,
html.page-ask-scorer main,
html.page-best-sat-resources main,
html.page-contact main,
html.page-grammar-plan main,
html.page-grammar main,
html.page-learn-sat-regression main,
html.page-privacy main,
html.page-reading-practice main,
html.page-practice-test main,
html.page-sat-grammar-videos main,
html.page-upload main,
html.page-volunteer-hours main {
    background: rgba(255, 255, 255, 0.04) !important;
    border-radius: 18px !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    color: #e8ecf2 !important;
    max-width: 900px !important;
    margin: 0 auto !important;
}

html.page-home header,
html.page-about header,
html.page-ask-scorer header,
html.page-best-sat-resources header,
html.page-contact header,
html.page-grammar-plan header,
html.page-grammar header,
html.page-learn-sat-regression header,
html.page-privacy header,
html.page-reading-practice header,
html.page-practice-test header,
html.page-sat-grammar-videos header,
html.page-upload header,
html.page-volunteer-hours header {
    background: rgba(255, 255, 255, 0.03) !important;
    border-bottom-color: rgba(255, 255, 255, 0.1) !important;
    color: #f7f8ff !important;
}

html.page-home footer,
html.page-about footer,
html.page-ask-scorer footer,
html.page-best-sat-resources footer,
html.page-contact footer,
html.page-grammar-plan footer,
html.page-grammar footer,
html.page-learn-sat-regression footer,
html.page-privacy footer,
html.page-reading-practice footer,
html.page-practice-test footer,
html.page-sat-grammar-videos footer,
html.page-upload footer,
html.page-volunteer-hours footer {
    background: rgba(255, 255, 255, 0.03) !important;
    border-top-color: rgba(255, 255, 255, 0.1) !important;
    color: #e8ecf2 !important;
}

/* ---------- Readability fixes — dark text on light card backgrounds ---------- */
html.page-home .home-hero-card p,
html.page-home .home-hero-card span,
html.page-home .home-card-footnote,
html.page-grammar-plan .info-card p,
html.page-best-sat-resources .resource-card p,
html.page-reading-practice .reading-intro p,
html.page-contact p,
html.page-privacy p,
html.page-upload p,
html.page-volunteer-hours p,
html.page-best-sat-resources .resource-card h2,
html.page-grammar-plan .schedule-title,
html.page-grammar-plan h4,
html.page-contact h1,
html.page-privacy h1,
html.page-upload h1,
html.page-volunteer-hours h1 {
    color: #e8ecf2 !important;
}

/* Primary action buttons — lime */
html.page-home .action,
html.page-about .action,
html.page-ask-scorer .submit-button,
html.page-best-sat-resources .resource-card a,
html.page-contact .action,
html.page-grammar-plan .part-link,
html.page-grammar .practice-links a,
html.page-learn-sat-regression .action,
html.page-privacy .action,
html.page-reading-practice .action,
html.page-practice-test .next-btn,
html.page-practice-test .previous-button,
html.page-sat-grammar-videos .resource-links a,
html.page-upload .submit-button,
html.page-upload .back-link,
html.page-volunteer-hours .form-notice {
    color: #151b2d !important;
    background: var(--home-lime) !important;
    border-color: transparent !important;
    border-radius: 12px !important;
    font-weight: 750 !important;
}

/* Secondary action buttons — light on dark */
html.page-home .action.secondary,
html.page-grammar-plan .part-link:hover,
html.page-grammar .practice-links a:hover,
html.page-sat-grammar-videos .resource-links a:hover {
    background: rgba(255, 255, 255, 0.04) !important;
    color: #f7f8ff !important;
    border: 1px solid rgba(255, 255, 255, 0.22) !important;
}

/* ---------- Advertisement and sponsorship side rails — large screens only ---------- */
.ad-side-rail,
.smartlink-side-rail {
    --page-half: 512px;
    display: none;
}

.ad-side-rail-label,
.sponsorship-label {
    display: block;
    margin: 0 0 6px;
    color: #9aa6ba;
    font: 800 9px/1.2 Inter, "Segoe UI", sans-serif;
    letter-spacing: 0.18em;
    text-align: center;
    text-transform: uppercase;
}

@media screen and (min-width: 1400px) and (min-height: 720px) {
    .ad-side-rail,
    .smartlink-side-rail {
        position: fixed;
        z-index: 10;
        display: block;
        width: 160px;
        text-align: center;
    }

    .ad-side-rail {
        top: calc(50% - 336px);
        min-height: 617px;
    }

    .smartlink-side-rail {
        top: calc(50% + 298px);
    }

    .ad-side-rail-left,
    .smartlink-side-rail-left {
        left: calc(50% - var(--page-half) - 176px);
    }

    .ad-side-rail-right,
    .smartlink-side-rail-right {
        right: calc(50% - var(--page-half) - 176px);
    }

    .ad-side-rail iframe {
        display: block;
        width: 160px;
        height: 600px;
        margin: 0 auto;
        border: 1px solid rgba(255, 255, 255, 0.1);
        border-radius: 12px;
        background: rgba(255, 255, 255, 0.035);
        box-shadow: 0 18px 44px rgba(4, 8, 18, 0.35);
    }

    /* The button already names the sponsorship, so the rail label is redundant */
    .smartlink-side-rail .sponsorship-label {
        display: none;
    }

    .smartlink-side-rail .sponsorship-button {
        display: block;
        width: 100%;
        min-width: 0;
        padding: 10px 8px;
        border-radius: 10px;
        font-size: 12px;
        color: #f7f8ff !important;
        background: linear-gradient(135deg, #7357ff, #9b86ff);
        box-shadow: 0 10px 26px rgba(115, 87, 255, 0.32);
    }

    .smartlink-side-rail .sponsorship-button:hover,
    .smartlink-side-rail .sponsorship-button:focus-visible {
        border-color: transparent;
        color: #151b2d !important;
        background: var(--home-lime);
        box-shadow: 0 10px 26px rgba(196, 255, 114, 0.28);
    }
}

/* The reading library uses a 1440px shell, so its rails need much wider screens */
html.page-reading-practice .ad-side-rail,
html.page-reading-practice .smartlink-side-rail {
    --page-half: 720px;
}

@media screen and (max-width: 1829px) {
    html.page-reading-practice .ad-side-rail,
    html.page-reading-practice .smartlink-side-rail {
        display: none;
    }
}

/* Homepage sits on the light background, so its rail labels use dark ink */
html.page-home .ad-side-rail-label,
html.page-home .smartlink-side-rail .sponsorship-label {
    color: #657087;
}

@media print {
    .ad-side-rail,
    .smartlink-side-rail {
        display: none !important;
    }
}

.sponsorship-button {
    display: inline-block;
    min-width: 104px;
    padding: 10px 14px;
    border: 1px solid var(--home-purple);
    border-radius: 6px;
    color: #f7f8ff;
    background: var(--home-purple);
    font: 700 13px/1.3 Inter, "Segoe UI", sans-serif;
    text-align: center;
    text-decoration: none;
    box-shadow: 0 2px 8px rgba(115, 87, 255, 0.3);
}

.sponsorship-button:hover,
.sponsorship-button:focus-visible {
    color: #151b2d;
    background: var(--home-lime);
    border-color: transparent;
}

.home-sponsorship {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    margin: 26px 0 12px;
}

.home-sponsorship .sponsorship-button {
    min-width: 220px;
    padding: 12px 22px;
    font-size: 1rem;
}

/* Shared page hero — homepage-style banner on every page (dark theme) */
.site-hero {
    position: relative;
    isolation: isolate;
    display: grid;
    grid-template-columns: minmax(0, 1.3fr) minmax(280px, 0.7fr);
    align-items: center;
    gap: clamp(30px, 5vw, 76px);
    overflow: hidden;
    padding: clamp(30px, 5vw, 70px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 30px;
    color: #f7f8ff;
    background:
        radial-gradient(ellipse at 5% 2%, rgba(117, 83, 255, 0.42), transparent 48%),
        radial-gradient(ellipse at 92% 100%, rgba(92, 161, 130, 0.24), transparent 44%),
        linear-gradient(132deg, #12182b 0%, #1c2741 54%, #182b36 100%);
    box-shadow: 0 28px 80px rgba(27, 38, 67, 0.17);
    margin-bottom: 34px;
}

.site-hero::after {
    position: absolute;
    z-index: -1;
    top: -190px;
    right: 24%;
    width: 420px;
    height: 420px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 50%;
    content: "";
    box-shadow: 0 0 0 44px rgba(255, 255, 255, 0.025), 0 0 0 90px rgba(255, 255, 255, 0.02);
}

.site-hero-copy,
.site-hero-card {
    position: relative;
    z-index: 1;
}

.site-hero-eyebrow {
    margin: 0 0 16px;
    color: #c5f58f;
    font-size: 0.75rem;
    letter-spacing: 0.15em;
    font-weight: 750;
    text-transform: uppercase;
    font-family: Inter, "Segoe UI", Arial, sans-serif;
}

.site-hero h1 {
    max-width: 760px;
    margin: 0;
    color: #f8f9ff;
    font-family: Inter, "Segoe UI", Arial, sans-serif;
    font-size: clamp(2.75rem, 6.1vw, 5.2rem);
    font-weight: 760;
    letter-spacing: -0.065em;
    line-height: 0.99;
}

.site-hero h1 span {
    color: var(--home-lime);
}

.site-hero-lede {
    margin: 0 0 20px;
    color: #cbd2e2;
    font-size: clamp(1.02rem, 1.5vw, 1.16rem);
    line-height: 1.7;
    max-width: 650px;
}

.site-hero .site-hero-lede a {
    color: #d9d2ff !important;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.site-hero-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px 20px;
    margin-top: 28px;
}

.site-hero-cta {
    min-height: 52px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    padding: 0 20px;
    border-radius: 12px;
    font-size: 0.96rem;
    font-weight: 750;
    text-decoration: none;
    color: #151b2d;
    background: var(--home-lime);
    box-shadow: 0 8px 24px rgba(196, 255, 114, 0.16);
    font-family: Inter, "Segoe UI", Arial, sans-serif;
}

.site-hero-cta:hover {
    background: #d3ff9a;
    transform: translateY(-2px);
}

.site-hero-cta.secondary {
    border: 1px solid rgba(255, 255, 255, 0.22);
    color: #f7f8ff;
    background: rgba(255, 255, 255, 0.04);
}

.site-hero-cta.secondary:hover {
    border-color: rgba(255, 255, 255, 0.52);
    background: rgba(255, 255, 255, 0.09);
}

.site-hero-trust {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 24px;
    margin: 26px 0 0;
    padding: 0;
    color: #cbd2e2;
    font-size: 0.84rem;
    list-style: none;
    font-family: Inter, "Segoe UI", Arial, sans-serif;
}

.site-hero-trust li {
    display: flex;
    align-items: center;
    gap: 7px;
}

.site-hero-trust li::before {
    color: var(--home-lime);
    content: "✓";
    font-weight: 800;
}

@media (max-width: 980px) {
    .site-hero {
        grid-template-columns: minmax(0, 1.1fr) minmax(260px, 0.9fr);
        gap: 28px;
        padding: clamp(24px, 5vw, 60px);
    }
}

@media (max-width: 700px) {
    .site-hero {
        grid-template-columns: 1fr;
        text-align: center;
        padding: 30px 20px;
        border-radius: 24px;
    }

    .site-hero-lede {
        margin-left: auto;
        margin-right: auto;
    }

    .site-hero-actions {
        justify-content: center;
    }

    .site-hero-trust {
        justify-content: center;
    }
}

/* ---------- Page heroes: no side card, so let the copy fill the banner ---------- */

.site-hero {
    grid-template-columns: minmax(0, 1fr);
}

html .site-hero h1 {
    max-width: 720px;
    margin: 0 0 24px;
    font-size: clamp(2.1rem, 4.4vw, 3.5rem);
    line-height: 1.1;
}

@media (max-width: 980px) {
    .site-hero {
        grid-template-columns: minmax(0, 1fr);
    }
}

/* ============================================================
   Dark surfaces — content pages
   The site-wide dark theme above paints all body copy light,
   but the older content components still had light card, table
   and form surfaces. Everything below moves those surfaces onto
   the dark palette so the text on them stays visible.
   ============================================================ */

html:is(.page-about,
    .page-ask-scorer,
    .page-best-sat-resources,
    .page-contact,
    .page-grammar-plan,
    .page-grammar,
    .page-learn-sat-regression,
    .page-privacy,
    .page-reading-practice,
    .page-practice-test,
    .page-sat-grammar-videos,
    .page-upload,
    .page-volunteer-hours) {
    --ink: #eef1f7;
    --muted: #a9b4c7;
    --line: rgba(255, 255, 255, 0.13);
    --card: rgba(255, 255, 255, 0.055);
    --surface: rgba(255, 255, 255, 0.055);
    --surface-strong: rgba(255, 255, 255, 0.1);
    --surface-line: rgba(255, 255, 255, 0.14);
    --link-on-dark: #beb3ff;
}

/* ---------- Grammar guide ---------- */

html.page-grammar .quick-rule,
html.page-grammar .contents,
html.page-grammar .lesson,
html.page-grammar .practice-note {
    background: var(--surface) !important;
    border-color: var(--surface-line) !important;
}

html.page-grammar .quick-rule {
    border-left-color: var(--coral) !important;
}

html.page-grammar .example {
    background: rgba(255, 255, 255, 0.07) !important;
    border-left-color: rgba(255, 255, 255, 0.24) !important;
}

html.page-grammar .quick-rule strong,
html.page-grammar .rule,
html.page-grammar .contents h2,
html.page-grammar .lesson h3,
html.page-grammar .practice-note h2 {
    color: #f3f6fc !important;
}

html.page-grammar .wrong {
    color: #ffb3a6 !important;
}

html.page-grammar .right {
    color: #93f0c0 !important;
}

html.page-grammar .contents a,
html.page-grammar .lesson a,
html.page-grammar .quick-rule a,
html.page-grammar .practice-note a,
html.page-grammar-plan .info-card a,
html.page-learn-sat-regression .video-card a,
html.page-sat-grammar-videos .video-card a,
html.page-volunteer-hours main a {
    color: var(--link-on-dark) !important;
}

/* Resource links read as buttons on the dark cards */
html.page-best-sat-resources .resource-card a {
    display: inline-block;
    padding: 8px 14px;
    text-decoration: none;
}

/* Keep real calls to action as lime buttons, not body links */
html.page-grammar .practice-links a,
html.page-grammar .action,
html.page-grammar-plan .part-link,
html.page-sat-grammar-videos .resource-links a,
html.page-sat-grammar-videos .action,
html.page-volunteer-hours .site-hero-cta,
html.page-volunteer-hours .form-notice {
    color: #151b2d !important;
}

/* ---------- Grammar study plan ---------- */

html.page-grammar-plan .info-card {
    background: var(--surface) !important;
    border-color: var(--surface-line) !important;
    box-shadow: none !important;
}

html.page-grammar-plan .info-card p:last-child {
    background: rgba(196, 255, 114, 0.12) !important;
    color: #e9fbd9 !important;
}

html.page-grammar-plan .schedule-title {
    color: #f3f6fc !important;
}

html.page-grammar-plan .schedule-table {
    background: var(--surface) !important;
    border-color: var(--surface-line) !important;
    box-shadow: none !important;
}

html.page-grammar-plan .schedule-table th {
    background: rgba(255, 255, 255, 0.09) !important;
    border-color: rgba(255, 255, 255, 0.1) !important;
    color: #eef1f7 !important;
}

html.page-grammar-plan .schedule-table td {
    border-color: rgba(255, 255, 255, 0.09) !important;
    color: #e7ecf5 !important;
}

html.page-grammar-plan .day-column {
    background: rgba(255, 255, 255, 0.045) !important;
    border-color: rgba(255, 255, 255, 0.09) !important;
    color: #f2f6fc !important;
}

html.page-grammar-plan .rest-day,
html.page-grammar-plan .link-separator {
    color: #a3aec2 !important;
}

/* ---------- Volunteer hours ---------- */

html.page-volunteer-hours .hour-callout {
    background: var(--surface) !important;
    border-color: var(--surface-line) !important;
    border-left-color: var(--coral) !important;
}

/* ---------- Upload and Ask a scorer forms ---------- */

html.page-upload .question-form input,
html.page-upload .question-form select,
html.page-upload .question-form textarea {
    border-color: rgba(255, 255, 255, 0.2) !important;
    color: #eef1f7 !important;
    background: rgba(255, 255, 255, 0.06) !important;
}

html.page-upload .question-form input::placeholder,
html.page-upload .question-form textarea::placeholder {
    color: #8e9cb2 !important;
}

html.page-upload .question-form option {
    color: #eef1f7;
    background: #131b2e;
}

html.page-upload .form-field label,
html.page-upload .field-label {
    color: #e6ebf4 !important;
}

html.page-ask-scorer .question-form input,
html.page-ask-scorer .question-form select,
html.page-ask-scorer .question-form textarea {
    border-color: rgba(255, 255, 255, 0.2) !important;
    color: #eef1f7 !important;
    background: rgba(255, 255, 255, 0.06) !important;
}

html.page-ask-scorer .question-form input::placeholder,
html.page-ask-scorer .question-form textarea::placeholder {
    color: #8e9cb2 !important;
}

html.page-ask-scorer .form-field label,
html.page-ask-scorer .field-label {
    color: #e6ebf4 !important;
}

/* ---------- Timed practice tests ---------- */

html.page-practice-test {
    --card-bg: rgba(255, 255, 255, 0.055);
    --border-color: rgba(255, 255, 255, 0.14);
    --text-main: #eef1f7;
    --text-muted: #a3aec2;
    --success-bg: rgba(22, 132, 95, 0.18);
    --error-bg: rgba(207, 88, 75, 0.16);
}

html.page-practice-test .dashboard-container {
    box-shadow: none !important;
}

html.page-practice-test .practice-overview {
    border-color: rgba(255, 255, 255, 0.12) !important;
}

html.page-practice-test .question-meta {
    color: #ffb59b !important;
}

html.page-practice-test .question-text {
    color: #f1f4fa !important;
}

html.page-practice-test .progress-badge,
html.page-practice-test .timer-badge {
    border: 1px solid rgba(255, 255, 255, 0.24);
    color: #f6f9fd !important;
    background: rgba(255, 255, 255, 0.12) !important;
}

html.page-practice-test .option-card {
    border-color: rgba(255, 255, 255, 0.16) !important;
    color: #e9eef7 !important;
    background: rgba(255, 255, 255, 0.05) !important;
}

html.page-practice-test .option-card:hover:not(.disabled) {
    border-color: rgba(255, 255, 255, 0.3) !important;
    background: rgba(255, 255, 255, 0.1) !important;
}

html.page-practice-test .option-letter {
    color: #d8f9b0 !important;
    background: rgba(255, 255, 255, 0.12) !important;
}

html.page-practice-test .option-card.correct-pick,
html.page-practice-test .option-card.reveal-correct {
    border-color: #2fbb8c !important;
    color: #c8f7e4 !important;
    background: rgba(22, 132, 95, 0.2) !important;
}

html.page-practice-test .option-card.incorrect-pick {
    border-color: #f07267 !important;
    color: #ffd6d1 !important;
    background: rgba(207, 88, 75, 0.2) !important;
}

html.page-practice-test .option-card.correct-pick .option-letter,
html.page-practice-test .option-card.reveal-correct .option-letter {
    color: #0b2b21 !important;
    background: #2fbb8c !important;
}

html.page-practice-test .option-card.incorrect-pick .option-letter {
    color: #2b0d0b !important;
    background: #f07267 !important;
}

html.page-practice-test .explanation-panel.correct-style {
    color: #c8f7e4 !important;
}

html.page-practice-test .explanation-panel.incorrect-style {
    color: #ffd6d1 !important;
}

html.page-practice-test .question-personal-tools {
    border-color: rgba(255, 255, 255, 0.12) !important;
    background: rgba(255, 255, 255, 0.05) !important;
}

html.page-practice-test .question-personal-tools button {
    border-color: rgba(255, 255, 255, 0.24) !important;
    color: #eafbd9 !important;
    background: rgba(255, 255, 255, 0.08) !important;
}

html.page-practice-test .question-personal-tools button.is-bookmarked {
    border-color: transparent !important;
    color: #151b2d !important;
    background: var(--home-lime) !important;
}

html.page-practice-test .local-storage-inline,
html.page-practice-test .local-storage-notice {
    color: #a3aec2 !important;
}

html.page-practice-test .dashboard-container + a {
    padding: 11px 20px;
    border-radius: 10px;
    color: #151b2d !important;
    background: var(--home-lime) !important;
    font-weight: 750 !important;
    text-decoration: none;
}

html.page-practice-test .dashboard-container + a:hover {
    background: #d3ff9a !important;
}

/* ---------- Reading practice navigation ---------- */

html.page-reading-practice .reading-header nav a {
    color: #aab6c7 !important;
}

html.page-reading-practice .reading-header nav a:hover,
html.page-reading-practice .reading-header nav a.current {
    color: #ddf8c5 !important;
}

/* ---------- Homepage: light panels keep dark text ---------- */

html.page-home .action.secondary {
    border-color: rgba(32, 42, 67, 0.4) !important;
    color: #1b2a3f !important;
    background: transparent !important;
}

html.page-home .home-sponsorship .sponsorship-label,
html.page-home .sponsorship-label {
    color: #657087 !important;
}

html.page-home footer {
    color: #52645f !important;
}

html.page-home .study-plan-callout,
html.page-home .personal-tool-card,
html.page-home .referral-card,
html.page-home .referral-result,
html.page-home .referral-how,
html.page-home .volunteer-feature,
html.page-home .sat-motivation,
html.page-home .part-card,
html.page-home .question-library {
    color: #1a2334 !important;
}

html.page-home .personal-tool-card small,
html.page-home .personal-tool-card .local-storage-notice {
    color: #52645f !important;
}
