/* The structure and controls are shared; pictograms become compact labelled cards. */
:root{--bg:#FAF6EF;--ink:#493326;--muted:#766657;--olive:#8A6A53;--dark:#654431;--forest:#503828;--sage:#E9DCCB;--pale:#F4ECE0;--mint:#F5EEE5;--moss:#A28D79;--warm:#F0E5D8;--line:#E7DBCE;--shadow:0 3px 18px #65443106;background:#EFE7DC}
body.text-mode:not(.text-ready) .app-shell{visibility:hidden}
.text-mode .app-shell .companion{background-image:url('assets/three-leaves.svg')!important;background-size:contain!important;background-position:center!important;background-repeat:no-repeat!important;mix-blend-mode:normal;width:61px!important;height:75px!important;margin:0!important}
.text-mode .app-shell .companion-prompt .companion{width:34px!important;height:46px!important}.text-mode .app-shell .coach-note .companion{width:40px!important;height:59px!important}
.text-mode .list-symbol,.text-mode .profile-card-icon,.text-mode .report-icon,.text-mode .section-icon,.text-mode .profile-mini-icons,.text-mode .profile-check{display:none!important}
.text-mode .app-shell .nav-btn{min-height:49px;gap:0;font-size:11px;line-height:1.3;white-space:normal;padding:8px 2px}.text-mode .app-shell #bottom-nav{gap:3px}
.text-mode .app-shell .period-buttons.four .period-button{min-height:58px;font-size:12px;line-height:1.4;padding:9px 3px;justify-content:center}
.text-mode .app-shell .v-choices .text-choice,.text-mode .app-shell .choices.portions .text-choice{min-height:48px;justify-content:center;align-items:center;gap:0;background:#F4ECE0;border:1px solid #E7DBCE;border-radius:10px;padding:10px 5px}
.text-mode .app-shell .v-choices .text-choice{max-width:none;flex:1 0 47px}.text-mode .app-shell .text-choice .choice-label{color:var(--ink);font-size:12px!important;font-weight:500;line-height:1.45;overflow-wrap:normal}
.text-mode .app-shell .v-choices .text-choice.selected,.text-mode .app-shell .choices.portions .text-choice.selected,.text-mode .app-shell .text-choice.selected{background:var(--dark);color:white;border-color:var(--dark)}
.text-mode .app-shell .text-choice.selected .choice-label{color:white}
.text-mode .app-shell .choice-art{display:none}.text-mode .app-shell .choice.selected .choice-art:after{display:none!important}
.text-mode .app-shell .profile-choice-row[data-profile-options="symbol"] .choice-art{display:flex;position:relative;background:var(--pale);color:var(--dark)}
.text-mode .app-shell .profile-choice-row[data-profile-options="symbol"] .selected .choice-art{background:var(--dark);color:white}
.text-mode .app-shell .profile-choice-row[data-profile-options="symbol"] .choice-art>.icon{color:inherit}.text-mode .app-shell .profile-choice-row[data-profile-options="symbol"] .choice{min-height:78px}
.text-mode .app-shell .third-grid .text-choice{min-height:74px;justify-content:center;padding:12px 7px}
.text-mode .app-shell .profile-choice-row .text-choice,.text-mode .app-shell .journey-options .text-choice{min-height:48px;justify-content:center;padding:9px 6px;background:var(--pale);border:1px solid var(--line);border-radius:10px}
.text-mode .app-shell .profile-choice-row .text-choice.selected,.text-mode .app-shell .journey-options .text-choice.selected{background:var(--dark);color:white;border-color:var(--dark)}
.text-mode .app-shell .symbol-rail{gap:7px;align-items:stretch;padding:4px 0 6px}
.text-mode .app-shell .period-summary .text-summary{flex:0 0 auto;min-width:79px;max-width:158px;align-items:flex-start;justify-content:center;text-align:left;padding:9px 11px;border:1px solid var(--line);border-radius:10px;background:#F4ECE0;gap:4px}
.text-summary strong{font-size:12px;line-height:1.4;font-weight:600}.text-mode .app-shell .period-summary .text-summary>span:last-child{font-size:12px;line-height:1.4;text-align:left;max-width:136px;color:var(--muted)}
.text-summary strong,.text-summary span{overflow-wrap:anywhere}
.text-mode .app-shell .period-summary .card-heading{margin-bottom:2px}.text-mode .profile-preview-three{gap:5px}.text-mode .profile-preview-three .profile-mini{min-height:38px;justify-content:center;font-size:12px}.text-mode .profile-assessment-preview .profile-mini{min-height:35px;justify-content:center;font-size:10px;line-height:1.4}
.text-mode .app-shell .profile-list-row{min-height:61px}.text-mode .app-shell .profile-overview-card{padding:14px!important}.text-mode .app-shell .profile-card-title{gap:0}.text-mode .profile-card-title>span:nth-child(2){padding-right:6px}
.text-mode .picker-options button{min-height:48px;gap:0;padding:11px 7px;justify-content:center}.text-mode .category-choices button{min-height:51px;padding:10px 4px;justify-content:center;font-size:11px}.text-mode .category-choices{gap:5px}
.text-mode .picker-options button.selected{background:var(--dark);border-color:var(--dark);color:white}.text-mode .category-choices button.selected{background:var(--sage);border-color:#B99C84}
.text-record-state{display:flex;align-items:center;justify-content:center;min-height:45px;width:100%;padding:6px 2px;border:1px solid var(--line);border-radius:7px;font-size:11px;line-height:1.4;background:#FFFCF7;color:var(--ink);text-align:center;overflow-wrap:normal}
.text-record-state.match{background:var(--dark);border-color:var(--dark);color:#fff}.text-record-state.no-response-label{border:1px dashed #B6A38F;color:var(--muted);margin-top:2px}
.text-mode .text-week .actual-record{padding:2px 0;gap:4px;min-height:48px}.text-mode .actual-week{grid-template-columns:repeat(7,minmax(44px,1fr));gap:3px}.text-mode .actual-date{font-size:10px}
.text-mode .app-shell .report-link{min-height:64px;gap:7px}.text-mode .coach-note{gap:12px}.text-mode .report-link .list-copy strong{font-size:14px}.text-mode .app-shell .learning-tracks button{justify-content:center;min-height:64px;padding:10px 8px}.text-mode .learning-tracks strong{font-size:13px}.text-mode .learning-tracks small{font-size:11px!important}.text-mode .read-word{font-size:10px;color:var(--dark);font-weight:600;flex:none;margin-left:4px}
.text-mode .lesson-row>span:nth-child(2){flex:1}.text-mode .app-shell .report-reading .eyebrow,.text-mode .app-shell .lesson-reader .eyebrow{color:var(--dark)}
.text-mode .round-btn:empty{display:none}.text-mode .journey-preview{min-height:25px}.text-mode .movement-rhythm{margin-top:15px}
@container(max-width:370px){.text-mode .app-shell .nav-btn{font-size:10px;padding:8px 1px}.text-mode .app-shell .v-choices .text-choice .choice-label{font-size:11px!important}.text-mode .app-shell .period-buttons.four .period-button{font-size:11px}.text-mode .learning-tracks strong{font-size:12px}.text-mode .category-choices button{font-size:10px}}
