/* TO BE / TO DO: a single teaching column, followed by a grid-choice test. */
.page{display:block!important;width:min(1440px,calc(100% - 48px));padding-top:28px}
.page>.lesson-content,.page>.lesson-quiz{display:block;width:min(780px,100%);margin:24px 0 0!important;padding:30px 34px!important;min-width:0;max-width:none;grid-column:auto!important;align-self:auto;box-shadow:0 8px 24px rgba(18,66,140,.06);border-radius:30px}
.page>.lesson-content{margin-top:0!important}
.lesson-content .intro-title{font-size:clamp(25px,2.8vw,36px)}
.lesson-content .intro-text{margin-bottom:0}
.lesson-quiz .intro-title{font-size:clamp(23px,2.5vw,33px);line-height:1.25;margin-bottom:18px}
.lesson-quiz #testHeading .intro-title{margin-bottom:8px}
.lesson-quiz .quiz-goal{margin:0 0 18px;color:#44536a;font-size:16px;line-height:1.5;font-weight:400}
.lesson-quiz .test-shell{max-width:none}
.lesson-quiz .test-card{padding:20px 18px;border-radius:20px}
.lesson-quiz .source-sentence{font-size:clamp(22px,2.4vw,30px)}
.lesson-quiz .en-sentence{font-size:clamp(20px,2.2vw,27px);gap:7px;align-items:baseline}
.answer-blank{display:inline-flex;align-items:center;justify-content:center;min-width:94px;min-height:1.25em;border-bottom:3px solid #111111;color:#111111;font-weight:750;padding:0 7px 1px;text-align:center;vertical-align:baseline;white-space:nowrap}
.answer-blank.correct{color:#267347;border-color:#4bad6b;background:#f0fbf4}
.answer-blank.wrong{color:#ac3943;border-color:#ce6572;background:#fff3f3}
.lesson-quiz .grammar-grid{display:grid;grid-template-columns:minmax(105px,1.1fr) repeat(3,minmax(0,1fr));gap:8px;align-items:stretch;margin:20px 0 0}
.lesson-quiz .grammar-grid .cell{min-width:0;min-height:76px;padding:11px 6px;border-radius:16px}
.lesson-quiz .grammar-grid .header-cell{min-height:80px}
.lesson-quiz .grammar-grid .row-label{font-size:clamp(13px,1.6vw,17px)}
.lesson-quiz .grammar-grid .verb{font-size:clamp(18px,2vw,25px);line-height:1.15;font-weight:650;overflow-wrap:anywhere}
.lesson-quiz .verb-choice{font-family:inherit;cursor:pointer;transition:transform .12s ease,background .12s ease,box-shadow .12s ease;border-width:2px;touch-action:manipulation}
/* The present Simple ending -s in he / she / it: visible but not a change to answer data. */
.lesson-quiz .verb-choice:hover:not(:disabled){transform:translateY(-2px);box-shadow:0 5px 13px #345d9d20;border-color:#6d9fea}
.lesson-quiz .verb-choice:focus-visible{outline:3px solid #1c72e5;outline-offset:2px}
.lesson-quiz .verb-choice:disabled{opacity:1;cursor:default}
.lesson-quiz .verb-choice.picked-correct{border-color:#33985b;background:#dbf7e4;box-shadow:0 0 0 2px #80d3a044}
.lesson-quiz .verb-choice.picked-wrong{border-color:#cf5262;background:#ffe0e2;box-shadow:0 0 0 2px #cf526244}
.lesson-quiz .verb-choice.correct-form:not(.picked-correct){outline:2px solid #3bb064;outline-offset:-3px}
.lesson-quiz .test-status-row{display:flex;align-items:center;justify-content:flex-start;gap:12px;margin-top:14px;min-width:0}
.lesson-quiz .test-status-row .test-feedback{flex:1 1 auto;min-width:0;min-height:24px;margin:0;line-height:1.4;overflow-wrap:break-word}
.lesson-quiz .test-actions{margin-top:12px}
.lesson-quiz .listen-row{margin-top:14px}
/* Same trophy and voice affordances on both verbs (TO DO previously had neither). */
.lesson-quiz .test-streak{flex:0 0 auto;font-variant-numeric:tabular-nums;padding:7px 12px;border:1px solid #e1e8f2;border-radius:999px;background:#f5f8fc;color:#68778f;font-size:15px;font-weight:800;white-space:nowrap}
.lesson-quiz .test-streak.active{background:#fff6e4;border-color:#f4dfa9;color:#8a5900}
.lesson-quiz .test-milestone{margin-top:20px;padding:18px 12px;border:1px solid #f4dfa9;border-radius:20px;background:#fff8e8;text-align:center}
.lesson-quiz .test-milestone-icon{font-size:clamp(72px,10vw,100px);line-height:1.12;filter:drop-shadow(0 9px 12px rgba(130,84,8,.13))}
.lesson-quiz .test-milestone-title{font-size:clamp(22px,3.2vw,31px);font-weight:900;line-height:1.25;color:#825408;margin:8px 0 0}
.lesson-quiz .listen-row{display:flex;flex-wrap:wrap;align-items:center;gap:12px;margin-top:14px}
.lesson-quiz .listen-button{display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:9px 17px;border:1px solid #b9d7f6;border-radius:12px;background:#eaf5ff;color:#12549f;font-size:15px;font-weight:750;cursor:pointer;font-family:inherit}
.lesson-quiz .listen-button:hover:not(:disabled){background:#d9edff}
.lesson-quiz .listen-button:disabled{opacity:.6;cursor:not-allowed}
.lesson-quiz .listen-button.speaking{border-color:#ebb16a;background:#fff3e5;color:#985100}
.lesson-quiz .listen-status{font-size:13px;color:#68778f;line-height:1.4}
.lesson-quiz .listen-button:focus-visible{outline:3px solid #126bff;outline-offset:2px}
.lesson-quiz [hidden]{display:none!important}
@media(max-width:760px){
.lesson-quiz .test-status-row{gap:9px}
.page{width:calc(100% - 18px);padding-top:12px}
.page>.lesson-content,.page>.lesson-quiz{width:100%;padding:20px 14px!important;margin-top:16px!important;border-radius:26px}
.page>.lesson-content{margin-top:0!important}
.lesson-quiz .grammar-grid{grid-template-columns:minmax(78px,1.12fr) repeat(3,minmax(0,1fr));gap:6px}
.lesson-quiz .grammar-grid .cell{min-height:65px;border-radius:13px;padding:9px 4px}
.lesson-quiz .grammar-grid .header-cell{min-height:70px}
.lesson-quiz .grammar-grid .row-label{font-size:clamp(11px,3vw,15px)}
.lesson-quiz .grammar-grid .verb{font-size:clamp(15px,4vw,21px)}
.lesson-quiz .test-card{padding:18px 12px}
.answer-blank{min-width:80px}
}
@media(max-width:370px){.lesson-quiz .grammar-grid{grid-template-columns:73px repeat(3,minmax(0,1fr));gap:4px}.lesson-quiz .grammar-grid .verb{font-size:14px}}

/* TO BE / TO DO: show the winning fox instead of the question at 20 correct in a row. */
.lesson-quiz .test-success-fox{display:none;width:min(100%,250px);height:auto;margin:0 auto 16px;border-radius:16px}
.lesson-quiz .test-milestone.complete .test-success-fox{display:block}
.lesson-quiz .test-milestone.complete .test-milestone-icon{display:none}
.lesson-quiz .test-card.complete{display:flex;flex-direction:column;align-items:center}
.lesson-quiz .test-card.complete>.source-sentence,.lesson-quiz .test-card.complete>.en-sentence,.lesson-quiz .test-card.complete>.grammar-grid,.lesson-quiz .test-card.complete>.test-status-row{display:none}
.lesson-quiz .test-card.complete>.test-milestone{order:0;width:100%;margin:0;background:transparent;border:0;padding:12px 0}
.lesson-quiz .test-card.complete>.listen-row{order:1;justify-content:center}
.lesson-quiz .test-card.complete>.test-actions{order:2;justify-content:center}
