/* Shared brand palette. Semantic outcomes, discovery yellow and earned artwork stay separate. */
:root{--keys-navy:#203a8c;--color-navy:#203a8c;--color-cta:#ff6b6b;--keys-feature:#eff1fa;--color-border:#dce0ee;--color-muted:#637096;--brand-indigo:#203a8c;--brand-coral:#ff6b6b;--brand-support:#eff1fa}
body{background:#eff1fa}
.phone{background:#fff!important;color:#203a8c}
.phone>header.ds-header{background:#203a8c!important;color:#fff!important;border-color:#203a8c!important}
.phone>header.ds-header strong,.phone>header.ds-header button{color:#fff!important}
.phone main{background:#fff}
.phone main>h1,.phone .heading h1,.phone .section-heading h2,.phone .profile-identity h1,.phone .keys-thinking h1,.phone .keys-thinking h2,.phone .ac-book h1{color:#203a8c}
.phone .primary:not(:disabled),.identity-dialog .primary:not(:disabled),.phone .ac-book .ac-primary:not(:disabled){background:#ff6b6b!important;border-color:#ff6b6b!important;color:#fff!important;box-shadow:none;font-weight:750}
.phone .secondary:not(:disabled){background:#fff;color:#203a8c;border-color:#cbd2e7}
.phone nav.ds-bottom-nav{background:#eff1fa!important;border-top-color:#e0e4f2!important}
.phone nav.ds-bottom-nav button{color:#637096!important}
.phone nav.ds-bottom-nav button.current,.phone nav.ds-bottom-nav button.current svg{color:#203a8c!important}
.phone nav.ds-bottom-nav button.current small{color:#203a8c!important;text-decoration:underline;text-decoration-color:#ff6b6b;text-decoration-thickness:3px;text-underline-offset:5px}
.phone :is(button,input,textarea,summary):focus-visible,.identity-dialog :is(button,input):focus-visible{outline-color:#203a8c}
/* Home: preserve the court photo, reward metals and stage-specific player backgrounds. */
.phone .reference-home-hero:before{background:linear-gradient(90deg,#203a8ce8,#203a8c22)}
.phone .home-latest{background:#eff1fa}
.phone .home-latest-row{background:#fff;border-color:#dce0ee;color:#203a8c}
.phone .home-record-icon{background:#eff1fa;color:#203a8c}
.phone .home-latest .section-heading>button,.phone .player-collection-link{color:#203a8c}
.phone .player-card-copy h2{color:#203a8c}
.phone .next-goal button{color:#203a8c;border-color:#cbd2e7;background:#fff}
/* Playbook: retain pink/blue comparison zones and yellow discoveries. */
.phone .ac-book,.phone .ac-book.ac-record-list{background:#fff;color:#203a8c}
.phone .ac-plays button,.phone .ac-tabs{background:#eff1fa;color:#526083}
.phone .ac-plays button[aria-pressed=true],.phone .ac-tabs button.active{background:#203a8c;color:#fff;box-shadow:none}
.phone .ac-player-hero{background:#eff1fa;border-color:#dce0ee}
.phone .ac-player-hero h1,.phone .ac-player-hero h2,.phone .ac-player-hero p{color:#203a8c}
.phone .ac-aspects button,.phone .ac-book.ac-record-list>.ac-record{background:#fff;border-color:#dce0ee;box-shadow:none;color:#203a8c}
.phone .ac-book.ac-record-list .ac-answer strong{color:#203a8c;border-left-color:#203a8c}
.phone .ac-book.ac-record-list>.ac-record>.ac-source,.phone .ac-book.ac-record-list>.ac-record>details>summary{color:#203a8c;background:#eff1fa;border-color:#dce0ee}
.phone .ac-book>button:not(.ac-primary){color:#203a8c}
/* Knowledge, profile and supporting screens. */
.phone .thinking-list>button,.phone .thinking-back,.phone .profile-menu>button{border-color:#dce0ee;color:#203a8c;background:#fff}
.phone .thinking-arrow{color:#203a8c}
.phone .profile-photo,.phone .profile-journey>p,.phone .keys-self-cover{background:#eff1fa;color:#203a8c}
.phone .profile-menu,.phone .journey-counts{border-color:#dce0ee}
.phone .record-row,.phone .edit-answer-list>button{border-color:#dce0ee;color:#203a8c}
.phone .record-thinking [data-record-celebration] .record-celebration{background:#eff1fa;color:#203a8c}
.phone .record-celebration h1,.phone .record-celebration h2{color:#203a8c}
.phone .record-thinking details.rt-review,.phone .record-celebration .celebration-goal{background:#eff1fa;border-color:#dce0ee;color:#203a8c}
.phone .record-thinking .rt-review>summary{color:#203a8c}
.phone .record-thinking .rt-next summary,.phone .record-thinking button[data-rt="save-next"]{background:#ff6b6b;color:#fff;border-color:#ff6b6b}
.phone .record-thinking details.rt-next{border-color:#ff6b6b;box-shadow:none}
.phone .record-thinking button[data-rt="consult"]{background:#fff;color:#203a8c;border-color:#aab7da}
.phone .record-thinking button.rt-finish{color:#203a8c;border-color:#cbd2e7!important}
/* Dialog chrome only: avatars, locked art and title/trophy tiers retain their appearance. */
.identity-dialog{color:#203a8c;background:#fff}
.identity-dialog>header{color:#203a8c}
.identity-dialog button{color:#203a8c;border-color:#dce0ee}
.identity-dialog .identity-tabs button{background:#eff1fa}
.identity-dialog .identity-tabs button[aria-pressed=true]{background:#203a8c;color:#fff;border-color:#203a8c}
.identity-dialog button.character-choice{background:#fff;border-color:#dce0ee}
.identity-dialog button.character-choice[aria-pressed=true]{background:#eff1fa;border-color:#ff6b6b}
.identity-dialog .character-choice>span{background:#eff1fa;color:#203a8c}
.identity-dialog .character-choice[aria-pressed=true]>span{background:#ff6b6b;color:#fff}
.identity-dialog progress{accent-color:#203a8c}
.phone .home .home-latest{background:#eff1fa}
.phone .home .home-record-icon{background:#eff1fa;color:#203a8c}
.phone .record-thinking .rt-next summary .action-symbol{color:#fff}.phone .record-thinking button[data-rt="consult"] .action-symbol{color:#203a8c}
/* White label on the home recording CTA. */
.phone .home-start .primary[data-action="record"],
.phone .home-start .primary[data-action="record"]>span{color:#fff!important}
/* Weekly activity: coral marks days with records; counting remains unchanged. */
.phone .home .weekly-view{background:#fff3f3}
.phone .home .weekly-view .viz-heading,
.phone .home .weekly-view .viz-heading h2,
.phone .home .weekly-view .week-days small{color:#203a8c}
.phone .home .weekly-view .week-days>div>span{background:#fff;border-color:#f2d9dc;color:#203a8c}
.phone .home .weekly-view .week-days>div.recorded>span{background:#ff6b6b;border-color:#ff6b6b;color:#203a8c;box-shadow:none}
/* Play selection uses the shared coral action accent. */
.phone .ac-plays button[aria-pressed=true]{background:#ff6b6b;color:#fff;box-shadow:none}
/* A quiet court behind the selected player, with readable light copy. */
.phone .ac-player-hero{isolation:isolate;background:radial-gradient(ellipse at 85% 42%,#506eb4 0%,#304f98 38%,#203a8c 74%);border-color:#304b91;color:#fff}
.phone .ac-player-hero:before{content:'';position:absolute;z-index:-1;pointer-events:none;right:-26px;bottom:-52px;width:74%;height:190px;border:2px solid #dbe6ff55;background:linear-gradient(90deg,transparent 32.8%,#dbe6ff55 32.8%,#dbe6ff55 33.4%,transparent 33.4%,transparent 49.7%,#dbe6ff55 49.7%,#dbe6ff55 50.3%,transparent 50.3%,transparent 66.3%,#dbe6ff55 66.3%,#dbe6ff55 66.9%,transparent 66.9%),#7294ce22;transform:perspective(340px) rotateX(42deg) rotateZ(-13deg)}
.phone .ac-player-hero h1,.phone .ac-player-hero h2{color:#fff}
.phone .ac-player-hero p,.phone .ac-player-hero small{color:#edf2ff}
.phone .ac-player-hero [data-book-player-name]{color:#e0e8ff;border-top-color:#ffffff38}
.phone .ac-player-hero [data-book-avatar]{position:relative;z-index:1}

/* Approved comparison palette: quiet counts, white records, selected-state accents. */
.phone .ac-book .ac-discovery{background:#fff!important;border-color:#e0e4ef!important;box-shadow:inset 3px 0 #ffd34e!important}
.phone .ac-book .ac-side.warm{background:#fff8fa;--ac-accent:#c44667;--ac-line:#e0e4ef;--ac-card:#fff}
.phone .ac-book .ac-side.cool{background:#f7faff;--ac-accent:#356bb8;--ac-line:#e0e4ef;--ac-card:#fff}
.phone .ac-book .ac-side{border-top:3px solid var(--ac-accent)}
.phone .ac-book .ac-count{color:#203a8c}
.phone .ac-book .ac-selected-count{color:#526083}
.phone .ac-book .ac-side .ac-record{background:#fff;border-color:#e0e4ef;box-shadow:none}
.phone .ac-book .ac-side .ac-record.selected{background:#fff;border-color:var(--ac-accent);box-shadow:inset 0 0 0 1px var(--ac-accent)}
.phone .ac-book .ac-select-state{color:#526083}
.phone .ac-book .selected .ac-select-state{color:var(--ac-accent)}
.phone .ac-book .ac-record details summary,.phone .ac-book .ac-source{color:#526083}
.phone .ac-book .ac-coach-link{background:transparent;border-color:transparent;color:#526083}
/* Knowledge articles share the coral accent. */
.phone .keys-thinking .thinking-number{border-bottom-color:#ff6b6b}
.phone .keys-thinking .thinking-question{background:#fff3f3;border-left-color:#ff6b6b}
