@media screen{
:root[data-theme=dark]{--panel-soft:#203748}
:root[data-theme=dark] .loop-status{background:#3c3019;color:#f2d49a}
:root[data-theme=dark] :is(.answer-badge.correct,.answer-badge.incorrect){color:#0d1d29}
:root[data-theme=dark] :is(.status-pill,.pending-callout,.comparison-change,.review-pace .pace-status.behind,.journey-pace-caption,.account-sync-status.needs-attention){color:#f2d49a;background:#3c3019;border-color:#80693b}
:root[data-theme=dark] body:not(:has(.exam-shell)) .topbar{color:var(--ink)}
:root[data-theme=dark] .topbar .brand-title{color:var(--ink)}
:root[data-theme=dark] body:not(:has(.exam-shell)) .topbar .library-link{background:var(--panel);color:var(--ink);border-color:var(--line)}
:root[data-theme=dark] .sandbox-banner{background:#183e54;color:var(--ink);border-color:#526d80}
:root[data-theme=dark] .sandbox-banner strong{color:var(--ink)}
:root[data-theme=dark] .pricing-card :is(strong,small,span){color:var(--ink)}
:root[data-theme=dark] .pricing-card .pricing-label{background:#254f4c;color:#c7f4e5}
:root[data-theme=dark] .pricing-hero h1 span{color:#89d3c8}
:root[data-theme=dark] body>aside[role=status] a{color:inherit}
:root[data-theme=dark] :is(.bank-directory,.bank-exam-picker,.bank-selection,.bank-block) :is(p,span,summary,label,small,strong,button){color:var(--ink)}
:root[data-theme=dark] :is(.bank-subject-row strong,.bank-catalog-results,.import-lab-flow span){background:#203e53;color:var(--ink);border-color:var(--line)}
:root[data-theme=dark] :is(.bank-filters label:has(input:checked),.bank-source-controls .compact-choice label:has(input:checked),.bank-source-controls .compact-choice label:has(input:indeterminate),.bank-tabs>button[aria-selected=true],.bank-subject-row>button[aria-pressed=true],.bank-field-grid button[aria-pressed=true]){background:#19465f;border-color:#69b7df}
:root[data-theme=dark] .button-danger{background:#b73b53;color:white;border-color:#ef91a4}
:root[data-theme=dark] .dashboard-workspace :is(p,span,small,strong,label,summary,li,td,th,dt,dd,b){color:var(--ink)}
:root[data-theme=dark] :is(.dashboard-freshness,.journey-view-switch,.dashboard-workspace th,.progress-point b,.coaching-prescription-grid li,.loop-steps .done,.private-recall-label){background:#203748;color:var(--ink);border-color:var(--line)}
:root[data-theme=dark] :is(.dashboard-bar-track,.reading-load-track){background:#354f60}
:root[data-theme=dark] .dashboard-workspace .snapshot-source{color:#8de0c8}
:root[data-theme=dark] :is(.outcome-label.still-incorrect,.outcome-label.incorrect,.outcome-label.harmed){background:#422830;color:#ffb2bc}
:root[data-theme=dark] :is(.outcome-label.improved,.outcome-label.correct,.outcome-label.changed-correct){background:#153d32;color:#91e1bc}
:root[data-theme=dark] .journey-completion>:is(th,td){background:#203748!important}
:root[data-theme=dark] .visit-outcome-count{background:#203748;color:var(--ink)}
:root[data-theme=dark] :is(.visit-outcome-count.visit-outcome-unmarkedCorrect,.visit-outcome-count.visit-outcome-markedCorrect){color:#91e1bc}
:root[data-theme=dark] :is(.visit-outcome-count.visit-outcome-unmarkedIncorrect,.visit-outcome-count.visit-outcome-markedIncorrect){color:#ffb2bc}
:root[data-theme=dark] :is(.investor-demo-card ol li,.retrieval-principles span,.loop-steps span,.memory-stack>span,.memory-stack small){background:#203748;color:var(--ink)}
:root[data-theme=dark] .loop-steps .active{background:#153d32;color:#91e1bc}
:root[data-theme=dark] .path-pill.wrong{background:#422830;color:#ffb2bc}
:root[data-theme=dark] .path-pill.correct{background:#153d32;color:#91e1bc}
:root[data-theme=dark] #dashboard-coach-form label{background:var(--panel);color:var(--ink)}
:root[data-theme=dark] :is(.source-sets>summary,.bank-classification-note>summary,.form-library-card-head>span){color:var(--ink)}
:root[data-theme=dark] .billing-practice-link{background:#183e54;color:#dceefa;border:1px solid #6a9cb7}
:root[data-theme=dark] .pricing-price strong{color:var(--ink)}
:root[data-theme=dark] :is(.page-breadcrumb a,.account-page-links a){color:#8ad4fa}
:root[data-theme=dark] .pricing-shared-tools li span{color:#8de0c8}
:root[data-theme=dark] .site-feedback-dialog{background:var(--panel);color:var(--ink);border-color:var(--line)}
:root[data-theme=dark] :is(.guide-callout,.guide-worked-example,.guide-lab,.guide-report){background:var(--panel);color:var(--ink);border-color:var(--line)}
:root[data-theme=dark] .why-learning-guide :is(.guide-kicker,.guide-contents a span,.guide-source-note,.guide-small,.guide-report figcaption,.guide-report-limit){color:var(--muted)}
:root[data-theme=dark] ::placeholder{color:#acbdca;opacity:1}
/* Appearance is applied before paint by appearance.js. No image inversion. */
:root[data-theme=dark]{color-scheme:dark;--ink:#e1eaf1;--muted:#aebfcb;--line:#3c5263;--panel:#172b3b;--page:#0d1d29;--sky-100:#183e54;--amber-100:#3c3019;--red-600:#e76d7f;--green-700:#78d2ad;--shadow:0 12px 32px #0005}
:root[data-theme=dark] .site-content{background:var(--page)}
:root[data-theme=dark] .eyebrow{color:#8bd4f4}
:root[data-theme=dark] body{background:var(--page);color:var(--ink)}
:root[data-theme=dark] :is(h1,h2,h3,h4,h5,h6){color:var(--ink)}
:root[data-theme=dark] a{color:#8ad4fa}
:root[data-theme=dark] :is(input:not([type=checkbox]):not([type=radio]),select,textarea){background:#102331;color:var(--ink);border-color:#526d80}
:root[data-theme=dark] :is(button,.button,.filter-chip,.bank-tabs>button,.bank-field-grid button,.qnav,.confidence-button,.miss-reason-trigger,.miss-reason-option,.miss-reason-clear){color:var(--ink);background:var(--panel);border-color:#526d80}
:root[data-theme=dark] :is(button,.button):disabled{opacity:.65}
:root[data-theme=dark] :is(.button-primary,.button[aria-pressed=true],.billing-period-picker button[aria-pressed=true],.why-example-tabs button[aria-pressed=true],.review-sheet-modes button[aria-pressed=true],.filter-chip.active,.bank-tabs>button.active,.qnav.current){background:#126a96;color:#fff;border-color:#69b7df}
:root[data-theme=dark] :is(.card,.fact,.attempt-row,.metric,.question-panel,.question-tools,.pause-card,.question-footer,.navigator,.review-nav,.review-score,.review-choice,.learning-card,.active-recall-card,.coach-feedback,.coach-empty,.coach-message,.coach-question-library,.coach-saved-question,.ai-tutor-card,.ai-thread,.ai-message.ai-answer,.modal,.import-dialog,.import-preview,.import-preview-head>div,.import-preview-questions article,.explanation-mode-card,.dashboard-stat-grid article,.info-popover,.signal-card,.signal-ring::before,.memory-stack,.retrieval-history article,.coaching-prescription-grid>div,.outcome-card,.dashboard-coach-report,.dashboard-coach-message,.dashboard-table,.proof-grid>div,.reason-coaching-action,.length-evidence,.recall-timing-choice,.evidence-status,.review-sheet-shell,.scheduling-explanation,.reading-observation,.account-sync-status,.question-quality-plan,.builder-natural,.confidence-summary,.confidence-chart,.attempt-insights,.practice-aid-options,.recall-customization,.action-dialog,.chart-message,.action-message-assistant,.practice-next-step,.chart-scroll-controls,.chart-coverage-note,.timeline-axis-sticky,.timeline-activity-plot,.builder-answer-options,.site-account-dialog,.site-navigation-dialog,.site-menu-search,.site-menu-account,.comparison-learning article,.comparison-inspected,.bank-directory,.bank-exam-picker,.bank-syllabus-note,.why-cycle article,.why-research article,.why-example-card,.results-next-step,.fresh-practice-next,.recall-stem-preference,.pricing-card,.pricing-allowance,.pricing-table-wrap,.pricing-explainer-grid article,.billing-details,.plan-editor,.home-plan-tile,.allowance-meter,.pricing-shared-tools,.builder-capacity,.community-explanation-preview,.study-material-preview){background:var(--panel);color:var(--ink);border-color:var(--line)}
:root[data-theme=dark] :is(.attempt-row:hover,.review-table tbody tr:hover,.journey-table tbody tr:nth-child(even) td,.review-question-head,.dashboard-table th,.review-table th,.journey-table thead th,.journey-table thead th:first-child,.comparison-chart th:first-child,.timeline-checkpoints>div,.accuracy-count-table thead,.review-pass-row,.attempt-pass-row,.why-research details,.blind-setup,.blind-guidance,.recall-image-note){background:#203748;color:var(--ink);border-color:var(--line)}
:root[data-theme=dark] :is(.pricing-card.pricing-featured,.home-plan-tile.featured){background:#153b3a;border-color:#6bbcaf}
:root[data-theme=dark] :is(.pricing-preview-notice,.pricing-preview-inline,.import-callout,.import-warnings,.comparison-inspected-note){background:#3c3019;color:#f2d49a;border-color:#80693b}
:root[data-theme=dark] :is(.import-status.is-error,.bank-error,.outcome-card.harmed,.comparison-cell.incorrect,.verdict-missed,.review-choice-hit.review-incorrect:checked){background:#422830;color:#ffb2bc;border-color:#995767}
:root[data-theme=dark] :is(.verdict-correct,.comparison-cell.correct,.review-choice-hit.review-correct:checked){background:#153d32;color:#91e1bc;border-color:#448c70}
:root[data-theme=dark] :is(.choice-hit,.review-choice-hit,.native-choice-row,.native-choice-text){color:var(--ink);border-color:var(--line)}
:root[data-theme=dark] :is(.choice-hit:checked,.review-choice-hit:checked,.native-choice-row.selected){background:#19465f;color:var(--ink);border-color:#6ab9e3}
:root[data-theme=dark] .native-choice-row.eliminated{background:#23313d;color:#a7b2bb}
:root[data-theme=dark] :is(.coach-clue-mark,.ai-clue-quotes mark){background:#59451a;color:#ffe2a6}
:root[data-theme=dark] :is(.pricing-shell,.pricing-shell .topbar,.why-page,.settings-page){color:var(--ink)}
:root[data-theme=dark] :is(.pricing-card p,.pricing-card li,.pricing-price,.pricing-price small,.pricing-price span,.pricing-label,.pricing-use-case,.pricing-generation-note,.pricing-annual-charge,.pricing-plan-note,.pricing-hero>p,.pricing-section-head p,.home-plan-tile p,.home-plan-tile>strong small,.home-pricing-actions small,.allowance-meter h3,.allowance-meter-head p,.allowance-meter-head p>span,.allowance-meter-detail,.allowance-reservation-note,.included-allowance-section>p,.billing-details>summary,.site-menu-search label,.site-menu-heading p,.site-menu-sections a,.site-menu-sections small,.account-menu-identity,.account-menu-identity small,.site-build-label,.site-menu-account p,.account-menu-bottom,.recall-stem-preference small,.why-example-card figcaption,.comparison-learning p,.comparison-inspected p,.bank-directory p,.bank-syllabus-note p,.bank-exam-picker p,.fact strong,.choice-label,.question-counter,.metric strong,.metric span,.review-choice-label,.review-question-head,.review-pass-row,.attempt-pass-row,.import-field>span,.import-field small,.import-preview-head span,.ai-saved-status,.coach-prompt-chip,.ai-prompt-chips button,.explanation-mode-toggle,.loop-steps span,.outcome-label,.progress-point b,.chart-coverage-note,.length-dimension-controls button,.bank-field-grid button small,.bank-field-grid button strong){color:var(--ink)}
:root[data-theme=dark] :is(.pricing-table,.dashboard-table,.review-table,.journey-table,.comparison-chart,.coaching-table) :is(th,td){color:var(--ink);border-color:var(--line)}
:root[data-theme=dark] .pricing-table-wrap :is(caption,th,td){color:var(--ink);border-color:var(--line)}
:root[data-theme=dark] .pricing-table-wrap thead th{background:#203e53;color:#f0f7fb}
:root[data-theme=dark] .pricing-explainer-grid article>span{color:#8de0c8}
:root[data-theme=dark] .builder-answer-options :is(legend,strong,span){color:var(--ink)}
:root[data-theme=dark] .import-dialog :is(summary,legend){color:var(--ink)}
:root[data-theme=dark] #community-questions-root :is(button,textarea){background:var(--panel);color:var(--ink);border-color:#526d80}
:root[data-theme=dark] #comparison-form{background:#102331;color:var(--ink);border-color:#526d80}
:root[data-theme=dark] #action-plan{background:var(--panel);color:var(--ink)}
:root[data-theme=dark] .page-context nav a{color:#8ad4fa}
:root[data-theme=dark] .coaching-caption{color:var(--muted)}
:root[data-theme=dark] .comparison-badge{background:#203e53;color:var(--ink)}
:root[data-theme=dark] .explanation-mode-toggle{background:#102331;border-color:#526d80}
:root[data-theme=dark] .explanation-mode-toggle button{color:#e1eaf1;background:transparent}
:root[data-theme=dark] .explanation-mode-toggle button:is(.selected,[aria-pressed=true]){color:#0d1d29;background:#8ad4fa}
:root[data-theme=dark] .explanation-mode-toggle button:hover:not(.selected):not([aria-pressed=true]){background:#29495f}
:root[data-theme=dark] .explanation-mode-toggle button:focus-visible{outline:2px solid #8ad4fa;outline-offset:2px}
:root[data-theme=dark] .native-choice-row.original-correct-choice{background:#153d32;color:#d6f5e4;border-color:#69b591}
:root[data-theme=dark] .native-choice-row.original-selected-incorrect{background:#422830;color:#ffced3;border-color:#de8291}
:root[data-theme=dark] .memory-stack em{color:#8ad4fa}
:root[data-theme=dark] :is(.coach-price,.coach-headline){color:var(--ink)}
:root[data-theme=dark] .coaching-form small{color:var(--muted)}
:root[data-theme=dark] :is(.coach-tags span,.coach-summary div){background:#203e53;color:var(--ink)}
:root[data-theme=dark] .coach-summary span{color:var(--muted)}
:root[data-theme=dark] .coach-message{background:#203e53;color:var(--ink)}
:root[data-theme=dark] .coach-message.mine{background:#153d32}
:root[data-theme=dark] .review-sheet-shell :is(label,.review-sheet-count){color:var(--ink)}
:root[data-theme=dark] :is(.review-sheet-heading p,.review-sheet-mode-note,.review-sheet-storage-note){color:var(--muted)}
:root[data-theme=dark] .builder-answer-options :is(small,p){color:var(--muted)}
:root[data-theme=dark] label:has(input:is([type=radio],[type=checkbox])),
:root[data-theme=dark] label:has(input:is([type=radio],[type=checkbox])) :is(span,strong){color:var(--ink)}
:root[data-theme=dark] label:has(input:is([type=radio],[type=checkbox])) small,
:root[data-theme=dark] .recall-timing-choice>span{color:var(--muted)}
:root[data-theme=dark] :is(.pricing-faq details p,.pricing-explainer-grid p,.pricing-plan-note,.pricing-section-head>p:not(.eyebrow),.pricing-card-foot){color:var(--muted)}
:root[data-theme=dark] :is(.allowance-meter-head strong,.home-plan-tile>small){color:#8de0c8}
:root[data-theme=dark] .allowance-track{background:#384e5d}
:root[data-theme=dark] .site-navigation{background:#102b40;color:#fff}
:root[data-theme=dark] .site-navigation :is(.site-navigation-bar,.site-menu-heading){background:#102b40;color:#fff}
:root[data-theme=dark] .site-navigation :is(.site-navigation-bar a,.site-menu-heading a,.site-navigation-bar button){color:#f0f7fb}
:root[data-theme=dark] .site-navigation :is(.site-navigation-bar button,.site-menu-heading button){background:transparent}
:root[data-theme=dark] .site-menu-sections a:hover{background:#24465b}
:root[data-theme=dark] .site-menu-sections li>a[aria-current="page"]{color:#f0f7fb}
:root[data-theme=dark] .site-menu-sections li>a[aria-current="page"] :is(strong,small,.site-menu-chevron){color:#f0f7fb}
:root[data-theme=dark] .exam-shell{background:var(--page)}
:root[data-theme=dark] .question-panel :is(p,li,.question-stem){color:var(--ink)}
:root[data-theme=dark] :is(.review-image-wrap,.question-image-wrap){background:#fff}
:root[data-theme=dark] svg text{fill:var(--muted)}
:root[data-theme=dark] svg :is(rect[fill="white"],rect[fill="#fff"],rect[fill="#ffffff"]){fill:var(--panel)}
:root[data-theme=dark] :is(.visit-time-axis,.attempt-timeline-svg){background:var(--panel)}
/* Insights: neutral chart paint follows the theme; outcome series keep their colors. */
:root[data-theme=dark]{--chart-grid:#3c5263;--chart-grid-minor:#294252;--chart-row-alt:#203748;--chart-pass-odd:#24485e;--chart-pass-even:#203748;--chart-after-finish:#0d1d29;--chart-visit-outline:#adcadb}
:root[data-theme=dark] :is(.attempt-comparison,.investor-demo-card,.coach-spotlight,.coaching-loop-card){background:var(--panel);color:var(--ink);border-color:var(--line)}
:root[data-theme=dark] .coach-spotlight-proof span{background:var(--panel-soft);border-color:var(--line);color:var(--ink)}
:root[data-theme=dark] .loop-status.active{background:#153d32;color:#91e1bc}
:root[data-theme=dark] .signal-ring{background:conic-gradient(var(--ring-color) calc(var(--signal) * 1%), #354f60 0)}
:root[data-theme=dark] :is(.progress-grid-line,.comparison-gridline){stroke:var(--chart-grid)}
:root[data-theme=dark] .comparison-score-line{stroke:#80c6ef}
:root[data-theme=dark] .comparison-score-scroll circle{fill:#80c6ef}
:root[data-theme=dark] :is(.confidence-chart-track,.attempt-insight-track){background:#354f60}
:root[data-theme=dark] .confidence-chart-empty .confidence-chart-track{background:transparent;border-color:var(--line)}
:root[data-theme=dark] .confidence-chart-track::after{border-color:#acbdca}
:root[data-theme=dark] .time-window-bar-space{border-color:var(--line);background:repeating-linear-gradient(to top,transparent 0,transparent 51px,var(--chart-grid) 51px,var(--chart-grid) 52px)}
:root[data-theme=dark] .requested-bar-space{border-color:var(--line);background:repeating-linear-gradient(to top,transparent 0,transparent 44px,var(--chart-grid) 44px,var(--chart-grid) 45px)}
:root[data-theme=dark] :is(.visit-time-bars,.visit-time-gridline,.attempt-timeline-scroll,.accuracy-count-table th,.accuracy-count-table td,.attempt-history-table th,.attempt-history-table td,.comparison-summary,.comparison-learning,.comparison-score-history,.journey-detail,.timeline-axis-sticky,.time-window-tail,.score-time-panel,.visit-time-companion){border-color:var(--line)}
:root[data-theme=dark] .visit-outcome-unknown{background:repeating-linear-gradient(135deg,#718096 0 3px,#294252 3px 6px)}
:root[data-theme=dark] :is(.visit-time-target,.time-window-legend .visit-time-target-key){border-color:#e2b96d}
:root[data-theme=dark] :is(.attempt-timeline-scroll,.timeline-score-scroll,.pace-chart-scroll,.journey-scroll,.comparison-score-scroll,.comparison-chart-scroll,.time-window-scroll,.visit-time-scroll,.score-time-scroll,.requested-comparison-scroll,.accuracy-count-scroll,.dashboard-table-wrap,.attempt-history-table){color-scheme:dark;scrollbar-color:#6d8799 #102331}
:root[data-theme=dark] :is(.attempt-timeline-scroll,.timeline-score-scroll,.pace-chart-scroll,.journey-scroll,.comparison-score-scroll,.comparison-chart-scroll,.time-window-scroll,.visit-time-scroll,.score-time-scroll,.requested-comparison-scroll,.accuracy-count-scroll,.dashboard-table-wrap,.attempt-history-table)::-webkit-scrollbar{width:12px;height:12px}
:root[data-theme=dark] :is(.attempt-timeline-scroll,.timeline-score-scroll,.pace-chart-scroll,.journey-scroll,.comparison-score-scroll,.comparison-chart-scroll,.time-window-scroll,.visit-time-scroll,.score-time-scroll,.requested-comparison-scroll,.accuracy-count-scroll,.dashboard-table-wrap,.attempt-history-table)::-webkit-scrollbar-track,:root[data-theme=dark] :is(.attempt-timeline-scroll,.timeline-score-scroll,.pace-chart-scroll,.journey-scroll,.comparison-score-scroll,.comparison-chart-scroll,.time-window-scroll,.visit-time-scroll,.score-time-scroll,.requested-comparison-scroll,.accuracy-count-scroll,.dashboard-table-wrap,.attempt-history-table)::-webkit-scrollbar-corner{background:#102331}
:root[data-theme=dark] :is(.attempt-timeline-scroll,.timeline-score-scroll,.pace-chart-scroll,.journey-scroll,.comparison-score-scroll,.comparison-chart-scroll,.time-window-scroll,.visit-time-scroll,.score-time-scroll,.requested-comparison-scroll,.accuracy-count-scroll,.dashboard-table-wrap,.attempt-history-table)::-webkit-scrollbar-thumb{background:#6d8799;border:3px solid #102331;border-radius:8px}
/* Dark navy data marks and final timeline result labels need readable contrast. */
:root[data-theme=dark]{--chart-correct-text:#91e1bc;--chart-incorrect-text:#ffce87;--chart-unanswered-text:#b7c6de}
:root[data-theme=dark] .signal-ring.navy{--ring-color:#5997cc}
:root[data-theme=dark] :is(.visit-time-all,.requested-bar.final){background:#5997cc}
:root[data-theme=dark] .dashboard-workspace :is(.outcome-label.still-incorrect,.outcome-label.incorrect,.outcome-label.harmed){color:#ffb2bc}
:root[data-theme=dark] .dashboard-workspace :is(.outcome-label.improved,.outcome-label.correct,.outcome-label.changed-correct){color:#91e1bc}
/* Filled bars must remain distinct from their neutral tracks. */
:root[data-theme=dark] :is(.confidence-chart-track>span,.attempt-insight-track i,.reading-load-track span){background:#6ac3eb}
:root[data-theme=dark] .dashboard-bar:not(.green){background:linear-gradient(90deg,#6ac3eb,#8dd8f6)}
:root[data-theme=dark] :focus-visible{outline-color:#8bd6ff}
}
@media print{html{color-scheme:light!important;--ink:#17232d;--muted:#425563;--panel:#fff;--panel-soft:#f1f7fa;--page:#fff}}


:root[data-theme=dark] .review-image-wrap:has(.native-question-stage){background:var(--panel)}
/* Recall categories retain their semantic colors after the broad dark panel
   reset above. Labels and counts remain present so color is never the only cue. */
@media screen {
:root[data-theme=dark] .memory-stack.due{--recall-bg:#382831;--recall-accent:#fb7185;--recall-ink:#fecdd3;--recall-detail:#f4b9c5}
:root[data-theme=dark] .memory-stack.fragile{--recall-bg:#382f20;--recall-accent:#fbbf24;--recall-ink:#fde68a;--recall-detail:#e9d5a1}
:root[data-theme=dark] .memory-stack.recovered{--recall-bg:#17374a;--recall-accent:#38bdf8;--recall-ink:#bae6fd;--recall-detail:#a6cee2}
:root[data-theme=dark] .memory-stack.stable{--recall-bg:#193d32;--recall-accent:#34d399;--recall-ink:#a7f3d0;--recall-detail:#a3d9c3}
:root[data-theme=dark] .memory-stack:is(.due,.fragile,.recovered,.stable){background:var(--recall-bg);border-color:var(--line);border-top:5px solid var(--recall-accent);color:var(--recall-ink)}
:root[data-theme=dark] .memory-stack:is(.due,.fragile,.recovered,.stable)>:is(strong,span,small,em){background:transparent;color:var(--recall-ink)}
:root[data-theme=dark] .memory-stack:is(.due,.fragile,.recovered,.stable)>small{color:var(--recall-detail)}
:root[data-theme=dark] .memory-stack:is(.due,.fragile,.recovered,.stable)>em{color:var(--recall-accent)}
:root[data-theme=dark] .memory-stack:is(.due,.fragile,.recovered,.stable):hover:not(:disabled){border-color:var(--recall-accent)}
:root[data-theme=dark] .memory-stack:is(.due,.fragile,.recovered,.stable):focus-visible{outline:3px solid var(--recall-accent);outline-offset:3px}
}

/* Keep a chosen ordinal confidence rating visible, including saved read-only ratings. */
@media screen {
:root[data-theme=dark] .attempt-confidence-buttons .confidence-button[aria-pressed="true"]{background:#19465f;color:#e1eaf1;border-color:#8ad4fa;box-shadow:inset 0 0 0 1px #8ad4fa;opacity:1}
}
