.free-page{background:#f5f7ff;color:#17223b}.free-header{display:flex;justify-content:space-between;align-items:center;gap:1rem;padding-block:18px}.free-main{padding-block:40px;min-height:70vh}.free-main h1{font-size:clamp(1.8rem,4vw,3rem);line-height:1.12;letter-spacing:-.04em}.free-intro{max-width:850px;margin:30px auto;background:#2444ed;color:#fff;border-radius:30px;padding:clamp(24px,5vw,60px)}.free-intro h1{font-size:clamp(2.8rem,7vw,5rem);margin:16px 0 22px}.free-intro h1 em{color:#d9ff67;font-style:normal}.free-intro p{max-width:620px;line-height:1.6}.free-tag{display:inline-block;border-radius:99px;padding:7px 13px;background:#d9ff67;color:#17223b;font-size:.875rem;font-weight:800}.free-facts{display:flex;gap:12px;flex-wrap:wrap;margin:25px 0}.free-facts span{padding:9px 14px;border:1px solid #7389fa;border-radius:10px}.free-actions{display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin-top:24px}.free-small{font-size:.875rem;line-height:1.6}.free-intro .free-small{color:#e4e9ff}.free-intro ul{padding-left:22px;line-height:1.7}.free-secondary{background:#fff;color:#2444ed;border:1px solid #bbc5e9}.free-secondary:hover{background:#eaf0ff;color:#152894}.free-main button:disabled{opacity:.45;cursor:not-allowed}.free-toolbar{display:flex;justify-content:space-between;gap:15px;align-items:center;flex-wrap:wrap;margin-bottom:18px}.free-toolbar h1{font-size:1.4rem;margin:5px 0}.free-toolbar .free-tag{background:#e3e9ff;color:#2444ed}.free-clock{font-variant-numeric:tabular-nums;font-size:1.3rem;font-weight:800;padding:9px 16px;border:1px solid #b4c0e5;border-radius:12px;background:#fff}.free-clock.urgent{color:#9c271c;border-color:#9c271c}.free-progress{width:100%;height:7px;border:0;border-radius:99px;accent-color:#2444ed;display:block;margin-bottom:25px}.free-progress::-webkit-progress-bar{background:#dbe2f5;border-radius:99px}.free-progress::-webkit-progress-value{background:#2444ed;border-radius:99px}.free-question{display:grid;grid-template-columns:minmax(0,1.15fr) minmax(0,1fr);align-items:start;gap:28px}.free-scene{margin:0;position:sticky;top:20px}.free-scene button{display:block;padding:0;border:0;background:#e3e9ff;border-radius:18px;overflow:hidden;width:100%;cursor:zoom-in}.free-scene img{width:100%;height:auto;display:block}.free-scene button span{display:block;padding:9px 15px;text-align:right;color:#2444ed;font-size:.875rem;font-weight:700}.free-scene figcaption{font-size:.875rem;color:#54627b;margin-top:10px}.free-question.text-only{display:block;max-width:850px;margin-inline:auto}.free-question h2{font-size:clamp(1.3rem,2.1vw,1.65rem);line-height:1.45;margin:8px 0 14px;white-space:pre-line;letter-spacing:-.025em}.free-question .free-small{color:#54627b}.free-options{display:grid;gap:12px;margin:22px 0}.free-option{padding:17px;background:#fff;border:1px solid #d2dbed;border-radius:16px;min-width:0;margin:0}.free-option legend{float:left;width:100%;font-size:1rem;line-height:1.55;padding:0;margin-bottom:12px;font-weight:600}.free-choices{display:flex;gap:9px;clear:both}.free-choice{position:relative;display:flex;align-items:center;gap:8px;min-width:90px;padding:10px 16px;border:1px solid #aebcdb;border-radius:10px;cursor:pointer;font-weight:700}.free-choice:has(input:checked){background:#2444ed;color:#fff;border-color:#2444ed}.free-choice:has(input:focus-visible){outline:3px solid #8097ff;outline-offset:3px}.free-choice input{accent-color:#17223b;width:18px;height:18px;margin:0}.free-question-nav{display:flex;gap:10px;justify-content:space-between;margin-top:20px}.free-overview{border:1px solid #d2dbed;border-radius:16px;background:#fff;padding:16px;margin-top:30px}.free-overview summary{cursor:pointer;font-weight:700;padding:4px}.free-numbers{display:grid;grid-template-columns:repeat(auto-fit,minmax(43px,1fr));gap:7px;margin-top:18px}.free-number{min-height:43px;border:1px solid #aebcdb;border-radius:9px;background:#fff;color:#17223b;font:inherit;cursor:pointer}.free-number.done{background:#dff8e9;border-color:#97c9ad}.free-number[aria-current="step"]{outline:3px solid #2444ed;outline-offset:1px;font-weight:800}.free-bottom{display:flex;justify-content:space-between;align-items:center;gap:15px;margin-top:20px;flex-wrap:wrap}.free-error{padding:16px;border:1px solid #bb6355;border-radius:12px;background:#fff0ed;color:#8b291b;margin:16px 0}.free-result{background:#dff8e9;padding:clamp(24px,4vw,44px);border-radius:25px;margin-bottom:24px}.free-result.retry{background:#ffe2cc}.free-result h1{margin:15px 0}.free-score{font-size:3rem;letter-spacing:-.06em;font-weight:800}.free-result p{line-height:1.65}.free-review{border:1px solid #d2dbed;border-radius:16px;background:#fff;margin:12px 0;overflow:hidden}.free-review summary{display:flex;align-items:center;gap:12px;cursor:pointer;padding:18px;font-weight:700;line-height:1.5}.free-review-badge{flex:none;border-radius:8px;font-size:.875rem;padding:6px 10px;background:#dff8e9;color:#215438}.free-review-badge.wrong{background:#ffe2cc;color:#7c3416}.free-review-content{padding:0 20px 22px}.free-review-content img{display:block;max-width:650px;width:100%;height:auto;border-radius:12px;margin-bottom:20px}.free-review-content ul{padding-left:22px}.free-review-content li{padding-block:8px;line-height:1.5}.free-review-content li span{display:block;color:#52617d;font-size:.875rem}.free-feedback{border-top:1px solid #d2dbed;margin-top:12px;padding-top:12px;line-height:1.7}.free-footer{font-size:.875rem;color:#54627b;padding-block:24px}.free-page dialog{border:1px solid #bbc5e9;border-radius:20px;max-width:min(90vw,580px);padding:28px;color:#17223b}.free-page dialog::backdrop{background:#0d1634a8}.free-page dialog h2{font-size:1.6rem;margin-top:0}.free-page dialog p{line-height:1.6}.free-page .image-dialog{max-width:96vw;max-height:95vh;padding:12px}.image-dialog img{display:block;max-width:90vw;max-height:78vh;object-fit:contain;margin-top:12px}.free-page a:focus-visible,.free-page button:focus-visible,.free-page summary:focus-visible{outline:3px solid #6981ef;outline-offset:4px}.free-intro .button:focus-visible{outline-color:#fff}.free-pending{max-width:700px;margin:40px auto}.free-pending h1{font-size:2rem}
@media(max-width:850px){.free-question{grid-template-columns:1fr}.free-scene{position:static}.free-main{padding-top:25px}.free-question-body{max-width:700px;width:100%;margin-inline:auto}.free-intro{margin-block:0}.free-toolbar{gap:10px}.free-question h2{font-size:1.3rem}.free-question-nav .button{padding-inline:18px}.free-header .brand-mark{display:none}.free-header .text-link{font-size:.875rem}.free-review summary{align-items:flex-start}.free-review-badge{padding-inline:7px}.free-numbers{grid-template-columns:repeat(5,1fr)}}
@media(prefers-reduced-motion:reduce){.free-page *{scroll-behavior:auto!important;transition:none!important}}
.free-page [data-focus]:focus{outline:none}

/* Keep the current scene, every statement and navigation together in view.
   Content remains scrollable at high zoom; nothing is clipped or cropped. */
.free-page:has(.free-question) .free-header{padding-block:8px}
.free-page:has(.free-question) .brand{font-size:18px}
.free-page:has(.free-question) .brand-mark{width:34px;height:34px;border-radius:11px 11px 11px 4px;font-size:17px}
.free-page:has(.free-question) .brand small{font-size:12px;margin-top:3px;letter-spacing:2px}
.free-main:has(.free-question){padding-block:12px;min-height:0}
.free-toolbar{gap:12px;margin-bottom:8px;flex-wrap:nowrap}
.free-toolbar>div:first-child{display:flex;align-items:center;gap:12px;flex-wrap:wrap}
.free-toolbar h1{font-size:1.125rem;margin:0;line-height:1.3}
.free-toolbar .free-tag{padding:4px 10px;font-size:.75rem}
.free-clock{padding:5px 12px;font-size:1.125rem;flex-shrink:0}
.free-progress{height:4px;margin-bottom:14px}
.free-question{gap:24px;grid-template-columns:minmax(0,1.1fr) minmax(0,1fr)}
.free-scene{position:static}
.free-scene img{height:min(520px,calc(100dvh - 210px));min-height:180px;object-fit:contain;background:#e9edf7}
.free-scene button span{padding:5px 12px}
.free-scene figcaption{margin-top:5px;line-height:1.4}
.free-question h2{font-size:1.25rem;line-height:1.3;margin:0 0 8px}
.free-question .free-small{line-height:1.4}
.free-options{gap:8px;margin:12px 0}
.free-option{display:flow-root;padding:10px 12px;border-radius:12px}
.free-option legend{width:calc(100% - 166px);font-size:1rem;line-height:1.4;margin:0;min-height:42px;display:flex;align-items:center}
.free-choices{float:right;clear:none;width:150px;gap:6px}
.free-choice{min-width:0;flex:1;justify-content:center;padding:8px;gap:5px;min-height:42px;line-height:1.2;font-size:1rem}
.free-choice input{width:17px;height:17px;flex-shrink:0}
.free-question-nav{margin-top:12px}
.free-question-nav .button{min-height:44px;padding:9px 20px}
.free-overview{margin-top:14px;padding:10px 14px}
.free-bottom{margin-top:10px}
.free-bottom .button{padding:8px 18px;min-height:42px}
.free-page:has(.free-question) .free-footer{padding-block:12px}
@media(min-width:851px) and (max-height:650px){
 .free-main:has(.free-question){padding-block:8px}
 .free-progress{margin-bottom:10px}
 .free-question h2{font-size:1.125rem;margin-bottom:6px}
 .free-options{margin-block:8px;gap:6px}
 .free-option{padding:7px 10px}
 .free-question-nav{margin-top:8px}
 .free-scene img{height:calc(100dvh - 190px)}
}
@media(max-width:850px){
 .free-main:has(.free-question){padding-top:10px}
 .free-question{grid-template-columns:1fr;gap:12px}
 .free-toolbar>div:first-child{display:block}
 .free-toolbar .free-tag{display:none}
 .free-toolbar h1{font-size:1rem}
 .free-progress{margin-bottom:10px}
 .free-scene img{height:min(23dvh,200px);min-height:100px}
 .free-scene button span{font-size:.75rem;padding:3px 10px}
 .free-scene figcaption{font-size:.75rem;margin-top:3px}
 .free-question h2{font-size:1.125rem;line-height:1.3}
 .free-question .free-small{font-size:.875rem}
 .free-option{padding:8px 10px}
 .free-option legend{width:calc(100% - 140px)}
 .free-choices{width:130px}
 .free-choice{padding:7px 5px}
 .free-question-nav{margin-top:8px}
 .free-overview{margin-top:12px}
}
@media(max-width:360px){
 .free-option legend{width:100%;margin-bottom:6px;min-height:0}
 .free-choices{float:none;clear:both;width:100%}
}

/* Put starting/resuming and the result actions in the first viewport as well. */
.free-header{padding-block:10px}
.free-page .brand{font-size:18px}
.free-page .brand-mark{width:36px;height:36px;border-radius:12px;font-size:18px}
.free-page .brand small{margin-top:3px;letter-spacing:2px}
.free-main{padding-block:20px;min-height:0}
.free-intro{display:grid;grid-template-columns:1.05fr 1fr;gap:22px 32px;max-width:1040px;margin:8px auto;padding:30px 34px}
.free-intro h1{font-size:clamp(2rem,3.7vw,3.2rem);margin:16px 0;line-height:1.08;letter-spacing:-.04em}
.free-intro p{line-height:1.5}
.free-intro .free-actions{margin-top:20px;gap:10px}
.free-intro .button{padding:12px 20px;min-height:46px}
.free-intro-details{align-self:center;border-left:1px solid #7389fa;padding-left:28px}
.free-intro .free-facts{gap:8px;margin:0 0 14px}
.free-intro .free-facts span{font-size:.875rem;padding:6px 10px}
.free-intro ul{padding-left:20px;margin:0;line-height:1.6}
.free-intro li+li{margin-top:8px}
.free-intro-note{grid-column:1/-1;border-top:1px solid #7389fa;padding-top:15px}
.free-intro-note .free-small{max-width:none;font-size:.875rem}
.free-result{padding:24px 28px;margin-bottom:20px}
.free-result h1{font-size:clamp(1.7rem,3vw,2.5rem);margin:12px 0}
.free-result .free-score{font-size:2.5rem}
.free-result .free-actions{margin-top:16px}
.free-result .button{padding:11px 20px}
.free-result .free-small{margin-top:12px}
.free-footer{padding-block:12px}
@media(max-width:700px){
 .free-main{padding-block:12px}
 .free-intro{grid-template-columns:1fr;gap:20px;margin:0;padding:22px}
 .free-intro h1{font-size:2rem;margin-block:12px}
 .free-intro .free-tag{font-size:.75rem;padding:5px 10px}
 .free-intro .free-actions{margin-top:16px}
 .free-intro-details{padding:17px 0 0;border-left:0;border-top:1px solid #7389fa}
 .free-intro .free-facts{margin-bottom:12px}
 .free-intro li+li{margin-top:5px}
 .free-intro-note{padding-top:12px}
 .free-result{padding:20px}
}

/* One native checkbox per statement; unchecked means no. */
.free-option.free-check-option{display:grid;grid-template-columns:minmax(0,1fr) 24px;align-items:center;gap:16px;min-height:48px;padding:11px 13px;cursor:pointer;font-size:1rem;line-height:1.4;font-weight:600}
.free-check-option input{width:23px;height:23px;margin:0;accent-color:#2444ed;cursor:pointer}
.free-check-option:has(input:checked){background:#e9eeff;border-color:#2444ed}
.free-check-option:has(input:focus-visible){outline:3px solid #6981ef;outline-offset:2px}
@media(max-width:850px){.free-option.free-check-option{gap:12px;padding:9px 11px}}

.free-status{padding:12px 16px;border:1px solid #aebcdb;border-radius:12px;background:#e9eeff;color:#17223b;margin:12px 0;line-height:1.5}
.free-error .button{margin-top:12px}
.free-check-option:has(input:disabled){cursor:default}
.free-check-option input:disabled{cursor:default}
.free-narration{display:flex;flex-wrap:wrap;align-items:center;gap:10px 16px;margin:14px 0}.free-narration p{margin:0;flex-basis:100%}.free-narration button:disabled{opacity:.65;cursor:default}
