/* Studio Lab: light learning surfaces, navy text and indigo controls. */
body[data-theme=studio]{--bg:#f5f6fc;--surface:#fff;--surface2:#eeeffa;--text:#202440;--muted:#586078;--border:#d9deed;--accent:#5044b8;--button:#5546c5;--buttontext:#fff;--studio-soft:#eeecfb;--studio-gold:#805b1b;--studio-shadow:0 12px 32px #25315b0a}
body[data-theme=studio] .previewbar{background:#eceefa;color:#3d4564;border-color:var(--border)}
body[data-theme=studio] .previewbar select{background:#fff;color:var(--text);border-color:#c8cde2}
body[data-theme=studio] .previewbar .preview-quiz-button{background:#e4dff9;color:#3e318b;border-color:#c9c0ee;box-shadow:none}
body[data-theme=studio] .navigation{background:#fff;border-color:var(--border)}
body[data-theme=studio] .navigation nav a:hover{background:#f0eefb;color:#43369e}
body[data-theme=studio] .navigation nav a.active{background:#e9e5fb;color:#43369e}
body[data-theme=studio] .academy-explore summary:hover{background:#f0eefb;color:#43369e}
body[data-theme=studio] .explore-links{box-shadow:0 16px 36px #26305616}
body[data-theme=studio] .button{box-shadow:0 3px 10px #5546c510}
body[data-theme=studio] .cardbody .button{background:#eeebfb;color:#4637a3;border-color:#d5cef2}
body[data-theme=studio].photo-module-cards .modulecard{border-color:var(--border);box-shadow:var(--studio-shadow)}
body[data-theme=studio].photo-module-cards .modulecard:hover{border-color:#aaa0df}
body[data-theme=studio].photo-module-cards .modulecard .categorypill,
body[data-theme=studio].photo-module-cards .modulecard .modnumber{background:#fffffff0;color:#393067;border-color:#ddd7f1}
body[data-theme=studio] .classroom-resume{border-color:var(--border);box-shadow:var(--studio-shadow)}
body[data-theme=studio] .classroom-welcome-play{background:#eeebfb;border-color:#b5a9e2;color:#5044b8}
body[data-theme=studio] .back-to-top{background:linear-gradient(135deg,#6656ce,#493aa6);color:#fff;border-color:#c7bff1;box-shadow:0 10px 25px #5546c526,0 0 0 6px #5546c50b}
body[data-theme=studio] footer{border-color:var(--border);color:var(--muted)}

/* Glossary: light search, readable terms and clear filter states. */
body[data-theme=studio] .glossary-hero{background:linear-gradient(125deg,#eeebfb,#f8f9ff 75%);border-color:#d8d1ef;box-shadow:var(--studio-shadow)}
body[data-theme=studio] .glossary-hero>p{color:#586078}
body[data-theme=studio] .glossary-search>label{color:#202440}
body[data-theme=studio] .glossary-search>div{background:#fff;color:#5044b8;border-color:#bbb1df;box-shadow:0 4px 14px #5546c509}
body[data-theme=studio] .glossary-search input{color:#202440}
body[data-theme=studio] .glossary-search input::placeholder{color:#69718a}
body[data-theme=studio] .glossary-browser{background:#fff;border-color:#d9deed;box-shadow:var(--studio-shadow)}
body[data-theme=studio] .glossary-browser-head p{color:#586078}
body[data-theme=studio] .glossary-letter-row button,
body[data-theme=studio] .glossary-category-row button{background:#f4f5fc;border-color:#d7dced;color:#444c68}
body[data-theme=studio] .glossary-letter-row button:hover,
body[data-theme=studio] .glossary-category-row button:hover{background:#ebe6fb;color:#43369e;border-color:#bfb3e6}
body[data-theme=studio] .glossary-letter-row button.active,
body[data-theme=studio] .glossary-category-row button.active{background:#5546c5;color:#fff;border-color:#5546c5}
body[data-theme=studio] .glossary-term{background:#f8f9fe;border-color:#e1e5f0}
body[data-theme=studio] :is(.glossary-term h3,.glossary-empty h3,.glossary-note b){color:#202440}
body[data-theme=studio] :is(.glossary-term p,.glossary-empty,.glossary-note p){color:#586078}
body[data-theme=studio] .glossary-term span{background:#ebe6fb;color:#4f3e99}
body[data-theme=studio] .glossary-empty{border-color:#cdd3e5}
body[data-theme=studio] .glossary-empty>div{background:#eeebfb;color:#5044b8}
body[data-theme=studio] .glossary-note{background:#eeecfb}
body[data-theme=studio] .glossary-note svg{color:#5044b8}

/* Lessons, overview, student progress and owner pages. */
body[data-theme=studio] :is(.legend-gallery,.objective-grid article,.curriculum-pillars,.mastery-steps article,.overview-promise,.lesson-objectives,.study-mastery-award,.module-trophy-result,.achievement-shelf,.creator-news-form,.creator-episode-row,.quiz-review-screen,.creator-news-loading,.creator-news-denied){background:#fff;color:#202440;border-color:#d9deed;box-shadow:var(--studio-shadow)}
body[data-theme=studio] :is(.overview-hero,.creator-news-head,.creator-talk-head){background:linear-gradient(125deg,#eeebfb,#f8f9ff);color:#202440;border-color:#d8d1ef;box-shadow:var(--studio-shadow)}
body[data-theme=studio] .overview-hero:before{opacity:.2}
body[data-theme=studio] .overview-hero p,
body[data-theme=studio] .overview-hero-mark small{color:#586078}
body[data-theme=studio] .overview-mission-label{color:#5044b8}
body[data-theme=studio] :is(.overview-hero-mark,.pillar-list article,.dialog-scroll,.creator-audio-drop,.trophy-grid article,.questions-remaining-card,.gold-record-bank,.correction-panel,.restart-subject-panel){background:#f2f1fb;color:#202440;border-color:#d6d0ea}
body[data-theme=studio] :is(.home-objective-list header b,.overview-hero-mark b,.objective-grid h3,.pillar-list h3,.mastery-steps h3,.lesson-objectives b,.study-mastery-award b,.module-trophy-result h2,.creator-episode-row h3){color:#202440}
body[data-theme=studio] :is(.home-pillar-number,.objective-grid article>span,.pillar-list b,.mastery-steps article>span,.overview-hero-mark>span,.lesson-objectives>span,.record-bank-head b,.record-bank-head span,.study-mastery-award span,.module-trophy-result>span,.achievement-shelf-head>span,.quiz-review-number){color:#5044b8}
body[data-theme=studio] :is(.home-objective-list p,.objective-grid p,.pillar-list p,.mastery-steps p,.overview-promise p,.lesson-objectives p,.lesson-objectives li,.correction-panel p,.record-bank-note,.trophy-grid p,.master-reset-copy,.creator-episode-row p){color:#586078}
body[data-theme=studio] .overview-promise>div:first-child{background:#ebe6fb;color:#5044b8}
body[data-theme=studio] .legend-card-fallback{background:linear-gradient(135deg,#e9e4f8,#edf2fc);color:#5044b8}
body[data-theme=studio] :is(.legend-card img.face-safe,.legend-lesson-image img.face-safe){background:#f0eff8}
body[data-theme=studio] .scratch-image-fact{border-color:#d9deed;background:#fff}
body[data-theme=studio] :is(.scratch-image-fact summary>span,.scratch-image-fact>div){background:#f0eef9;color:#202440}
body[data-theme=studio] .first-check-pause{background:linear-gradient(120deg,#f4eddb,#efecfb)}
body[data-theme=studio] .bonusbanner{background:linear-gradient(125deg,#eee9fa,#f9f7ee);border-color:#d7c9e9;color:#202440}
body[data-theme=studio] .bonusbadge{background:linear-gradient(125deg,#eee9fa,#faf4df);border-color:#c6b5df;color:#594491}
body[data-theme=studio] .bonusbadge>svg{color:#594491}
body[data-theme=studio] .bonus-success .resulticon{background:#eee9fa;color:#594491}
body[data-theme=studio] :is(.masterycard,.feedback-success,.subject-complete-badge,.pathnumber.complete){background:#e5f4ec;color:#236448;border-color:#a7cfb9}
body[data-theme=studio] .feedback-review{background:#eeebfb;color:#493986;border-color:#cfc5e8}
body[data-theme=studio] :is(.review-button,.deep-review-button){background:#e9e4f8;color:#493986;border-color:#c9bee5}
body[data-theme=studio] .creator-preview-banner{background:#eeebfb;color:#493986;border-color:#c9bee5;box-shadow:none}
body[data-theme=studio] .quiz-review-number{background:#e8e3f7}
body[data-theme=studio] .quiz-review-row em.review{background:#ebe5fa;color:#5a408b}
body[data-theme=studio] .quiz-review-row em.record{background:#f5ecd4;color:#79551b}
body[data-theme=studio] .creator-form-grid :is(input,select,textarea),
body[data-theme=studio] .creator-audio-drop input[type=file]{background:#fff;color:#202440;border-color:#cbd1e2;color-scheme:light}
body[data-theme=studio] .creator-audio-drop input::file-selector-button{background:#eee9fa;color:#493986;border:1px solid #d3c9eb;border-radius:5px;padding:7px 10px;margin-right:10px}
body[data-theme=studio] .creator-news-secure{background:#eeebfb;color:#493986;border-color:#d3c9eb}
body[data-theme=studio] .creator-episode-icon{background:#ebe6fb;color:#5044b8}
body[data-theme=studio] .creator-news-head h1{color:#202440}
body[data-theme=studio] :is(.creator-audio-file,.creator-episode-row span,.creator-episode-row>b){color:#5044b8}
body[data-theme=studio] :is(.creator-episode-empty,.creator-episode-delete>div>span,.study-mastery-award p){color:#586078}
body[data-theme=studio] :is(.creator-episode-delete>button,.creator-episode-delete>[role=status]){color:#a42d47}
body[data-theme=studio] :is(.interest-page,.interest-reader){--interest-gold:#73531e}
body[data-theme=studio] .interest-idea-glow{background:radial-gradient(ellipse,#7560ca16,transparent 68%);opacity:.65}
body[data-theme=studio] .interest-row-symbol{background:#eeebfb;border-color:#d6ceeb;color:#5044b8}

/* Music Talk: light panels with the portrait, record and video preserved. */
body[data-theme=studio] :is(.talk-home-feature,.talk-hero,.talk-bio,.talk-empty,.talk-channels article,.talk-episode-card,.talk-creator-note){background:#fff;color:#202440;border-color:#d9deed;box-shadow:var(--studio-shadow)}
body[data-theme=studio] .talk-hero{background:linear-gradient(125deg,#f0edfb,#f9faff 65%,#eeeffa)}
body[data-theme=studio] .talk-hero:before{background-image:linear-gradient(#5546c50a 1px,transparent 1px),linear-gradient(90deg,#5546c50a 1px,transparent 1px);opacity:.35}
body[data-theme=studio] .talk-hero:after{opacity:.15}
body[data-theme=studio] .talk-glow{opacity:.16;filter:blur(20px)}
body[data-theme=studio] .talk-channels article:before{opacity:.2}
body[data-theme=studio] :is(.talk-home-feature p,.talk-hero p,.talk-bio p,.talk-empty p,.talk-episode-card p,.talk-creator-note span,.talk-player-top,.talk-status,.talk-timeline,.talk-credits span,.talk-transcript p,.talk-file-ready small){color:#586078}
body[data-theme=studio] :is(.talk-episode-card h3,.talk-now-playing h2,.talk-now-playing h3){color:#202440}
body[data-theme=studio] :is(.talk-kicker,.talk-copy h1 em,.talk-home-enter,.talk-channels svg,.talk-player-top b,.talk-marquee span,.talk-credits b,.talk-empty>span,.talk-episode-card>div>span,.talk-creator-note b,.talk-creator-note>div>svg,.talk-transcript summary,.talk-file-ready){color:#5044b8}
body[data-theme=studio] :is(.talk-live,.talk-tags span,.talk-credits div,.talk-test-badge,.talk-empty-icon){background:#eeebfb;color:#4c4274;border-color:#d3cbe7}
body[data-theme=studio] .talk-channels article>span{color:#5044b80d}
body[data-theme=studio] .talk-marquee{color:#525a75;border-color:#d9deed}
body[data-theme=studio] .talk-now-playing{background:#fff;border-color:#cfc8e7;backdrop-filter:none;box-shadow:0 18px 40px #25315b14}
body[data-theme=studio] .talk-wave i{background:linear-gradient(to top,#5546c5,#a191e1)}
body[data-theme=studio] .talk-timeline>div{background:#e2deef}
body[data-theme=studio] .talk-timeline i{background:#6551c8}
body[data-theme=studio] .talk-controls button{color:#586078}
body[data-theme=studio] .talk-controls .talk-main-play,
body[data-theme=studio] .talk-episode-play{background:linear-gradient(135deg,#6956ce,#4d3bad);color:#fff;border-color:#bdb1e4}
body[data-theme=studio] .talk-transcript>div{background:#f5f5fc;border-color:#d9deed}
body[data-theme=studio] .talk-delete-confirm span{color:#586078}
body[data-theme=studio] :is(.talk-delete-status,.talk-owner-actions>.textlink){color:#a42d47}
body[data-theme=studio] .talk-test-badge small{color:#73531e}

/* Newsroom and articles: clean editorial surfaces and accessible controls. */
body[data-theme=studio] :is(.news-home-feature,.news-hero,.news-card,.news-newsroom-note,.news-story,.news-story-rail,.news-editor-note){background:#fff;color:#202440;border-color:#d9deed;box-shadow:var(--studio-shadow)}
body[data-theme=studio] :is(.news-masthead,.news-story-head){background:linear-gradient(120deg,#eeebfb,#f8f9ff);border-color:#d6ceeb}
body[data-theme=studio] .news-hero-grid{opacity:.16;background-image:linear-gradient(#5546c514 1px,transparent 1px),linear-gradient(90deg,#5546c514 1px,transparent 1px)}
body[data-theme=studio] :is(.news-brand-lockup,.news-brand-lockup b,.news-edition b,.news-feature-copy h1,.news-card h3,.news-story-head h1,.news-story-body .news-story-lede,.news-why p){color:#202440}
body[data-theme=studio] :is(.news-home-feature p,.news-card p,.news-newsroom-note p,.news-edition span,.news-feature-meta,.news-feature-copy>p,.news-feature-actions>span,.news-card-top,.news-archive-count span,.news-month-filter,.news-story-meta,.news-story-signal,.news-story-body>p,.news-source-box small,.news-story-rail span){color:#586078}
body[data-theme=studio] :is(.news-brand-lockup em,.news-edition small,.news-home-enter,.news-card-top>span,.news-read-link,.news-archive-count b,.news-search svg,.news-archive-row>time b,.news-archive-row>div>span,.news-archive-row>a,.news-editor-note>span,.news-story-meta span,.news-why>span,.news-source-box svg,.news-story-rail b,.news-story-rail a){color:#5044b8}
body[data-theme=studio] :is(.news-home-signal,.news-card-mark,.news-newsroom-note>div:first-child){background:#eeebfb;color:#5044b8;border-color:#d1c7e9}
body[data-theme=studio] .news-breaking{background:#ebe6fb;color:#43346f}
body[data-theme=studio] .news-breaking p{color:#43346f}
body[data-theme=studio] .news-feature-meta span{background:#ede7fa;color:#5b3b85}
body[data-theme=studio] .news-feature-art{background:radial-gradient(circle at 50% 35%,#e4ddf7,#f0edfb 60%,#f8f9ff);border-color:#d9deed}
body[data-theme=studio] .news-feature-art>b{color:#5044b8}
body[data-theme=studio] .news-rings>span{background:#fff;border-color:#a496d1;color:#5044b8}
body[data-theme=studio] .news-ticker{background:#f0edf9;border-color:#ddd6ee}
body[data-theme=studio] .news-ticker div{color:#586078}
body[data-theme=studio] .news-ticker span{color:#5044b8}
body[data-theme=studio] .news-search input,
body[data-theme=studio] .news-month-filter select{background:#fff;color:#202440;border-color:#cbd1e2;color-scheme:light}
body[data-theme=studio] .news-category-filters button{background:#fff;color:#586078;border-color:#cbd1e2}
body[data-theme=studio] .news-category-filters button.selected{background:#5546c5;color:#fff;border-color:#5546c5}
body[data-theme=studio] .news-archive-row{border-color:#d9deed}
body[data-theme=studio] .news-archive-row:hover{background:#eeebfb}
body[data-theme=studio] .news-archive-row>time span{color:#343c59}
body[data-theme=studio] .news-archive-row>time small{color:#626a82}
body[data-theme=studio] .news-why{background:#eeebfb}

/* Encore activities preserve success, warning and error meaning. */
body[data-theme=studio] :is(.encore-mini,.encore-hero,.encore-console,.encore-task,.encore-result,.encore-review-row,.encore-invite-card){background:#fff;color:#202440;border-color:#d5cce9;box-shadow:var(--studio-shadow)}
body[data-theme=studio] .encore-hero{background:linear-gradient(125deg,#eeebfb,#f9faff)}
body[data-theme=studio] :is(.encore-result.won,.encore-mini.won){background:#e8f5ee;border-color:#add2bd}
body[data-theme=studio] :is(.encore-mini>b,.encore-submit b){color:#202440}
body[data-theme=studio] :is(.encore-mini>span,.encore-task legend>span,.encore-review-row>span){color:#5044b8}
body[data-theme=studio] :is(.encore-mini p,.encore-mini small,.encore-submit span,.encore-task legend>small,.encore-review-row p,.encore-invite-card>p){color:#586078}
body[data-theme=studio] :is(.encore-mini.won>span,.encore-review-row.correct>span){color:#236448}
body[data-theme=studio] :is(.encore-rules span,.encore-lock){background:#eeebfb;color:#5044b8;border-color:#d3c9e7}
body[data-theme=studio] .encore-review-row>span{background:#eee9fa}
body[data-theme=studio] .encore-review-row.correct>span{background:#dff2e8}
body[data-theme=studio] .encore-beat-toggle{background:#fff;color:#493986;border-color:#c9bee5}
body[data-theme=studio] .encore-beat-toggle small{color:#586078}
body[data-theme=studio] #encore-error{color:#aa2e46}
body[data-theme=studio] .encore-invite-dialog{color:#202440;border-color:#b7a8d6}
body[data-theme=studio] .encore-invite-card:before{opacity:.25}

/* Music Biz Experience integrates with the light classroom canvas. */
body[data-theme=studio] .mbx-page{--mx-gold:#675019;--mx-purple:#5546c5;--mx-ink:#202440;background:transparent;color:#202440}
body[data-theme=studio] :is(.mbx-budget,.mbx-event,.mbx-results,.mbx-dialog){background:#fff;color:#202440;border-color:#d6ceeb;box-shadow:var(--studio-shadow)}
body[data-theme=studio] :is(.mbx-kicker,.mbx-header>div>p,.mbx-session,.mbx-session small,.mbx-steps li,.mbx-budget-head div>span,.mbx-budget-labels,.mbx-category p,.mbx-assumptions,.mbx-event-copy>p,.mbx-wait>span,.mbx-choices>small,.mbx-decision-feedback p,.mbx-advisor>div>span,.mbx-advisor p,.mbx-mantra,.mbx-results-stats span,.mbx-decision-log>div>span,.mbx-decision-log p b,.mbx-result-note,.mbx-dialog p){color:#586078}
body[data-theme=studio] :is(.mbx-header h1 em,.mbx-event h2 em,.mbx-steps li.active,.mbx-budget-head>b,.mbx-decision-feedback>span,.mbx-advisor h3,.mbx-builder-label,.mbx-results-stats b,.mbx-insights article>span,.mbx-decision-log strong){color:#5044b8}
body[data-theme=studio] :is(.mbx-plan-actions>#mbx-reset,.mbx-choices>.mbx-revise,.mbx-advisor button,.mbx-result-actions a,.mbx-result-actions button:not(.mbx-primary),.mbx-dialog #mbx-cancel){color:#5044b8}
body[data-theme=studio] .mbx-category{background:#f7f7fd;border-color:#d6dced}
body[data-theme=studio] .mbx-category-icon{color:#5044b8}
body[data-theme=studio] .mbx-budget-meter{background:#e3dff0}
body[data-theme=studio] .mbx-budget-meter>span{background:linear-gradient(0deg,#5546c5,#9b8ddd)}
body[data-theme=studio] .mbx-budget-meter>i{background:#5546c5}
body[data-theme=studio] .mbx-adjust button{background:#eeebfb;color:#5044b8;border-color:#cfc5e7}
body[data-theme=studio] .mbx-adjust button:hover:not(:disabled){background:#e0d9f4}
body[data-theme=studio] .mbx-live-message{color:#805b1b}
body[data-theme=studio] .mbx-primary,
body[data-theme=studio] .mbx-dialog #mbx-cancel.mbx-primary{background:linear-gradient(135deg,#6956ce,#4d3bad);color:#fff;border-color:#bdb1e4}
body[data-theme=studio] :is(.mbx-right,.mbx-wait,.mbx-advisor,.mbx-results-stats,.mbx-decision-log,.mbx-decision-log>div){border-color:#d9deed}
body[data-theme=studio] .mbx-builder-label{border-color:#c5b8e2}
body[data-theme=studio] .mbx-completion-mark>span{background:#e5f4ec;color:#236448}
body[data-theme=studio] .mbx-page :focus-visible,
body[data-theme=studio] .mbx-dialog :focus-visible{outline-color:#5546c5}

/* Gold rewards remain special, surrounded by readable ivory and lavender. */
body[data-theme=studio] :is(.study-badge-celebration-card,.module-trophy-celebration-card,.trophy-claim-card){background:radial-gradient(ellipse at 50% 0,#ead79e25,transparent 50%),linear-gradient(135deg,#fffdf7,#f0edf9);color:#202440;border-color:#c6af71}
body[data-theme=studio] :is(.study-badge-celebration-card h2,.module-trophy-celebration-card h2,.trophy-claim-card h2){color:#202440}
body[data-theme=studio] :is(.study-badge-celebration-card>b,.module-trophy-celebration-card>b,.trophy-claim-card .eyebrow){color:#805b1b}
body[data-theme=studio] .trophy-claim-card>small{color:#586078}
body[data-theme=studio] :is(.study-badge-celebration-card p,.study-badge-celebration-card small,.module-trophy-celebration-card p,.trophy-claim-card p){color:#586078}
body[data-theme=studio] :is(.study-badge-celebration-card .eyebrow,.trophy-claim-kicker,.trophy-claim-unlocked,.module-trophy-celebration-card .eyebrow,.study-badge-celebration-card>span){color:#805b1b}
body[data-theme=studio] .master-reset-card{background:linear-gradient(135deg,#fff,#f9edf1);color:#202440;border-color:#dfb8c4}
body[data-theme=studio] .master-reset-card p{color:#685463}
body[data-theme=studio] .master-reset-card h2{color:#202440}
body[data-theme=studio] .master-reset-card .master-reset-warning{color:#914058}
body[data-theme=studio] .master-reset-actions .textlink{color:#5044b8}
body[data-theme=studio] :is(.master-reset-card .eyebrow,.master-reset-copy){color:#914058!important}
body[data-theme=studio] .welcome-video-dialog{background:#fff;color:#202440;border-color:#cfc5e7}
body[data-theme=studio] .welcome-video-close{background:#eeebfb;color:#5044b8;border-color:#d0c5e7}
