/* Spring pair practice: both roles keep their portrait on the left. */
.spring-pair-lesson .dialogue-turn,.spring-pair-lesson .dialogue-turn.role-b{width:100%;align-self:stretch;flex-direction:row}
.spring-pair-lesson .dialogue-avatar{order:0}
.spring-pair-lesson .dialogue-turn p{order:1}

/* Plant explanation stays beside its sentence, within the original text frame. */
.guided-poem [data-read-key="activity-0"]{position:relative}
.guided-left .plant-inline{position:static;display:inline-flex;align-items:center;gap:5px;margin-left:14px;vertical-align:middle;height:auto;width:auto;white-space:nowrap;transform:none}
.guided-left .plant-inline>span{font:700 23px/1.05 var(--lesson)}
.guided-left .plant-inline .plant-word-cloud{background:#fff0be var(--reference-cloud) center/100% 100% no-repeat;color:#a63f6f;padding:10px 14px;border-radius:35%}
.guided-left .plant-inline .plant-cn-cloud{background:#dbeefa var(--reference-cloud) center/100% 100% no-repeat;color:#375f78;padding:10px 14px;border-radius:35%}
.guided-reading[data-prosody=true] .tone-cue{display:inline!important;visibility:visible!important;opacity:1!important;color:#ba367a;font:700 32px/1 var(--lesson);margin:0 3px}
/* One stable spring-food canvas: title, question, pictures, then topic cloud. */
.spring-food-sequence:not(.extension-focused)>.slide-head{padding-right:245px}
.spring-food-sequence:not(.extension-focused)>.slide-head h1{font-size:48px}
.spring-food-sequence>.page-content{position:relative}
.spring-food-sequence .extension-food{position:relative;overflow:visible!important}
.spring-food-sequence .extension-food>.extension-label{position:absolute;right:5px;top:-116px;z-index:5;display:block!important}
.spring-food-sequence .seven-food-title{font:700 68px/1.1 var(--frame-title);min-width:220px;min-height:112px;display:grid;place-items:center;background:var(--reference-cloud) center/100% 100% no-repeat;color:#265b70;padding:14px 30px!important;filter:drop-shadow(0 5px 0 #8faeb53d)}
.spring-food-sequence .extension-label.revealed .seven-food-title{animation:food-cloud-shake .85s ease both}
.spring-food-sequence .extension-food>.extension-pictures{height:100%;flex:1}
@keyframes food-cloud-shake{0%{transform:scale(.75) rotate(-4deg)}22%{transform:scale(1.1) rotate(3deg)}42%{transform:scale(1) rotate(-3deg)}62%{transform:rotate(2deg)}80%{transform:rotate(-1deg)}100%{transform:none}}
.narrow-projection .spring-food-sequence:not(.extension-focused)>.slide-head{padding-right:205px}
.narrow-projection .spring-food-sequence:not(.extension-focused)>.slide-head h1{font-size:41px}
.narrow-projection .spring-food-sequence .seven-food-title{font-size:57px;min-width:190px;min-height:100px}
.narrow-projection .guided-left .plant-inline{margin-left:6px;gap:3px}
.narrow-projection .guided-left .plant-inline>span{font-size:20px;padding:7px 10px}
.guided-left .plant-inline{padding:7px 12px;background:#fff1bf;border:1px solid #d6bd7c;border-radius:20px;box-shadow:0 2px 0 #d6bd7c33}
.guided-left .plant-inline>span{min-width:0!important;min-height:0!important;width:auto!important;background:none!important;padding:0!important;border:0!important;font-size:23px!important}

.slide[data-page="spring"] .guided-left .plant-inline{display:inline-flex!important;width:auto!important;min-width:0!important;height:auto!important;min-height:0!important;padding:8px 12px!important;justify-content:flex-start!important;gap:5px!important}
.slide[data-page="spring"] .guided-left .plant-inline>span{display:inline!important;width:auto!important;height:auto!important;min-height:0!important;padding:0!important;min-width:0!important}

/* Enlarge the two summer illustrations instead of showing a tiny stacked postcard. */
.guided-reading[data-guided-season=summer] .summer-textbook-pair{height:165px;display:grid;grid-template-columns:1fr 1fr;gap:14px;flex:none}
.summer-textbook-pair>.cutout-image{width:100%;height:100%;min-height:0;filter:drop-shadow(0 4px 3px #47787912)}
.guided-reading[data-guided-season=summer] .guided-poem{gap:8px;justify-content:space-between}
.guided-reading[data-guided-season=summer] .guided-poem p{font-size:40px;line-height:1.1}
.map-observation-gallery:has(figure:nth-child(4)){display:grid;grid-template-columns:repeat(3,minmax(0,1fr));grid-template-rows:repeat(2,minmax(0,1fr));gap:14px;align-items:stretch}
.map-observation-gallery:has(figure:nth-child(4))>figure{width:100%;height:100%;min-height:0;display:flex;flex-direction:column;padding:3px}
.map-observation-gallery:has(figure:nth-child(4))>figure>svg,.map-observation-gallery:has(figure:nth-child(4))>figure>img{width:100%;height:0;min-height:0;flex:1;object-fit:contain}
.map-observation-gallery:has(figure:nth-child(4)) figcaption{font-size:29px;min-height:32px;margin:0}
.slide[data-page=textbook-fill] .textbook-fill{padding-bottom:38px}
.slide[data-page=textbook-fill] .fill-study-sound{bottom:10px;right:35px}
.narrow-projection .guided-reading[data-guided-season=summer] .summer-textbook-pair{height:200px}
.narrow-projection .guided-reading[data-guided-season=summer] .guided-poem p{font-size:39px}

/* The answer and punctuation share one baseline; Chinese cues follow the stop. */
.aligned-poem-layout .aligned-task-rows>section{display:block!important;padding:8px 10px!important}
.aligned-poem-layout .aligned-task-rows p{display:block;font:400 34px/1.3 var(--lesson);white-space:normal}
.aligned-poem-layout .poem-answer-ending{display:inline-block;white-space:nowrap;vertical-align:baseline}
.aligned-poem-layout .poem-frame-gap{display:inline-block!important;position:relative;min-width:0!important;width:calc(var(--answer-ch)*1em);height:1.2em;vertical-align:baseline!important;line-height:inherit}
.aligned-poem-layout .poem-frame-gap i{position:absolute;inset:0;min-height:0;border-bottom:3px solid #71818b;background:#fff0b8}
.aligned-poem-layout .poem-frame-gap b{display:inline;font:700 1em/1.3 var(--lesson)!important;vertical-align:baseline;white-space:nowrap}
.aligned-poem-layout .task-revealed .poem-frame-gap{width:auto}
.aligned-poem-layout .poem-sentence-stop{margin:0 0 0 1px;font:inherit}
.aligned-poem-layout .aligned-task-rows .poem-inline-hint{display:inline!important;font:400 21px/1.3 var(--lesson);color:#8c8e85;margin:0 0 0 10px;white-space:nowrap;vertical-align:baseline}
.aligned-poem-layout[data-aligned-poem=flowers] .aligned-task-rows p{font-size:32px;line-height:1.3}
.aligned-poem-layout[data-aligned-poem=flowers] .aligned-task-rows{justify-content:space-around;gap:3px}
.poem-link-mark.link-current{animation:poem-evidence-pulse .9s ease 2}
.poem-link-mark.link-repeat{box-shadow:0 0 0 3px #c85488,inset 0 -3px 0 #e4b444}
@keyframes poem-evidence-pulse{0%,100%{background:#ffedb5}45%{background:#ffd184;box-shadow:0 0 0 5px #c85488}}
.slide[data-page=write] .model-letter .model-season-title{display:block!important;visibility:visible!important;font:700 52px/1 var(--frame-title);color:#335d78;margin:5px 0 8px}
.narrow-projection .aligned-poem-layout .aligned-task-rows p{font-size:32px}
.narrow-projection .aligned-poem-layout .aligned-task-rows .poem-inline-hint{font-size:20px;margin-left:8px}
.slide[data-page=textbook-fill] .textbook-fill{position:relative;padding-bottom:65px}
.slide[data-page=textbook-fill] .textbook-fill-rows>section{padding:3px 14px}
.slide[data-page=textbook-fill] .textbook-fill-bank{padding:6px 14px;gap:5px 12px}
.slide[data-page=textbook-fill] .textbook-fill-bank .word-selection-status{font-size:21px}
.slide[data-page=textbook-fill] .textbook-fill-bank .drag-chip{font-size:26px;min-height:35px;padding:6px 12px}
.slide[data-page=textbook-fill] .fill-conclusion{position:absolute;bottom:7px;left:0;right:185px;min-height:0}
.slide[data-page=textbook-fill] .fill-conclusion p{font-size:24px}
.slide[data-page=textbook-fill] .fill-conclusion span{font-size:21px}
