/* TOEFL-only layout adapters. Existing IELTS shell and font rules are unchanged. */
.toeflHasQuickCollect{padding-bottom:calc(24px + var(--toefl-collect-space,70px))}
.toeflQuickCollect.card{position:fixed;top:auto;bottom:0;z-index:18;display:flex;align-items:center;flex-wrap:nowrap;gap:8px;margin:0;padding:8px 12px max(8px,env(safe-area-inset-bottom));border:0;border-top:1px solid var(--line);border-radius:0;background:var(--surface-content,#fff);box-shadow:0 -2px 8px #16284a12;min-width:0}
.toeflQuickCollect button{flex:none;white-space:nowrap;min-height:36px}
.toeflQuickCollect p{flex:1;min-width:0;margin:0;font-size:12px;line-height:1.4;overflow-wrap:anywhere}
.toeflReadingShell .exam-bottom{display:grid;grid-template-columns:auto minmax(0,1fr) auto;gap:3px}
.toeflReadingShell .exam-bottom>.toeflStudentPageNav{grid-column:1;grid-row:1}
.toeflReadingShell .exam-bottom>.exam-navigation{grid-column:2;grid-row:1}
.toeflReadingShell.examTeacher .exam-bottom>.exam-navigation{grid-column:1/3}
.toeflReadingShell .exam-bottom>.exam-site-info{grid-column:3;grid-row:1}
.toeflReadingShell .exam-bottom>.toeflQuickCollect{position:static;inset:auto;grid-column:1/-1;grid-row:2;width:100%;padding:4px 6px;box-shadow:none;background:transparent;flex-wrap:nowrap}
.toeflReadingShell .exam-bottom>.toeflQuickCollect p{max-width:none}
.toeflReadingShell .toeflStudentReadingAnswers .toeflStudentPrompt{margin:0 0 10px;padding:0;border:0}
[data-toefl-lecture-deck]{min-width:0;position:relative;scroll-margin-top:8px}
.toeflListeningSticky{position:sticky;top:0;z-index:12;padding:8px 12px;margin:12px 0;background:var(--surface-content,#fff);border:1px solid var(--line);border-radius:8px;box-shadow:0 2px 8px #16284a12}
.toeflLectureNav{display:flex;align-items:center;justify-content:space-between;gap:8px}
.toeflLectureNav span{font-weight:700}
.toeflListeningSticky [data-toefl-lecture-status]{font-size:12px;line-height:1.4;margin:3px 0;color:var(--muted)}
.toeflListeningSticky [data-toefl-lecture-status]:empty{display:none}
.toeflListeningSticky .lv1-player-controls{margin-top:6px}
.toeflListeningSticky .lv1-player-controls select[aria-label="播放 Section"]{display:none}
.toeflListeningSticky .lv1-player-time,.toeflListeningSticky .lv1-player-error{margin:3px 0;font-size:12px}
.toeflListeningSticky .lv1-player-error:empty{display:none}
.toeflListeningSticky .lv1-player-progress input{width:100%}
[data-toefl-lecture-block][hidden]{display:none!important}
[data-toefl-lecture-block] [data-toefl-question]{scroll-margin-top:230px}
@media(max-width:760px){
 .toeflQuickCollect.card{padding:6px 8px max(6px,env(safe-area-inset-bottom));gap:6px;flex-wrap:wrap}
 .toeflQuickCollect p{flex-basis:100%}
 .toeflReadingShell .exam-bottom>.toeflQuickCollect{flex-wrap:wrap}
 .toeflReadingShell .exam-bottom>.toeflQuickCollect p{flex-basis:100%}
 .toeflListeningSticky{padding:8px;margin-inline:-8px}
 .toeflListeningSticky .lv1-player-controls{gap:6px}
}

/* Keep the existing mobile app navigation reachable above the fixed collection row. */
@media(max-width:760px){.toeflQuickCollectShell:not(.ieltsExamShell)>.side{bottom:var(--toefl-collect-space,70px);z-index:17}}
