/* Final semantic palette shared by every screen. */
:root{--keys-navy:#132d50;--keys-success:#fff5cf;--keys-challenge:#ffe6ee;--keys-feature:#e5f4ff;--keys-action:#e5f7ef;--keys-gap:12px;--keys-radius:16px;--color-failure-bg:var(--keys-challenge);--color-failure:#c34970;--color-deep-bg:var(--keys-feature)}
.phone .keys-section-title,.phone .keys-recent h2{font-size:18px;margin:24px 0 12px;font-weight:750}
.keys-status-list,.keys-doorways{display:grid;gap:var(--keys-gap)}
.phone .keys-status{display:grid;grid-template-columns:40px minmax(0,1fr) 12px;align-items:center;gap:12px;width:100%;padding:18px 16px;min-height:92px;border:0;border-radius:var(--keys-radius);background:var(--keys-feature);color:var(--keys-navy);text-align:left;box-shadow:none}
.keys-status-icon{width:40px;height:40px;display:grid;place-items:center;border-radius:50%;background:#ffffffb3;color:#2687c0}
.keys-status-icon svg{width:28px;height:28px}.keys-status strong{display:block;font-size:17px;line-height:1.5}.keys-status small{display:block;font-size:13px;line-height:1.65;margin-top:5px;color:#425f7a}.keys-status b{font-size:22px;font-weight:400}
.phone .keys-status-success{background:var(--keys-success)}.keys-status-success .keys-status-icon{color:#b88400}
.phone .keys-status-challenge,.phone .keys-status-play{background:var(--keys-challenge)}.keys-status-challenge .keys-status-icon,.keys-status-play .keys-status-icon{color:#ce537a}
.phone .keys-status-action{background:var(--keys-action)}
.keys-book-cover{height:210px;margin:-20px -20px 18px;padding:26px 24px;display:flex;flex-direction:column;justify-content:space-between;background:linear-gradient(90deg,#102d50c9,transparent),url('../assets/volleyball-court.png') center/cover;color:white}
.keys-wordmark{display:flex;align-items:center;gap:10px}.keys-wordmark svg{width:30px;height:30px}.keys-wordmark strong{font-size:28px;letter-spacing:.12em}
.phone .keys-book-cover h1{color:white;font-size:30px!important;margin:0}
.book-redesign.manual-page-top>header{display:none}
.keys-doorways .keys-status{min-height:112px}.keys-doorways .keys-status strong{font-size:22px}
.keys-recent{margin-top:28px}.phone .keys-recent .manual-record{display:grid;grid-template-columns:1fr auto;gap:6px 12px;padding:16px 12px;background:white;border:1px solid #e8eef4;border-radius:12px;margin:8px 0;min-height:78px;text-align:left}
.keys-recent .manual-record small{grid-column:1;font-size:12px;color:#617894}.keys-recent .manual-record strong{grid-column:1;font-size:15px;line-height:1.7}.keys-recent .manual-record>span{grid-column:2;grid-row:1/3;align-self:center}
.keys-recent summary{min-height:44px;padding:12px 0;text-align:right;color:#425f7a;font-size:13px;cursor:pointer}
.keys-self-cover{background:linear-gradient(110deg,#e7f4fc,#eff8f3);border-radius:16px;padding:26px 22px;margin-bottom:24px;border-left:4px solid #70b6d6}
.phone .keys-self-cover h1{font-size:28px!important;margin:0 0 8px}.keys-self-cover p{font-size:14px;color:#4c6985;margin:0}
.phone .book-insight.down,.phone .record-kind.bad,.phone .record-outcome-label.failure{background:var(--keys-challenge);border-color:#f3cbd8;color:#a63d60}
.phone .book-insight.down{border-left-color:#e9789a}.phone .book-evidence.down .manual-bar i{background:#e8789c}
.phone .book-insight.thought,.phone .book-refine-card,.phone .manual-question{background:var(--keys-feature);border-color:#d6eafa}
.phone .profile-overview{display:flex;flex-direction:column;align-items:center;text-align:center;padding:12px 0 24px;gap:14px}
.phone .profile-overview .profile-photo{width:96px;height:96px;flex-shrink:0;background:#eaf2f9;border:4px solid white}
.phone .profile-identity h1{font-size:24px!important;margin-bottom:4px}
.phone .profile-journey>p{background:var(--keys-feature)}
.phone .journey-counts{border:1px solid #e8eef4;border-radius:16px;background:white;gap:0;padding:12px 0}
.phone .journey-counts>div{background:white;border-right:1px solid #e8eef4;border-radius:0;padding:8px 4px}.phone .journey-counts>div:last-child{border:0}
.phone .profile-menu{border:0;padding:0}.phone .profile-menu>button{min-height:58px;padding:14px 6px;border-bottom:1px solid #e6edf4}
.phone .choosePlay .ds-list-copy small{display:none}.phone .choosePlay .ds-list-item{min-height:148px}.phone .choosePlay .ds-list-copy strong{font-size:16px}
.phone .ds-bottom-nav{position:fixed;bottom:0;width:100%;max-width:440px;z-index:50;height:calc(72px + env(safe-area-inset-bottom));padding-bottom:env(safe-area-inset-bottom)}
.phone main{padding-bottom:calc(110px + env(safe-area-inset-bottom))}
.phone.screen-interview main.interview{padding-bottom:calc(190px + env(safe-area-inset-bottom))}
.phone .interview-style .answer-bar{bottom:calc(72px + env(safe-area-inset-bottom))}
@media(max-width:370px){.keys-status strong{font-size:16px}.keys-status small{font-size:13px}.keys-book-cover{margin-left:-18px;margin-right:-18px}.phone .keys-status{padding:16px 12px;gap:10px;grid-template-columns:36px minmax(0,1fr) 10px}}
/* Settings remain the primary task on My Page; existing journey data remains below. */
main.profile{display:flex;flex-direction:column}
.profile>.profile-overview{order:0}.profile>.profile-menu{order:1;margin-top:0}.profile>.profile-journey{order:2;margin-top:24px}
.phone .choosePlay [data-play="dig"] .ds-list-copy strong{font-size:14px}
.phone .book-thought-list .manual-bar i,.phone .profile-trends .manual-bar i{background:#68b5da}
/* Data-rich entrances: measured counts, not ability scores. */
.keys-book-cover{height:144px;margin-bottom:16px;padding:20px 24px;background-position:center 56%}.keys-book-cover .keys-wordmark strong{font-size:22px}.phone .keys-book-cover h1{font-size:26px!important}
.keys-doorways{gap:14px}.keys-dashboard-door{display:block;width:100%;text-align:left;padding:18px;border:1px solid #e5eaf1;background:white;border-radius:18px;color:#142d50;box-shadow:0 3px 12px #132d5005}
.keys-dashboard-door.play{border-top:4px solid #e880a0}.keys-dashboard-door.self{border-top:4px solid #6bb7d4}
.dashboard-title{display:flex;align-items:center;gap:10px}.dashboard-title>svg{width:28px;height:28px;color:#d55580}.self .dashboard-title>svg{color:#368fb0}.dashboard-title>strong{font-size:21px}.dashboard-title>b{margin-left:auto;font-size:24px;font-weight:400}
.dashboard-stats{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin:14px 0}.dashboard-stats>span{display:flex;align-items:baseline;gap:8px}.dashboard-stats b{font-size:29px;line-height:1.2;font-variant-numeric:tabular-nums}.dashboard-stats small{font-size:11px;color:#63768c;line-height:1.5}
.dashboard-play-icons{display:flex;gap:10px;align-items:center;margin:10px 0}.dashboard-play-icons>span{display:flex;align-items:center;gap:3px;font-size:10px;color:#56708a}.dashboard-play-icons svg{width:18px;height:18px;color:#4d91bf}.dashboard-play-icons>small{font-size:10px;white-space:nowrap}
.dashboard-categories{display:block;font-size:12px;color:#4585a0;margin:10px 0}
.dashboard-latest{display:block;background:#fff6dc;border-radius:10px;padding:12px}.self .dashboard-latest{background:#ecf6fc}.dashboard-latest small{display:block;font-size:11px;color:#6b7480;margin-bottom:5px}.dashboard-latest strong{display:block;font-size:14px;line-height:1.65}
.phone .home .data-discovery{padding:16px;border:1px solid #e7eaf0;background:white;border-radius:16px}.home .data-discovery:before,.home .data-discovery:after{display:none}
.discovery-meta{display:flex;align-items:center;gap:8px;font-size:12px;color:#486d8d}.discovery-meta>small{margin-left:auto;font-size:11px;color:#718396}.discovery-symbol{width:30px;height:30px;border-radius:9px;background:#fff1bd;display:grid;place-items:center;color:#a67b00}.discovery-symbol svg{width:21px;height:21px}
.phone .home .data-discovery h3{font-size:18px;font-weight:700;line-height:1.65;margin:12px 0}
.discovery-footer{display:flex;align-items:center;gap:8px;border-top:1px solid #edf1f6;padding-top:10px;font-size:11px;color:#5f758c}.discovery-footer>span:nth-child(2){background:#eaf6f0;color:#26795b;padding:2px 8px;border-radius:6px}.discovery-footer>b{margin-left:auto;font-size:22px;color:#163957}
.keys-self-cover{padding:20px;margin-bottom:18px}.phone .keys-section-title,.phone .keys-recent h2{margin-top:20px}.phone .keys-status{min-height:82px;padding:15px}.phone .keys-recent .manual-record{min-height:68px;padding:12px}
.book-redesign .book-play-hero{height:166px;min-height:166px}.phone .book-play-hero h1{font-size:30px!important}.book-redesign .book-tabs{margin-bottom:12px}
@media(max-width:370px){.dashboard-play-icons{flex-wrap:wrap;gap:6px}.dashboard-stats>span{gap:5px}.dashboard-stats small{font-size:10px}}
.dashboard-play-icons{flex-wrap:wrap;gap:6px 10px}.dashboard-play-icons>span{white-space:nowrap;font-size:11px}.dashboard-play-icons>small{font-size:11px}.dashboard-stats small{font-size:12px}
.dashboard-stats b{flex-shrink:0;white-space:nowrap}.dashboard-stats small{min-width:0}.dashboard-stats>span{align-items:center}
/* Recording play selection: plain text buttons, distinct from playbook photo cards. */
.phone .choosePlay .ds-play-list{display:flex;flex-direction:column;gap:10px}
.phone .choosePlay .ds-list-item,.phone .choosePlay .ds-list-item:last-child:nth-child(odd){display:flex;flex-direction:row;align-items:center;justify-content:space-between;min-height:58px;padding:16px 18px;border:1px solid #dce5ef;border-radius:10px;background:#fff;text-align:left;box-shadow:none;gap:12px}
.phone .choosePlay .ds-list-item::before,.phone .choosePlay .ds-list-icon{display:none}
.phone .choosePlay .ds-list-copy{padding:0;flex:1}
.phone .choosePlay .ds-list-copy strong,.phone .choosePlay [data-play="dig"] .ds-list-copy strong{font-size:16px;line-height:1.6}
.phone .choosePlay .ds-list-item>span:last-child{display:block;color:#71849b;font-size:22px}
/* October reference: compact dashboard entrances, separate mock visualizations. */
.home-entrances{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin:14px 0 22px}.home-entrances>button{padding:14px 12px;border:0;border-radius:15px;text-align:left;color:#102b50;background:#ffe6ef}.home-entrances>button.yellow{background:#fff4cb}.home-entrances h2{font-size:19px!important;margin:8px 0 3px!important}.home-entrances p{font-size:12px;line-height:1.6;margin:0;min-height:38px}.home-entrances>button>strong{font-size:24px}.home-entrances small{font-size:11px}.entrance-icon{display:grid;place-items:center;width:42px;height:42px;border-radius:50%;background:#f57098;color:white}.yellow .entrance-icon{background:#e7b700}.entrance-icon svg{width:26px;height:26px}.mini-plays{display:flex;gap:5px;height:30px;margin:8px 0}.mini-plays svg{width:23px;height:23px}.mini-plays>span{width:25px;height:25px;background:#ffffffa0;border-radius:50%;display:grid;place-items:center}
.phone .home-message{padding:14px 18px;margin:12px 0;font-size:14px}.phone .reference-home-hero{min-height:190px}.phone .home-start{margin-top:-12px}.phone .home .home-recent{margin-top:16px}
.phone .choosePlay .ds-play-list{display:grid;grid-template-columns:1fr 1fr;gap:12px}.phone .choosePlay .ds-list-item{display:flex;flex-direction:column;padding:0;gap:0;overflow:hidden;min-height:140px;text-align:center}.phone .choosePlay .ds-list-item::before{display:block;content:'';width:100%;height:100px;background-image:url('../assets/play-photos.png');background-size:200% 300%;background-position:0 0}.phone .choosePlay [data-play='set']::before{background-position:100% 0}.phone .choosePlay [data-play='spike']::before{background-position:0 50%}.phone .choosePlay [data-play='serve']::before{background-position:100% 50%}.phone .choosePlay [data-play='block']::before{background-position:0 100%}.phone .choosePlay [data-play='dig']::before{background-position:100% 100%}.phone .choosePlay .ds-list-copy{padding:10px 4px}.phone .choosePlay .ds-list-item>span:last-child{display:none}.phone .choosePlay .ds-list-item:last-child:nth-child(odd){grid-column:1/-1;min-height:66px;display:block;background:#e4f3ff;text-align:center;padding:10px}.phone .choosePlay [data-play='other']::before{display:none}
.preview-badge{display:inline-block;font-size:11px;line-height:1.6;background:#eef1f6;color:#526883;border-radius:5px;padding:3px 7px}.radar-panel{background:linear-gradient(#fff,#f7faff);border:1px solid #edf1f6;border-radius:16px;padding:14px 10px}.phone .radar-panel h2{font-size:17px;margin:0 0 8px}.preview-radar{display:block;width:100%;max-height:300px}.phone .radar-panel .book-caption{font-size:11px;margin:0 4px}.hero-record{background:#f65e8f;color:white;border:0;border-radius:24px;padding:10px 20px;align-self:flex-end;font-weight:700}.phone .book-play-hero{background-image:linear-gradient(0deg,#102b5077,transparent),url('../assets/volleyball-receive.png');background-position:center;background-size:cover;display:flex;flex-direction:column;justify-content:end;gap:10px;height:190px}.phone .keys-self-cover{height:175px;border:0;border-radius:14px;background:linear-gradient(0deg,#142d5099,#142d5011),url('../assets/volleyball-receive.png') 65% center/cover;display:flex;align-items:end}.phone .keys-self-cover h1{color:white}.preview-features{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin:10px 0 22px}.preview-feature{border-radius:13px;padding:15px 12px;background:#e6f5ff}.preview-feature.pink{background:#ffe6ef}.preview-feature.yellow{background:#fff6d6}.preview-feature.green{background:#e0f6ec}.preview-feature>span{display:grid;place-items:center;width:35px;height:35px;border-radius:50%;background:#fff9;color:#f26891;font-size:25px}.preview-feature.blue>span{color:#2b91ce}.preview-feature.yellow>span{color:#c59800}.preview-feature.green>span{color:#15966b}.phone .preview-feature h3{font-size:15px;margin:10px 0 4px}.preview-feature p{font-size:12px;margin:0;line-height:1.6}.preview-trend{display:block;width:100%;margin:14px 0;background:white;border:1px solid #edf1f6;border-radius:12px;padding:10px}.phone .book-tabs{display:flex;overflow-x:auto}.phone .book-tabs button{flex:1;white-space:nowrap;min-height:44px;font-size:12px}
.profile>.profile-journey{order:1;margin-top:0}.profile>.profile-menu{order:2;margin-top:16px}.phone .profile-journey>p{display:none}.phone .profile-overview{padding-bottom:16px}.phone .profile-menu{background:white;border:1px solid #edf1f6;border-radius:14px;padding:0 12px}.phone .profile-overview .profile-photo{background:linear-gradient(135deg,#d4e6f8,#fff1cc)}
@media(max-width:360px){.home-entrances h2{font-size:17px!important}.home-entrances small{font-size:10px}.preview-feature{padding:12px 10px}}
.phone .home-message small{display:block;font-size:13px;font-weight:700;margin-bottom:5px}.preview-feature>span svg{width:27px;height:27px}.phone .manual.self h2{font-size:18px;margin:20px 0 10px}.phone .manual.self .keys-self-cover{height:150px;margin-bottom:10px}.phone .manual.self .preview-features{margin-bottom:15px}.phone .manual.self .preview-feature{padding:12px}.phone .manual.self .preview-feature h3{margin-top:6px}.phone .manual.self .book-tabs{margin-bottom:14px}.profile-brand-banner{order:3;background:linear-gradient(90deg,#112a50c0,transparent),url('../assets/volleyball-court.png') center/cover;color:white;padding:32px 22px;border-radius:14px;margin-top:20px;font-size:20px;font-weight:700}.phone .book-play-hero[data-hero-play='serve']{background-image:linear-gradient(0deg,#102b5077,transparent),url('../assets/play-photos.png')!important;background-size:200% 300%!important;background-position:100% 50%!important}
.phone .profile-overview{gap:8px;padding:0 0 16px}.phone .profile-overview .profile-photo{width:78px;height:78px;background:linear-gradient(135deg,#d7e9fc,#fff0c6)!important}.phone .profile-overview .profile-photo svg{width:38px;height:38px}.phone .profile-journey{display:contents}.phone .profile-journey>.journey-counts{order:1}.phone .profile-journey>small{order:1;margin:8px 0;font-size:11px}.phone .profile-journey>.profile-trends{order:4;margin-top:24px}.phone .profile-journey>.journey-book{order:3;background:linear-gradient(90deg,#132d50d9,#132d5033),url('../assets/volleyball-court.png') center/cover;color:white;border-radius:14px;padding:24px 16px;margin-top:18px}.phone .profile-journey>.journey-book strong{color:white}.phone .profile-menu>button{min-height:48px;padding:10px 6px}
.phone .choosePlay .ds-list-copy{width:100%;min-width:0}.phone .choosePlay .ds-list-copy strong{white-space:normal;overflow-wrap:anywhere}.phone .choosePlay [data-play='dig'] .ds-list-copy strong{font-size:13px}.phone .choosePlay .ds-list-item{justify-content:flex-start}

/* Recording: text-only play choices. Shared book/photo cards stay unchanged. */
.phone .choosePlay .record-play-options{display:flex;flex-direction:column;gap:10px;margin:22px 0}
.phone .choosePlay .record-play-option{display:block;width:100%;min-height:52px;padding:14px 18px;border:1px solid #dce5f0;border-radius:12px;background:#fff;color:#142a4a;font-size:16px;font-weight:650;line-height:1.5;text-align:left;box-shadow:none}
.phone .choosePlay .record-play-option::before,.phone .choosePlay .record-play-option::after{display:none;content:none;background:none}
.phone .choosePlay .record-play-option:hover{background:#f0f6ff;border-color:#91b7ec}
.phone .choosePlay .record-play-option:active{background:#e3eeff;border-color:#347ff0}
.phone .choosePlay .record-play-option:focus-visible{outline:3px solid #8cb9fa;outline-offset:2px}
.words-question-group{min-width:0;margin:18px 0 0;padding:12px 0 4px;border:0;border-top:1px solid #dce5f0}
.words-question-group legend{max-width:100%;padding:0 8px 0 0;color:#142a4a;font-size:16px;font-weight:700;line-height:1.6;white-space:normal}
.words-question-group .words-example{min-height:44px}

/* KEYS shared system v2. Loaded last: presentation only, no screen state changes.
   Navy = action/type; blue = information; yellow = small sporting accent;
   green/red are reserved for outcomes. All active surfaces use these tokens. */
:root{
 --keys-navy:#12345d;--keys-blue:#2475cb;--keys-sky:#edf5fd;--keys-yellow:#f5ca47;
 --keys-paper:#fff;--keys-canvas:#f5f8fc;--keys-ink:#12345d;--keys-muted:#536b85;
 --keys-line:#dfe7f0;--keys-positive:#267452;--keys-positive-bg:#edf8f1;
 --keys-negative:#a53c50;--keys-negative-bg:#fff0f3;
 --keys-radius:16px;--keys-control-radius:12px;--keys-gap:12px;
 --keys-space-1:4px;--keys-space-2:8px;--keys-space-3:12px;--keys-space-4:16px;--keys-space-5:24px;
 --keys-title:24px;--keys-heading:19px;--keys-answer:18px;--keys-body:16px;--keys-caption:13px;
 --color-navy:var(--keys-navy);--color-bg:var(--keys-paper);--color-surface:var(--keys-canvas);--color-muted:var(--keys-muted);--color-border:var(--keys-line);
 --color-play-bg:var(--keys-sky);--color-play:var(--keys-blue);--color-self-bg:var(--keys-sky);--color-self:var(--keys-navy);
 --color-success-bg:var(--keys-positive-bg);--color-success:var(--keys-positive);--color-failure-bg:var(--keys-negative-bg);--color-failure:var(--keys-negative);
 --keys-success:var(--keys-positive-bg);--keys-challenge:var(--keys-negative-bg);--keys-feature:var(--keys-sky);--keys-action:var(--keys-sky);
 --color-deep-bg:var(--keys-sky);--color-deep:var(--keys-blue);--font-caption:var(--keys-caption);--font-body:var(--keys-body);
}
body{background:var(--keys-canvas);color:var(--keys-ink)}
.phone{background:var(--keys-paper);color:var(--keys-ink)}
.phone main{background:var(--keys-canvas)}
.phone :is(h1,h2,h3){color:var(--keys-ink);letter-spacing:0;line-height:1.5}
.phone :is(.heading h1,.profile-identity h1,.record-review h1){font-size:var(--keys-title)!important}
.phone :is(.section-heading h2,.gb-block h2,.cc-writing h2,.profile-journey h2){font-size:var(--keys-heading)!important}
.phone :is(.gb-caption,.cc-footnote,.viz-note,.selection-help,.home-count-note){font-size:var(--keys-caption)!important;color:var(--keys-muted);line-height:1.7}
/* Cards use one surface treatment; the record form itself stays uncluttered. */
.phone :is(.gb-panel,.gb-door,.gb-play-row,.home-entrances>button,.home-recent,.journey-counts,.profile-menu,.cc-section,.record-review,.reflection-entry,.keys-status){border:1px solid var(--keys-line);border-radius:var(--keys-radius);background:var(--keys-paper);box-shadow:none!important;padding:var(--keys-space-4)}
.phone :is(.gb-page-summary,.coach-consultation){background:var(--keys-canvas)!important;color:var(--keys-ink)}
.phone .gb-page-summary .gb-block{background:var(--keys-paper);border:1px solid var(--keys-line);margin:var(--keys-space-3) 0;padding:var(--keys-space-4)}
.phone .gb-page-summary .gb-block-3{background:var(--keys-sky)}
.phone :is(.gb-step,.cc-writing h2>span){background:var(--keys-sky)!important;color:var(--keys-navy)!important;box-shadow:none}
.phone .gb-page-summary .gb-block-1{border-top:3px solid var(--keys-yellow)}
.phone .gb-page-summary :is(.gb-trend,.gb-next-row){background:var(--keys-paper);border-bottom:1px solid var(--keys-line);border-radius:var(--keys-control-radius);box-shadow:none}
.phone .gb-trend-answer{font-size:21px;color:var(--keys-ink)}
.phone .gb-trend-path{color:var(--keys-muted);font-size:var(--keys-caption)}
.phone .gb-trend-counts .positive{background:var(--keys-positive-bg);color:var(--keys-positive)}
.phone .gb-trend-counts .negative{background:var(--keys-negative-bg);color:var(--keys-negative)}
/* Shared primary / secondary / text actions. */
.phone :is(.primary,.cc-primary,.gb-coach-cta,.home-start .primary){background:var(--keys-navy)!important;border:1px solid var(--keys-navy);color:white!important;border-radius:var(--keys-control-radius);box-shadow:none;min-height:48px;font-size:16px!important;font-weight:700}
.phone :is(.secondary,.cc-link,.gb-outline,.gb-think){background:var(--keys-paper);border:1px solid var(--keys-line);color:var(--keys-navy)!important;border-radius:var(--keys-control-radius);box-shadow:none;min-height:44px;font-size:14px!important}
.phone :is(.text-button,.gb-link){color:var(--keys-blue);min-height:44px;box-shadow:none}
.phone :is(textarea,input:not([type=checkbox]):not([type=radio]),select){border-color:var(--keys-line);border-radius:var(--keys-control-radius);color:var(--keys-ink);background:var(--keys-paper);font-size:16px;line-height:1.65}
.phone :is(input[type=checkbox],input[type=radio]){accent-color:var(--keys-navy)}
.phone :is(button,a,input,textarea,select,summary):focus-visible{outline:3px solid var(--keys-blue);outline-offset:3px}
.phone :is(.choice,.ds-choice){border-radius:var(--keys-control-radius);border:1px solid var(--keys-line);background:var(--keys-paper);box-shadow:none}
.phone :is(.choice.selected,.ds-choice[aria-pressed=true]){background:var(--keys-sky);border-color:var(--keys-navy)}
.phone .gb-play-tabs{gap:8px;padding:12px 0}
.phone .gb-play-tabs button{background:var(--keys-sky);color:var(--keys-navy);border-radius:var(--keys-control-radius);box-shadow:none;min-height:44px}
.phone .gb-play-tabs button[aria-pressed=true]{background:var(--keys-navy);color:white;box-shadow:inset 0 -3px var(--keys-yellow)}
/* Home keeps its volleyball photo; doors share the same quieter language. */
.phone .home-entrances{gap:var(--keys-gap)}
.phone .home-entrances>button{background:var(--keys-paper)!important;border-top:3px solid var(--keys-blue)}
.phone .home-entrances>button.yellow{border-top-color:var(--keys-yellow)}
.phone .home-entrances .entrance-icon{background:var(--keys-sky);color:var(--keys-navy);box-shadow:none}
.phone .home-message{background:var(--keys-sky);border-radius:var(--keys-radius);box-shadow:none}
.phone .home-start .primary{border-left:4px solid var(--keys-yellow)}
.phone :is(.cc-theme,.cc-save-state,.profile-journey>p){background:var(--keys-sky);border-radius:var(--keys-control-radius);border:0}
.phone .cc-writing{padding:var(--keys-space-3) 0;border-bottom:1px solid var(--keys-line)}
.phone .cc-word,.phone .cc-pick-row{background:var(--keys-paper);box-shadow:none;border-radius:0}
.phone .profile-menu>button{background:var(--keys-paper);border-radius:0;min-height:52px;color:var(--keys-navy)}
/* One navigation, independent of the active page. */
.phone nav.ds-bottom-nav{background:var(--keys-paper);border-top:1px solid var(--keys-line);box-shadow:none;gap:0;min-height:72px}
.phone nav.ds-bottom-nav button{background:none!important;border-radius:0;color:var(--keys-muted);gap:4px;min-height:48px}
.phone nav.ds-bottom-nav button.current{color:var(--keys-navy)}
.phone nav.ds-bottom-nav button>span,.phone nav.ds-bottom-nav svg{width:24px;height:24px}
.phone nav.ds-bottom-nav svg{fill:none;stroke-width:1.8}
.phone nav.ds-bottom-nav small{font-size:12px!important;line-height:1.4}
.phone nav.ds-bottom-nav button.current small{font-weight:750}
.gb-play-context{display:flex;align-items:center;gap:10px;padding:10px 4px 12px;color:var(--keys-navy);font-size:18px;font-weight:750}
.gb-play-context svg{width:28px;height:28px;flex-shrink:0}
.keys-ui-icon{display:inline-block;width:24px;height:24px;vertical-align:middle;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
@media(prefers-reduced-motion:reduce){.phone *{scroll-behavior:auto!important;animation:none!important;transition:none!important}}
.phone :is(.record-weather,.gb-result) svg{width:30px;height:30px;fill:none;stroke:currentColor}
.phone .record-kind.good{background:var(--keys-positive-bg)!important;border:1px solid var(--keys-line);box-shadow:none;color:var(--keys-navy)}
.phone .record-kind.bad{background:var(--keys-negative-bg)!important;border:1px solid var(--keys-line);box-shadow:none;color:var(--keys-navy)}
.phone .record-kind .kind-face{background:var(--keys-paper);color:var(--keys-navy);box-shadow:none}
.phone .home-entrances>button{vertical-align:top;text-align:left}
.phone .home-entrances>button h2,.phone .home-entrances>button p{margin:0}
.phone .home-entrances .mini-plays{margin:8px 0;min-height:28px}
.phone .home-count-note{font-size:12px!important;line-height:1.5}
.phone .gb-block-5>.cc-section{border:0;padding:0;background:transparent}
.phone .cc-writing textarea{border:1px solid #c7d6e6}
.phone .profile-photo{background:var(--keys-sky)!important}

/* Reference palette: airy pastel sections with navy typography and white answers. */
:root{--keys-navy:#0c3064;--keys-blue:#2177d7;--keys-sky:#eaf5ff;--keys-canvas:#f6fafc;--keys-ink:#0c3064;--keys-line:#e1ebf4;--keys-mint:#eafaf2;--keys-rose:#fff0f5;--keys-cream:#fff7d8;--keys-pink:#ee527e;--keys-positive:#13845b;--keys-positive-bg:#e7f8ee;--keys-negative:#c33759;--keys-negative-bg:#fff0f4}
.phone .home-start .primary{background:var(--keys-pink)!important;border:1px solid var(--keys-pink);border-radius:14px;box-shadow:0 4px 12px #ee527e20}
.phone .home-entrances>button.pink{background:var(--keys-rose)!important;border:1px solid #fbe3ec;border-top:0}
.phone .home-entrances>button.yellow{background:var(--keys-cream)!important;border:1px solid #f7efcb;border-top:0}
.phone .home-entrances .pink .entrance-icon{background:var(--keys-pink);color:white}
.phone .home-entrances .yellow .entrance-icon{background:#f6c636;color:var(--keys-navy)}
.phone .home-message{background:linear-gradient(105deg,#eef6ff,#fff9e9)}
.phone .gb-page-summary .gb-block{border:0;border-radius:18px;box-shadow:0 2px 12px #12345d04!important}
.phone .gb-page-summary .gb-block-1{background:var(--keys-mint);border-top:0}
.phone .gb-page-summary .gb-block-2{background:var(--keys-rose)}
.phone .gb-page-summary .gb-block-3{background:var(--keys-sky)}
.phone .gb-page-summary .gb-block-4{background:var(--keys-paper);border:1px solid var(--keys-line)}
.phone .gb-page-summary .gb-block-5{background:#effaf6}
.phone .gb-page-summary .gb-block-1 .gb-step{background:#c7f1dc!important;color:#116d49!important}
.phone .gb-page-summary .gb-block-2 .gb-step{background:#ffd9e5!important;color:#bd3355!important}
.phone .gb-page-summary .gb-block-3 .gb-step{background:#cfe7ff!important;color:#165ca5!important}
.phone .gb-page-summary .gb-block-4 .gb-step{background:var(--keys-cream)!important;color:#8c6500!important}
.phone .gb-page-summary .gb-block-5 .gb-step{background:#d6f2e5!important;color:#166d51!important}
.phone .gb-page-summary :is(.gb-trend,.gb-next-row){background:white;border:0;padding:14px;border-radius:14px}
.phone .gb-trend-path{border-left:3px solid var(--keys-blue);padding-left:9px}
.phone .gb-play-tabs button{border-radius:18px;background:#eaf3fc}
.phone .gb-play-tabs button[aria-pressed=true]{background:var(--keys-navy);box-shadow:none}
.phone .coach-consultation .cc-theme{background:var(--keys-cream)}
.phone .cc-writing h2>span{background:#d9ecff!important;color:#15549b!important}
.phone .cc-writing:nth-of-type(5) h2>span{background:#d6f2e5!important;color:#166d51!important}
.phone .gb-door,.phone .gb-play-row{background:white;border-color:var(--keys-line)}
.phone .profile-journey>p{background:var(--keys-sky)}
/* Photos identify the play; adjacent labels stay on a solid, readable surface. */
.phone .gb-play-row>.gb-play-photo{width:62px;height:62px;flex:0 0 62px;border-radius:12px;overflow:hidden}
.phone .gb-play-context{background:white;border:1px solid var(--keys-line);border-radius:16px;padding:10px;margin:0 0 12px;gap:16px;min-height:82px}
.phone .gb-play-context>.gb-play-photo{width:88px;height:88px;flex:0 0 88px;border-radius:12px;overflow:hidden}
.phone .gb-play-context>span:last-child{font-size:22px;line-height:1.4}
@media(max-width:360px){.phone .gb-play-context>.gb-play-photo{width:72px;height:72px;flex-basis:72px}}
/* Distinct recording and reading entrances, with shared colors and typography. */
.phone .home-message{display:none}
.phone .home-latest{margin:24px 0}
.phone .home-latest-row{display:flex;align-items:center;gap:12px;width:100%;text-align:left;background:white;border:1px solid var(--keys-line);border-radius:16px;padding:14px;margin:8px 0;color:var(--keys-navy)}
.home-record-icon{width:32px;flex:0 0 32px}.home-record-icon svg{width:32px;height:32px}
.home-record-copy{display:flex;flex-direction:column;min-width:0;flex:1;gap:3px}
.home-record-copy small{color:var(--keys-muted);font-size:12px}.home-record-copy strong{font-size:16px}
.home-record-copy>span{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-size:13px;color:var(--keys-muted)}
.phone .home-book-entry h2{font-size:19px}
.phone .gb-page-top{background:var(--keys-canvas);padding-top:0}
.gb-library-heading{padding:24px 4px 22px;border-bottom:1px solid var(--keys-line);margin-bottom:20px}
.gb-library-heading>small{font-size:11px;letter-spacing:.16em;color:var(--keys-blue);font-weight:700}
.phone .gb-library-heading h1{font-size:28px;margin:6px 0 8px}
.phone .gb-library-heading p{font-size:14px;margin:0;color:var(--keys-muted)}
.phone .gb-page-top .gb-doors{display:flex;flex-direction:column;gap:14px;padding:0;margin:0 0 28px}
.phone .gb-page-top .gb-door{position:relative;display:flex;flex-wrap:wrap;align-items:center;gap:14px;padding:16px;border:1px solid var(--keys-line);background:white;border-radius:18px;overflow:hidden}
.gb-door-copy{flex:1;min-width:0}
.phone .gb-page-top .gb-door strong{display:block;font-size:20px;margin-bottom:5px}
.phone .gb-page-top .gb-door small{display:block;font-size:13px;color:var(--keys-muted);line-height:1.6}
.phone .gb-page-top .gb-door:nth-child(2){background:var(--keys-cream);border-color:#f7efcb}
.gb-door-self{display:grid;place-items:center;width:52px;height:52px;background:#fff;border-radius:50%;flex:0 0 52px}
.gb-door-self svg{width:30px;height:30px;color:var(--keys-navy)}
.phone .gb-page-top .gb-door>b{color:var(--keys-blue);font-size:24px}
.phone .gb-page-top .gb-panel h2{font-size:19px}
.phone .gb-page-top .gb-library-heading{display:block;height:auto;min-height:0;position:static}
.phone .gb-page-top .gb-door{display:grid;grid-template-columns:52px 1fr auto}
.phone .gb-page-top .gb-door:nth-child(2){grid-template-columns:52px 1fr auto}
.phone .gb-page-top .gb-door>.gb-door-self{width:52px;height:52px;flex:none}

/* A quiet chalkboard note introduces the purpose of the playbook. */
.phone .gb-page-top .gb-library-heading{padding:20px 4px 16px;margin-bottom:0;border:0}
.phone .gb-page-top .gb-doors{gap:10px;margin-bottom:24px}
.phone .gb-page-top .gb-door{padding:18px 16px;border:1px solid #fbe3ec;background:var(--keys-rose);box-shadow:0 3px 12px #14335b04}
.phone .gb-page-top .gb-door:nth-child(2){background:var(--keys-cream);border-color:#f7efcb}
.phone .gb-page-top .gb-door strong{font-size:18px}
.phone .gb-page-top .gb-door small{font-size:12px}
.phone .gb-page-top .gb-door-self{background:#fff4d8;border-radius:16px}
.phone .gb-page-top .gb-door-ball{background:var(--keys-rose)}
.phone .gb-chalkboard{position:relative;margin:0 0 20px;padding:22px 20px 26px;border-radius:16px;background:linear-gradient(120deg,#244b46,#173c38);border:1px solid #365d54;border-bottom:6px solid #bb9364;box-shadow:0 5px 14px #193d3810;color:#f5faf4}
.phone .gb-chalk-heading>small{font-size:11px;letter-spacing:.08em;color:#c6dcd0}
.phone .gb-chalkboard h2{font-size:22px;line-height:1.65;color:#fff;margin:10px 0 12px;font-weight:700}
.phone .gb-chalkboard em{font-style:normal;color:#ffe28a;text-decoration:underline;text-decoration-color:#e5c16c;text-underline-offset:6px;text-decoration-thickness:2px}
.phone .gb-chalkboard p{font-size:14px;line-height:1.85;color:#e5efe6;margin:0}
.phone .gb-chalkboard .gb-chalk-note{font-size:12px;color:#c6dcd0;margin-top:14px}
.gb-chalk-piece{position:absolute;right:22px;bottom:0;width:26px;height:5px;border-radius:2px;background:#fff5d6;transform:rotate(-3deg)}

.gb-chalk-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:40px}
.gb-chalk-ball{display:block;width:44px;height:44px;flex:0 0 44px;color:#e0e9d9;transform:rotate(-17deg);opacity:.8}
.gb-chalk-ball>.manual-icon{width:44px;height:44px;stroke-width:1.45;filter:url(#gb-chalk-texture)}
.gb-chalk-filter{position:absolute;pointer-events:none}

/* Keep decorative ball color out of the monochrome chalk drawing. */
.gb-chalk-ball .icon-ball-panel{fill:none}
.phone .ds-bottom-nav .current .icon-home{fill:currentColor}
.phone .manual-icon{flex-shrink:0}
/* Icon colors follow purpose, rather than one fixed brand ink. */
.phone :is(.mini-plays,.home-record-icon,.gb-door-ball) .manual-icon{color:#3978a6}
.phone .gb-door-self:not(.gb-door-ball) .manual-icon{color:#a77b29}
.phone .ds-bottom-nav button:not(.current) svg{color:#8393a6}
.phone .ds-bottom-nav button.current svg{color:#347dcc}
.phone .profile-menu .icon-settings{color:#758296}
.phone .profile-menu .icon-goal{color:#c89527}
.phone .profile-menu .icon-coach{color:#339980}
.phone .gb-result.sun .manual-icon{color:#219a67}
.phone .gb-result.rain .manual-icon{color:#df6285}


/* Home entrance cards: one icon, a short description, and the existing count. */
.phone .home-entrances>button{display:flex;flex-direction:column;align-items:flex-start;padding:18px 16px;gap:0}
.phone .home-entrances>button .entrance-icon{margin-bottom:14px}
.phone .home-entrances>button h2{font-size:18px;margin:0 0 6px}
.phone .home-entrances>button p{font-size:13px;line-height:1.65;margin:0}
.phone .home-entrances .home-entrance-count{display:flex;align-items:baseline;gap:7px;margin-top:auto;padding-top:24px}
.phone .home-entrances .home-entrance-count strong{font-size:28px;line-height:1;font-weight:750}
.phone .home-entrances .home-entrance-count small{font-size:12px;line-height:1.5}

/* Original school artwork, kept intact and separate from app controls. */

.phone .school-brand-signature{display:flex;justify-content:flex-end;padding:8px 0 0;margin:0;pointer-events:none}
.phone .school-brand-signature img{display:block;width:40px;height:40px;object-fit:contain;mix-blend-mode:multiply;opacity:.7}

/* Playbook thumbnails use matching pop illustrations. */
.phone .gb-play-photo.play-serve{background-image:url('../assets/play-illustration-serve.png');background-size:contain;background-position:center;background-repeat:no-repeat;background-color:#fffaf1}
.phone .gb-play-photo.play-receive{background-image:url('../assets/play-illustration-receive.png');background-size:contain;background-position:center;background-repeat:no-repeat;background-color:#fffaf1}
.phone .gb-play-photo.play-dig{background-image:url('../assets/play-illustration-dig.png');background-size:contain;background-position:center;background-repeat:no-repeat;background-color:#fffaf1}
.phone .gb-play-photo.play-set{background-image:url('../assets/play-illustration-set.png');background-size:contain;background-position:center;background-repeat:no-repeat;background-color:#fffaf1}
.phone .gb-play-photo.play-spike{background-image:url('../assets/play-illustration-spike.png');background-size:contain;background-position:center;background-repeat:no-repeat;background-color:#fffaf1}
.phone .gb-play-photo.play-block{background-image:url('../assets/play-illustration-block.png');background-size:contain;background-position:center;background-repeat:no-repeat;background-color:#fffaf1}

/* Playbook information hierarchy: one discovery, two summaries, two links. */
.phone .gb-page-summary .gb-play-tabs{flex-wrap:nowrap;overflow-x:auto;gap:6px;padding-bottom:8px;margin-bottom:8px}
.phone .gb-page-summary .gb-play-tabs button{flex:0 0 auto;font-size:12px;padding:8px 12px;min-height:38px}
.phone .gb-page-summary .gb-play-context{min-height:0;padding:4px 0 12px;border:0;background:transparent;margin:0;gap:12px}
.phone .gb-page-summary .gb-play-context>.gb-play-photo{width:48px;height:48px;flex-basis:48px}
.phone .gb-page-summary .gb-play-context>span:last-child{font-size:19px}
.phone .gb-featured{background:white;border:1px solid var(--keys-line);border-radius:18px;padding:20px;margin:0 0 14px}
.phone .gb-featured>h2{font-size:18px;line-height:1.5;margin:0 0 18px}
.phone .gb-featured>.gb-trend{border:0;border-radius:0;background:transparent;margin:0;padding:0;box-shadow:none}
.phone .gb-featured .gb-trend-answer{font-size:23px;line-height:1.5;color:var(--keys-navy);margin:12px 0}
.phone .gb-featured .gb-trend-path{font-size:12px;border:0;padding:0;color:var(--keys-muted);line-height:1.6}
.phone .gb-featured .gb-trend-counts{font-size:12px;gap:6px;flex-wrap:wrap}
.phone .gb-feature-note{font-size:11px;color:var(--keys-muted);line-height:1.6;margin:14px 0}
.gb-discoveries>summary{display:flex;justify-content:space-between;align-items:center;cursor:pointer;font-size:13px;color:var(--keys-blue);min-height:44px;list-style:none}
.gb-discoveries>summary::-webkit-details-marker{display:none}
.gb-discoveries[open]>summary span{transform:rotate(90deg)}
.phone .gb-discoveries .gb-trend{border:0;border-bottom:1px solid var(--keys-line);border-radius:0;padding:16px 0;background:transparent}
.phone .gb-discoveries .gb-trend-answer{font-size:19px}
.gb-summary-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin-bottom:14px;align-items:start}
.phone .gb-summary-tile{background:#f2f6fa;border:1px solid var(--keys-line);border-radius:16px;overflow:hidden}
.gb-summary-tile>summary{position:relative;padding:16px;list-style:none;cursor:pointer;min-height:92px;box-sizing:border-box}
.gb-summary-tile>summary::-webkit-details-marker{display:none}
.gb-summary-tile>summary>span{display:block;font-size:13px;font-weight:650}
.gb-summary-tile>summary>strong{display:block;font-size:26px;margin-top:10px;line-height:1}
.gb-summary-tile>summary small{font-size:12px;margin-left:5px;font-weight:500}
.gb-summary-tile>summary>b{position:absolute;right:16px;bottom:16px;color:var(--keys-blue)}
.gb-summary-tile[open]{grid-column:1/-1}
.gb-summary-tile[open]>summary>b{transform:rotate(90deg)}
.gb-tile-content{padding:0 16px 16px}
.phone .gb-history-entry,.phone .gb-consult-entry{background:white;border-bottom:1px solid var(--keys-line);margin:0;padding:0}
.gb-history-entry>summary{display:flex;align-items:center;gap:12px;padding:18px 14px;list-style:none;cursor:pointer;font-size:15px}
.gb-history-entry>summary::-webkit-details-marker{display:none}
.gb-history-entry>summary>span{flex:1;font-weight:650}
.gb-history-entry>summary>small{color:var(--keys-muted)}
.gb-history-entry[open]>summary>b{transform:rotate(90deg)}
.gb-history-content{padding:0 14px 16px}
.phone .gb-consult-link{display:flex;align-items:center;justify-content:space-between;width:100%;background:transparent;padding:18px 14px;color:var(--keys-navy);font-size:15px;text-align:left}
@media(max-width:350px){.gb-summary-tile>summary{padding:13px}.gb-summary-tile>summary>span{font-size:12px}.phone .gb-featured{padding:16px}}
.phone .gb-history-entry>summary{display:flex;justify-content:space-between}
.phone :is(.gb-summary-tile,.gb-history-entry,.gb-discoveries)>summary::after{content:none!important}
.phone .gb-featured>.gb-trend>summary{padding:0;min-height:0}
.phone .gb-featured .gb-feature-note{margin:12px 0 4px}
.phone .gb-discoveries{margin:0}

/* Subtle playbook identity, without changing the compact information hierarchy. */
.phone .gb-page-summary .gb-play-context{position:relative;overflow:hidden;background:linear-gradient(110deg,#fff,#f0f5fa);border:1px solid #e5edf4;border-radius:14px;padding:10px 12px;margin:2px 0 14px;gap:14px}
.phone .gb-page-summary .gb-play-context::after{content:"";position:absolute;right:-24px;top:-30px;width:115px;height:110px;border:1px solid #dfe9f180;border-radius:50%;transform:rotate(-25deg);pointer-events:none}
.phone .gb-page-summary .gb-play-context>.gb-play-photo{width:58px;height:58px;flex-basis:58px;border-radius:10px}
.phone .gb-page-summary .gb-play-title{position:relative;z-index:1;min-width:0;display:flex;flex-direction:column;gap:5px}
.phone .gb-play-title strong{font-size:20px;line-height:1.35}
.phone .gb-play-title small{font-size:11px;font-weight:500;letter-spacing:.04em;color:var(--keys-muted)}
.phone .gb-featured{position:relative;border-left:3px solid #f1c94c;box-shadow:0 4px 14px #12345d05}
.gb-feature-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:0 0 20px}
.phone .gb-feature-heading h2{font-size:18px;line-height:1.5;margin:0}
.phone .gb-feature-heading h2 small{display:block;font-size:12px;font-weight:500;color:var(--keys-muted);margin-bottom:2px}
.gb-discovery-mark{display:grid;place-items:center;width:34px;height:34px;flex:0 0 34px;border-radius:50%;background:#fff6d8;color:var(--keys-navy)}
.gb-discovery-mark svg{width:22px;height:22px}
.phone .gb-featured>.gb-trend .gb-trend-answer{font-size:24px;font-weight:750;line-height:1.5}
.phone .gb-summary-tile>summary{display:grid;grid-template-columns:22px 1fr;align-items:center;gap:8px 7px;min-height:96px;padding:14px 12px}
.gb-summary-symbol{display:grid;place-items:center;width:22px;height:22px;color:var(--keys-navy);font-style:normal}
.gb-summary-symbol svg{width:19px;height:19px}
.gb-symbol-question{background:#fff0ba;border-radius:50%;font-size:17px;font-weight:750}
.phone .gb-summary-tile>summary>span{font-size:12px;line-height:1.4}
.phone .gb-summary-tile>summary>strong{grid-column:2;margin-top:0}
.gb-menu-symbol{display:flex;flex:0 0 20px}
.gb-menu-symbol svg,.phone .gb-consult-link>svg{width:20px;height:20px;color:var(--keys-navy)}
.phone .gb-consult-link{gap:12px}
.phone .gb-consult-link>span{flex:1}
@media(max-width:350px){.phone .gb-summary-tile>summary{padding:12px 10px;column-gap:5px}.phone .gb-play-title strong{font-size:18px}}
.phone .gb-history-entry>summary{display:flex!important;flex-wrap:nowrap!important;align-items:center;gap:12px}
.phone .gb-history-entry>summary>span{display:block;flex:1;min-width:0}
.phone .gb-history-entry>summary>small,.phone .gb-history-entry>summary>b{flex:0 0 auto;position:static;margin:0}

/* Final detail pass: a quiet cover motif and conversational summary counts. */
.phone .gb-page-summary .gb-play-context::after{right:-6px;top:12px;width:94px;height:54px;border:1px solid #c9dce64d;border-radius:0;transform:skewX(-18deg);background:linear-gradient(#c9dce64d,#c9dce64d) center/1px 100% no-repeat,linear-gradient(#c9dce64d,#c9dce64d) center/100% 1px no-repeat}
.phone .gb-summary-tile>summary>strong{font-size:17px;font-weight:600;line-height:1.5}
.phone .gb-summary-tile>summary>strong small{font-size:14px;font-weight:500;margin-left:1px}

/* Overview: existing findings remain individually expandable, never ranked anew. */
.phone .gb-overview>.gb-trend{padding:16px 0;border-bottom:1px solid var(--keys-line)}
.phone .gb-overview>.gb-trend .gb-trend-answer{font-size:20px;margin:8px 0}
.phone .gb-overview .gb-feature-heading h2{font-size:18px;line-height:1.5}
.gb-evidence-count{display:block;color:var(--keys-muted);font-size:12px;margin:5px 0}
.gb-pending-overview{background:white;border:1px solid var(--keys-line);border-radius:16px;padding:16px;margin-bottom:14px}
.gb-pending-overview h2{font-size:17px;margin:0 0 12px}.gb-pending-overview h2 small{font-size:12px;font-weight:400;margin-left:8px}
.phone .gb-pending-overview .gb-next-row{padding:12px 0;border-bottom:1px solid var(--keys-line);border-radius:0}
.gb-radar-only{grid-template-columns:1fr}.cc-known-step>.cc-section{margin:0;border:0;padding:0;box-shadow:none}

/* The six-stage journey: presentation only, scoped away from home/library. */
.gb-overview-tabs{display:flex;gap:0;border-bottom:1px solid var(--keys-line);margin:0 0 18px}
.gb-overview-tabs button{flex:1;min-width:0;min-height:44px;padding:9px 3px;background:transparent;border:0;border-bottom:2px solid transparent;border-radius:0;color:var(--keys-muted);font-size:12px;white-space:nowrap}
.gb-overview-tabs button[aria-pressed=true]{color:var(--keys-blue);border-bottom-color:var(--keys-blue);font-weight:700}
[data-overview-panel][hidden]{display:none!important}
.phone .gb-page-summary .gb-overview{border:0;padding:0;background:transparent;box-shadow:none}
.phone .gb-overview .gb-discovery-mark{display:none}
.phone .gb-overview>.gb-trend{background:#fff;border-left:3px solid #eed889;border-bottom:1px solid var(--keys-line);border-radius:8px;padding:13px 12px;margin-bottom:10px}
.phone .gb-overview>.gb-trend .gb-trend-answer{font-size:18px;margin:6px 0;line-height:1.6}
.phone .gb-overview .gb-feature-heading{margin-bottom:12px}
.phone .gb-overview .gb-feature-heading h2{font-size:16px}
.phone .gb-overview .gb-trend-counts{gap:5px;font-size:11px}
.phone .gb-page-summary .gb-pending-overview{padding:14px 0;border:0;border-radius:0;background:transparent;margin:0 0 14px}
.phone .gb-pending-overview .gb-tile-content{padding:0}
.phone .gb-pending-overview .gb-next-row{background:#edf3f9;border:0;border-radius:8px;padding:12px;margin-bottom:8px}
.phone .gb-page-summary .gb-consult-link{background:var(--keys-navy);color:white;border-radius:12px;margin-top:12px}
.phone .gb-page-summary .gb-consult-link b{color:inherit}
.phone .comparison-excerpt{padding:14px;border:1px solid var(--keys-line);border-radius:12px;background:white;margin:8px 0 16px}
.phone .comparison-excerpt>blockquote{font-size:16px;line-height:1.6;margin:10px 0;padding:0;background:transparent;border:0}
.phone .comparison-excerpt>small{font-size:12px;color:var(--keys-muted)}
.phone .comparison-excerpt>details>summary{font-size:12px;min-height:44px;color:var(--keys-blue)}
.phone .reflection-form>h1{font-size:20px}.phone .reflection-form>h2{font-size:17px;line-height:1.7}
.phone .reflection-form>.reflection-quote{background:#eef4fc;border:0;border-radius:10px;padding:14px;font-size:16px}
.phone .recordDetail .reflection-entry{border-left:2px solid var(--keys-blue);padding-left:15px;margin-left:6px}
.phone .coach-consultation .cc-known-step .cc-section{background:transparent;border:0;padding:0}
.phone .coach-consultation .cc-known-step .cc-section>header h2{display:none}
.phone .coach-consultation .cc-known-step .cc-word{margin:8px 0;padding:10px;background:#f2f6fb;border:0;border-radius:8px}
.phone .coach-consultation .cc-known-step .cc-mark{display:none}
.phone .aspect-book>h2{font-size:18px;margin:16px 0 6px}
.aspect-card{border-bottom:1px solid var(--keys-line);background:white;margin:8px 0;border-radius:10px}
.aspect-card>summary{position:relative;cursor:pointer;list-style:none;padding:14px 30px 14px 14px}
.aspect-card>summary:after{content:'›';position:absolute;right:12px;top:20px;color:var(--keys-blue)}
.aspect-card[open]>summary:after{transform:rotate(90deg)}
.aspect-card>summary strong{font-size:17px;display:block}.aspect-card>summary small{display:block;font-size:12px;margin:5px 0;color:var(--keys-muted)}
.aspect-status{display:flex;flex-wrap:wrap;gap:4px 12px;font-size:12px;color:var(--keys-navy)}
.aspect-content{padding:0 14px 16px}.aspect-content h3{font-size:16px}.aspect-question{border-top:1px solid var(--keys-line);padding:14px 0}.aspect-question h4{font-size:15px;margin:6px 0}
.aspect-answer>summary{cursor:pointer;padding:12px 0;font-size:14px;line-height:1.6}.aspect-answer b{white-space:nowrap;margin-left:8px}
.aspect-answer .gb-link{display:block;text-align:left;width:100%;line-height:1.6;margin:4px 0}
.aspect-radar,.aspect-unassigned{margin:14px 0;background:#f0f5fa;border-radius:10px;padding:12px}
.aspect-radar>summary,.aspect-unassigned>summary{cursor:pointer;font-size:14px;min-height:32px}

/* Playbook chapters: the player's words lead, counts remain supporting text. */
.phone .aspect-card{border:0;border-bottom:1px solid #dfe7ef;border-radius:0;margin:0;background:transparent}
.phone .aspect-card>summary{padding:20px 24px 20px 2px}
.phone .aspect-card>summary:after{top:50%;right:3px}
.phone .aspect-title-row{display:flex;align-items:baseline;justify-content:space-between;gap:12px}
.phone .aspect-card>summary .aspect-title-row>strong{display:inline-block;background:#fff0ae;color:#123355;border-radius:6px;padding:5px 10px;line-height:1.5}
.phone .aspect-title-row small{font-size:11px;font-weight:400;color:#61758b;white-space:nowrap;margin:0}
.phone .aspect-preview-context{display:block;color:#61758b;font-size:12px;margin:12px 0 5px;line-height:1.5}
.phone .aspect-preview{display:block;font-size:17px;line-height:1.6;font-weight:700;color:#123355}
.phone .aspect-preview-empty{display:block;font-size:13px;line-height:1.6;color:#61758b;margin-top:10px}
.phone .aspect-status{margin-top:12px;font-size:11px;gap:14px;color:#61758b}
.phone .aspect-content{padding:18px 2px;border-top:1px solid #dfe7ef}
.phone .aspect-content h3{font-size:21px;margin:0 0 8px}
.phone .aspect-question{padding:22px 0;border-top:1px solid #dfe7ef}
.phone .aspect-question h4{font-size:16px;line-height:1.6;margin:0}
.phone .aspect-your-records{font-size:12px;font-weight:600;margin:18px 0 6px}
.phone .aspect-answer>summary{display:block;list-style:none;padding:10px 0;cursor:pointer}
.phone .aspect-answer>summary::-webkit-details-marker,.phone .aspect-card>summary::-webkit-details-marker{display:none}
.phone .aspect-answer-line{display:flex;gap:10px;align-items:baseline;font-size:14px;line-height:1.6}
.phone .aspect-answer-line>span{flex:1}
.phone .aspect-answer-line b{font-size:12px;font-weight:500;white-space:nowrap}
.phone .aspect-answer-line i{font-style:normal;color:#61758b}
.phone .aspect-bar{display:block;height:4px;background:#eaf0f6;border-radius:4px;margin-top:7px;overflow:hidden}
.phone .aspect-bar>span{display:block;height:100%;background:#7ca8d1;border-radius:4px}
.phone .aspect-question .gb-trend{background:transparent;border:0;border-left:3px solid #efc847;border-radius:0;box-shadow:none;margin:20px 0 4px;padding:0 0 0 12px}
.phone .aspect-finding-label{display:block;font-size:12px;color:#61758b;margin-bottom:6px}
.phone .aspect-finding-answer{display:block;font-size:19px;line-height:1.6}
.phone .aspect-evidence>summary{display:flex;justify-content:space-between;padding:14px 0;font-size:13px;color:#245b91;cursor:pointer;list-style:none}
.phone .aspect-answer-evidence{padding:12px 0}
.phone .aspect-source{padding:12px 0;border-bottom:1px solid #e3eaf1;background:transparent}
.phone .aspect-source small,.phone .aspect-source span{display:block}
.phone .aspect-source small{font-size:12px;color:#61758b}
.phone .aspect-reading-note{font-size:12px;color:#61758b;margin-top:16px}

/* Clear chapter labels and compact, readable answer distributions. */
.phone .aspect-card>summary .aspect-title-row>strong{background:linear-gradient(transparent 65%,#f8e8a8 65%);border-radius:0;padding:0 2px}
.phone .aspect-preview{margin-top:14px;font-size:18px;line-height:1.65}
.phone .aspect-preview-context{margin:4px 0 0;color:#6d8094;font-size:12px}
.phone .aspect-content{padding:20px 0 12px}
.phone .aspect-question{background:#fff;border:1px solid #e4ebf2;border-radius:12px;padding:16px;margin:16px 0}
.phone .aspect-question>.aspect-title-row{padding-bottom:12px;border-bottom:1px solid #edf1f5}
.phone .aspect-question .aspect-answer>summary{display:grid;grid-template-columns:minmax(0,1fr) 72px auto 8px;gap:8px;align-items:center;padding:9px 0}
.phone .aspect-answer-line{display:contents}
.phone .aspect-answer-line>span{grid-column:1;grid-row:1;font-size:13px;line-height:1.6}
.phone .aspect-answer-line>b{grid-column:3;grid-row:1;margin:0;font-size:12px}
.phone .aspect-answer-line>i{grid-column:4;grid-row:1;font-size:13px}
.phone .aspect-answer>summary>.aspect-bar{grid-column:2;grid-row:1;height:7px;margin:0;background:#edf3f9}
.phone .aspect-bar>span{background:#649ed5}
.phone .aspect-question .gb-trend{background:#fffbeb;border:0;border-radius:10px;margin:16px 0 0;padding:14px}
.phone .aspect-finding-label{font-size:12px;font-weight:700;color:#314c68}
.phone .aspect-finding-answer{font-size:17px;line-height:1.65}
.phone .aspect-question .gb-trend-counts{gap:6px;flex-wrap:wrap}
@media(max-width:360px){.phone .aspect-question .aspect-answer>summary{grid-template-columns:minmax(0,1fr) 44px auto 8px;gap:6px}}

/* Final reading hierarchy: words, status, then question context. */
.phone .aspect-card>summary .aspect-title-row>strong{background:linear-gradient(transparent 82%,#f4e8b6 82%)}
.phone .aspect-status{margin-top:10px;color:#526a82;line-height:1.7}
.phone .aspect-preview-context{margin-top:9px;font-size:11px;line-height:1.6;color:#718296}
.phone .aspect-title-row small{font-size:11px;color:#718296}
.phone .aspect-question .aspect-answer>summary{grid-template-columns:minmax(0,1fr) auto 10px;gap:7px 10px;min-height:48px;padding:12px 0}
.phone .aspect-answer-line>b{grid-column:2}
.phone .aspect-answer-line>i{grid-column:3}
.phone .aspect-answer>summary>.aspect-bar{grid-column:1 / 3;grid-row:2;height:5px}
.phone .aspect-question .gb-trend{background:#f3f7fb;border-radius:8px}
.phone .aspect-finding-answer{margin:10px 0 12px}
.phone .aspect-caution{font-size:11px;line-height:1.7;color:#65788d;margin:10px 0 0}
.phone .aspect-card>summary:focus-visible,.phone .aspect-answer>summary:focus-visible{outline:2px solid #547fa9;outline-offset:3px}
.phone .aspect-source{min-height:48px}

.phone .coach-export{margin:12px 0 24px;padding:16px;background:#f1f6fa;border-radius:12px}
.phone .coach-export summary{cursor:pointer;min-height:44px;font-weight:700}
.phone .coach-export label{display:block;margin:16px 0}
.phone .coach-export input:not([type=checkbox]),.phone .coach-export select{display:block;width:100%;min-height:48px;font-size:16px;margin-top:6px}
.phone .coach-export input[type=checkbox]{width:20px;height:20px;vertical-align:middle;margin-right:8px}
.phone .coach-export p{font-size:13px;line-height:1.7}
.phone .coach-export output{display:block;margin:18px 0;font-weight:600;line-height:1.8}

/* Settings: primary export action and quieter backup disclosure. */
.phone .coach-export{padding:0;background:transparent}
.phone .coach-export > summary{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:58px;padding:16px 18px;border-radius:12px;background:#173e70;color:#fff;font-size:16px;font-weight:700;list-style:none;box-shadow:0 3px 9px #173e7020}
.phone .coach-export > summary::-webkit-details-marker{display:none}
.phone .coach-export > summary::after{content:'＋';font-size:20px}
.phone .coach-export[open] > summary::after{content:'−'}
.phone .coach-export > summary:focus-visible,.phone .data-transfer > summary:focus-visible{outline:3px solid #e8ba35;outline-offset:3px}
.phone .coach-export form{padding:4px 16px 16px;background:#f1f6fa;border-radius:0 0 12px 12px}
.phone .data-transfer{border-top:1px solid #dce4ed;border-bottom:1px solid #dce4ed;margin:20px 0;padding:4px 0}
.phone .data-transfer > summary{cursor:pointer;padding:16px 4px;font-size:15px;font-weight:600;min-height:52px}
.phone .data-transfer p{font-size:13px;line-height:1.7}
.phone .data-transfer label{display:block;margin:12px 0}
.cloud-status{position:fixed;top:0;left:0;right:0;z-index:10000;background:#edf4fb;color:#173653;padding:4px 12px;font-size:12px;text-align:center}.cloud-status button{font:inherit;margin-left:8px}body:has(.cloud-status){padding-top:32px}#login label{display:block;margin:20px 0}#login input{display:block;width:100%;min-height:48px;font-size:16px}

/* Home lower sections: blue records / lemon weekly accumulation. */
.phone .home .home-latest{margin:24px 0 28px;padding:16px 12px 12px;background:#F4F8FF;border:0;border-radius:12px;box-shadow:none}
.phone .home .home-latest .section-heading{margin:0 2px 12px}
.phone .home .home-latest-row{background:#fff;border-color:#E1EAF6;box-shadow:0 2px 5px #183B6503;margin:10px 0;border-radius:12px}
.phone .home .home-latest-row:last-child{margin-bottom:0}
.phone .home .weekly-view{margin:28px 0 20px;padding:16px 14px;background:#FFF9E8;border:0;border-radius:12px;box-shadow:none}
.phone .home .weekly-view .viz-heading{margin-bottom:16px}
.phone .home .weekly-view .week-days{background:transparent}
.phone .home .weekly-view .week-days>div>span{background:#FFFDF5;border-color:#F3EBCF;box-shadow:none;color:#49617C}
.phone .home .weekly-view .week-days>div.recorded>span{background:#FFED9D;border-color:#F3D66A;color:#193653;font-weight:700;box-shadow:none}
.phone .home .weekly-view .week-days small{color:#344E6C}
.phone .home .weekly-view .viz-note{color:#60728A;margin-bottom:0}
