/* Shared accessibility controls and an explicit dark palette; no inversion filters. */
body { font-size:calc(16px * var(--fr-font-scale,1)); }
html[data-motion="reduce"] { scroll-behavior:auto !important; }
html[data-motion="reduce"] *,html[data-motion="reduce"] *::before,html[data-motion="reduce"] *::after { animation:none !important; transition:none !important; scroll-behavior:auto !important; }
html[data-motion="reduce"] :is(a,button,.card,.resource-card,.practice-deck,.profile-stat-grid article,.profile-policy-grid article):hover { transform:none !important; }
html[data-motion="reduce"] :is(a,button,.card,.resource-card):is(:hover,:focus-visible) :is(svg,img,.resource-card__open i) { transform:none !important; }
.personal-fit { pointer-events:auto !important; }
.session-word-line #session-word.is-definition { font-size:clamp(1.15rem,2vw,1.5rem); line-height:1.5; font-weight:600; overflow-wrap:anywhere; }
html[data-theme="dark"] :is(.filter-panel,.random-teaser,.random-reveal,.discovery-route,.guide-grid article,.method-list li,.roi-inputs,.roi-result-grid article) { background:#2c202b; border-color:#604450; color:#e9d5dc; }
html[data-theme="dark"] :is(.filter-panel label,.filters label,.search-help,.finder-card-price,.random-teaser strong,.guide-grid h3,.method-list strong) { color:#eddfe0; }
html[data-theme="dark"] :is(.filter-panel select,.filter-panel button,.roi-inputs input,.roi-inputs select,.contact-form select,.resource-facets select,.resource-search,.resource-search input) { background:#221a24; border-color:#674552; color:#eee0db; }
html[data-theme="dark"] :is(.resource-path,.resource-path__step,.resource-note,.resource-dialog,.resource-detail__body,.resource-dialog__close) { background:#2b202a; border-color:#5e404b; color:#f0e0d9; }
html[data-theme="dark"] .resources-page { --resource-ink:#f0e0d9; --resource-muted:#cbb7bd; --resource-line:#65444f; }
html[data-theme="dark"] :is(.resource-path a,.resource-path h3,.resource-dialog h2,.resource-dialog h3,.resource-dialog p,.resource-note h2,.resource-note p) { color:#e9d4d4; }
html[data-theme="dark"] :is(.comparison-label-cell,.comparison-college-head,.comparison-data-cell,.comparison-row:nth-of-type(even) .comparison-data-cell,.comparison-row--head .comparison-label-cell,.compare-empty__visual span) { background:#2b202b; color:#eeded9; border-color:#614653; }
html[data-theme="dark"] :is(.comparison-section-row,.compare-toolbar) { background:#3b2533; border-color:#674859; color:#f4d4a1; }
html[data-theme="dark"] .comparison-college-head a { color:#ebbd81; }
.personal-fit { display:inline-flex; align-items:center; gap:.45rem; align-self:flex-start; width:fit-content; max-width:100%; margin:.4rem 0 .75rem; padding:.38rem .65rem; border:1px solid #c4e4cf; border-radius:20px; background:#e6f6ed; color:#175437; font-size:.74rem; font-weight:700; line-height:1.5; cursor:help; position:relative; z-index:2; }
.personal-fit--partial { border-color:#efd398; background:#fff3d7; color:#775521; }
.personal-fit:focus-visible { outline:3px solid #e8ba72; outline-offset:3px; }
.card-availability { margin:.5rem 0; color:#f5e8e1c9; font-size:.7rem; }
.card-availability a { font-weight:700; }
.card--photo .pending-card-note { padding:.75rem .9rem; border:1px solid #ffffff33; border-radius:12px; background:#25152666; color:#f5e8e1; box-shadow:none; }
.card--photo .pending-card-note p { font-size:.75rem; color:inherit; }
.card--photo .pending-card-note span { border-color:#d2ad71; color:#f8d18e; }
.personal-finder-note { padding:.65rem .85rem; margin:1rem 0; border:1px solid #ead8b8; border-radius:12px; background:#fff7e8; color:#71563b; font-size:.77rem; }
.personal-finder-note a { color:#9a273a; font-weight:700; }
.practice-daily-goal { margin:.8rem 0 1.5rem; color:#795e43; font-size:.8rem; }
.practice-daily-goal strong { color:var(--fr-red); }
.fr-reminder { position:fixed; z-index:110; right:1rem; bottom:1rem; width:min(360px,calc(100vw - 2rem)); padding:1.15rem 2.5rem 1.15rem 1.15rem; border:1px solid #dec297; border-left:4px solid var(--fr-red); border-radius:16px; background:#fffaf1; color:#492534; box-shadow:0 12px 36px #35182629; }
.fr-reminder strong { font-size:.95rem; }
.fr-reminder p { overflow-wrap:anywhere; font-size:.8rem; }
.fr-reminder a { color:var(--fr-red); font-size:.8rem; font-weight:700; }
.fr-reminder button { position:absolute; top:.5rem; right:.5rem; width:30px; height:30px; border:0; border-radius:50%; background:#f8e9db; color:#762c3a; cursor:pointer; font-size:1.2rem; }
html[data-theme="dark"] { --ink:#f5e9e2; --forest:#231b25; --forest-2:#30242e; --paper:#18131b; --white:#241c26; --mist:#3d303f; --muted:#c4b1bd; --line:#4d3948; --fr-wine:#f4e5de; --fr-line:#4e3740; --fr-cream:#2b2029; --fr-red:#e79eac; --fr-red-dark:#efbac1; --profile-text:#f4e4de; --profile-muted:#c6afb4; --profile-border:#513a44; --fr-dark-surface:#241c26; --fr-dark-raised:#2d222d; --fr-dark-text:#f5e9e2; --fr-dark-muted:#c4b1bd; --fr-dark-border:#59414f; --fr-dark-gold:#f0cc8a; }
html[data-theme="dark"] body.has-side-rail { background:#18131b; color:#f5e9e2; }
html[data-theme="dark"] :is(.fr-rail,.has-side-rail .topbar,.fr-rail__account,.fr-menu-toggle) { background:#211924; border-color:#4d3542; color:#f5e9e2; }
html[data-theme="dark"] :is(.fr-rail__brand>a,.brand,.brand i,.fr-rail__link,.fr-rail__account,.account-trigger,.language-switch button,.header-shortlist) { color:#e8d5dc; }
html[data-theme="dark"] :is(.fr-rail__link:hover,.fr-rail__account:hover) { background:#38232f; border-color:#714252; color:#fff0e8; }
html[data-theme="dark"] .fr-rail__link.is-active,html[data-theme="dark"] .fr-rail__link.is-active:hover { background:#ac3147; border-color:#c55a6c; color:#fff; }
html[data-theme="dark"] :is(.language-switch button.active,.brand-mark,.fr-rail__mark) { background:#f0c477; color:#39212c; }
html[data-theme="dark"] :is(.account-trigger,.header-shortlist) { background:#2c202b; border-color:#59404d; }
html[data-theme="dark"] :is(.profile-page,.practice-page.has-side-rail) { --profile-text:#f4e4de; --profile-muted:#c6afb4; --profile-border:#513a44; background:#18131b; }
html[data-theme="dark"] :is(.profile-page.has-side-rail .profile-section,.practice-page .practice-add,.practice-page .practice-library,.practice-page .practice-decks,.has-side-rail .method,.data-audit,.resources-library,.resource-modal__dialog,.compare-page.has-side-rail .compare-hero) { border-color:#543a44; background:#241c25; color:#f2e3dd; }
html[data-theme="dark"] :is(.profile-page .profile-stat-grid article,.profile-page .profile-policy-grid article,.profile-checklist label,.profile-page.has-side-rail .profile-source-list a,.practice-page .flashcard-row,.practice-page .practice-deck,.resource-card,.auth-dialog) { border-color:#573d48; background:#2b202b; color:#f4e6e0; }
html[data-theme="dark"] :is(.profile-stat-grid article:first-child,.profile-policy-grid article[data-policy-field="aid"],.profile-aid-note,.profile-notice,.policy-evidence,.personal-finder-note,.profile-jump-nav a) { border-color:#715443; background:#30222a; color:#eed5ba; }
html[data-theme="dark"] :is(.profile-stat-grid strong,.profile-section-heading h2,.policy-heading h3,.profile-fact-grid strong,.profile-fact-wrap h3,.profile-checklist-text,.profile-policy-grid p) { color:#f5e5de; }
html[data-theme="dark"] :is(.profile-section-heading>a,.profile-policy-grid article>a,.profile-source-list a b,.policy-icon) { background:#493039; border-color:#715043; color:#f4d49d; }
html[data-theme="dark"] :is(.profile-policy-grid .policy-status,.profile-policy-grid article[data-policy-status="pending"] p,.profile-section-heading>p,.profile-fineprint,.profile-fact-grid span,.profile-stat-label,.policy-method,.policy-evidence blockquote,.profile-checklist-note) { color:#cdb5bc; }
html[data-theme="dark"] .profile-policy-grid .policy-status.is-verified { color:#96d0b4; }
html[data-theme="dark"] .profile-checklist label:hover,html[data-theme="dark"] .profile-checklist li.is-complete label { background:#432b35; border-color:#805063; }
html[data-theme="dark"] .profile-page.has-side-rail .profile-source-list a:hover { background:#3b2930; border-color:#8c6750; }
html[data-theme="dark"] .profile-aid-note p,html[data-theme="dark"] .profile-aid-note span { color:#ecd2b5; }
html[data-theme="dark"] .profile-policy-grid article[data-policy-status="conflict"],html[data-theme="dark"] .policy-conflict { background:#40222d; color:#f4b7c0; border-color:#a35466; }
html[data-theme="dark"] .profile-page .profile-jump-nav a:hover { background:#412936; color:#fff; border-color:#91556b; }
html[data-theme="dark"] :is(.practice-page .card-form input,.practice-page .bulk-form textarea,.practice-page .bulk-form input,.practice-page .practice-search,.practice-page .practice-tools select,.search-field input,.contact-form input,.contact-form textarea) { background:#221923; border-color:#684955; color:#f4e6e0; }
html[data-theme="dark"] :is(.practice-page .practice-dashboard>div,.practice-page .practice-modal__dialog,.session-card,.practice-page .practice-bridges) { border-color:#60434b; background:#2d212a; }
html[data-theme="dark"] .practice-page .practice-deck--b1,html[data-theme="dark"] .practice-page .practice-deck--b2,html[data-theme="dark"] .practice-page .practice-deck--bridge { background:#3b2c22; border-color:#876641; }
html[data-theme="dark"] .practice-page .practice-deck--c1,html[data-theme="dark"] .practice-page .practice-deck--c2 { background:linear-gradient(140deg,#a42b43,#681c30); border-color:#b77f55; }
html[data-theme="dark"] :is(.practice-page .practice-deck h3,.practice-page .practice-deck p,.practice-page .practice-deck__level,.practice-page .practice-dashboard strong,.practice-page .practice-library h2,.practice-page .practice-add h2,.practice-page .practice-decks__heading h2,.practice-page .card-form label,.practice-page .bulk-form>label,.flashcard-row__word,.flashcard-row__translation) { color:#f3e3dd; }
html[data-theme="dark"] :is(.practice-page .practice-deck__count,.practice-page .practice-deck__bottom small,.practice-page .practice-decks__heading p,.practice-page .practice-dashboard span,.practice-daily-goal,.practice-help) { color:#ccb3b9; }
html[data-theme="dark"] :is(.practice-page .practice-primary,.practice-page .practice-deck__bottom button,.settings-button--primary,.auth-primary) { background:#ad3048; border-color:#c75c71; color:#fff; }
html[data-theme="dark"] .practice-page .practice-deck--c1 .practice-deck__bottom button,html[data-theme="dark"] .practice-page .practice-deck--c2 .practice-deck__bottom button { background:#f1cb86; color:#492234; border-color:#f1cb86; }
html[data-theme="dark"] :is(.session-word-line,.session-word-line span,.session-meaning,.session-card p,.session-card ul,.session-card strong,.session-heading,.practice-modal h2) { color:#f4e5dd; }
html[data-theme="dark"] :is(.sentence-form textarea,.practice-modal input,.auth-form input) { background:#18131b; color:#f4e4dc; border-color:#684957; }
html[data-theme="dark"] :is(.resources-hero,.resources-guide,.resource-card__body,.resource-modal,.resource-detail,.resource-notice,.contact,.contact-form,.compare-workspace,.compare-toolbar,.compare-hero__aside,.compare-empty,.compare-add-picker,.comparison-tray) { background:#271e28; color:#f4e5dd; border-color:#5c414b; }
html[data-theme="dark"] :is(.resource-card h3,.resource-card p,.resources-guide h3,.resources-guide p,.resource-modal h2,.resource-modal h3,.resource-modal p,.auth-user__identity,.auth-sync-note,.auth-intro,.auth-privacy) { color:#e8d3d8; }
html[data-theme="dark"] :is(.compare-value,.compare-label,.compare-college-header) { background:#281e29; border-color:#5b424c; color:#f4e4df; }
html[data-theme="dark"] :is(.personal-fit) { background:#173a2a; color:#b7ebce; border-color:#42755a; }
html[data-theme="dark"] .personal-fit--partial { background:#493622; color:#f6d599; border-color:#886338; }
html[data-theme="dark"] .fr-reminder { background:#30222b; color:#f4e3dc; border-color:#9c764c; }
html[data-theme="dark"] .fr-reminder button { background:#49313c; color:#f6cf9f; }
html[data-theme="dark"] :is(.data-audit,.random-teaser,.random-reveal,.compare-workspace,.compare-empty__visual span) { box-shadow:0 8px 24px #0003; }
html[data-theme="dark"] :is(.discovery-routes button,.compare-empty>a,.roi-toggle,.roi-mode-switch button.active) { background:#a92e46; border-color:#ba556b; color:#fff; }
html[data-theme="dark"] :is(.compare-back,.compare-hero__aside p,.comparison-toolbar p) { color:#d3bbc3; }
html[data-theme="dark"] .compare-empty__visual i { box-shadow:0 0 0 8px #463039; color:#3e2030; }
html[data-theme="dark"] :is(.practice-page .practice-module,.practice-page .practice-module:hover,.practice-page .session-mode,.practice-page .session-setup__how) { background:#38252f; color:#f3e5df; border-color:#6c4455; }
html[data-theme="dark"] :is(.practice-page .practice-module__body>small,.practice-page .practice-module__number small,.practice-page .practice-module__percent small,.practice-page .session-mode small,.practice-page .session-setup__how li) { color:#ceb1bc; }
html[data-theme="dark"] :is(.practice-page .practice-module__percent,.practice-page .session-setup__how>b) { color:#eab4c0; }
html[data-theme="dark"] .practice-page .session-mode.is-selected { background:#492d39; border-color:#ca7188; }
html[data-theme="dark"] .practice-page .session-heading b { color:#f0e0da; }
html[data-theme="dark"] .practice-page .session-heading span { background:#4b2c42; color:#f4c3da; }
html[data-theme="dark"] :is(.practice-page .session-word-line>button,.practice-modal__close,.practice-page .session-next-row button) { background:#492f3d; color:#efcad9; }
html[data-theme="dark"] .practice-page .session-next-row button:hover { background:#623c4d; color:#fff; }
html[data-theme="dark"] .practice-page .session-meaning p::first-line { color:#d3b7c2; }
html[data-theme="dark"] :is(.resource-path>button,.resource-toolbar,.resource-detail__facts span) { background:#33232d; color:#ebd8d8; border-color:#674553; }
html[data-theme="dark"] .resource-path>button:hover { background:#422a35; }
html[data-theme="dark"] :is(.resource-detail__content,.resource-detail__content p,.resource-detail__content li) { color:#e2cbd2; }
html[data-theme="dark"] .card .badge { background:#f1cb86; color:#482234; }
html[data-theme="dark"] .resource-filters button { background:#3d2b35; border-color:#76525e; color:#eddde2; }
html[data-theme="dark"] .resource-filters button.is-active { background:#a92745; border-color:#d1758b; color:#fff; }
html[data-theme="dark"] .resource-card__visual { background:linear-gradient(140deg,#49323b,#302129); }
html[data-theme="dark"] :is(.resource-card__open,.resource-results-line button,.resource-card__source,.resource-detail__kicker,.resource-path span) { color:#ecc694; }
@media (prefers-reduced-motion:reduce) { .settings-main *, .fr-reminder { animation:none !important; transition:none !important; } }

/* Legacy --forest is a SURFACE, never a light foreground in dark mode.
   Explicitly map the remaining catalogue surfaces and their text roles. */
html[data-theme="dark"] body.has-side-rail :is(.aid-guide,.roi-section,.search-prompt,.shortlist-drawer,.shortlist-drawer__header,.shortlist-drawer__summary,.shortlist-drawer__footer,.saved-drawer-card,.roi-panel,.roi-calculator,.money-input) { background:var(--fr-dark-surface); border-color:var(--fr-dark-border); color:var(--fr-dark-text); }
html[data-theme="dark"] body.has-side-rail :is(.aid-guide-heading h2,.search-prompt strong,.section-heading h2,.data-audit strong,.random-teaser strong,.random-reveal__copy strong,.shortlist-drawer h2,.shortlist-empty strong,.saved-drawer-card h3,.contact-intro h2,.contact-address>a,.contact-form__heading strong,.roi-heading h2,.roi-field>span:first-child,.roi-field input,.money-input input,.show-more,.card--directory h3,.comparison-college-head h2,.comparison-college-head h3) { color:var(--fr-dark-text); }
html[data-theme="dark"] body.has-side-rail :is(.aid-guide-heading>p:last-child,.guide-grid p,.method p,.search-prompt p,.contact-form label,.contact-form__actions p,.contact-address>span,.roi-method,.roi-disclaimer,.roi-fee-sources,.roi-breakdown span,.range-scale,.directory-description,.directory-facts dd,.saved-drawer-card p,.saved-drawer-card__info span) { color:var(--fr-dark-muted); }
html[data-theme="dark"] body.has-side-rail :is(.guide-grid,.guide-grid article,.method ol,.method li,.contact-address,.roi-primary-result,.roi-method,.roi-breakdown>div,.saved-drawer-card__actions) { border-color:var(--fr-dark-border); }
html[data-theme="dark"] body.has-side-rail .method li { background:transparent; }
html[data-theme="dark"] body.has-side-rail .method li:hover { background:#ffffff05; }
html[data-theme="dark"] body.has-side-rail .method h3 { color:var(--fr-dark-text); }
html[data-theme="dark"] body.has-side-rail .method li>span { background:#432b35; border-color:#795260; color:#ffc8d1; }
html[data-theme="dark"] body.has-side-rail .about { background:#382b23; border-top:1px solid #755639; border-bottom:1px solid #755639; }
html[data-theme="dark"] body.has-side-rail .about h2 { color:#f6dfb4; }
html[data-theme="dark"] body.has-side-rail :is(.about p,.feedback) { color:#ebd3b8; border-color:#967451; }
html[data-theme="dark"] body.has-side-rail :is(.eyebrow-label,.search-prompt>span,.contact-address>button,.random-reveal__copy>a,.directory-facts dt,.card--directory .card-footer a,.results-line button,.roi-fee-sources a,.shortlist-drawer__header>div>span,.discovery-routes>span) { color:var(--fr-dark-gold); }
html[data-theme="dark"] body.has-side-rail :is(.contact,.contact-form,.roi-calculator) { box-shadow:none; }
html[data-theme="dark"] body.has-side-rail :is(.contact-form__heading,.contact-form__grid,.contact-form__actions) { border-color:var(--fr-dark-border); }
html[data-theme="dark"] body.has-side-rail :is(.contact-form__actions button,.shortlist-drawer__footer button,.saved-drawer-card__actions a) { background:#a62a42; color:#fff; border-color:#c45870; }
html[data-theme="dark"] body.has-side-rail :is(.shortlist-drawer__header>button,.saved-drawer-card__actions button,.shortlist-drawer__footer button+button,.filter-toggle,.shortlist-toggle,.roi-mode-switch button) { background:var(--fr-dark-raised); color:var(--fr-dark-text); border-color:var(--fr-dark-border); }
html[data-theme="dark"] body.has-side-rail :is(.roi-results,.roi-range-field,.roi-banner,.campus-mosaic) { background:#2b1c27; }
html[data-theme="dark"] body.has-side-rail :is(.roi-result-grid strong,.roi-primary-result>span,.roi-breakdown strong,.roi-toggle,.roi-mode-switch button.active) { color:var(--fr-dark-text); }
html[data-theme="dark"] body.has-side-rail :is(.roi-primary-result strong,.roi-results-label,.roi-range-field output) { color:var(--fr-dark-gold); }
html[data-theme="dark"] body.has-side-rail :is(.finder-controls option,.roi-field select option) { background:#241c26; color:var(--fr-dark-text); }
html[data-theme="dark"] body.has-side-rail .roi-field select { background-image:none; }
html[data-theme="dark"] body.has-side-rail :is(.directory-index,.data-audit-count,.saved-drawer-card__info b) { color:var(--fr-dark-gold); }
html[data-theme="dark"] body.has-side-rail .card--directory { background:var(--fr-dark-raised); color:var(--fr-dark-text); }
html[data-theme="dark"] body.has-side-rail .discovery-routes button { background:#332530; border-color:#76515f; color:var(--fr-dark-text); }
html[data-theme="dark"] body.has-side-rail .discovery-routes button b { background:#513440; color:#f7d5a4; }
html[data-theme="dark"] body.has-side-rail :is(.discovery-routes button:hover,.discovery-routes button.active) { background:#a62a42; border-color:#d57a8f; color:#fff; }
html[data-theme="dark"] body.has-side-rail :is(.header-shortlist b,.account-trigger__avatar,.data-audit-mark) { background:#513440; color:#f7d5a4; }
html[data-theme="dark"] body.has-side-rail .show-more:hover { background:#49303b; color:#fff; }
html[data-theme="dark"] body.has-side-rail :is(.resource-detail__description,.resource-detail li,.resource-detail__actions small) { color:var(--fr-dark-muted); }
html[data-theme="dark"] body.has-side-rail :is(.resource-detail h3,.resource-note b) { color:var(--fr-dark-gold); }
html[data-theme="dark"] body.has-side-rail :is(.resource-detail__best,.resource-detail__outage,.resource-detail__actions a.resource-detail__official) { background:#3b2d24; color:#f6d6a1; border-color:#816240; box-shadow:none; }
html[data-theme="dark"] body.has-side-rail :is(.resources-back:hover,.compare-back:hover,.resource-card:hover,.resource-card:focus-visible) { background:#382733; color:#fff0e8; border-color:#936276; }
html[data-theme="dark"] body.has-side-rail :is(.practice-review-actions>button:not(.practice-primary),.practice-empty,.practice-search input,.practice-search input::placeholder,.bulk-form__bottom label,.sentence-form>label,.sentence-feedback,.session-card small,.session-meaning__label) { color:var(--fr-dark-muted); }
html[data-theme="dark"] body.has-side-rail .practice-review-actions>button:not(.practice-primary) { background:#352630; border-color:var(--fr-dark-border); }
html[data-theme="dark"] body.has-side-rail footer { color:var(--fr-dark-muted); border-color:var(--fr-dark-border); }
html[data-theme="dark"] body.has-side-rail footer strong { color:var(--fr-dark-text); }

html[data-theme="dark"] body.has-side-rail :is(.contact-form label>span,.contact-form__heading>span,.practice-section-label span,.resources-section-label span,.resource-results-line,.practice-deck__identity em,.practice-deck__summary small,.practice-note,.practice-result-count,.card-empty,.bulk-form__bottom small) { color:var(--fr-dark-muted); }
html[data-theme="dark"] body.has-side-rail :is(.practice-deck__identity b,.compare-empty h2) { color:var(--fr-dark-text); }
html[data-theme="dark"] body.has-side-rail :is(.practice-deck__identity small,.practice-deck__summary strong,.compare-empty>p) { color:var(--fr-dark-gold); }
html[data-theme="dark"] body.has-side-rail.practice-page :is(.practice-deck--b1,.practice-deck--b2,.practice-deck--bridge) { background:#3b2c22; border-color:#876641; }
html[data-theme="dark"] body.has-side-rail.practice-page :is(.practice-deck--c1,.practice-deck--c2) { background:linear-gradient(140deg,#942a40,#601e30); border-color:#a6774a; }
html[data-theme="dark"] body.has-side-rail.practice-page :is(.practice-deck--c1,.practice-deck--c2) :is(.practice-deck__identity b,.practice-deck__identity em,.practice-deck__summary small) { color:#fff1ea; }
html[data-theme="dark"] body.has-side-rail .practice-deck details>summary { --deck-summary-hover:rgba(255,255,255,.04); }

/* Small secondary labels must remain readable in the light theme as well. */
html[data-theme="light"] body.has-side-rail :is(.search-prompt p,.contact-intro>p:not(.eyebrow-label),.contact-address>span,.contact-form__actions p,.practice-note,.practice-result-count,.card-empty,.bulk-form__bottom small,.resource-results-line) { color:#685963; }
html[data-theme="light"] body.has-side-rail :is(.contact-form__heading>span,.practice-section-label span:first-child,.resources-section-label span,.resource-card__source,.compare-empty>p) { color:#89601f; }
html[data-theme="light"] body.has-side-rail .roi-range-field>span:first-child { color:#f5e9e2; }
html[data-theme="light"] body.has-side-rail .roi-disclaimer { color:#685963; }
html[data-theme="light"] body.has-side-rail .bulk-form>small { color:#685963; }
html[data-theme="dark"] body.has-side-rail .bulk-form>small { color:var(--fr-dark-muted); }
.profile-page .gallery-image>span { background:#301d29ed; color:#fff; }
html[data-theme="dark"] body.has-side-rail :is(.shortlist-drawer__summary span,.sentence-optional>summary,.sentence-hint,.session-next-row>span) { color:var(--fr-dark-muted); }
html[data-theme="dark"] body.has-side-rail :is(.comparison-college-head>span,#session-source,.saved-drawer-card__copy>span,.saved-drawer-card__copy a) { color:var(--fr-dark-gold); }
html[data-theme="dark"] body.has-side-rail .session-word-line small { background:#48313f; color:#f5d3dd; border-color:#7a5464; }
html[data-theme="light"] body.has-side-rail :is(.shortlist-empty p,.sentence-hint,.session-next-row button) { color:#685963; }
html[data-theme="light"] body.has-side-rail :is(#session-source,.comparison-college-head>span,.resource-detail__kicker) { color:#89601f; }
html[data-theme="light"] body.has-side-rail .session-heading span { background:#fbe9ec; color:#972039; }
html[data-theme="dark"] body.has-side-rail :is(.auth-tabs,.auth-google,.auth-setup,.auth-user__identity,.auth-profile-form,.auth-sync-note) { background:var(--fr-dark-raised); color:var(--fr-dark-text); border-color:var(--fr-dark-border); box-shadow:none; }
html[data-theme="dark"] body.has-side-rail :is(.auth-form>h3,.auth-user__identity h3,.auth-setup h3,.auth-google,.auth-form input,.auth-form label>span,.auth-tabs button,.auth-account-actions button) { color:var(--fr-dark-text); }
html[data-theme="dark"] body.has-side-rail :is(.auth-loading,.auth-divider,.auth-form small,.auth-user__identity p,.auth-privacy) { color:var(--fr-dark-muted); }
html[data-theme="dark"] body.has-side-rail :is(.auth-link,.auth-user__identity span,.auth-sync-note>span:first-child,.auth-status) { color:var(--fr-dark-gold); }
html[data-theme="dark"] body.has-side-rail :is(.auth-tabs button.is-active,.auth-primary:hover) { background:#aa2d46; color:#fff; }
html[data-theme="dark"] body.has-side-rail .auth-google:hover { background:#3d2a35; color:#fff; box-shadow:none; }
html[data-theme="dark"] body.has-side-rail .auth-verification { background:#3c2e22; color:#f4d2a0; border-color:#b58b51; }
html[data-theme="dark"] body.has-side-rail .auth-verification.is-verified { background:#21372b; color:#b8e5c6; border-color:#73947d; }
html[data-theme="dark"] body.has-side-rail .auth-status.is-error { color:#ffafba; }
