:root{--navy:#17344c;--ink:#193950;--blue:#2c8094;--cyan:#e7f7fb;--orange:#fb7951;--peach:#fff0dc;--lime:#dff3bf;--mint:#edfbf6;--line:#d6e9ec;--white:#fff;--shadow:0 16px 44px rgba(24,66,80,.12);--softshadow:0 8px 21px rgba(24,66,80,.07)}
*{box-sizing:border-box}html,body{width:100%;height:100%;margin:0;overflow:hidden;background:#eaf8f7;color:var(--ink)}body{font-family:'Trebuchet MS','Segoe UI',Arial,sans-serif;font-size:17px;-webkit-font-smoothing:antialiased}button,input,textarea{font:inherit}button{cursor:pointer}button:focus-visible,input:focus-visible,textarea:focus-visible{outline:3px solid #fdab57;outline-offset:3px}button:disabled{opacity:.42;cursor:not-allowed}.app{height:100dvh;display:flex;flex-direction:column;min-width:0;overflow:hidden;background:radial-gradient(circle at 3% 0%,#fffbe4 0,transparent 32%),radial-gradient(circle at 99% 99%,#d3f2ea 0,transparent 30%),#eaf8f7}.topbar{height:65px;flex:none;padding:8px max(22px,calc((100vw - 1510px)/2));display:flex;align-items:center;justify-content:space-between;background:var(--navy);color:white;z-index:10;box-shadow:0 4px 16px rgba(16,56,75,.12)}.brand{display:flex;align-items:center;gap:12px}.brandicon{width:46px;height:46px;background:#ffd56c;border:3px solid #fff2cd;border-radius:15px;display:grid;place-items:center;font-size:25px;transform:rotate(-5deg)}.brandword{font-size:19px;font-weight:900;letter-spacing:.02em;line-height:1.1}.brandcaption{font-size:11px;letter-spacing:.04em;opacity:.84;margin-top:3px}.topright{display:flex;align-items:center;gap:12px;font-size:12px;font-weight:800;letter-spacing:.08em}.headerbadge{background:#2c6373;border:1px solid #6eacb7;padding:8px 14px;border-radius:999px}.headerstar{color:#ffd878;font-size:20px}.screen{min-height:0;flex:1;width:100%;max-width:1500px;margin:auto;display:flex;flex-direction:column;padding:clamp(12px,1.4vw,22px) clamp(16px,2.3vw,34px);overflow:hidden}.card{background:white;border:1px solid #dceced;border-radius:24px;box-shadow:var(--softshadow)}.eyebrow{color:#197f91;font-weight:900;font-size:12px;letter-spacing:.17em;text-transform:uppercase}.btn{border:0;border-radius:15px;padding:14px 22px;font-weight:900;display:inline-flex;gap:9px;align-items:center;justify-content:center;transition:transform .12s,filter .12s;background:white;color:var(--ink);box-shadow:var(--softshadow);min-height:50px}.btn:hover:not(:disabled){transform:translateY(-1px);filter:brightness(.99)}.btn.primary{background:var(--orange);color:#fff;box-shadow:0 10px 20px rgba(251,121,81,.25)}.btn.blue{background:var(--blue);color:white}.btn.ghost{border:2px solid #d8ebeb;box-shadow:none;background:white}.btn.small{min-height:40px;border-radius:11px;padding:8px 13px;font-size:13px}.subtitle{color:#587283}.hero{flex:1;min-height:0;display:grid;grid-template-columns:1.05fr .95fr;gap:24px;align-items:stretch}.hero-left{padding:18px 8px 12px;min-height:0;display:flex;flex-direction:column;justify-content:center}.headline{font-weight:1000;font-size:clamp(42px,5.3vw,86px);line-height:.95;letter-spacing:-.063em;margin:15px 0 18px}.headline em{font-style:normal;color:var(--orange)}.hero-sub{font-size:clamp(17px,1.4vw,21px);line-height:1.46;max-width:560px;margin:0 0 19px}.skills{display:flex;gap:10px;margin:8px 0 12px}.skill{flex:1;background:#fff;border:2px solid #dbeaec;border-radius:17px;min-width:0;padding:12px 11px;display:flex;align-items:center;gap:10px}.skill .ico{font-size:27px}.skill strong{font-size:16px;display:block}.skill span{font-size:12px;color:#557482;display:block}.oas{font-size:12px;color:#376179;line-height:1.5;background:#e4f2f3;padding:10px 14px;border-radius:11px;margin:8px 0 12px}.intro-form{display:flex;gap:11px;margin-top:7px;align-items:center}.name{border:2px solid #c8e1e1;padding:14px 18px;border-radius:14px;font-size:17px;min-width:0;background:white;flex:1;min-height:52px}.hero-right{min-width:0;position:relative;border:7px solid white;border-radius:32px;background:#fff;overflow:hidden;box-shadow:var(--shadow);display:flex;flex-direction:column}.hero-photo-grid{height:100%;width:100%;display:grid;grid-template-columns:1.1fr .9fr;grid-template-rows:1fr 1fr;gap:7px;background:white}.hero-photo-grid img{display:block;width:100%;height:100%;object-fit:contain;background:#e2f5ef}.hero-photo-grid img:first-child{grid-row:span 2}.hero-sticker{position:absolute;left:19px;bottom:20px;background:#fff7d6;border:2px solid #fff;padding:14px 17px;box-shadow:0 6px 22px #15384933;border-radius:20px;font-weight:900;font-size:18px;transform:rotate(-4deg)}.hero-sticker small{display:block;color:#437185;font-size:12px}.cover-buttons{display:flex;gap:9px;align-items:center;margin-top:9px}.fineprint{font-size:11px;color:#66828f;margin-top:11px}.reviewtag{background:#e3f4cd;color:#355e40;font-size:13px;padding:6px 11px;border-radius:99px;font-weight:900;display:inline-flex;width:max-content;margin:5px 0}.progressrow{display:flex;align-items:center;justify-content:space-between;gap:10px;flex:none;margin-bottom:13px}.part{display:flex;align-items:center;gap:8px}.part-icon{background:#fff4d4;border:1px solid #ffe1a3;border-radius:11px;padding:9px;font-size:21px}.partlabel{font-size:14px;font-weight:900}.partsub{font-size:11px;color:#67848f;font-weight:700}.countbadge{font-size:15px;font-weight:900;border-radius:14px;background:white;padding:10px 18px;border:1px solid #dbe9eb}.progressline{height:8px;border-radius:50px;background:#d1e6e7;overflow:hidden;flex:1;margin:0 14px}.progressfill{width:0%;height:100%;border-radius:50px;background:linear-gradient(90deg,#42b5b4,#ffba66);transition:width .23s}.qa-grid{min-height:0;flex:1;display:grid;grid-template-columns:minmax(0,.89fr) minmax(0,1.11fr);gap:18px;overflow:hidden}.media-card{min-width:0;min-height:0;display:flex;flex-direction:column;overflow:hidden;border-radius:26px;background:#fff;border:2px solid #fff;box-shadow:var(--softshadow)}.photo-frame{flex:1;min-height:0;background:linear-gradient(140deg,#e9f9f3,#fff1ce);padding:12px;display:grid;place-items:center;overflow:hidden}.photo-frame img{width:100%;height:100%;display:block;object-fit:contain;border-radius:16px}.media-caption{padding:12px 17px;display:flex;align-items:center;gap:9px;font-size:14px;font-weight:900;background:#fff;flex:none}.media-caption span:last-child{color:#4c7484;font-size:12px;font-weight:600}.media-caption .bullet{height:11px;width:11px;border-radius:50%;background:#ffb350}.activity{min-width:0;min-height:0;display:flex;flex-direction:column;overflow:hidden;padding:clamp(16px,2vw,26px);background:white;border:1px solid #dcecec;border-radius:26px;box-shadow:var(--softshadow)}.activity .eyebrow{font-size:12px;letter-spacing:.08em}.question{font-size:clamp(22px,2.35vw,32px);font-weight:1000;line-height:1.16;letter-spacing:-.035em;margin:10px 0 18px;overflow-wrap:anywhere}.instruction{font-size:15px;color:#567486;margin:-6px 0 14px}.choices{display:grid;grid-template-columns:1fr;gap:10px;overflow:hidden;min-height:0}.option{text-align:left;display:flex;align-items:center;gap:14px;min-height:62px;border:2px solid #d5e8ec;border-radius:15px;background:#fcffff;color:var(--ink);padding:8px 14px;font-weight:800;font-size:clamp(17px,1.4vw,21px);line-height:1.17;transition:border-color .15s,background .15s;overflow:hidden}.option:hover{background:#f4fcfe;border-color:#85c7d7}.option.selected{background:#e5f8f1;border:3px solid #36a98d;padding:7px 13px}.optionletter{flex:0 0 35px;height:35px;display:grid;place-items:center;border-radius:12px;background:#e2edf1;color:#247085;font-weight:1000;font-size:15px}.option.selected .optionletter{background:#36a98d;color:white}.option span:last-child{flex:1}.gloss{padding:0 1px;border:0;border-bottom:2px dotted #4ebdb5;background:transparent;color:inherit;font:inherit;font-weight:inherit;cursor:help;display:inline}.wordpop{position:fixed;z-index:80;background:#173d51;color:white;font-size:16px;font-weight:800;padding:9px 14px;border-radius:12px;box-shadow:0 12px 30px #1239445a;max-width:min(300px,90vw);pointer-events:none}.control-row{display:flex;justify-content:space-between;align-items:center;gap:10px;flex:none;margin-top:14px}.bottom-nav{height:72px;flex:none;max-width:1500px;width:100%;margin:0 auto;padding:8px clamp(16px,2.3vw,34px) 12px;display:flex;align-items:center;justify-content:space-between;gap:12px;background:transparent}.nav-status{font-size:13px;font-weight:800;color:#587784;display:flex;align-items:center;gap:12px}.stepdots{display:flex;gap:5px}.stepdots i{width:7px;height:7px;background:#bedadd;border-radius:8px}.stepdots i.on{width:22px;background:#2c8094}.nav-actions{display:flex;gap:10px}.audio-panel{background:#eaf9f6;border:2px solid #caf0e5;border-radius:19px;padding:14px 16px;margin:0 0 16px}.audio-title{font-size:13px;letter-spacing:.08em;font-weight:900;color:#2e6b77}.audio-action{display:flex;align-items:center;gap:12px;margin-top:10px}.playbtn{border:0;border-radius:14px;background:var(--navy);color:white;min-width:130px;padding:14px 16px;font-weight:900;font-size:17px;display:inline-flex;align-items:center;justify-content:center;gap:9px}.playbtn .playico{font-size:23px}.audio-note{font-size:12px;color:#56808a;line-height:1.35}.audio-note.error{color:#9e3c32}.audio-link{display:inline-block;color:#176986;font-size:12px;margin-top:6px}.writing-input{border:2px solid #bfdce1;border-radius:15px;min-height:62px;background:#fbfeff;padding:12px 15px;font-size:19px;color:var(--ink);width:100%;resize:none}.copy-area{padding-top:11px;display:flex;flex-direction:column;gap:7px;min-height:0}.copy-label{font-size:13px;font-weight:900;color:#4f7785}.order-area{min-height:0;display:flex;flex-direction:column;gap:11px}.sentence-line{border:2px dashed #afd5dc;border-radius:15px;min-height:69px;padding:9px;display:flex;flex-wrap:wrap;gap:7px;align-items:center;align-content:center;background:#f5fbfd}.tokens{display:flex;flex-wrap:wrap;align-content:flex-start;align-items:flex-start;gap:9px;min-height:0}.wordtoken{padding:9px 13px;border-radius:10px;border:2px solid #b8d7db;background:white;font-size:17px;font-weight:900;color:#1c4961;min-height:41px}.wordtoken.chosen{border-color:#f5af7e;background:#ffefdf}.wordtoken:disabled{opacity:.15}.hint{font-size:13px;color:#5f7e89}.story-card{padding:15px 18px;background:#fff;min-height:0;overflow:hidden;display:flex;flex-direction:column;border-radius:24px;border:1px solid #dcecec;box-shadow:var(--softshadow)}.story-banner{height:120px;flex:none;display:flex;gap:14px;align-items:center;min-width:0;margin-bottom:9px}.story-banner img{height:100%;width:36%;max-width:230px;object-fit:contain;border-radius:13px;background:#e6f5ef}.story-banner h3{font-size:clamp(20px,2.2vw,28px);line-height:1.07;margin:0}.story-text{font-size:clamp(18px,1.45vw,21px);line-height:1.46;letter-spacing:-.008em;font-weight:550;margin:2px 0;overflow:hidden}.story-hint{font-size:11px;color:#56858a;margin-top:auto;padding-top:8px;font-weight:800}.readtab{display:none}.reviewbar{background:#fff5d4;color:#6b5927;border:1px solid #ffe3a6;padding:8px 13px;font-size:13px;font-weight:900;border-radius:12px;margin-bottom:9px;display:flex;justify-content:space-between;gap:10px}.reviewbar button{background:#fff;border:1px solid #eed394;border-radius:8px;padding:4px 8px;font-size:12px;color:#715628;font-weight:900}.reviewkey{background:#e3faf1;border-radius:9px;padding:8px 10px;font-size:14px;margin-top:9px}.resultscreen{height:100%;min-height:0;display:grid;place-items:center}.resultcard{padding:clamp(20px,3vw,34px);text-align:center;width:min(800px,100%);background:white;border-radius:30px;box-shadow:var(--shadow)}.resultcard h1{font-size:clamp(33px,4vw,54px);margin:9px 0}.bigscore{display:inline-block;background:linear-gradient(135deg,#ffe5bd,#fff1dc);border-radius:23px;padding:16px 28px;font-size:clamp(38px,5vw,63px);font-weight:1000;color:#14526a;margin:12px 0}.grades{display:grid;grid-template-columns:repeat(3,1fr);gap:11px;margin:12px 0 15px}.gradecell{padding:12px 8px;border-radius:14px;background:#f0f8fa;font-weight:900}.gradecell small{display:block;font-size:11px;letter-spacing:.08em;color:#62818c}.resultactions{display:flex;gap:12px;justify-content:center;flex-wrap:wrap}.resulttext{font-size:14px;color:#5a7986}.results-table{width:100%;border-collapse:collapse;background:white;border-radius:15px;overflow:hidden;font-size:14px}.results-table th,.results-table td{padding:11px 9px;border-bottom:1px solid #e3ecee;text-align:left}.results-table th{background:#e8f6f6}.results-wrap{overflow:auto;min-height:0;flex:1;background:white;border-radius:15px}.home-recs{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin-top:12px}.rec{background:#fff;border:2px solid #e1eff0;border-radius:13px;padding:12px;font-size:13px;color:#4b7283}.rec b{display:block;color:#143d50}.notice{font-size:12px;border-radius:10px;padding:9px 12px;background:#fff7df;color:#6f623f}.overlay{position:fixed;inset:0;z-index:90;background:#0f324b8a;display:grid;place-items:center;padding:20px}.dialog{background:white;border-radius:24px;width:min(450px,100%);padding:24px;box-shadow:0 20px 60px #102d4080}.dialog h2{font-size:25px;margin:5px 0}.dialog p{color:#51707d;line-height:1.5}.dialog-buttons{display:flex;gap:10px;justify-content:flex-end;flex-wrap:wrap;margin-top:18px}.hidden{display:none!important}
@media (max-width:950px){.hero{gap:12px}.hero-left{padding:0}.headline{font-size:clamp(40px,5.5vw,65px)}.hero-photo-grid img:first-child{grid-row:span 1}.hero-sticker{font-size:14px}.qa-grid{grid-template-columns:minmax(0,.8fr) minmax(0,1.2fr)}.story-card{padding:13px}.story-text{font-size:17px;line-height:1.36}.story-banner{height:97px}.media-caption{font-size:11px}.activity{padding:17px}.option{font-size:17px;min-height:54px}}
@media (max-width:690px){.topbar{height:51px;padding:6px 13px}.brandicon{height:36px;width:36px;border-radius:12px;font-size:22px}.brandword{font-size:14px}.brandcaption{font-size:9px}.topright{font-size:10px;gap:5px}.headerbadge{padding:6px 8px}.headerstar{display:none}.screen{padding:9px 11px}.hero{display:flex;flex-direction:column-reverse;gap:8px;justify-content:flex-end}.hero-right{height:156px;flex:none;border-radius:19px;border-width:4px}.hero-photo-grid{grid-template-columns:1fr 1fr 1fr;grid-template-rows:1fr}.hero-photo-grid img:first-child{grid-row:auto}.hero-photo-grid img:nth-child(4){display:none}.hero-sticker{font-size:12px;padding:6px 9px;left:9px;bottom:9px;border-radius:10px}.hero-sticker small{display:none}.hero-left{flex:1;display:flex;justify-content:space-between;min-height:0}.eyebrow{font-size:10px}.headline{font-size:clamp(36px,9.2vw,48px);margin:2px 0 3px}.hero-sub{font-size:13px;line-height:1.25;margin:0}.skills{gap:6px;margin:7px 0 4px}.skill{border-radius:12px;padding:7px 5px;gap:3px;flex-direction:column;align-items:center}.skill .ico{font-size:20px;line-height:1}.skill strong{font-size:12px}.skill span{font-size:10px}.oas{font-size:10px;line-height:1.2;margin:4px 0 5px;padding:7px 8px}.intro-form{gap:7px;margin:4px 0}.name{padding:9px 11px;font-size:14px;min-height:44px;border-radius:12px}.btn{min-height:43px;padding:9px 13px;font-size:14px;border-radius:12px}.cover-buttons{margin:4px 0;gap:6px}.cover-buttons .btn{min-height:35px;font-size:11px;padding:7px 10px}.fineprint{font-size:9px;margin-top:4px}.progressrow{margin-bottom:7px}.part-icon{padding:5px;font-size:16px;border-radius:9px}.partlabel{font-size:12px}.partsub{font-size:10px}.countbadge{font-size:12px;padding:8px}.progressline{height:6px;margin:0 5px}.qa-grid{display:flex;flex-direction:column;gap:8px}.media-card{flex:none;height:145px;border-radius:16px}.media-caption{display:none}.photo-frame{padding:5px}.photo-frame img{border-radius:11px}.activity{flex:1;border-radius:17px;padding:12px;min-height:0}.activity .eyebrow{font-size:10px}.question{font-size:clamp(21px,5.5vw,26px);margin:5px 0 9px;line-height:1.13}.instruction{font-size:12px;margin:0 0 7px}.choices{gap:7px}.option{font-size:16px;padding:7px 9px;min-height:50px;border-radius:12px;gap:8px}.option.selected{padding:6px 8px}.optionletter{width:30px;height:30px;flex-basis:30px;border-radius:9px}.audio-panel{padding:8px 10px;margin:4px 0 7px;border-radius:13px}.audio-title{font-size:11px}.audio-action{margin-top:4px}.playbtn{padding:7px 10px;border-radius:9px;min-width:118px;font-size:13px;min-height:35px}.playbtn .playico{font-size:17px}.audio-note{font-size:10px}.audio-link{font-size:10px}.bottom-nav{height:62px;padding:6px 11px 10px}.bottom-nav .btn{min-height:40px;padding:8px 12px}.nav-status{font-size:10px;gap:5px}.stepdots i{width:5px;height:5px}.stepdots i.on{width:13px}.nav-actions{gap:6px}.reading-story-only{display:flex!important;flex:1}.qa-grid.reading-story-only .activity{display:none}.qa-grid.reading-story-only .story-card{display:flex!important}.qa-grid.reading-answer-only .story-card{display:none!important}.qa-grid.reading-answer-only .read-answer-image{display:flex!important}.story-card{flex:1;min-height:0;border-radius:18px;padding:10px 13px}.story-banner{height:110px;margin-bottom:5px;gap:9px}.story-banner img{width:40%;max-width:140px}.story-banner h3{font-size:22px}.story-text{font-size:18px;line-height:1.4}.story-hint{font-size:10px}.readtab{display:flex;gap:7px;padding:0 0 7px}.readtab button{border:2px solid #d5e7eb;background:#fff;border-radius:9px;padding:5px 10px;font-size:12px;font-weight:900}.readtab button.active{background:#d9f7ed;border-color:#5cbaaa}.qa-grid.reading-answer-only .read-answer-image{display:flex;flex-direction:row;gap:10px;align-items:center;padding:7px;height:78px}.read-answer-image img{height:100%;max-width:125px;width:36%;object-fit:contain;border-radius:8px;background:#e7f6f1}.read-answer-image span{font-weight:900;font-size:14px}.qa-grid.reading-story-only .read-answer-image{display:none!important}.copy-area{padding-top:7px}.writing-input{padding:8px 10px;font-size:16px;min-height:47px;max-height:57px}.copy-label{font-size:11px}.sentence-line{min-height:44px;padding:5px;gap:4px}.wordtoken{font-size:14px;min-height:33px;padding:6px 8px;border-radius:8px}.tokens{gap:5px}.order-area{gap:6px}.hint{font-size:11px}.reviewbar{font-size:10px;padding:4px 7px;margin-bottom:5px}.resultcard{padding:20px}.resultcard h1{font-size:29px}.bigscore{font-size:37px;margin:5px;padding:9px 17px}.gradecell{padding:8px 4px;font-size:13px}.resulttext{font-size:11px}.results-table{font-size:11px}.results-table th,.results-table td{padding:7px 5px}}
@media (max-width:690px) and (max-height:730px){.hero-right{height:116px}.hero-sub{font-size:11px}.hero-left{gap:1px}.headline{font-size:36px;margin:0}.skill .ico{font-size:17px}.skills{margin:3px 0}.skill{padding:5px}.oas{font-size:9px;margin:2px 0;padding:5px 7px}.fineprint{display:none}.progressrow{margin-bottom:5px}.media-card{height:105px}.question{font-size:20px;margin:3px 0 7px}.option{min-height:45px}.activity{padding:10px}.story-banner{height:78px}.story-text{font-size:17px;line-height:1.33}.story-hint{font-size:9px}.bottom-nav{height:57px}.nav-actions .btn{min-height:36px}.audio-panel{padding:6px 8px}.audio-note{font-size:9px}.writing-input{min-height:42px}.wordtoken{font-size:13px;padding:5px 7px}.order-area{gap:4px}.tokens{gap:4px}.sentence-line{min-height:38px}.reviewkey{font-size:11px;margin-top:3px}}
@media (max-width:690px) and (max-height:600px){.hero-right{display:none}.hero-left{justify-content:center}.media-card{height:72px}.photo-frame{padding:2px}.activity{padding:7px}.bottom-nav{height:49px}.question{font-size:18px}.option{min-height:38px;font-size:13px}.story-banner{height:58px}.story-text{font-size:15px;line-height:1.25}}
@media (prefers-reduced-motion: reduce){*,*:before,*:after{transition:none!important;animation:none!important}}

/* Final readability and full-image refinements. */
@media (min-width:691px){.hero-photo-grid{grid-template-columns:1fr 1fr;grid-template-rows:1.9fr 1fr}.hero-photo-grid img:first-child{grid-column:span 2;grid-row:auto}.hero-photo-grid img:nth-child(4){display:none}.audio-panel{padding:10px 13px;margin-bottom:9px}.story-text{font-size:22px;line-height:1.36}.reviewkey{position:absolute;left:18px;right:18px;top:65px;z-index:20;box-shadow:0 12px 30px #17495d40}}
@media (max-width:690px){.hero-left{justify-content:flex-start;gap:8px}.hero-photo-grid img:first-child{grid-column:auto}.reviewkey{position:absolute;top:55px;left:9px;right:9px;z-index:20;box-shadow:0 10px 20px #17495d40}.story-text{font-size:19px;line-height:1.35}}
@media (max-width:690px) and (max-height:730px){.story-text{font-size:18px;line-height:1.32}.hero-left{gap:4px}}
.activity{position:relative}

/* Listening audio now lives with the photo; answers never compete for vertical space. */
.listen-controlbar{flex:none;min-height:92px;display:flex;gap:9px;align-items:center;padding:10px 13px;background:#fff;border-top:1px solid #e2f1ed}
.listen-controlbar .rec-name{font-size:13px;font-weight:1000;flex:1;color:#275c71}.listen-controlbar .rec-name small{display:block;font-size:11px;color:#6c8b94;font-weight:700;margin-top:4px}
.listen-controlbar .playbtn{min-width:98px;min-height:44px;padding:9px 12px;font-size:15px}.listen-controlbar .audio-note{font-size:11px;max-width:120px}.listen-controlbar .audio-link{white-space:nowrap;font-size:12px;margin:0}
@media (max-width:690px){.media-card.listening-media{height:160px}.listen-controlbar{min-height:52px;padding:5px 8px;gap:6px}.listen-controlbar .rec-name{font-size:10px;flex:1}.listen-controlbar .rec-name small{display:none}.listen-controlbar .playbtn{min-width:75px;min-height:38px;font-size:12px;padding:6px 9px}.listen-controlbar .audio-note{font-size:9px;max-width:70px}.listen-controlbar .audio-link{font-size:10px}}
@media (max-width:690px) and (max-height:730px){.media-card.listening-media{height:127px}.listen-controlbar{min-height:42px}.listen-controlbar .playbtn{min-height:32px}.listen-controlbar .audio-note{font-size:9px}}

/* Tablet: show full-size reading text on its own screen instead of shrinking it. */
@media (min-width:691px) and (max-width:1000px){
 .readtab{display:flex;gap:10px;padding:1px 0 9px}.readtab button{border:2px solid #d5e7eb;background:#fff;border-radius:11px;padding:6px 15px;font-size:14px;font-weight:900}.readtab button.active{background:#d9f7ed;border-color:#5cbaaa}
 .qa-grid.reading-story-only{display:flex;flex-direction:column}.qa-grid.reading-story-only .activity{display:none}.qa-grid.reading-story-only .story-card{flex:1;width:100%;display:flex}
 .qa-grid.reading-answer-only{display:flex;flex-direction:column}.qa-grid.reading-answer-only .story-card{display:none}.qa-grid.reading-answer-only .read-answer-image{display:flex!important;height:95px;flex:none;gap:18px;padding:10px;align-items:center}.qa-grid.reading-answer-only .read-answer-image img{width:180px;height:100%;object-fit:contain}.qa-grid.reading-answer-only .activity{flex:1}
 .story-text{font-size:23px;line-height:1.43}.story-banner{height:122px}
}
@media (min-width:691px) and (max-width:1000px){.qa-grid.reading-answer-only .read-answer-image{height:55px}.qa-grid.reading-answer-only .activity{padding:14px}.qa-grid.reading-answer-only .option{min-height:48px}.qa-grid.reading-answer-only .choices{gap:7px}}

/* 19 Nov 2026: Short landscape screens - keep ALL three alternatives visible.
   Applied to both teacher and student views (including the longer Writing items). */
@media (min-width:691px) and (max-height:680px) {
 .topbar{height:53px;padding-top:5px;padding-bottom:5px}
 .brandicon{width:38px;height:38px;font-size:22px;border-radius:12px}
 .brandword{font-size:16px}.brandcaption{font-size:10px}
 .screen{padding-top:8px;padding-bottom:7px}
 .progressrow{margin-bottom:7px}
 .part-icon{padding:5px;font-size:17px}
 .partlabel{font-size:13px}.partsub{font-size:10px}
 .countbadge{padding:7px 13px;font-size:13px}
 .bottom-nav{height:55px;padding-top:5px;padding-bottom:7px}
 .bottom-nav .btn{min-height:39px;padding:8px 14px;font-size:14px}
 .qa-grid{gap:12px}
 .activity{padding:12px 17px;border-radius:21px}
 .reviewbar{padding:5px 8px;margin-bottom:5px;font-size:11px}
 .reviewbar button{padding:3px 6px;font-size:11px}
 .activity .eyebrow{font-size:11px}
 .question{font-size:clamp(21px,2.1vw,28px);margin:5px 0 11px;line-height:1.12}
 .instruction{font-size:13px;margin:-4px 0 9px}
 .choices{gap:7px;overflow:visible;flex:none}
 .option{min-height:51px;font-size:clamp(17px,1.35vw,19px);padding:6px 11px;gap:10px;border-radius:12px}
 .option.selected{padding:5px 10px}
 .optionletter{height:30px;flex-basis:30px;font-size:13px;border-radius:9px}
 .copy-area{padding-top:6px;gap:4px}
 .copy-label{font-size:12px}
 .writing-input{min-height:46px;max-height:50px;padding:8px 10px;font-size:16px}
 .order-area{gap:6px}
 .sentence-line{min-height:49px;padding:6px;gap:5px}
 .wordtoken{min-height:34px;padding:6px 9px;font-size:15px}
 .tokens{gap:5px}
 .story-banner{height:75px;margin-bottom:5px}
 .story-banner h3{font-size:22px}
 .story-card{padding:11px 13px}
 .story-text{font-size:19px;line-height:1.28}
 .listen-controlbar{min-height:62px;padding:7px 10px}
 .listen-controlbar .playbtn{min-height:39px;padding:6px 10px}
}
@media (min-width:691px) and (max-height:540px) {
 .topbar{height:44px}.screen{padding-top:4px;padding-bottom:3px}
 .progressrow{margin-bottom:4px}.bottom-nav{height:45px;padding:2px 15px}
 .bottom-nav .btn{min-height:33px;padding:5px 10px}
 .activity{padding:8px 11px}
 .reviewbar{margin-bottom:2px;padding:3px 5px}
 .question{font-size:21px;margin:2px 0 6px}
 .instruction{margin:-2px 0 4px}
 .choices{gap:4px}.option{min-height:43px;padding:4px 8px;font-size:16px}
 .option.selected{padding:3px 7px}.optionletter{height:26px;flex-basis:26px}
 .writing-input{min-height:36px;max-height:40px}
 .copy-area{padding-top:3px}
 .story-text{font-size:17px;line-height:1.2}
}

/* Exception for very narrow, short phones: favour complete answers over decorative photography. */
@media (max-width:350px) and (max-height:630px){
 .topbar{height:45px}.screen{padding:5px 8px}.bottom-nav{height:44px;padding:2px 8px}
 .bottom-nav .btn{min-height:32px;padding:4px 9px;font-size:12px}
 .progressrow{margin-bottom:3px}
 .media-card{height:42px}
 .media-card.listening-media{height:47px}
 .media-card.listening-media .photo-frame{display:none}
 .listen-controlbar{min-height:43px}
 .listen-controlbar .rec-name{display:none}
 .listen-controlbar .playbtn{flex:1}
 .activity{padding:8px}
 .question{font-size:18px;margin:2px 0 5px}
 .instruction{font-size:11px;margin:0 0 5px}
 .reviewbar{padding:2px 5px;margin-bottom:2px;font-size:9px}
 .reviewbar button{font-size:9px;padding:2px 4px}
 .choices{gap:4px}
 .option{min-height:36px;font-size:13px;padding:3px 6px;border-radius:10px}
 .option.selected{padding:2px 5px}
 .optionletter{width:23px;height:23px;flex-basis:23px;font-size:11px}
 .copy-area{padding-top:3px;gap:3px}
 .writing-input{min-height:34px;max-height:39px;font-size:14px;padding:5px 7px}
 .copy-label{font-size:10px}
 .read-answer-image{display:none!important}
}
