/* Screen-only palette: existing worksheet print rules remain authoritative. */
@media screen {
  html[data-theme="dark"] {
    --text:#eaf0f5;--muted:#b5c2d0;--soft:#232c37;--line:#435162;
    --shadow:0 22px 70px rgba(0,0,0,.3);
  }
  html[data-theme="dark"] body {background:#141a21;color:var(--text)}
  html[data-theme="dark"] :is(.intro-strip,.section-soft,.wru-education,.flash-wrap) {background:#141a21}
  html[data-theme="dark"] :is(.stat-grid,.topic-card,.resource-card,.legal-list article,.notice,.dashboard-list a,.dashboard-row,.contact-panel .check-list div) {background:#232c37;color:var(--text);border-color:var(--line)}
  html[data-theme="dark"] .cta-box {background:#203139;border-color:var(--line)}
  html[data-theme="dark"] :is(.lesson-sidebar a,.lesson-placeholder,.contact-panel label,.account-form label,.note-form label) {color:var(--text)}
  html[data-theme="dark"] :is(.contact-panel input,.contact-panel select,.contact-panel textarea,.account-form input,.note-form textarea,.wru-fields textarea,.wru-search-form input) {background:#18212b;color:var(--text);border-color:var(--line)}
  html[data-theme="dark"] input::placeholder,html[data-theme="dark"] textarea::placeholder {color:var(--muted);opacity:1}
  html[data-theme="dark"] :is(.project-list.light a,.button.secondary.light,.worksheet-controls .button.secondary) {background:#232c37;color:var(--text);border-color:var(--line)}
  html[data-theme="dark"] :is(.topic-card a,.resource-card a,.feature-panel a,.action-box strong,.lesson-block>span,.timeline span,.resource-card>span,.values-grid article>span,.wrcu-spidertaz-home h2 a) {color:#89caff}
  html[data-theme="dark"] .action-box {background:#203139}
  html[data-theme="dark"] :is(.service-links .service-info,.subtle-link) {color:#a4c9ec!important}
  html[data-theme="dark"] .section-dark .feature-panel:not(.large) {color:var(--text)}
  html[data-theme="dark"] .section-dark .feature-panel:not(.large) p {color:var(--muted)}
  html[data-theme="dark"] .section-dark .feature-panel:not(.large) .eyebrow {color:#89caff}
  html[data-theme="dark"] .notice.success {background:#1a382e;border-color:#447e67}
  html[data-theme="dark"] .notice.error {background:#3a2328;border-color:#a85b67}
  html[data-theme="dark"] :is(a,button,input,textarea,select,summary):focus-visible {outline:2px solid #89caff;outline-offset:3px}
}
@media print {html{color-scheme:light!important}}
