/* Shared reading surfaces: each background owns its text and form colors. */
body[data-surface="camp"]{--bg:#182630;--side:#16232d;--card:#243743;--line:#526573;--text:#f3f5f1;--muted:#c5d1d8;background:#182630;color:var(--text)}
body[data-surface="camp"] :is(input,textarea,select){background:#142630;color:#f3f5f1;border-color:#607681}
body[data-surface="camp"] :is(.calm-card,.start-here){color:#243e33}
body[data-surface="camp"] :is(.calm-card,.start-here) :is(p,small){color:#385441}
body[data-surface="paper"]{color-scheme:light;background:#e8eeea;color:#253e36}
body[data-surface="paper"] main>section{background:#fafbf7;color:#253e36;border-color:#bdcec2}
body[data-surface="paper"] main>.hero{background:linear-gradient(125deg,#dcebe0,#f5edda);color:#253e36}
body[data-surface="paper"] :is(input,textarea,select){background:#fff;color:#253e36;border:1px solid #81998b}
body[data-surface="paper"] :is(small,footer){color:#486054}
body[data-surface="paper"] header a{color:#dfece3}
body[data-surface="family"]{background:#182630;color:#f1f5ef}
body[data-surface="family"] main>section:not(#story):not(.hero),body[data-surface="family"] #journey{background:#f5f7f2;color:#253e36;border-color:#bccdc1}
body[data-surface="family"] main>.path-hint{background:#dceae0;color:#294c3c}
body[data-surface="family"] .member span{color:#29473b;background:#fff6df}
body[data-surface="family"] :is(#journey,#lab,#reminders) small{color:#486054}
body[data-surface="family"] #coach,body[data-surface="family"] #feedback{color:#315640}
body[data-surface="family"] .result{background:#deece1;color:#253e36}
body[data-surface="family"] .result strong{color:#275940}
body[data-surface="family"] .checks label,body[data-surface="family"] .reminder-card{background:#e4ece2;color:#253e36}
body[data-surface="family"] :is(input,textarea,select){background:#fff;color:#253e36;border:1px solid #81998b}
body[data-surface="family"] nav a{background:#fffdf7;color:#294d3e}
body[data-surface="family"] #story .sim-primary:disabled{color:#d8e2e5;background:#445862;opacity:1}
body[data-surface="family"] #story .sim-progress span{color:#b4cbd1}
body[data-surface="family"] #story .sim-progress .current{color:#eff7e8}
body[data-surface="family"] #story .sim-progress .done{color:#b3e6c7}
body[data-surface="night"]{background:#182638;color:#f4f5ed}
body[data-surface="night"] :is(article,.practice,.lesson){color:#253e36}
body[data-surface="night"] :is(article,.practice,.lesson) small{color:#45614e}
body[data-surface] input::placeholder,body[data-surface] textarea::placeholder{color:#597066;opacity:1}
body[data-surface="camp"] input::placeholder,body[data-surface="camp"] textarea::placeholder{color:#bbccd2}
body[data-surface] :focus-visible{outline:3px solid #c17724;outline-offset:4px}
body[data-surface] :is(p,li){line-height:1.8}
body[data-surface] input:disabled{opacity:1;color:#52645b;background:#e2e8e3}
@media print{body[data-surface]{background:white;color:#182d24}}
body[data-surface="paper"] header a{color:#294d3e}
body[data-surface="paper"] .chapter-buddy small{color:#c4dfcd}
body[data-surface="camp"] .phase-no{color:#b1d1bd}
body[data-surface="paper"] .legend span{color:#18372b}
