.course-tools{display:flex;gap:16px;flex-wrap:wrap;align-items:center;justify-content:space-between;margin:24px 0 12px}.semester-tabs{display:flex;gap:7px;background:#edf3e5;padding:5px;border-radius:17px}.semester-tabs button{padding:10px 16px;border-radius:13px;background:transparent;color:#61755b;font-weight:800;min-height:44px}.semester-tabs button[aria-pressed=true]{background:var(--subject);color:white;box-shadow:0 3px 9px #60834d24}.course-search{border:1px solid #dfe6d4;background:white;border-radius:15px;padding:13px 17px;min-width:270px;max-width:100%;font:inherit;font-size:14px}.course-results-note{color:#70836d;font-size:13px;line-height:1.6;margin:13px 0 20px}.chapter-group{margin:0 0 17px;border:1px solid #e1e7d7;border-radius:22px;background:#fffdf7;overflow:hidden}.chapter-group>summary{padding:20px 23px;display:flex;gap:12px;align-items:center;list-style:none;font-size:18px;color:#294f41}.chapter-group>summary:after{content:'⌄';margin-left:auto;color:var(--subject);font-size:23px}.chapter-group[open]>summary{border-bottom:1px solid #e7ebdd;margin:0}.chapter-group[open]>summary:after{transform:rotate(180deg)}.chapter-label{display:flex;flex-direction:column;gap:4px}.chapter-label small{font-size:11px;font-weight:700;color:#819077}.chapter-count{font-size:12px;color:#87967d;white-space:nowrap;margin-left:auto}.chapter-group .lessons-grid{padding:18px;gap:14px}.chapter-group .lesson-card{background:white}.lesson-info .lesson-meta{color:#a6ae98;font-size:10px;margin-top:5px}.source-progress{display:flex;gap:12px;flex-wrap:wrap;margin-top:18px}.source-progress .pill{background:#fff8e3;color:#8f7843;font-size:11px}.study-wrap{max-width:980px;margin:0 auto;padding:32px 25px 65px}.study-heading{display:flex;align-items:center;justify-content:space-between;gap:20px;margin:20px 0}.study-heading h1{font-size:38px;line-height:1.2;margin:9px 0;color:var(--subject)}.study-heading p{color:#7c8e79;line-height:1.7;font-size:15px}.study-fox{width:124px;height:124px;flex-shrink:0}.study-card{padding:28px 30px;border:1px solid #e0e7d5;background:#fffefa;border-radius:25px;margin:20px 0;box-shadow:0 5px 18px #5f764407}.study-card-title{display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin-bottom:20px}.study-card h2{font-size:27px;line-height:1.2}.study-card h3{font-size:22px;margin-bottom:12px}.study-card-title .speak-prompt{margin:0 0 0 auto}.step-dot{display:inline-flex;align-items:center;justify-content:center;width:35px;height:35px;border-radius:50%;background:var(--soft);color:var(--subject);font-size:20px;font-weight:900;flex-shrink:0}.teaching-copy{font-size:19px;line-height:1.9;color:#355849;white-space:pre-line}.study-model{font-family:'Baloo 2',Nunito,sans-serif;font-size:clamp(35px,5vw,72px);font-weight:800;text-align:center;padding:20px;color:var(--subject);letter-spacing:4px;background:var(--soft);border-radius:20px;margin:22px 0;overflow-wrap:anywhere}.learning-goals{padding:17px 22px 0;margin:0;color:#819177;font-size:14px;line-height:1.8}.learning-goals li{margin:7px 0}.vocab-cards{display:grid;grid-template-columns:repeat(auto-fit,minmax(130px,1fr));gap:12px;margin:23px 0}.vocab-card{position:relative;border:1px solid #e8e7da;background:#fff9ec;border-radius:18px;display:flex;align-items:center;flex-direction:column;gap:10px;padding:19px 14px;color:#294c57;transition:transform .2s}.vocab-card:hover{transform:translateY(-3px)}.vocab-card strong{font-size:22px}.vocab-card small{font-size:13px;color:#8a927c}.vocab-card svg{width:18px;height:18px;position:absolute;right:8px;top:8px;color:var(--subject)}.emoji-picture{font-family:'Apple Color Emoji','Segoe UI Emoji','Noto Color Emoji',sans-serif;display:inline-flex;align-items:center;justify-content:center;line-height:1.15;font-size:70px;min-width:70px;min-height:75px}.vocab-flower{font-size:35px}.practice-invite{display:flex;align-items:center;justify-content:space-between;gap:24px;background:var(--soft)}.practice-invite>div{display:grid;grid-template-columns:35px 1fr;gap:7px 12px}.practice-invite h2{align-self:center}.practice-invite p{grid-column:2;color:#6e8366;font-size:14px;line-height:1.7}.practice-invite .step-dot{background:white}.guided-link{display:flex;gap:12px;align-items:center;justify-content:center;color:#73866c;font-weight:800;font-size:14px;padding:16px;text-align:center}.guided-link svg{width:21px;height:21px}.study-source{margin:22px 0;color:#8a967e;font-size:12px;line-height:1.8}.study-source summary{font-size:12px}.practice-note{font-size:13px;line-height:1.8;color:#7a8d75;margin:14px 0}.writing-board{position:relative;height:230px;border:2px solid #dbe5d0;border-radius:18px;background:repeating-linear-gradient(to bottom,transparent 0,transparent 55px,#dce8df 56px,#dce8df 57px),#fff;margin:20px 0;overflow:hidden}.writing-model{position:absolute;left:20px;right:20px;top:50%;transform:translateY(-50%);font-size:clamp(35px,6vw,75px);line-height:1.5;color:#c9d8cd;pointer-events:none;text-align:center;font-family:Nunito,sans-serif;white-space:nowrap}.writing-board canvas{position:absolute;width:100%;height:100%;touch-action:none;cursor:crosshair}.practice-actions{display:flex;gap:12px;flex-wrap:wrap;justify-content:space-between}.reading-passage{font-family:Nunito,sans-serif;font-size:22px;line-height:1.9;text-align:left;color:#294d48;white-space:pre-line;max-width:760px;margin:auto}.reading-passage.study-passage{padding:25px;border-radius:20px;border:1px solid #e5e9d9;background:#fffbed;margin-top:24px}.reading-passage .speak-prompt{font-size:13px}.reading-scene{width:100%;padding:12px 20px}.reading-scene .reading-passage{font-size:21px;line-height:1.8}.concept-scene{width:100%;text-align:center;padding:10px}.concept-display{font-family:'Baloo 2',Nunito,sans-serif;font-size:clamp(32px,5vw,67px);font-weight:800;color:var(--subject);line-height:1.4;white-space:pre-line;overflow-wrap:anywhere}.game-card:has(.concept-scene:empty){display:none}.learning-diagram{height:auto;max-width:570px;width:100%;max-height:300px;display:block;margin:auto}.diagram-objects{display:flex;align-items:center;justify-content:center;flex-wrap:wrap;gap:10px}.diagram-objects .emoji-picture{font-size:45px;min-height:50px;min-width:50px}.answer .emoji-picture{font-size:72px}.options .answer.picture{min-width:160px}.order-game{width:100%;text-align:center}.order-slots{min-height:72px;font-size:27px;line-height:1.6;background:#fff;border:2px dashed #bfceb5;border-radius:18px;margin:15px auto 20px;padding:14px;color:var(--subject);max-width:760px}.order-tiles{display:flex;gap:10px;justify-content:center;flex-wrap:wrap}.order-tile{background:#fff4d6;border:1px solid #e6d3a1;box-shadow:0 3px 0 #dfc780;border-radius:12px;padding:12px 16px;min-height:48px;font-size:22px;font-weight:800;color:#665230}.order-tile:disabled{opacity:.25}.source-coverage{display:grid;grid-template-columns:repeat(3,1fr);gap:14px;margin:18px 0}.coverage-card{border:1px solid #e1e7d7;border-radius:18px;padding:19px;background:#fffcf4}.coverage-card b{display:block;font-size:25px;color:var(--subject)}.coverage-card p{font-size:12px;color:#839177}.history-item .manual-label{color:#a88a50}.core-pill{font-size:10px;background:#eff5e8;border-radius:8px;padding:3px 7px;display:inline-block;color:#6a895d;margin-top:6px}
@media(max-width:700px){.course-tools{gap:12px;margin-top:18px}.semester-tabs{width:100%;justify-content:space-between}.semester-tabs button{flex:1;font-size:12px;padding:9px 10px}.course-search{width:100%;min-width:0}.chapter-group>summary{padding:17px 15px;font-size:16px;gap:7px}.chapter-count{font-size:10px}.chapter-label small{font-size:10px}.chapter-group .lessons-grid{padding:11px;gap:10px}.chapter-group .lesson-card{padding:14px 10px;gap:12px}.chapter-group .lesson-card h3{font-size:20px}.chapter-group .lesson-info p{font-size:11px}.chapter-group .lesson-num{width:37px;height:37px;font-size:19px}.study-wrap{padding:20px 17px 45px}.study-heading{gap:5px;margin:20px 0}.study-heading h1{font-size:29px}.study-heading p{font-size:13px}.study-fox{width:85px;height:85px}.study-card{padding:20px 17px;border-radius:21px;margin:16px 0}.study-card h2{font-size:23px}.study-card-title{gap:9px}.study-card-title .speak-prompt{margin-left:0;font-size:12px}.teaching-copy{font-size:17px;line-height:1.8}.study-model{font-size:40px;padding:15px 10px;letter-spacing:2px}.vocab-cards{grid-template-columns:repeat(2,1fr);gap:9px}.vocab-card strong{font-size:20px}.vocab-card .emoji-picture{font-size:58px}.learning-goals{font-size:12px;padding:12px 13px 0}.practice-invite{flex-direction:column;align-items:stretch;gap:17px}.practice-invite .button{justify-content:center}.guided-link{font-size:12px;padding:13px 4px;gap:8px}.reading-passage{font-size:19px;line-height:1.8}.reading-passage.study-passage{padding:17px}.reading-scene{padding:4px}.reading-scene .reading-passage{font-size:19px;line-height:1.75}.concept-display{font-size:40px}.writing-board{height:210px}.practice-actions{gap:9px}.practice-actions .button{font-size:12px;flex:1}.source-coverage{grid-template-columns:1fr}.coverage-card{padding:14px}.coverage-card b{font-size:22px}.order-tile{font-size:19px;padding:10px 12px}.order-slots{font-size:23px}.options .answer.picture{min-width:calc(50% - 10px)}.answer .emoji-picture{font-size:60px}.learning-diagram{max-height:230px}}
.math-groups{display:grid;grid-template-columns:1fr 1fr;gap:22px;width:100%;max-width:700px;margin:auto}.math-group{border:2px solid #e0e7cf;border-radius:20px;background:#fffdf6;padding:15px;display:flex;flex-direction:column;min-height:190px;justify-content:space-between}.math-group small{font-size:13px;color:#7e9077;text-align:center;margin-top:15px}.zero-group{font-size:60px;color:#bac6b2}.position-items{display:flex;gap:35px;align-items:center;justify-content:center;flex-wrap:wrap}.position-items>div{display:flex;flex-direction:column;gap:10px;text-align:center}.position-items small{font-size:18px;color:#4d6a63}.position-items.vertical{flex-direction:column;gap:4px}.position-items.vertical>div{flex-direction:row;align-items:center;gap:15px}.position-items.vertical .emoji-picture{font-size:45px;min-height:45px}.toy-car{display:inline-block;font-size:65px;background:var(--car-color);border-radius:16px;line-height:1.3;padding:0 9px}.queue-arrow{font-size:50px;color:#629d93}.calendar-days{display:flex;justify-content:center;gap:12px;flex-wrap:wrap}.calendar-days>div{min-width:120px;border:1px solid #dbe3ce;border-radius:15px;overflow:hidden;display:flex;flex-direction:column;text-align:center;background:#fffdf5}.calendar-days span{padding:11px 15px;background:#8bc0a7;color:white;font-size:18px;font-weight:800}.calendar-days strong{font-size:54px;color:#55786b;padding:15px}
@media(max-width:700px){.math-groups{gap:10px}.math-group{padding:10px;min-height:150px}.math-group .emoji-picture{font-size:32px;min-width:34px;min-height:37px}.position-items{gap:15px}.position-items .emoji-picture{font-size:52px}.position-items small{font-size:13px}.toy-car{font-size:40px;padding:2px 6px}.queue-arrow{font-size:33px}.calendar-days>div{min-width:85px}.calendar-days span{font-size:14px;padding:10px}.calendar-days strong{font-size:40px}}
.custom-picture svg{width:100px;height:90px;display:block}.answer .custom-picture svg{width:120px;height:100px}.toy-car{width:100px;height:70px;background:transparent;padding:0;overflow:visible}
@media(max-width:700px){.custom-picture svg{width:85px;height:77px}.answer .custom-picture svg{width:98px;height:88px}.toy-car{width:65px;height:48px}}

.worked-example{background:#f5f8ec;border:1px solid #e0e6cb;border-radius:20px;padding:22px;margin-top:20px}.worked-example h3{font-size:21px;color:#5c7a52}.worked-example>p{font-size:17px;line-height:1.8;margin:12px 0}.worked-answer{background:#fffdf5;border-radius:13px;padding:14px;font-size:17px;color:#52754b;line-height:1.8}.worked-answer strong{display:block;font-size:20px;margin-bottom:5px}
.study-heading>div{min-width:0;flex:1}.study-heading h1{overflow-wrap:anywhere}.answer.words{overflow-wrap:anywhere}.writing-model{white-space:normal;overflow-wrap:anywhere;font-size:clamp(26px,5vw,58px)}
@media(max-width:700px){.letter-scene{width:100%;min-width:0;flex-direction:column;gap:15px}.large-word{max-width:100%;font-size:clamp(32px,10vw,53px);overflow-wrap:anywhere}.writing-model{font-size:26px}}

/* A phone should reach the lesson list without a full screen of introduction. */
@media(max-width:700px){
 .course-page .page-intro{padding:18px 0 14px}
 .course-page .crumb{margin-bottom:12px}
 .course-page .course-title-row{align-items:flex-start;gap:10px}
 .course-page .course-title-row>div{min-width:0;flex:1}
 .course-page .course-title-row h1{font-size:28px;margin:7px 0}
 .course-page .course-fox{width:70px;height:70px;margin-top:12px}
 .course-page .source-progress{margin-top:8px;gap:6px}
 .course-page .source-progress .pill{font-size:10px;padding:4px 8px}
 .course-page .source-progress .pill:last-child{display:none}
 .course-page .course-banner{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:12px;padding:16px;margin-bottom:16px}
 .course-page .course-banner .eyebrow{font-size:8px;letter-spacing:.1em}
 .course-page .course-banner h2{font-size:21px;line-height:1.2;margin:5px 0 0}
 .course-page .course-banner p{display:none}
 .course-page .course-banner .primary{min-height:44px;font-size:12px;padding:10px 12px}
 .course-page .course-tools{margin:16px 0 8px;gap:10px}
 .course-page .course-search{min-height:44px;padding:11px 14px}
 .course-page .course-results-note{font-size:12px;line-height:1.5;margin:8px 0 14px}
 .player-wrap .feedback:has(>.feedback-inner:empty){min-height:0;padding-top:0}
 .player-wrap .question-footer{margin-top:18px;flex-wrap:wrap;gap:8px}
 .player-wrap .hint-button{min-height:44px;padding:6px 0}
}
