/* Bright Path chrome across Learning Lab & Play. Load after feature styles.
   Deliberately no canvas/SVG/piano-key/drum-pad/note-lane/palette recoloring:
   their colors communicate notes, tracing guidance, correctness or chosen paint. */
:root{--ink:#132650;--paper:#f5fbff;--mint:#d9f1e7;--line:#d8e6ef;--yellow:#ffe18b;--bp-blue:#0879ce;--bp-copy:#425f83;--bp-border:#bfd5e5;--bp-panel:#eaf6fe;--bp-white:#fff}
body{background:var(--paper);color:var(--ink);font-family:ui-rounded,'Arial Rounded MT Bold','Trebuchet MS',system-ui,sans-serif}
body>header{background:#fff;border-color:#e1edf4;padding-top:14px;padding-bottom:14px;gap:10px 18px}
body>header .brand-wordmark{color:#132650}body>header .brand-wordmark b{color:#147e86}
body>main{padding-top:28px}
body>footer{color:#425f83;border-color:#d8e6ef;opacity:1}
.screen:not(#home)>h1,.screen:not(#home)>.setup-heading h1{font-size:clamp(30px,4.3vw,48px);line-height:1.12;letter-spacing:-1.2px}
.screen h1,.screen h2,.screen h3{color:#132650}
.screen .eyebrow{color:#31658b;letter-spacing:1.4px}
.screen>.intro,.screen .hint,.screen .privacy-note{color:#425f83;opacity:1}
.screen .coral{color:#147e86}
/* Shared actions: no blanket button selector, so instrument keys and paint swatches keep their meaning. */
.primary,.check,.piano-song-primary{background:#0879ce;color:#fff;border-color:#0879ce;min-height:44px;border-radius:15px;box-shadow:0 3px 8px #0879ce18}
.primary:hover,.check:hover,.piano-song-primary:hover{background:#066ab5;border-color:#066ab5}
.secondary,.text-button,.home-parent-toggle,.account-header-actions button{min-height:44px;border-radius:13px;color:#193d67}
.secondary{background:#fff;border:1px solid #a7c6dd}
.secondary:hover{background:#eaf6fe}
.text-button{padding-left:10px;padding-right:10px}
.text-button:hover{background:#e8f4fd}
:where(button,a,input,select,textarea,summary):focus-visible{outline:3px solid #0879ce;outline-offset:3px}
:where(input[type=text],input[type=email],input[type=password],input[type=number],textarea,select){color:#183258;background:#fff;border-color:#97b7ce;border-radius:12px;min-height:44px;font:inherit}
:where(input[type=checkbox],input[type=radio],input[type=range]){accent-color:#0879ce}
:where(.sound-toggle,.piano-label-toggle,.drum-label-toggle){min-height:44px;align-items:center}
/* Practice setup and result surfaces. Feedback state colors remain feature-owned. */
.setting-block{border-color:#d8e6ef}.step{background:#e3f3ff;color:#175788;border-color:#bcd7e9}
.operations span,.segmented span,.times span{background:#fff;border-color:#bed6e7;border-radius:15px;color:#193d67;min-height:44px}
.operations input:checked+span,.segmented input:checked+span,.times input:checked+span{background:#dcefff;border-color:#0879ce;color:#123c66}
.operations input:focus-visible+span,.segmented input:focus-visible+span,.times input:focus-visible+span{outline:3px solid #0879ce;outline-offset:3px}
.question-panel:not(.correct-flash):not(.incorrect-flash),.adventure-question{background:#e6f4fd;border:1px solid #d1e5f2;border-radius:22px}
.keypad button,.word-choices button,.letter-choices button,.number-choices button{background:#fff;border-color:#bbd4e5;border-radius:14px;color:#183258;min-height:44px;box-shadow:0 3px 0 #dbe9f3}
.keypad .utility{background:#e8f4fd}.keypad button:hover{background:#dcefff}
#gameChoices button[aria-pressed=true]{background:#ffe8a8;border-color:#234a70;color:#132650}
#gameBoard.right .adventure-question{background:#a9dcc0}#gameBoard.wrong .adventure-question{background:#f4d3b8}
.stats{background:#e5f5ef;border:1px solid #cce6df;border-radius:22px}.stats strong{color:#133c60}.stats span{color:#425f83}
.review-row{background:#fff;border-color:#d8e6ef;border-radius:15px}.review-section>button{background:#fff0d6;border-color:#d0b17b}
#weeks form,.trace-help{background:#eaf6fe;border:1px solid #d1e5f2;border-radius:20px}
.trace-directions>p{color:#294e73}
/* Coloring and whiteboard chrome only; selected colors and paper artwork are untouched. */
.coloring-card{background:#fff;border-color:#d8e6ef;border-radius:20px;box-shadow:0 3px 8px #233e5c08}
.coloring-tools{background:#eaf6fe;border-radius:18px;padding:10px;gap:10px}
.coloring-brush-controls button{min-height:44px;background:#fff;color:#193d67;border-color:#a7c6dd;border-radius:13px}
.coloring-brush-controls button[aria-pressed=true]{background:#0879ce;color:#fff;border-color:#0879ce}
.coloring-canvas{border-color:#c5ddeb;background:#fff;border-radius:22px}
.coloring-brush-controls{color:#425f83}.coloring-selected,#coloringStatus{color:#294e73}
.creative-controls{background:#eaf6fe;border:1px solid #d1e5f2;border-radius:20px}
.creative-controls label{color:#193d67}
.creative-controls button,.creative-controls select,.creative-controls input{border-color:#9ebdd3;color:#183258;border-radius:12px;min-height:48px;background:#fff}
.creative-controls button:hover:not(:disabled){background:#dcefff}
.creative-paper{border-color:#9ebdd3;border-radius:12px}.creative-paper:focus-within{outline-color:#0879ce}
#creativeHelp,#creativeStatus{color:#425f83}
/* Preschool frame/controls: retain original illustrated scenes and right/wrong markers. */
.preschool-board{background:#fff;border:1px solid #d3e6f2;border-radius:24px;box-shadow:0 5px 18px #224b6e08}
.preschool-tools button,.preschool-sound{min-height:44px;background:#e8f5ff;color:#193d67;border-color:#a7c6dd;border-radius:15px}
.preschool-feedback{color:#294e73}.preschool-end{background:#e5f5ef;border-radius:22px}
.motor-reference,.motor-road-wrap{border-color:#bed6e7;border-radius:20px}.motor-small-title,.motor-title{color:#193d67}
.long-board{background:#fff;border-color:#c5ddeb;border-radius:20px}.long-scroll-hint{color:#425f83}
/* Instrument settings and labels, never key/note/pad colors or their geometry. */
.piano-heading-note,.drum-stage-note,.aquarium-note{background:#e2f4ed;color:#2b5a63;border-color:#c9e4dc;transform:none}
.piano-settings,.drum-settings{background:#eaf6fe;border-color:#c5deee;border-radius:18px}
.piano-controls,.drum-controls{border-color:#c5deee}
.piano-mute,.drum-mute,.piano-screen-enter,.drum-screen-enter,.piano-mode-tabs button,.piano-range button,.piano-octave-controls button,.piano-song-transport>button,.piano-song-transport>details>summary{min-height:44px;border-radius:13px;background:#fff;color:#193d67;border-color:#a7c6dd}
.piano-mute[aria-pressed=true],.drum-mute[aria-pressed=true],.piano-mode-tabs button[aria-pressed=true],.piano-range button[aria-pressed=true]{background:#0879ce;color:#fff;border-color:#0879ce}
.piano-status,.drum-status,.piano-hints,.drum-hints,.piano-song-instructions,.piano-range-hint,.piano-screen-help,.drum-screen-help{color:#425f83}
.piano-song-top{background:#eaf6fe;border-color:#c5deee;border-radius:18px}
.piano-song-panel .piano-song-primary{background:#0879ce;color:#fff;border-color:#0879ce}
.piano-song-options{background:#fff;border-color:#c5deee;color:#193d67}
.aquarium-intro,.aquarium-bottom{color:#425f83}
.aquarium-toolbar>.aquarium-motion{background:#fff;color:#193d67;border-color:#a7c6dd}
.aquarium-toolbar>.aquarium-motion[aria-pressed=true]{background:#0879ce;color:#fff}
/* Do not wash out contrast over the dark immersive pond. */
.aquarium-immersive .aquarium-toolbar>.aquarium-motion{background:#102d35e8;color:#fffdf4;border-color:#ffffff80}
/* Parent account, support and help dialogs match the app without changing auth flow. */
.account-panel{font-family:inherit;background:#f5fbff;color:#183258;border-radius:22px}
.account-panel section{border-color:#d8e6ef}.account-panel form,.account-panel article{background:#fff;border:1px solid #d1e5f2;border-radius:18px}
.account-panel button{background:#e6f3ff;color:#193d67;border-color:#a7c6dd;border-radius:13px;min-height:44px}
.account-panel input:not([type=checkbox]),.account-panel textarea{border-color:#97b7ce;border-radius:12px;color:#183258}
.account-panel :focus-visible{outline-color:#0879ce}.account-status{background:#fff0c9;color:#5b4516;border-radius:14px}
.home-screen-dialog,.home-screen-heading{background:#f5fbff;color:#183258}.home-screen-dialog{border-color:#bfd5e5;border-radius:24px}
.home-screen-dialog .home-screen-note{background:#e3f3ff;color:#294e73}.home-screen-dialog .home-screen-small{color:#425f83}
.home-screen-devices button{background:#fff;color:#193d67;border-color:#a7c6dd;border-radius:13px}.home-screen-devices button[aria-pressed=true]{background:#0879ce;color:#fff;border-color:#0879ce}
.home-screen-button{background:#eaf6fe;color:#193d67;border-color:#bfd5e5}
.feedback-home,.parent-support{background:#fff;border-color:#d8e6ef;border-radius:22px}
/* Keep the lesson area compact on phones/tablets, with naturally wrapping labels. */
@media(max-width:900px){body>header{gap:8px 12px}body:not(.homepage-visible)>main{padding-top:20px}.screen:not(#home)>h1,.screen:not(#home)>.setup-heading h1{font-size:clamp(28px,5vw,40px)}}
@media(max-width:600px){body>header{padding-left:max(16px,env(safe-area-inset-left));padding-right:max(16px,env(safe-area-inset-right))}body:not(.homepage-visible)>main{padding-left:max(16px,env(safe-area-inset-left));padding-right:max(16px,env(safe-area-inset-right));padding-bottom:max(24px,env(safe-area-inset-bottom))}.screen:not(#home)>h1,.screen:not(#home)>.setup-heading h1{font-size:30px;letter-spacing:-.8px}.creative-controls{gap:8px;padding:10px}.account-panel{padding:12px}.home-screen-dialog{padding:18px}.trace-help{padding:16px}.secondary{padding:12px 16px}.operations span,.segmented span{padding:12px}.coloring-tools{flex-wrap:wrap}}
@media(max-width:359px){.operations{grid-template-columns:1fr}.stats{gap:10px}.stats strong{font-size:25px}.creative-controls label{min-width:0;flex-basis:100%}}
@media(prefers-reduced-motion:reduce){.primary,.secondary,.check,.coloring-card{transition:none}}

.parent-feedback{background:#f5fbff;color:#183258;border-color:#bfd5e5}.parent-feedback .feedback-privacy{background:#eaf6fe;color:#294e73}.parent-feedback .feedback-delivery,.parent-feedback .feedback-field-help{color:#425f83}.parent-support .support-action a{background:#e5f5ef;border-color:#a9cdc4;color:#193d67;border-radius:14px;min-height:44px}
#gameChoices button{background:#fff;border-color:#bbd4e5;border-radius:14px;color:#183258;min-height:44px;box-shadow:0 3px 0 #dbe9f3}
#gameChoices button[aria-pressed=true]{background:#ffe8a8;border-color:#234a70;color:#132650}
#mathGrade,#weekForm input,#weekForm textarea,.voice-settings select{background:#fff;border-color:#97b7ce;color:#183258;border-radius:12px;min-height:44px}
.privacy-note{background:#eaf6fe;border:1px solid #d1e5f2;border-radius:15px}
/* Keep the footer support disclosure compact until the adult expands it.
   The expanded checkout action stays bounded and separate from the copy. */
body>footer{max-width:1280px;padding:22px 28px;align-items:center}
body>footer .parent-support{flex:1 1 100%;min-width:0;display:block;margin-top:4px;padding:4px 0;border:0;border-top:1px solid #d8e6ef;border-radius:0;background:transparent;text-align:left}
body>footer .parent-support>div{min-width:0}
body>footer .parent-support .support-eyebrow{display:block;line-height:1.5}
body>footer .parent-support h2{line-height:1.25;margin:8px 0;color:#132650}
body>footer .parent-support p{max-width:65ch;overflow-wrap:anywhere}
body>footer .support-action{width:100%;max-width:340px;align-items:stretch}
body>footer .support-action a{width:100%;min-width:0;text-align:center;overflow-wrap:anywhere}
body>footer .support-action span{display:block;width:100%;text-align:center;overflow-wrap:anywhere;color:#425f83}
@media(max-width:760px){body>footer{padding:20px max(16px,env(safe-area-inset-right)) 24px max(16px,env(safe-area-inset-left))}body>footer .support-action{max-width:340px;align-items:stretch}body>footer .support-action span{text-align:left}}
@media(max-width:359px){.parent-support .support-action a{padding:12px}}
