/* Marstronaut Mission Control 2.0 · light mode (generated from style.css; dark stays the default) */
body[data-theme="light"]{--bg:#dee8f7;--panel:#cfddef;--line:#b4c7dc;--text:#070b0e;--muted:#3e5062;--accent:#a63700;--mint:#1e7760}
body[data-theme="light"] .skip{background:#0f2044;color:black}
body[data-theme="light"] .top{background:#d8e4f4}
body[data-theme="light"] .brand{color:#0f2044}
body[data-theme="light"] .brand-mark{border:1px solid #58738c}
body[data-theme="light"] .edition{background:#e7effa}
body[data-theme="light"] .edition button.active{background:#b2c5d9;color:#0f2044}
body[data-theme="light"] .review{color:#3a4c5b}
body[data-theme="light"] .icon-btn{color:#293947}
body[data-theme="light"] .rail{background:#d8e4f4}
body[data-theme="light"] .rail-btn{color:#475a6e}
body[data-theme="light"] .rail-btn.active{background:#bcd0e3}
body[data-theme="light"] .rail-foot{color:#2b3b48}
body[data-theme="light"] .rail-foot span{color:#586e81}
body[data-theme="light"] main{scrollbar-color:#9fb5ca transparent}
body[data-theme="light"] .primary{color:#dbe0e8;box-shadow:0 5px 22px #c33a0512}
body[data-theme="light"] .primary:hover{background:#782d00}
body[data-theme="light"] .secondary{border:1px solid #96afc5;color:#0a131a;background:#c2d5e7}
body[data-theme="light"] .secondary:hover{background:#a6c0d6}
body[data-theme="light"] .guide-icon{background:#b4c9dc;border:1px solid #89a1b6}
body[data-theme="light"] .guide p{color:#293a47}
body[data-theme="light"] .learning-card{border:1px solid #99b4ca;background:linear-gradient(100deg,#bed4e8,#ceddee)}
body[data-theme="light"] .step-symbol{background:#aec8dd}
body[data-theme="light"] .learning-card p{color:#334859}
body[data-theme="light"] .small-tag{color:#71380e}
body[data-theme="light"] .small-label{color:#3a5163}
body[data-theme="light"] .support-card{background:#d1e0f1}
body[data-theme="light"] .support-card:hover{border-color:#7e9ab0;background:#c4d7ea}
body[data-theme="light"] .support-card>span{color:#435b71}
body[data-theme="light"] .meter{background:#b4c7da}
body[data-theme="light"] .route{background:#d6e3f3}
body[data-theme="light"] .stops{scrollbar-color:#9fb6cb transparent}
body[data-theme="light"] .stop{color:#394c5e}
body[data-theme="light"] .stop:before{background:#a7bed3}
body[data-theme="light"] .stop .num{border:1px solid #9cb1c4;background:#d6e3f3}
body[data-theme="light"] .stop small{color:#556d81}
body[data-theme="light"] .stop.active{background:#b8cbdf;color:#000000}
body[data-theme="light"] .stop.active .num{color:#d3deeb;box-shadow:0 0 15px #a6370030}
body[data-theme="light"] .stop.active small{color:#1d2f3f}
body[data-theme="light"] .stop.visited .num{border-color:#4b8f7f}
body[data-theme="light"] .stop:hover{background:#c1d3e5}
body[data-theme="light"] .route-bottom>span{color:#526c7e}
body[data-theme="light"] .route-bottom button{border:1px solid #98b1c6;background:#c0d5e8}
body[data-theme="light"] .route-bottom small{color:#455c70}
body[data-theme="light"] .statusbar{background:#d8e5f5;color:#495f73}
body[data-theme="light"] .statusbar b{color:#3c5364}
body[data-theme="light"] .statusbar button{color:#243542}
body[data-theme="light"] .statusbar button b{border:1px solid #8aa1b6}
body[data-theme="light"] .book{background:#cadbee}
body[data-theme="light"] .panel{background:#ccdcef}
body[data-theme="light"] .panel p,body[data-theme="light"] .panel li{color:#263847}
body[data-theme="light"] .proof{background:#c9e1ed;border:1px solid #95c7c3}
body[data-theme="light"] .empty{border:1px dashed #96b1c6}
body[data-theme="light"] .empty h2{color:#0f2044}
body[data-theme="light"] textarea,body[data-theme="light"] input,body[data-theme="light"] select{background:#dae8f6;border:1px solid #90a9bf;color:#000000}
body[data-theme="light"] .label{color:#223442}
body[data-theme="light"] dialog{background:#cfdff1;border:1px solid #90acc2}
body[data-theme="light"] dialog::backdrop{background:#eaf3fddb}
body[data-theme="light"] .modal-top{background:#cfdff1}
body[data-theme="light"] .modal-lead{color:#273947}
body[data-theme="light"] .lesson-tabs span{color:#435d71}
body[data-theme="light"] .answer{background:#bfd6ea;border:1px solid #97b2c8;color:#101d26}
body[data-theme="light"] .answer:hover{border-color:#378574}
body[data-theme="light"] .answer.selected{background:#b9dbe4}
body[data-theme="light"] .feedback{background:#bcdce2;border:1px solid #74aea6;color:#0a2c20}
body[data-theme="light"] .feedback.retry{border-color:#ae8159;background:#dacdc4;color:#3d2000}
body[data-theme="light"] .note{color:#435d71}
body[data-theme="light"] .metric{background:#c3d9ed;border:1px solid #9fb9cf}
body[data-theme="light"] .metric small{color:#2d4253}
body[data-theme="light"] td,body[data-theme="light"] th{border-bottom:1px solid #a3bace}
body[data-theme="light"] th{color:#24715f}
body[data-theme="light"] details{background:#c7dbef;border:1px solid #9fbacf}
body[data-theme="light"] summary{color:#0d1d28}
body[data-theme="light"] details p{color:#2d4556}
body[data-theme="light"] #toast{background:#09291c;color:#d7f1ee}
body[data-theme="light"][data-mode="high"]{--accent:#257c71;--mint:#073357}
body[data-theme="light"] /* Guide selection */
.guide-top-button{border:1px solid #93afc4;background:#bcd2e5;color:#173a31}
body[data-theme="light"] .guide-custom-preview{background:linear-gradient(150deg,#afcbde,#d6e4f4);border:1px solid #90adc3}
body[data-theme="light"] .guide-custom-preview p{color:#2a4656}
body[data-theme="light"] .guide-controls legend{color:#182b39}
body[data-theme="light"] .guide-segments button,body[data-theme="light"] .tone-options button{background:#bed3e7;border:1px solid #8aa7bf;color:#1f3345}
body[data-theme="light"] .guide-segments button.selected,body[data-theme="light"] .tone-options button.selected{border-color:#145844;box-shadow:0 0 0 1px #145844;background:#afd6db;color:#0f2044}
body[data-theme="light"] .tone-options button>span{border:1px solid #00000050}
body[data-theme="light"] .stage-guide{border:1px solid #a4bfd2;background:#c4ddec}
body[data-theme="light"] .stage-guide p{color:#203542}
body[data-theme="light"] .stage-tabs{border-bottom:1px solid #8ca7bd}
body[data-theme="light"] .stage-tabs button{color:#2e4659}
body[data-theme="light"] .stage-tabs button[aria-selected=true]{background:#afcadf}
body[data-theme="light"] #stage-pane{background:#cee1f2;border:1px solid #9db8cd}
body[data-theme="light"] .activity-frame{background:#070b0f}
body[data-theme="light"] .stage-reading p,body[data-theme="light"] .stage-reading li{color:#203442}
body[data-theme="light"] .resource-subnav{background:#bfd8ec;color:#2a4355}
body[data-theme="light"] .console-tile{background:linear-gradient(130deg,#bad7e8,#cadaef);border:1px solid #98b4c9}
body[data-theme="light"] .console-tile:hover{background:#b6d4e4}
body[data-theme="light"] .console-tile p{color:#233642}
body[data-theme="light"] .control-outcomes span{color:#273946}
body[data-theme="light"] .pathway-grid{border:1px solid #98b4c9}
body[data-theme="light"] .pathway-grid article{background:#ceddef;border-right:1px solid #98b4c9}
body[data-theme="light"] .pathway-grid p{color:#273947}
body[data-theme="light"] .news-row{border-top:1px solid #a8c1d6}
body[data-theme="light"] .news-number{color:#618598}
body[data-theme="light"] .news-row p{color:#3a5466}
body[data-theme="light"] .phit-ribbon{border:1px solid #baa272;background:#dbd0bd44}
body[data-theme="light"] .phit-ribbon b{color:#82560d}
body[data-theme="light"] .phit-ribbon span{color:#424439}
body[data-theme="light"] .phit-card{background:#c6daee;border:1px solid #98b6cd}
body[data-theme="light"] .phit-value{color:#3e5c6e;border-bottom:1px solid #9ab6cb}
body[data-theme="light"] .phit-value small{color:#314857}
body[data-theme="light"] .phit-card p{color:#253845}
body[data-theme="light"] .panel>p{color:#203342}
body[data-theme="light"] .pathway-grid article{border-bottom:1px solid #98b4c9}
body[data-theme="light"] .nasa-card{border:1px solid #95b1c9;background:#c8daef}
body[data-theme="light"] .nasa-photo{background:#e3ecf8}
body[data-theme="light"] .nasa-photo figcaption{color:#293c4c}
body[data-theme="light"] .nasa-card p{color:#2d4355}
body[data-theme="light"] .nasa-no-photo{color:#426073;background:#bcd5ec}
body[data-theme="light"] .phit-ecosystem-frame{background:#06090d}
body[data-theme="light"] .ffh-back{border:1px solid #a7bed3;color:#132430}
body[data-theme="light"] .ffh-back:hover{background:#bcd0e3}
body[data-theme="light"] .mission-stop{border:1px solid #ddac94;background:linear-gradient(90deg,#ebd0c5 0%,#ccd5e5 70%)}
body[data-theme="light"] .mission-stop:hover{background:linear-gradient(90deg,#e8c5b5 0%,#bfcde0 70%);border-color:#a63700}
body[data-theme="light"] .mission-stop .mission-num{background:#d63800;border-color:#d63800;color:#000000;box-shadow:0 0 14px #d6380055}
body[data-theme="light"] .mission-stop strong{color:#000000}
body[data-theme="light"] .mission-stop small{color:#572100}
body[data-theme="light"] .mission-tag{color:#9c3700}
body[data-theme="light"] .mission-stop.active{background:linear-gradient(90deg,#d6380033,#b8cbdf);border-color:#a63700}
body[data-theme="light"] .mission-stop.active .mission-num{background:#000000;color:#d63800;border-color:#000000}
body[data-theme="light"] .mission-stop.visited .mission-num{border-color:#782d00}
body[data-theme="light"] .mission-stop:before{background:#ddac94}
body[data-theme="light"] .m-inline{color:#9c3700}
body[data-theme="light"] .m4-host{border:2px solid #d63800;background:#d8e4f4}
body[data-theme="light"] .m4-host span{color:#9c3700}
body[data-theme="light"] .m4-arc div{background:#c3d6e9;border:1px solid #95b2cc;border-top:3px solid #d63800}
body[data-theme="light"] .m4-arc span{color:#2e4556}
body[data-theme="light"]{color-scheme:light;background:#f4f6fa}body[data-theme="light"] .hero .primary{color:#fff}body[data-theme="light"] .brand-logo{filter:none}
body[data-theme="light"]{--bg:#f4f6fa;--panel:#ffffff}body[data-theme="light"] main{background:#f4f6fa}
