[data-theme=dark] body{color-scheme:dark;--panel:#1b2b3f;--dim:#b8cadc;--line:#405973;--text:#eef6ff;background:#131f2e;color:var(--text)}
[data-theme=dark] aside,[data-theme=dark] .metrics div,[data-theme=dark] .lesson-row,[data-theme=dark] .reason-model,[data-theme=dark] .learning-picture,[data-theme=dark] .recall,[data-theme=dark] .concept-check,[data-theme=dark] .lesson-faq,[data-theme=dark] .visual span{background:#203348;color:#eff6ff;border-color:#476078}
[data-theme=dark] aside strong,[data-theme=dark] .reason-model strong,[data-theme=dark] a{color:#acd9ff}
[data-theme=dark] .day-hero{background:linear-gradient(115deg,#204263,#1c504c)}
[data-theme=dark] button:not(.studio-keys button),[data-theme=dark] input,[data-theme=dark] select,[data-theme=dark] textarea{background:#253a50;color:#f0f6ff;border-color:#566c82}
.theme-control{display:block;margin:12px 0;font:inherit}.theme-control select{margin-left:.4em}
[data-theme=light] .account-page{background:#f4f7fb;color:#23364b;color-scheme:light}
[data-theme=light] .account-card,[data-theme=light] .account-stat,[data-theme=light] .account-answer{background:white;color:#203950;border-color:#b8c9d9}
[data-theme=light] .account-shell :is(button,input,select){background:#edf4fa;color:#203950;border-color:#8da7bd}
[data-theme=light] .account-shell :is(a,small,.account-muted){color:#365b78}
body .learning-picture figcaption{color:var(--text);margin-top:.7rem}
.water-pair{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:clamp(8px,2vw,18px);max-width:600px;margin-inline:auto;text-align:center}
.water-pair svg{display:block;width:100%;height:auto;border-radius:6px}
.water-pair b{display:block;margin-top:.35rem;font-size:1rem}
.lecture-drawing{margin:1em 0;padding:1em;border:1px solid var(--line);border-radius:12px}
.lecture-drawing svg{display:block;width:100%;height:auto;max-width:460px;margin:auto;color:var(--text)}
.lecture-drawing figcaption{color:var(--text);margin-top:.6em}
