body.guided-reading>header,body.guided-reading>footer,body.guided-reading>#xtc-wire,body.guided-reading>#xtc-desktop-toolbar{display:none!important}body.living-v2.guided-reading{height:100dvh;overflow:hidden;display:block!important}body.guided-reading>#xtc-desktop-sidebar{display:none!important}body.living-v2.guided-reading>main#app{height:100dvh!important;max-height:100dvh;padding:14px 18px;overflow:hidden;width:100%;margin:0}.guided-shell{height:100%;max-width:680px;margin:auto;display:grid;grid-template-rows:42px 44px minmax(0,1fr) 50px;gap:12px}.guided-top{display:flex;align-items:center;justify-content:space-between;gap:12px}.guided-top span{font-size:11px;color:#46685c;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.guided-top button{width:40px;min-height:38px!important}.guided-steps{display:flex;gap:4px;border-bottom:1px solid #d5dfd5;padding-bottom:6px}.guided-steps button{flex:1;font-size:11px!important;min-height:36px!important;border:0!important;padding:4px;background:transparent!important}.guided-steps button[aria-current]{color:#007d72!important;background:#e0eee5!important}.guided-content{min-height:0;display:flex;flex-direction:column;gap:12px}.guided-content h1{font-size:clamp(25px,4.3dvh,37px)!important;line-height:1.1!important;margin:0!important}.guided-content .eyebrow{font-size:9px!important}.guided-mentor{position:relative;flex:1;min-height:90px;overflow:hidden;border-radius:14px;background:#183e35}.guided-mentor img{height:100%;width:100%;object-fit:cover;object-position:50% 26%}.guided-mentor>span{position:absolute;top:10px;right:10px;color:#fff;background:#193b34dd;padding:6px 8px;border-radius:6px;font-size:10px}.guided-summary{font-size:13px!important;line-height:1.5!important;margin:0!important}.guided-secondary{padding:10px 12px!important;font-size:12px!important;text-align:left;flex:none}.guided-bottom{display:flex;gap:10px}.guided-bottom button:first-child{width:44px;flex:none}.guided-bottom button:last-child{flex:1;font-size:13px;font-weight:bold}.guided-content>.c2-visual-card{flex:1;min-height:0;display:flex;flex-direction:column;margin:0;padding:8px}.guided-content .c2-diagram{width:100%;height:100%;min-height:0;flex:1}.guided-content .c2-expand-visual,.guided-content figcaption{display:none}.guided-measures{display:flex;gap:12px;justify-content:center}.guided-measures span{padding:12px;background:#eaf1e7;flex:1;text-align:center;border-radius:10px;font-size:15px}.guided-measures strong{color:#007d72}.guided-caption{font-size:10px!important;margin:0!important;text-align:center}.guided-mini{flex:1;min-height:70px;max-height:28dvh;display:flex;justify-content:center}.guided-mini .c2-visual-card{height:100%;margin:0;border:0!important;background:transparent!important;padding:0}.guided-mini svg{height:100%;width:auto;max-width:100%}.guided-question{font-size:14px!important;line-height:1.4!important;margin:0!important;font-weight:600}.guided-options{display:flex;flex-direction:column;gap:8px}.guided-options button{display:flex;align-items:center;gap:12px;text-align:left;padding:10px 12px;font-size:13px!important;min-height:44px!important}.guided-options button.chosen{background:#007d72!important;color:#fff!important}.guided-explanation{background:#e4f1e6;border-radius:12px;padding:14px}.guided-explanation p,.guided-context p{font-size:13px!important;line-height:1.5!important;margin:8px 0 0!important}.guided-context{flex:1;min-height:0;overflow:auto;border:1px solid #d2dfd1;padding:14px;border-radius:12px}.guided-status{display:flex;gap:8px;font-size:10px;color:#35644f}.guided-status span{background:#e4f1e6;padding:8px;border-radius:8px}#guided-result{font-size:11px;color:#007d72;min-height:15px}
@media(max-height:650px){.guided-shell{gap:8px;grid-template-rows:36px 38px minmax(0,1fr) 44px}.guided-content{gap:8px}.guided-content h1{font-size:25px!important}.guided-summary,.guided-explanation p,.guided-context p{font-size:11px!important}.guided-measures span{padding:8px}.guided-options button{font-size:11px!important;padding:8px;min-height:38px!important}}
/* Isolate the lesson grid from the legacy mobile nav order rule. */
body.guided-reading .guided-shell>.guided-top{grid-row:1;order:0}
body.guided-reading .guided-shell>.guided-steps{grid-row:2;order:0;width:100%;margin:0;min-height:0;align-self:stretch}
body.guided-reading .guided-shell>.guided-content{grid-row:3;order:0;overflow:hidden}
body.guided-reading .guided-shell>.guided-bottom{grid-row:4;order:0;height:50px;min-height:0;max-height:50px;position:static;align-self:stretch}
body.guided-reading .guided-bottom button{height:100%;max-height:50px;min-height:0!important;position:static;margin:0}
body.guided-reading .guided-mentor img{object-fit:contain;object-position:center;background:#173b34}
body.guided-reading .guided-steps button{height:36px;max-height:36px;min-width:0;flex:1;white-space:nowrap}
body.guided-reading .guided-content>h1{flex:none}
body.guided-reading .guided-content>.c2-visual-card{height:0;flex:1 1 0;min-height:80px;max-height:none;overflow:hidden}
body.guided-reading .guided-mini .c2-visual-card{display:flex;align-items:center;justify-content:center;width:100%}
body.guided-reading .guided-mini .c2-diagram{flex:none;height:100%;width:100%;max-height:100%;object-fit:contain}
@media(max-height:650px){body.guided-reading .guided-shell>.guided-bottom{height:44px;max-height:44px}}
