/* BrainSprint's self-paced four-color study palette. No Kahoot branding or assets. */
:root{color-scheme:light;background:#46178f!important;color:#fff!important}
body{background:#46178f!important;color:#fff!important}
body .topbar,body .bar,body .lesson-nav{background:#35116e!important;border-color:#ffffff60!important}
body .brand,body .brand span,body .brand b,body .eyebrow,body .skill-label,body .card-kicker,body .math-lesson-meta,body .math-other-heading,body .mission-subtitle{color:#fff!important}
body :is(.hero,.question-card,.progress-head,.lesson-card,.math-card,.math-schedule details,.math-lesson-item,.progress-card,.review-card,.result-panel,.panel,.winds-game .card,.scoreboard,.monthly-card){background:#fff!important;color:#28104f!important;border:2px solid #d7c8ed!important;box-shadow:0 5px 0 #29104e!important}
body :is(.hero h1,.question-card h1,.progress-head h1,.review-head h1,.panel h2,.lesson-card strong,.math-card h2,.progress-card h2,.math-featured h3,.winds-game .q,.winds-game .big){color:#28104f!important}
body :is(.hero p,.question-card p,.panel p,.progress-head p,.math-card p,.math-schedule p,.progress-card p,.review-card p,.result-panel p,.small,.muted,.mission-prompt,.part-prompt,.mission-summary span,.card-meta,.card-best,.math-lesson-item>span:last-child,.scoreboard-note){color:#3f3163!important}
body :is(.footer,footer,.progress-row,.scoreboard-bottom span){color:#fff!important}
body :is(.home-link,.lesson-home,.primary,.progress-primary,.math-launch,.progress-secondary,.math-assessment-row a,.winds-game .start button,.winds-game .restart,.winds-game .next){background:#26890c!important;color:#fff!important;border:2px solid #1b6606!important;box-shadow:0 4px 0 #174e07!important}
body :is(.primary,.home-link,.lesson-home):hover{background:#2f9c17!important}
body :is(.secondary,.pause-button,.hint-button,.unsure,.round-control,.mission-control){background:#fff!important;color:#46178f!important;border:2px solid #46178f!important;box-shadow:none!important}
body :is(.secondary,.pause-button,.hint-button,.unsure,.round-control,.mission-control):hover{background:#f0e8fa!important}
body .lesson-card.featured,body .math-featured{background:#fff!important;color:#28104f!important;border:3px solid #d7c8ed!important}
body .lesson-card.featured :is(.card-kicker,.card-meta,.card-best,.card-progress,.card-arrow,strong),body .math-featured :is(h3,p,span){color:#28104f!important}
body .math-featured-action{background:#1368ce!important;color:#fff!important;border:2px solid #105ab0!important;box-shadow:0 4px 0 #0e488e!important}
body .math-assessment-row a{background:#1368ce!important;border-color:#105ab0!important;box-shadow:0 4px 0 #0e488e!important}
body .math-assessment-row a span{color:#fff!important}
body :is(.math-lesson-item,.lesson-card){text-decoration:none}
body .lesson-card:nth-child(4n+1){border-color:#e21b3c!important}body .lesson-card:nth-child(4n+2){border-color:#1368ce!important}body .lesson-card:nth-child(4n+3){border-color:#d89e00!important}body .lesson-card:nth-child(4n+4){border-color:#26890c!important}
body .math-lesson-item:nth-child(4n+1){border-color:#e21b3c!important}body .math-lesson-item:nth-child(4n+2){border-color:#1368ce!important}body .math-lesson-item:nth-child(4n+3){border-color:#d89e00!important}body .math-lesson-item:nth-child(4n+4){border-color:#26890c!important}
body .math-assessment-row small{color:#fff!important}
body :is(.choice,.answer,.winds-game .a){color:#fff!important;border:2px solid transparent!important;box-shadow:0 4px 0 #0003!important}
body .choices .choice:nth-child(4n+1),body .answers .answer:nth-child(4n+1),body.winds-game .answers .a:nth-child(4n+1){background:#e21b3c!important;color:#fff!important}
body .choices .choice:nth-child(4n+2),body .answers .answer:nth-child(4n+2),body.winds-game .answers .a:nth-child(4n+2){background:#1368ce!important;color:#fff!important}
body .choices .choice:nth-child(4n+3),body .answers .answer:nth-child(4n+3),body.winds-game .answers .a:nth-child(4n+3){background:#d89e00!important;color:#171717!important}
body .choices .choice:nth-child(4n+4),body .answers .answer:nth-child(4n+4),body.winds-game .answers .a:nth-child(4n+4){background:#26890c!important;color:#fff!important}
body .choice.selected,body .answer.correct,body.winds-game .a.correct{outline:4px solid #28104f!important;outline-offset:-7px!important;border-color:#fff!important;opacity:1!important}
body .answer.wrong,body.winds-game .a.wrong{outline:4px dashed #28104f!important;outline-offset:-7px!important;border-color:#fff!important}
/* Correct/wrong feedback must keep each option's red/blue/gold/green tile. */
body .answers .answer:is(.correct,.wrong):nth-child(4n+1),body.winds-game .answers .a:is(.correct,.wrong):nth-child(4n+1){background:#e21b3c!important;color:#fff!important}
body .answers .answer:is(.correct,.wrong):nth-child(4n+2),body.winds-game .answers .a:is(.correct,.wrong):nth-child(4n+2){background:#1368ce!important;color:#fff!important}
body .answers .answer:is(.correct,.wrong):nth-child(4n+3),body.winds-game .answers .a:is(.correct,.wrong):nth-child(4n+3){background:#d89e00!important;color:#171717!important}
body .answers .answer:is(.correct,.wrong):nth-child(4n+4),body.winds-game .answers .a:is(.correct,.wrong):nth-child(4n+4){background:#26890c!important;color:#fff!important}
body .answers .answer.correct:nth-child(n),body.winds-game .answers .a.correct:nth-child(n){border:2px solid #fff!important;outline:4px solid #28104f!important;outline-offset:-7px!important;opacity:1!important}
body .answers .answer.wrong:nth-child(n),body.winds-game .answers .a.wrong:nth-child(n){border:2px dashed #fff!important;outline:4px dashed #28104f!important;outline-offset:-7px!important}
body .answer.dim,body.winds-game .a:disabled:not(.correct):not(.wrong){opacity:.6!important}
body .answer .symbol{background:#ffffff33!important;color:inherit!important}
body :is(.feedback.good,.mission-feedback){background:#ddf3d8!important;border:2px solid #26890c!important;color:#164d0d!important}
body :is(.feedback.bad,.mission-feedback.missed){background:#ffe4e9!important;border:2px dashed #e21b3c!important;color:#761125!important}
body :is(.feedback.good strong,.mission-feedback strong){color:#164d0d!important}body :is(.feedback.bad strong,.mission-feedback.missed strong){color:#761125!important}
body :is(.hint,.worked-line){background:#edf4ff!important;color:#173e74!important;border-left:5px solid #1368ce!important}
body :is(.summary strong,.scorebig,.mission-summary strong){color:#28104f!important}
body :is(.stats,.points-badge){color:#fff!important}
body .summary div{background:#f0e8fa!important;border:1px solid #d7c8ed!important}
body :is(.progress-dots span,.track i,.winds-game .bar){background:#ddd0ee!important}
body :is(.progress-dots span.done,.track i.done,.winds-game .bar>div){background:#26890c!important}
body :is(.progress-dots span.current,.track i.now){background:#d89e00!important}
body .numeric{background:#fff!important;color:#28104f!important;border:2px solid #46178f!important}
body .scoreboard :is(h2,strong,.scoreboard-note,.scoreboard-bottom span,.scoreboard-week small){color:#28104f!important}
body .scoreboard button,body .scoreboard-goal-form button{background:#1368ce!important;color:#fff!important;border-color:#105ab0!important}
body .scoreboard-goal-track{background:#ddd0ee!important}body .scoreboard-goal-track span{background:#26890c!important}
body .save-failure-banner{background:#ffe4e9!important;color:#761125!important;border-bottom-color:#e21b3c!important}
body :is(button,a,input,textarea,summary,select):focus-visible{outline:3px solid #28104f!important;outline-offset:3px!important}
body .topbar :is(a,button):focus-visible,body .bar :is(a,button):focus-visible,body .lesson-nav :is(a,button):focus-visible{outline-color:#fff!important}
@media print{body,body :is(.progress-head,.progress-card,.device-card){background:#fff!important;color:#111!important;box-shadow:none!important}}
body .mission-save-status{color:#28104f!important}
body .numeric-wrap button{background:#1368ce!important;color:#fff!important;border:2px solid #105ab0!important}
/* Remaining study states inherited from the former black/yellow theme. */
html{background:#46178f!important}
body :is(.top-chip,.count,.chip,.coming-soon,.winds-game .pill,.pills span,.tags span){background:#35116e!important;color:#fff!important;border-color:#c8b5e8!important}
body :is(.hero h1 em,.progress-head h1 em,.hero p em,.math-schedule .maybe-now,.review-card .label){color:#1368ce!important}
body .lesson-card .card-icon.science-icon{background:#28104f!important}
body :is(.card-icon,.hero .icon,.medal,.empty-illustration,.focus-icon,.math-icon){filter:none!important}
body .device-card{background:#fff!important;color:#28104f!important;border:2px solid #d7c8ed!important}
body .device-card :is(h4,.meta,p,li){color:#28104f!important}
body .monthly-hero{background:#fff!important;border:2px solid #d7c8ed!important}
body .monthly-warning{background:#ffe4e9!important;color:#761125!important;border:2px solid #e21b3c!important}
body .monthly-warning button{background:#e21b3c!important;color:#fff!important}
body :is(.monthly-history-row,.monthly-skill-row){border-top-color:#d7c8ed!important}
body :is(.monthly-history-row strong,.monthly-skill-row strong){color:#28104f!important}
body .monthly-history-row small{color:#3f3163!important}
body .monthly-choices button{background:#fff!important;color:#28104f!important;border:2px solid #b6a4d3!important}
body .monthly-choices button.selected,body .monthly-choice-picked,body .monthly-action-selected,body .unsure.monthly-action-selected{background:#1368ce!important;color:#fff!important;border-color:#105ab0!important;outline:3px solid #28104f!important}
body .monthly-signed .minus-button{background:#1368ce!important;color:#fff!important;border-color:#105ab0!important}
body :is(.progress-dots span.current,.track i.now){background:#d89e00!important;outline-color:#28104f!important}
body :is(.report-picker select,.compare-controls select,.scoreboard-goal-form input){background:#fff!important;color:#28104f!important;border-color:#7c5dab!important}
body :is(.study-home .topbar .parent-return,.save-failure-banner button){background:#1368ce!important;color:#fff!important;border-color:#105ab0!important}
body .save-failure-banner :is(span,strong){color:#761125!important}
::selection{background:#d89e00;color:#28104f}
input,textarea,select{accent-color:#1368ce}
.round-controls{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-top:12px}.round-control{min-height:50px;border-radius:13px;font:inherit;font-weight:900}.round-status{min-height:20px;color:#fff!important;font-size:14px}.pause-panel{text-align:center}.pause-panel .secondary,.round-home{display:block;width:100%;min-height:50px;margin-top:13px;padding:15px;border-radius:13px;text-decoration:none;text-align:center;font:inherit;font-weight:900}.pause-panel .secondary{background:#1368ce!important;color:#fff!important;border:2px solid #105ab0!important}.pause-panel .round-home{background:#fff!important;color:#46178f!important;border:2px solid #46178f!important}@media(max-width:390px){.round-controls{grid-template-columns:1fr}}

/* Science prompts must stay legible over the light question surface. */
body .panel .question,body.winds-game .card .q{color:#28104f!important;background:transparent!important;text-shadow:none!important}
body .stats,body .stats span{color:#fff!important}
body.winds-game .top .pill{background:#35116e!important;color:#fff!important}

/* Keep earlier score history discoverable on the light scoreboard card. */
body .scoreboard .scoreboard-xp-history summary,body .scoreboard .scoreboard-xp-row>span,body .scoreboard .scoreboard-xp-row strong,body .scoreboard .scoreboard-xp-goal small{color:#28104f!important}
