/* Scope all presentation changes to the homepage's Reading route. */
body[data-home-practice="true"] [hidden] { display:none !important; }
body[data-home-practice="true"][data-mock-view="exam"][data-mock-section="reading"] { --rw-pad-x:16px; }
body[data-home-practice="true"][data-mock-view="exam"][data-mock-section="reading"] .rw-session { padding:11px 16px; border-radius:18px; }
body[data-home-practice="true"][data-mock-view="exam"][data-mock-section="reading"] .rw-title { font-size:22px; }
body[data-home-practice="true"][data-mock-view="exam"][data-mock-section="reading"] .rw-panel__head { padding-block:10px; }
body[data-home-practice="true"][data-mock-view="exam"][data-mock-section="reading"] .rw-toolbar { padding-block:8px; }
body[data-home-practice="true"][data-mock-view="exam"][data-mock-section="reading"] .rw-workspace .rw-scroll { padding:16px 18px; }
body[data-home-practice="true"] .home-reading-next h2 { margin:0 0 8px; font-size:21px; }
body[data-home-practice="true"] .home-reading-next { border-color:var(--button); }
body[data-home-practice="true"] .home-reading-next .results-actions { margin-top:12px; }
body[data-home-practice="true"] .home-reading-result-skills { display:flex; flex-wrap:wrap; gap:14px; padding-top:14px; font-size:14px; }
body[data-home-practice="true"] .home-reading-result-skills a { color:var(--ink); text-underline-offset:4px; }
body[data-home-practice="true"] .home-reading-result-summary { display:grid; gap:12px; padding-block:18px; }
body[data-home-practice="true"] .home-reading-result-summary strong { font-size:clamp(24px,2.8vw,36px); color:var(--ink-strong); }
body[data-home-practice="true"] .home-reading-result-summary span { color:var(--muted); font-size:17px; }
@media(min-width:721px) {
 body[data-home-practice="true"][data-mock-view="exam"][data-mock-section="reading"] { overflow:hidden; }
 body[data-home-practice="true"][data-mock-view="exam"][data-mock-section="reading"] .mock-shell { height:100dvh; min-height:0; }
 body[data-home-practice="true"][data-mock-view="exam"][data-mock-section="reading"] .shell-main { height:100dvh; min-height:0; overflow:hidden; }
 body[data-home-practice="true"][data-mock-view="exam"][data-mock-section="reading"] .page-frame { min-height:0; overflow:hidden; }
 body[data-home-practice="true"][data-mock-view="exam"][data-mock-section="reading"] .workspace-card { min-height:0; overflow:hidden; }
 body[data-home-practice="true"][data-mock-view="exam"][data-mock-section="reading"] .page-body:has(.rw-workspace) { min-height:0; flex:1 1 0; }
 body[data-home-practice="true"][data-mock-view="exam"][data-mock-section="reading"] .rw-workspace,
 body[data-home-practice="true"][data-mock-view="exam"][data-mock-section="reading"] .rw-split { min-height:0; height:100%; flex:1 1 0; }
 body[data-home-practice="true"][data-mock-view="exam"][data-mock-section="reading"] .page-footer:has(.rw-footer-note) { position:relative; margin-top:8px; padding-block:9px; }
 body[data-home-practice="true"][data-mock-view="exam"][data-mock-section="reading"] .rw-instructions { max-height:24dvh; }
}
@media(max-width:720px) {
 body[data-home-practice="true"][data-mock-view="exam"][data-mock-section="reading"] .rw-footer-actions { gap:6px; flex-wrap:wrap; justify-content:flex-end; }
 body[data-home-practice="true"][data-mock-view="exam"][data-mock-section="reading"] .rw-footer-actions .control-button { padding-inline:12px; }
 body[data-home-practice="true"][data-mock-view="exam"][data-mock-section="reading"] .page-footer:has(.rw-footer-note) { gap:8px; }
}

@media(min-width:721px) {
 body[data-home-listening="true"][data-mock-view="exam"][data-mock-section="listening"] { overflow:hidden; }
 body[data-home-listening="true"][data-mock-view="exam"] .mock-shell { height:100dvh; min-height:0; }
 body[data-home-listening="true"][data-mock-view="exam"] .shell-main { display:flex; flex-direction:column; height:100dvh; min-height:0; overflow:hidden; }
 body[data-home-listening="true"][data-mock-view="exam"] .topbar { flex-shrink:0; }
 body[data-home-listening="true"][data-mock-view="exam"] .page-frame { display:flex; flex:1; min-height:0; padding:8px 20px 0; overflow:hidden; }
 body[data-home-listening="true"][data-mock-view="exam"] .workspace-card { display:flex; flex-direction:column; flex:1; min-width:0; min-height:0; }
 body[data-home-listening="true"][data-mock-view="exam"] .page-header { flex-shrink:0; }
 body[data-home-listening="true"][data-mock-view="exam"] .page-body:has(.lw-workspace) { flex:1 1 0; min-height:0; overflow-y:auto; overscroll-behavior:contain; padding-bottom:12px; }
 body[data-home-listening="true"][data-mock-view="exam"] .page-footer:has(.lw-key-hints) { position:relative; inset:auto; flex-shrink:0; padding:9px 0; }
 body[data-home-listening="true"] .lw-session { padding:10px 16px; }
 body[data-home-listening="true"] .lw-session .header-part-nav { display:flex; }
 body[data-home-listening="true"] .lw-session .part-chip { min-width:70px; }
 body[data-home-listening="true"] .lw-workspace { gap:10px; margin-top:10px; }
 body[data-home-listening="true"] .lw-card { padding:16px; }
 body[data-home-listening="true"] .lw-listen .lw-figure--scene img { max-height:min(24vh,200px); }
 body[data-home-listening="true"] .lw-intro .lw-figure img { max-height:min(24vh,200px); }
}
@media(max-width:720px) {
 body[data-home-listening="true"][data-mock-view="exam"] .page-footer:has(.lw-key-hints) { flex-wrap:wrap; gap:6px; }
 body[data-home-listening="true"][data-mock-view="exam"] .lw-key-hints { display:none; }
 body[data-home-listening="true"][data-mock-view="exam"] .footer-actions { flex-wrap:wrap; gap:6px; }
 body[data-home-listening="true"][data-mock-view="exam"] .page-frame { padding-bottom:150px; }
}

body[data-home-practice="true"].practice-confirm-open .mock-shell{visibility:hidden}
