.catalog-bar h1{font-size:22px}.catalog-bar .pill[aria-current=true]{background:var(--r-blue);border-color:var(--r-blue);color:white}.catalog-bar .pill{font-size:14px;padding:7px 10px}.catalog-bar{gap:10px}#unit-filter{font:14px/1.4 inherit;color:var(--r-ink);border:1px solid var(--r-line);border-radius:8px;background:#fff;padding:8px 24px 8px 10px;max-width:140px;min-height:36px}.catalog-footer{display:flex;align-items:center;justify-content:space-between;font-size:14px;min-height:34px;flex:none}.catalog-footer>a{text-decoration:none}#catalog-page{display:flex;gap:12px;align-items:center}#catalog-page button{font-size:14px;min-height:32px;padding:4px 10px}.reading-catalog .lesson-card{position:relative;grid-template-rows:minmax(0,1fr) 28px 34px}.lesson-unit{position:absolute;right:14px;top:9px;font-size:11px;background:#ffffffed;padding:1px 5px;color:var(--r-muted);border-radius:4px}.reading-catalog .lesson-card h2{font-size:20px}.reading-catalog .round-link{font-size:15px;gap:4px}.study-workspace{grid-template-rows:minmax(0,1fr) 320px;align-content:stretch}.passage-pane{overflow:auto}.passage p{white-space:pre-wrap}.question-panel{grid-template-rows:80px minmax(140px,1fr) 42px;height:100%;padding-block:12px}.question-top{grid-template-columns:220px minmax(0,1fr)}.question-top .question-heading{font-size:26px;line-height:1.5}.question-nav{flex-wrap:nowrap;gap:3px}.question-nav button{padding-inline:6px;min-width:32px}.choice{font-size:26px;line-height:1.6;min-height:110px;gap:8px;padding:10px 12px}.choice-label{font-size:22px}.question-right .choices{min-height:110px}.question-count{font-size:14px}.question-status{gap:10px}.study-title{font-size:22px}.study-title>span{font-size:14px}.choice>span:last-child{min-width:0;overflow-wrap:anywhere}.order-reference{font-size:14px}.is-studying .reading-footer{display:none}
@media(max-width:1100px) and (min-width:761px){.catalog-bar{gap:6px}.catalog-bar .pill{font-size:13px;padding-inline:7px}.catalog-bar h1{font-size:20px}.catalog-back{font-size:13px}.catalog-bar .catalog-downloads>a,.catalog-bar .catalog-downloads>button{font-size:13px;padding-inline:8px}#unit-filter{max-width:116px;font-size:13px}.question-top{grid-template-columns:210px minmax(0,1fr)}}
@media(max-width:760px){.catalog-bar .filters{grid-template-columns:repeat(4,minmax(0,1fr))}.catalog-bar .pill{font-size:12px;padding:7px 2px}.catalog-bar h1{font-size:21px}#unit-filter{order:4;max-width:none;width:100%;font-size:14px}.catalog-footer{font-size:13px;gap:5px}#catalog-page{gap:4px}#catalog-page button{padding-inline:5px}.reading-catalog .lesson-card h2{font-size:17px}.lesson-unit{right:9px;font-size:10px}.reading-catalog .round-link{font-size:13px;gap:2px}.reading-catalog .round-link small{font-size:10px}.study-workspace{display:flex}.question-panel{height:auto;min-height:390px;display:flex}.question-top{display:flex}.question-top .question-heading{font-size:24px;min-height:72px}.choice{font-size:21px;min-height:130px;gap:5px;padding:10px 7px}.choice-label{font-size:21px}.study-title{font-size:20px}.study-title>span{font-size:13px}.question-nav{flex-wrap:nowrap}.question-status{gap:8px}}

/* 黑体管理标题和操作，楷体呈现课文，宋体区分题目。 */
:root{--font-hei:'Heiti SC','Microsoft YaHei','PingFang SC',sans-serif;--font-song:'Songti SC',STSong,SimSun,'Noto Serif SC',serif;--font-kai:'Kaiti SC',STKaiti,KaiTi,'Noto Serif SC',serif}
.catalog-bar,.study-bar,.question-nav,.quiz-bottom,.catalog-footer,.lesson-card h2{font-family:var(--font-hei)}
.study-title{font-family:var(--font-hei)}
.passage{font-family:var(--font-kai)}
.question-heading,.choice>span:last-child,.order-reference{font-family:var(--font-song)}
.choice-label{font-family:var(--font-hei)}
.passage.poems{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px;text-align:center;align-items:start;max-width:1100px;margin:auto}
.passage.poems-1{grid-template-columns:minmax(0,1fr);max-width:650px}
.poem h2{font:600 23px/1.4 var(--font-hei);margin:0 0 6px}
.poem-author{font:16px/1.5 var(--font-song);margin-bottom:12px}
.passage .poem p{text-indent:0;text-align:center;margin:0 0 5px;white-space:nowrap}
@media(max-width:760px){.passage.poems{gap:10px}.poem h2{font-size:18px}.poem-author{font-size:13px}.passage.poems{font-size:17px}.passage .poem p{white-space:normal}.passage.poems-1{font-size:var(--read-size)}}

.question-top{grid-template-columns:minmax(0,1fr) 140px;gap:20px}
.question-progress-wrap{font:14px/1.5 var(--font-hei);color:var(--r-muted);display:flex;flex-direction:column;gap:8px;align-items:stretch;text-align:right}
.question-progress{width:100%;height:7px;border:0;border-radius:8px;overflow:hidden;accent-color:var(--r-blue)}
.question-progress::-webkit-progress-bar{background:#e5edf1;border-radius:8px}.question-progress::-webkit-progress-value{background:var(--r-blue);border-radius:8px}
@media(max-width:760px){.question-top{display:grid;grid-template-columns:minmax(0,1fr) 80px;gap:12px}.question-progress-wrap{font-size:12px}.question-top .question-heading{font-size:22px;min-height:0}}

.round-icon{width:18px;height:18px;flex:none}.round-link:nth-child(1){color:#315b74}.round-link:nth-child(2){color:#487445}.round-link:nth-child(3){color:#8a6042}
@media(min-width:761px){.study-workspace{grid-template-rows:minmax(0,1fr) clamp(280px,33vh,320px)}.question-panel{grid-template-rows:80px minmax(110px,1fr) 42px}.choice,.question-right .choices{min-height:110px}.passage.fill-page{min-height:100%;display:flex;flex-direction:column;justify-content:space-between}.passage.poems{height:100%;align-items:stretch}.poem{display:flex;flex-direction:column;min-height:0}.passage .poem p{flex:1;display:flex;align-items:center;justify-content:center}.passage .poem p:last-child{align-items:flex-end}}
@media(max-width:760px){.round-icon{width:13px;height:13px}}

@media(max-width:760px){.question-panel{min-height:0}.question-panel .quiz-bottom{margin-top:14px}}

.reading-catalog .round-link{font-size:14px;gap:3px;padding-inline:3px;white-space:nowrap}.reading-catalog .round-link small{font-size:10px}.reading-catalog .round-icon{width:14px;height:14px}@media(max-width:1100px){.reading-catalog .round-link small{display:none}}

@media(min-width:761px){.passage{line-height:1.55}.passage p{margin-bottom:6px}.passage p:last-child{margin-bottom:0}}
/* Compact lesson navigation and child-sized literacy activities. */
.reading-catalog .lesson-card{grid-template-rows:minmax(0,1fr) 30px 30px;gap:3px;padding:10px}
.reading-catalog .lesson-card h2{font-size:19px;min-height:0;line-height:1.3}
.reading-catalog .rounds{gap:8px;justify-content:center;display:flex}
.reading-catalog .round-link{flex:0 1 58px;min-height:28px;padding:1px 10px;font:600 18px/1.3 var(--font-hei);border:0;border-radius:6px;background:transparent}
.round-1{color:#356e8a!important;background:#eaf2f7!important}.round-2{color:#5a8049!important;background:#edf4e8!important}.round-3{color:#a36f3e!important;background:#faf0e4!important}
.reading-catalog .round-link.completed{box-shadow:inset 0 -2px 0 currentColor}
.lesson-pdf .tool-icon{width:17px;height:17px}.lesson-pdf{display:flex;align-items:center;padding:4px}.tool-icon{width:23px;height:23px;display:block}
.mark-tool{display:flex;align-items:center;justify-content:center;width:38px;height:38px;padding:6px!important}
.stage-links{display:flex;gap:5px;margin-left:8px}.stage-link{font:600 15px/1.3 var(--font-hei);text-decoration:none;padding:5px 9px;border-radius:5px}.stage-link[aria-current=true]{outline:1.5px solid currentColor;outline-offset:1px}
.study-bar{gap:10px}.study-controls{margin-left:auto}.study-title{font-size:21px}
.passage ruby rt{font:12px/1.2 ReadingPinyin,sans-serif;color:#637786}.passage ruby{ruby-position:over}
.passage .poem p{display:block;flex:none;margin:0 0 5px;line-height:1.7}.passage.poems{height:auto!important;align-items:start;gap:24px}.passage.fill-page{display:block;min-height:0!important}
.passage-pane:has(.poems){display:grid;align-items:center}.passage p{margin-bottom:6px;line-height:1.55}
.literacy-workspace .passage-pane{padding:16px;display:grid;place-items:center;overflow:auto}
.literacy-picture{height:100%;width:100%;display:grid;place-items:center}.literacy-picture img{max-height:100%;height:auto;width:min(440px,75%);object-fit:contain}
.literacy-choice{grid-template-rows:minmax(0,1fr) 240px}.literacy-choice .question-panel{grid-template-rows:52px minmax(100px,1fr) 42px;gap:6px;padding-block:10px}
.literacy-choice .choice{font-size:44px;min-height:90px}.literacy-choice .choice-label{font-size:18px}
.literacy-match{grid-template-rows:minmax(0,1fr) 132px}.literacy-match .question-panel{grid-template-rows:52px 42px;gap:10px;padding-block:12px}.literacy-match .question-right{display:none}
.matching-board{height:100%;max-height:520px;width:min(760px,100%);display:grid;grid-template-columns:30% 30%;column-gap:40%;position:relative;min-height:250px}
.match-lines{width:100%;height:100%;position:absolute;inset:0;z-index:0;pointer-events:none}
.match-column{display:grid;grid-template-rows:repeat(3,minmax(0,1fr));gap:10px;z-index:1;min-height:0}
.match-picture,.match-word{border:2px solid #d8e2e7;border-radius:12px;background:#fff;display:grid;place-items:center;min-height:0;cursor:pointer;color:var(--r-ink)}
.match-picture img{max-width:100%;max-height:100%;width:auto;height:100%;object-fit:contain;border-radius:10px}.match-picture.pair-active{border-color:#4987a1;box-shadow:0 0 0 3px #e2eff5}.match-word{font:46px/1.3 var(--font-kai);padding:6px}.match-word.paired{background:#f0f6f7}.match-picture:disabled,.match-word:disabled{opacity:1;cursor:default}
@media(max-width:760px){.study-title{font-size:18px}.stage-links{margin-left:auto;gap:4px}.stage-link{padding:4px 7px}.study-bar{gap:7px}.study-controls{width:100%;margin-left:0}.mark-tools{gap:5px}.mark-tool{width:35px;height:35px}.tool-icon{width:21px;height:21px}.reading-catalog .lesson-card{padding:8px;grid-template-rows:minmax(0,1fr) 27px 27px}.reading-catalog .lesson-card h2{font-size:16px}.reading-catalog .round-link{font-size:17px;min-height:25px;padding:1px 7px;flex-basis:40px}.reading-catalog .rounds{gap:5px}.literacy-workspace .passage-pane{width:100%}.literacy-picture img{max-height:260px;width:72%}.literacy-choice .choice{font-size:38px;min-height:92px}.literacy-match .question-panel{display:grid}.matching-board{height:350px;min-height:0;grid-template-columns:32% 32%;column-gap:36%}.match-word{font-size:36px}.literacy-choice .question-panel{display:flex}.literacy-workspace .question-panel{padding:12px}.literacy-workspace .question-top{width:100%}}

/* Explicit placement and contained pictures avoid Safari's intrinsic image sizing loop. */
.matching-board{grid-template-rows:minmax(0,1fr);isolation:isolate;overflow:hidden}
.match-pictures{grid-column:1;grid-row:1}.match-words{grid-column:2;grid-row:1}
.match-column{min-width:0;min-height:0;max-height:100%}
.match-picture{position:relative;overflow:hidden;grid-template-rows:minmax(0,1fr);padding:0;min-width:0}
.match-picture img{position:absolute;inset:8px;width:calc(100% - 16px);height:calc(100% - 16px);max-width:none;max-height:none;object-fit:contain}
.match-glyph{font:46px/1.2 SchoolReadingKai,SchoolReadingKaiExtra,KaiTi,STKaiti,serif;color:var(--r-ink)}
.literacy-glyph{font:80px/1.2 SchoolReadingKai,SchoolReadingKaiExtra,KaiTi,STKaiti,serif;color:var(--r-ink)}
@media(min-width:761px){.literacy-workspace .passage-pane{grid-template-rows:minmax(0,1fr);overflow:hidden}}
.unit-picker{position:relative;flex:none}.unit-picker summary{list-style:none;display:flex;align-items:center;justify-content:space-between;gap:12px;cursor:pointer;background:#fff}
.unit-picker summary::-webkit-details-marker{display:none}.unit-picker summary::marker{content:''}
.unit-menu{position:absolute;top:calc(100% + 7px);left:0;z-index:100;min-width:150px;padding:5px;background:#fff;border:1px solid #a9c3d5;border-radius:10px;box-shadow:0 5px 18px #19344d18}
.unit-menu button{display:block;width:100%;padding:8px 13px;border:0;border-radius:6px;text-align:left;white-space:nowrap;color:#19344d;background:#fff;font:15px/1.5 var(--font-hei)}
.unit-menu button:hover,.unit-menu button:focus-visible{background:#f1f7fc}.unit-menu button[aria-pressed=true]{background:#e5f1fa;color:#194d70}
@media(max-width:760px){.unit-picker{order:4;width:100%}.unit-picker #unit-filter{width:100%;max-width:none}.unit-menu{width:100%}.match-glyph{font-size:36px}}

/* Read grouped nursery-rhyme lines across the available width. */
.passage.verse-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px 32px;max-width:1200px;width:100%;margin:auto;text-align:center;align-items:start}
.passage.verse-single{grid-template-columns:minmax(0,1fr)}
.verse-stanza{min-width:0}.passage.verse-grid p{text-indent:0;margin:0 0 5px;line-height:1.5;white-space:pre-wrap}
.passage-pane:has(.verse-grid){display:grid;grid-template-rows:minmax(0,1fr);align-items:center}
@media(max-width:760px){.passage.verse-grid{gap:12px 16px}.passage.verse-grid p{line-height:1.65}.passage-pane:has(.verse-grid){padding-inline:12px}}

/* Unit reviews use the existing lesson artwork and the same three compact entries. */
.reading-catalog .unit-card{border-color:#8eb3cb;background:#f8fcff}
.unit-cover-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));grid-template-rows:repeat(2,minmax(0,1fr));width:100%;height:100%;gap:3px;min-height:0}
.reading-catalog .unit-cover-grid img{min-width:0;min-height:0;width:100%;height:100%;object-fit:contain}
.unit-cover-3{grid-template-columns:repeat(3,minmax(0,1fr));grid-template-rows:minmax(0,1fr)}
.unit-cover-letters{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));grid-template-rows:repeat(2,minmax(0,1fr));align-items:center;justify-items:center;gap:8px;width:100%;height:100%;font:24px/1.3 ReadingPinyin,sans-serif;color:#315d78}
@media(max-width:760px){.unit-cover-letters{font-size:18px;gap:3px}}

/* Short passages sit in the available reading area, without forced blank paragraphs. */
.passage-pane.center-short{display:grid;align-content:center}
.passage-pane.center-short>.passage{width:100%;margin-inline:auto}
.match-column{grid-template-rows:repeat(var(--match-count,3),minmax(0,1fr))}
.choices.judgment-choices{grid-template-columns:repeat(2,minmax(0,1fr))}
.stroke-option{width:60px;height:50px;display:block}

.reading-catalog .lesson-card.unit-card{border:3px solid #46798f}
.reading-catalog .lesson-card .lesson-unit{z-index:1;pointer-events:none;top:9px;right:9px;font:13px/1.5 var(--font-hei);background:#fffffff2;color:#23445b;border:1px solid #d5e3eb;border-radius:5px;padding:2px 6px}
.study-title .study-unit{display:inline-block;font:13px/1.5 var(--font-hei);vertical-align:middle;margin-left:9px;padding:2px 6px;border:1px solid #d5e3eb;border-radius:5px;color:#456176;white-space:nowrap}
@media(max-width:760px){.study-title .study-unit{font-size:11px;margin-left:5px}.reading-catalog .lesson-card .lesson-unit{font-size:11px;padding:1px 4px;top:6px;right:6px}}

/* Five unit stages and mixed reading tasks use the existing fixed question area. */
.round-4{color:#795ca1!important;background:#f1edf8!important}.round-5{color:#337d74!important;background:#e8f4f0!important}
.reading-catalog .unit-card .rounds{gap:5px}.reading-catalog .unit-card .round-link{flex:1 1 0;min-width:0;padding-inline:3px}
.reading-word-match{height:100%;display:grid;place-items:center}.reading-word-match .matching-board{height:140px;min-height:0;max-width:820px;grid-template-columns:40% 40%;column-gap:20%}
.reading-word-match .match-picture,.reading-word-match .match-word{font:19px/1.25 var(--font-song);padding:4px 8px;border-radius:8px}.reading-word-match .match-glyph{font:inherit!important;white-space:normal}.reading-word-match .match-word rt{font-size:10px}
.question-right:has(.reading-word-match)>.choices,.question-right:has(.fill-answer)>.choices,.question-right:has(.evidence-answer)>.choices{display:none}
.fill-answer{max-width:720px;margin:auto;display:flex;flex-direction:column;gap:8px;justify-content:center;height:100%;font:18px/1.4 var(--font-song)}.fill-answer>label{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}.fill-controls{display:flex;gap:10px;justify-content:center}.fill-controls input{width:min(360px,65%);font:24px/1.4 var(--font-kai);padding:7px 12px;border:2px solid #cadde7;border-radius:8px;color:var(--r-ink);background:white}.fill-word-bank{display:flex;gap:10px;justify-content:center;flex-wrap:wrap}.fill-word-bank button{font-size:19px;padding:6px 15px}.fill-reference{margin:0;text-align:center}
.evidence-answer{display:flex;flex-direction:column;align-items:center;justify-content:center;height:100%;gap:8px;font:19px/1.5 var(--font-song)}.evidence-answer p{margin:0}.evidence-quote{max-width:92%;font-size:17px;color:#986d31}.evidence-target{cursor:pointer}.evidence-target:hover{background:#e9f2f6}.evidence-selected{background:#fff0cf!important;box-shadow:0 2px #b98636}
.choices.order-four{grid-template-columns:repeat(2,minmax(0,1fr));gap:6px}.choices.order-four .choice{min-height:45px;font-size:19px;padding:7px 12px}
.picture-combination{display:flex;gap:20px;justify-content:center}.picture-combination img{max-width:40%;max-height:100%;object-fit:contain}
@media(max-width:760px){.reading-word-match .matching-board{height:180px}.reading-word-match .match-picture,.reading-word-match .match-word{font-size:18px}.stage-links{flex-wrap:nowrap}.stage-link{padding-inline:5px}}
.match-word-text{display:block;max-width:100%;white-space:normal}
.fill-controls input[aria-invalid="true"]{border-color:#b85b50;background:#fff8f6}
.picture-combination{align-items:center;width:100%;height:100%}.picture-combination img{min-width:0;flex:1 1 0;height:100%;max-width:42%}

/* A complete unit stays in one compact row; the review always closes the row. */
.reading-catalog #lesson-grid{display:flex;flex-direction:column;gap:10px;overflow:auto;min-height:0}
.catalog-unit-row{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:10px;flex:1 1 0;min-height:126px;max-height:180px}
.reading-catalog .catalog-unit-row .unit-card{grid-column:5}
.reading-catalog .catalog-unit-row .lesson-card{padding:6px 8px;grid-template-rows:minmax(0,1fr) 32px 25px;gap:2px;border-radius:9px}
.reading-catalog .catalog-unit-row .lesson-card h2{font-size:16px;line-height:1;white-space:normal;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden}
.reading-catalog .catalog-unit-row .round-link{min-height:24px;font-size:16px;padding:0 4px}
.reading-catalog .catalog-unit-row .rounds{gap:5px}.reading-catalog .catalog-unit-row .lesson-unit{font-size:11px;top:5px;right:5px}
.choices.choice-four{grid-template-columns:repeat(2,minmax(0,1fr));gap:6px}.choices.choice-four .choice{min-height:45px;font-size:21px;padding:7px 12px}.choices.choice-four .choice-label{font-size:18px}
@media(max-width:1000px) and (min-width:761px){.reading-catalog .catalog-unit-row .lesson-card h2{font-size:15px}.catalog-unit-row{gap:7px}.reading-catalog .catalog-unit-row .round-link{font-size:15px}}
@media(max-width:760px){.reading-catalog #lesson-grid{overflow:visible;flex:none}.catalog-unit-row{grid-template-columns:repeat(5,minmax(108px,1fr));overflow-x:auto;min-height:162px;height:162px;max-height:none;flex:none;padding-bottom:4px}.reading-catalog .catalog-unit-row .lesson-card{padding:5px;grid-template-rows:minmax(0,1fr) 34px 24px}.reading-catalog .catalog-unit-row .lesson-card h2{font-size:14px}.reading-catalog .catalog-unit-row .round-link{font-size:14px;padding-inline:2px}.reading-catalog .catalog-unit-row .rounds{gap:2px}.choices.choice-four .choice{font-size:20px;min-height:65px}}

/* The lesson title opens the reading workspace; rounds live inside it. */
.lesson-card .card-title h2 a{color:inherit;text-decoration:none}

/* Phone layouts preserve readable cards and a stable, compact answer panel. */
.catalog-unit-heading{display:none}.verse-word{display:inline-block;white-space:nowrap}
@media(max-width:760px){
 .reading-catalog{overflow-x:hidden}.reading-catalog #reading-app{padding:12px;gap:14px}.reading-catalog #lesson-grid{overflow:visible;gap:22px}
 .catalog-unit-row{grid-template-columns:repeat(2,minmax(0,1fr));height:auto;min-height:0;max-height:none;overflow:visible;gap:10px;padding:0;flex:none}
 .catalog-unit-heading{display:block;grid-column:1/-1;margin:0;font:600 17px/1.4 var(--font-hei);color:var(--r-ink)}
 .reading-catalog .catalog-unit-row .lesson-card{position:relative;padding:10px;grid-template-rows:90px minmax(44px,auto);gap:7px;min-width:0}
 .reading-catalog .catalog-unit-row .lesson-unit{display:none}
 .reading-catalog .catalog-unit-row .card-title{display:block;min-width:0}
 .reading-catalog .catalog-unit-row .lesson-card h2{font-size:17px;line-height:1.4;display:block;-webkit-line-clamp:unset;white-space:normal;overflow:visible;text-align:center;overflow-wrap:break-word}
 .reading-catalog .catalog-unit-row .lesson-pdf{position:absolute;top:6px;right:6px;min-width:32px;min-height:32px;display:flex;align-items:center;justify-content:center;background:#fffffff0;border-radius:7px;padding:5px}
 .reading-catalog .catalog-unit-row .unit-card{grid-column:1/-1;grid-template-columns:96px minmax(0,1fr);grid-template-rows:90px;background:#f3f9fc}
 .reading-catalog .catalog-unit-row .unit-card .lesson-cover{grid-column:1;grid-row:1}.reading-catalog .catalog-unit-row .unit-card .card-title{grid-column:2;grid-row:1;align-self:center;padding-right:20px}.reading-catalog .catalog-unit-row .unit-card h2{text-align:left}
 .is-studying .study-bar{display:grid;grid-template-columns:auto 30px minmax(0,1fr) auto;gap:6px;padding:7px 10px;min-height:0;align-content:start}
 .study-bar .study-cover{width:30px;height:30px}.study-bar .study-back{font-size:14px;padding:6px 0}.study-bar .study-title{display:block;font-size:17px;line-height:1.25;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
 .study-bar .study-title .study-unit{display:block;width:max-content;font-size:10px;line-height:1.25;margin:2px 0 0;padding:0;border:0}
 .study-bar .stage-links{margin:0;gap:4px;flex-wrap:nowrap}.study-bar .stage-link{font-size:14px;padding:5px 7px}
 .study-bar .study-controls{grid-column:1/-1;width:100%;margin:0;justify-content:space-between;gap:6px}.study-bar .mark-tool{width:32px;height:32px;min-height:32px;padding:3px!important}.study-bar .mark-tools{gap:5px}.study-bar .tool-group button{min-height:32px;min-width:33px;font-size:15px;padding:4px}
 .is-studying .study-workspace{display:grid;grid-template-rows:minmax(150px,1fr) auto;overflow:hidden;padding:8px;gap:8px;align-content:stretch}
 .is-studying .passage-pane{min-height:0;overflow:auto;padding:14px 12px;scrollbar-gutter:auto;align-content:start}
 .is-studying .passage-pane.center-short{align-content:center}.passage{line-height:1.65}.passage p{margin-bottom:8px}.passage ruby rt{font-size:9.5px;letter-spacing:0;padding-inline:0}
 .passage.verse-grid{gap:10px 16px}.passage.verse-grid p{line-height:1.6;margin-bottom:8px}.passage.verse-grid .verse-word-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px 5px;margin-bottom:14px;white-space:normal}
 .is-studying .question-panel{display:grid;grid-template-columns:minmax(0,1fr);grid-template-rows:auto auto auto;min-height:0;max-height:46dvh;overflow:auto;padding:10px 12px;gap:8px}
 .question-panel .question-top{display:flex;flex-direction:column-reverse;align-items:stretch;gap:5px;min-width:0}.question-top .question-heading{font-size:18px!important;line-height:1.55;min-height:0!important;font-weight:500;margin:0}
 .question-progress-wrap{display:flex;flex-direction:row;justify-content:flex-end;align-items:center;gap:8px;font-size:11px}.question-progress-wrap .question-progress{width:64px;height:5px}
 .question-heading rt{font-size:9px!important;letter-spacing:0;padding-inline:0}.question-panel .question-right{min-height:0;gap:6px}.question-panel .choices{height:auto;min-height:0;grid-template-columns:minmax(0,1fr);gap:6px}
 .question-panel .choice{min-height:46px;padding:8px 10px;display:flex;flex-direction:row;align-items:center;justify-content:flex-start;gap:6px;font-size:20px;line-height:1.5}.question-panel .choice-label{font-size:14px;min-width:15px}.question-panel .choice rt{font-size:9px;padding-inline:0;letter-spacing:0}
 .question-panel .choices.short-choices{grid-template-columns:repeat(3,minmax(0,1fr))}.question-panel .short-choices .choice{padding:10px 5px;min-height:68px;gap:4px;justify-content:center}.question-panel .short-choices .choice>span:last-child{white-space:nowrap}.question-panel .short-choices .choice rt{font-size:8.5px}
 .question-panel .choices.choice-four,.question-panel .choices.order-four,.question-panel .choices.judgment-choices{grid-template-columns:repeat(2,minmax(0,1fr))}
 .question-panel .quiz-bottom{display:flex;flex-direction:row;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:5px;margin-top:0}.question-panel .question-status{width:100%;min-height:0;gap:4px}.question-status:empty,.question-status .answer-error:empty{display:none}.question-status .answer-error{font-size:12px;white-space:normal}.question-panel .quiz-bottom button{font-size:13px;min-height:33px;padding:5px 9px}.question-panel .question-hint{font-size:12px}
 .fill-answer{gap:7px}.fill-controls input{font-size:23px;padding:5px 8px}.fill-word-bank{gap:6px}.fill-word-bank button{font-size:18px;padding:5px 10px}.reading-word-match .matching-board{height:130px}.reading-word-match .match-picture,.reading-word-match .match-word{font-size:18px}.evidence-answer{font-size:16px;gap:5px}.evidence-quote{font-size:14px}
 .literacy-workspace .passage-pane{padding:12px}.literacy-workspace .matching-board{height:100%;min-height:0;max-height:100%}.literacy-workspace.literacy-match .question-panel{grid-template-rows:auto auto;min-height:0}.literacy-choice .choice>span:last-child{font-size:27px}
}

@media(max-width:760px){.passage.verse-grid .verse-word-list .verse-gap{display:none}}

@media(max-width:760px) and (max-height:520px){.is-studying .study-workspace{display:flex;overflow:auto}.is-studying .passage-pane{flex:none;max-height:65dvh;overflow:auto}.is-studying .question-panel{flex:none;max-height:none}}

@media(max-width:760px){.passage.verse-grid p{line-height:1.4;margin-bottom:6px}.passage.verse-grid .verse-word-list{gap:6px 5px;margin-bottom:10px}}

@media(max-width:760px){.passage-pane:has(.verse-grid){padding-block:10px}.passage.verse-grid p{margin-bottom:4px}.passage.verse-grid ruby{margin-inline:.03em}}
@media(max-width:760px) and (min-height:521px){.study-workspace:not(.literacy-workspace)>.question-panel{height:clamp(210px,32dvh,270px);max-height:none;grid-template-rows:auto minmax(0,1fr) auto}.question-panel .question-right{overflow:auto;overscroll-behavior:contain}}

@media(max-width:760px){.passage.poems{gap:8px}.passage.poems .poem p{white-space:nowrap}}

.passage p.passage-title{text-align:center;text-indent:0;margin-bottom:10px;font-weight:600}
