/* Deliberately scoped: generic button styles must not affect the host page. */
#freeTestBlock,.ea-autotest{--qz-ink:#17253d;--qz-muted:#53647b;--qz-purple:#5148d7;--qz-line:#dce2ed;--qz-paper:#f5f7fc;font-family:"Poppins",system-ui,-apple-system,"Segoe UI",sans-serif;color:var(--qz-ink);font-size:14px;line-height:1.6;box-sizing:border-box}
#freeTestBlock *, .ea-autotest *{box-sizing:border-box}
#freeTestBlock{width:100%;margin:0 auto}
#freeTestBlock .free-test-card{border:1px solid var(--qz-line);border-radius:24px;background:#fff;overflow:hidden;box-shadow:0 16px 44px #1a26400a}
#freeTestBlock .free-test-hero{padding:32px;background:linear-gradient(120deg,#f1efff,#eff9f4)}
#freeTestBlock .free-test-badge,.ea-autotest .qz-eyebrow{display:inline-block;font-size:11px;font-weight:800;letter-spacing:1.2px;color:#4840a5}
#freeTestBlock .free-test-title{font-size:clamp(25px,3vw,36px);font-weight:850;letter-spacing:-1px;line-height:1.2;margin:14px 0}
#freeTestBlock .free-test-sub{max-width:800px;margin:0;color:#465770;font-size:15px;line-height:1.75}
#freeTestBlock .free-test-body{display:grid;grid-template-columns:minmax(0,1.25fr) minmax(270px,.85fr);gap:28px;padding:28px 32px}
#freeTestBlock .ft-list{padding-left:18px;color:var(--qz-muted);font-size:13px;margin:0 0 22px}
#freeTestBlock .ft-list li{margin-bottom:9px}
#freeTestBlock .free-test-features{display:grid;grid-template-columns:1fr 1fr;gap:12px}
#freeTestBlock .ft-pill{padding:15px;border:1px solid var(--qz-line);border-radius:12px;font-size:12px;color:var(--qz-muted)}
#freeTestBlock .ft-pill b{color:var(--qz-ink);display:inline-block;margin-bottom:4px;font-size:13px}
#freeTestBlock .free-test-cta{background:var(--qz-paper);padding:20px;border-radius:18px}
#freeTestBlock .scorebox{font-size:13px;padding:0 0 18px;color:#43546d}
#freeTestBlock .btns{display:grid;gap:10px}
#freeTestBlock .free-test-note,#freeTestBlock .free-test-mini{font-size:12px;color:var(--qz-muted);margin:16px 0 0}
#freeTestBlock .btn-primary,#freeTestBlock .btn-outline,#freeTestBlock .btn-download,#freeTestBlock .ea-premium-open,.ea-autotest .btn-primary,.ea-autotest .btn-outline,.ea-autotest .ea-premium-open{display:inline-flex;align-items:center;justify-content:center;gap:8px;text-decoration:none;padding:12px 18px;border:1px solid var(--qz-line);border-radius:11px;background:white;color:var(--qz-ink);font-size:13px;font-weight:750;line-height:1.5;cursor:pointer;min-height:46px;white-space:normal;text-align:center;box-shadow:none}
#freeTestBlock .btn-primary,.ea-autotest .btn-primary{background:var(--qz-purple);border-color:var(--qz-purple);color:white!important}
#freeTestBlock .ea-premium-open,.ea-autotest .ea-premium-open{background:#e7f5ed;border-color:#c2dfcd;color:#20563d!important}
#freeTestBlock .btn-download{color:#8c2833!important}
#freeTestBlock a:hover,.ea-autotest button:hover:not(:disabled),.ea-autotest a:hover{filter:brightness(.96)}
#freeTestBlock :focus-visible,.ea-autotest :focus-visible{outline:3px solid #bf7b17;outline-offset:3px}
.ea-autotest[aria-hidden="true"]{display:none}
.ea-autotest.is-open{position:fixed;inset:0;display:block;z-index:999999;background:#10182bba;padding:20px;overflow:auto;overscroll-behavior:contain}
.ea-autotest .qz-panel{width:min(1200px,100%);margin:0 auto;background:var(--qz-paper);border-radius:22px;box-shadow:0 20px 80px #0004;overflow:hidden}
.ea-autotest .qz-top{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:21px 26px;background:#fff;border-bottom:1px solid var(--qz-line)}
.ea-autotest .qz-top .ttl{font-size:18px;font-weight:800;line-height:1.3}.ea-autotest .qz-top .sub{font-size:12px;color:var(--qz-muted);margin-top:5px}
.ea-autotest .qz-chip{font-size:14px;font-weight:800;white-space:nowrap;background:#f0eefc;border-radius:10px;padding:10px 12px;font-variant-numeric:tabular-nums}
.ea-autotest .qz-close{display:grid;place-items:center;flex-shrink:0;width:40px;height:40px;border:1px solid var(--qz-line);border-radius:10px;background:white;cursor:pointer}
.ea-autotest .qz-progress-box{padding:18px 26px;background:#fff;border-bottom:1px solid var(--qz-line)}
.ea-autotest .qz-progress-card{display:grid;grid-template-columns:1fr 1.4fr 1fr;gap:20px;align-items:center;font-size:12px}
.ea-autotest .qz-progress-title{font-weight:800}.ea-autotest .qz-progress-answered{text-align:right;color:var(--qz-muted)}
.ea-autotest .qz-progress-track{height:7px;background:#e8ebf2;border-radius:10px;overflow:hidden}.ea-autotest .qz-progress-fill{height:100%;width:0;background:#7063e6;border-radius:10px;transition:width .2s}
.ea-autotest .qz-body{display:grid;grid-template-columns:minmax(0,1fr) 255px;gap:0;align-items:start}
.ea-autotest .qz-main{padding:26px;min-width:0}.ea-autotest #qzMainArea{scroll-margin-top:20px}
.ea-autotest .qz-side{padding:24px 20px;border-left:1px solid var(--qz-line);font-size:12px;position:sticky;top:0}
.ea-autotest .qz-side h4{font-size:14px;margin:0 0 8px;font-weight:800}.ea-autotest .qz-side p{margin:0 0 12px;color:var(--qz-muted)}
.ea-autotest .qz-row{display:flex;flex-wrap:wrap;gap:10px;margin:12px 0}.ea-autotest .qz-kpi{padding:10px;background:#fff;border:1px solid var(--qz-line);border-radius:10px;flex:1;min-width:90px;font-size:11px}
.ea-autotest .qz-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:7px;margin-top:10px}
.ea-autotest .qz-cell{border:1px solid var(--qz-line);background:white;color:var(--qz-ink);border-radius:9px;min-height:36px;cursor:pointer;font-size:12px;font-weight:750;padding:4px}
.ea-autotest .qz-cell.done,.ea-autotest .qz-cell.correct{background:#e1f0e7;border-color:#88b99c;color:#21563a}
.ea-autotest .qz-cell.wrong{background:#fff0da;border-color:#dcba7c;color:#75521a}.ea-autotest .qz-cell.cur{outline:2px solid var(--qz-purple);outline-offset:1px}
.ea-autotest .qz-alert{color:var(--qz-muted);font-size:12px;line-height:1.65;margin:15px 0}
.ea-autotest .qz-res{background:white;padding:12px;border:1px solid var(--qz-line);border-radius:10px;margin:18px 0}
.ea-autotest .qz-startbox.qz-welcome{padding:30px;background:white;border:1px solid var(--qz-line);border-radius:18px}
.ea-autotest .qz-welcome h2{font-size:32px;line-height:1.25;letter-spacing:-1px;margin:16px 0;font-weight:800;color:var(--qz-ink)}
.ea-autotest .qz-welcome p{font-size:14px;color:var(--qz-muted)}
.ea-autotest .qz-modes{margin:24px 0 16px;padding:0;border:0;display:grid;grid-template-columns:1fr 1fr;gap:12px;min-width:0}
.ea-autotest .qz-modes legend{width:100%;font-size:14px;font-weight:800;padding:0;margin-bottom:12px}
.ea-autotest .qz-modes label{display:flex;align-items:flex-start;gap:12px;padding:18px 14px;background:#fff;border:1px solid var(--qz-line);border-radius:12px;cursor:pointer;margin:0}
.ea-autotest .qz-modes label:has(input:checked){background:#f1efff;border-color:var(--qz-purple);box-shadow:inset 0 0 0 1px var(--qz-purple)}
.ea-autotest .qz-modes input{accent-color:var(--qz-purple);margin-top:4px;width:17px;height:17px;flex-shrink:0}
.ea-autotest .qz-modes b{display:block;font-size:14px}.ea-autotest .qz-modes small{display:block;font-size:11px;line-height:1.6;margin-top:5px;color:var(--qz-muted)}
.ea-autotest .qz-mode-switch{margin-bottom:20px;font-size:12px}.ea-autotest summary{cursor:pointer;font-weight:750;color:#49408f}
.ea-autotest .qz-question{background:#fff;border:1px solid var(--qz-line);border-radius:16px;overflow:hidden;margin:0 0 24px;scroll-margin-top:20px}
.ea-autotest .qz-qtop{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:16px 20px;border-bottom:1px solid var(--qz-line)}
.ea-autotest .qz-qnum{font-size:17px;font-weight:800;margin:0;line-height:1.5;color:var(--qz-ink)}.ea-autotest .qz-qnum small{font-size:12px;font-weight:500;color:var(--qz-muted)}
.ea-autotest .qz-tag{font-size:11px;padding:5px 9px;background:#eff1f8;border-radius:20px;color:#53607c}
.ea-autotest .qz-imgwrap{padding:18px 12px;background:#fff}.ea-autotest .qz-imgwrap img,.ea-autotest .qz-reading img{display:block;width:100%;height:auto;max-width:100%}
.ea-autotest img[hidden],.ea-autotest [hidden]{display:none!important}
.ea-autotest .qz-answer-group{border:0;border-top:1px solid var(--qz-line);padding:15px 18px;margin:0;min-width:0}
.ea-autotest .qz-answer-group legend{font-size:12px;font-weight:600;margin:0;padding:0 5px;width:auto;color:var(--qz-muted)}
.ea-autotest .qz-opts{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;padding:0}
.ea-autotest .qz-opt{display:flex;align-items:center;justify-content:center;gap:10px;border:1px solid var(--qz-line);border-radius:10px;min-height:46px;padding:9px;cursor:pointer;margin:0;color:var(--qz-ink);font-size:15px;font-weight:800}
.ea-autotest .qz-opt:has(input:checked){background:#efedff;border-color:var(--qz-purple)}.ea-autotest .qz-opt input{accent-color:var(--qz-purple);margin:0;width:17px;height:17px}
.ea-autotest .qz-opt.qz-correct-option{background:#e6f4eb;border-color:#83b398;color:#205436}
.ea-autotest .qz-reading{padding:15px 18px;background:#f8f8fd;border-bottom:1px solid var(--qz-line);font-size:12px}.ea-autotest .qz-reading img{margin-top:14px}
.ea-autotest .qz-nav{display:flex;justify-content:space-between;align-items:center;gap:10px;flex-wrap:wrap;margin-top:22px}
.ea-autotest .qz-nav button{border:1px solid var(--qz-line);border-radius:10px;padding:12px 16px;background:#fff;color:var(--qz-ink);font-size:12px;font-weight:750;cursor:pointer;min-height:46px}
.ea-autotest .qz-nav .primary{background:var(--qz-purple);border-color:var(--qz-purple);color:white}
.ea-autotest button:disabled{opacity:.5;cursor:default}
.ea-autotest .qz-review-header{display:flex;align-items:center;justify-content:space-between;gap:14px;margin-bottom:20px;font-size:11px;color:var(--qz-muted)}
.ea-autotest .qz-feedback{background:#f5f8f1;padding:22px;border-top:1px solid var(--qz-line);font-size:13px}.ea-autotest .qz-feedback h4{font-size:14px;font-weight:800;margin:18px 0 8px}.ea-autotest .qz-feedback p{margin:8px 0}
.ea-autotest .qz-result-hero{background:#fff;border:1px solid var(--qz-line);border-radius:18px;padding:30px;text-align:left}
.ea-autotest .qz-result-hero h2{font-size:29px;line-height:1.25;margin:15px 0;font-weight:800;letter-spacing:-.7px;color:var(--qz-ink)}
.ea-autotest .qz-result-score{font-size:70px;font-weight:850;letter-spacing:-3px;line-height:1.2;color:var(--qz-purple);margin:20px 0 5px}.ea-autotest .qz-result-score small{font-size:28px;color:var(--qz-muted);letter-spacing:-1px}
.ea-autotest .qz-result-hero p{font-size:13px;color:var(--qz-muted)}.ea-autotest .qz-result-mini{display:flex;flex-wrap:wrap;gap:9px;margin:22px 0}.ea-autotest .qz-mini-pill{background:#f0f2f9;border-radius:9px;padding:10px 12px;font-size:11px}.ea-autotest .qz-mini-pill b{display:block;font-size:17px}
.ea-autotest .qz-next-step{background:#fff;border:1px solid var(--qz-line);border-radius:16px;padding:25px;margin-top:20px}
.ea-autotest .qz-next-step h3{font-size:19px;font-weight:800;margin:0 0 10px}.ea-autotest .qz-next-step p{font-size:13px;color:var(--qz-muted)}
.ea-autotest .qz-next-step ul{padding-left:18px}.ea-autotest .qz-topic-link{padding:3px 0;background:none;border:0;color:#49408f;text-decoration:underline;cursor:pointer;font-size:13px;text-align:left}
.ea-autotest .qz-result-actions{display:flex;flex-wrap:wrap;gap:10px;margin-top:22px}
.ea-autotest .qz-image-error{font-size:13px;color:var(--qz-muted);padding:18px}.ea-autotest .qz-image-error button{cursor:pointer}
@media(max-width:900px){#freeTestBlock .free-test-body{grid-template-columns:1fr}.ea-autotest .qz-body{grid-template-columns:minmax(0,1fr)}.ea-autotest .qz-side{position:static;border-left:0;border-top:1px solid var(--qz-line);padding:22px 26px}.ea-autotest .qz-grid{grid-template-columns:repeat(10,minmax(0,1fr))}.ea-autotest .qz-startbox.qz-welcome{padding:24px}.ea-autotest .qz-progress-card{grid-template-columns:1fr 1fr;gap:10px}.ea-autotest .qz-progress-track{grid-column:1/-1;grid-row:2}}
@media(max-width:540px){#freeTestBlock .free-test-hero,#freeTestBlock .free-test-body{padding:23px 18px}#freeTestBlock .free-test-features{gap:8px}#freeTestBlock .ft-pill{padding:12px 10px}.ea-autotest.is-open{padding:0}.ea-autotest .qz-panel{border-radius:0;min-height:100%}.ea-autotest .qz-top{padding:16px;gap:10px;align-items:flex-start}.ea-autotest .qz-top .ttl{font-size:15px}.ea-autotest .qz-top .sub{font-size:10px}.ea-autotest .qz-chip{padding:8px;font-size:12px}.ea-autotest .qz-close{width:34px;height:34px}.ea-autotest .qz-progress-box{padding:14px 16px}.ea-autotest .qz-progress-card{font-size:10px;gap:10px}.ea-autotest .qz-main{padding:18px 14px}.ea-autotest .qz-startbox.qz-welcome{padding:23px 18px}.ea-autotest .qz-welcome h2{font-size:26px}.ea-autotest .qz-welcome p{font-size:13px}.ea-autotest .qz-modes{grid-template-columns:1fr}.ea-autotest .qz-modes label{padding:15px}.ea-autotest .qz-qtop{padding:13px}.ea-autotest .qz-qnum{font-size:15px}.ea-autotest .qz-tag{font-size:10px}.ea-autotest .qz-opts{gap:7px}.ea-autotest .qz-opt{padding:8px 5px;gap:7px;font-size:14px}.ea-autotest .qz-answer-group{padding:14px 12px}.ea-autotest .qz-nav{display:grid;grid-template-columns:1fr 1fr}.ea-autotest .qz-nav .primary{grid-column:1/-1;grid-row:2}.ea-autotest .qz-nav button{padding:12px 10px;font-size:12px}.ea-autotest .qz-grid{grid-template-columns:repeat(5,minmax(0,1fr))}.ea-autotest .qz-result-hero{padding:24px 20px}.ea-autotest .qz-result-hero h2{font-size:25px}.ea-autotest .qz-next-step{padding:20px}.ea-autotest .qz-result-actions{flex-direction:column}.ea-autotest .qz-review-header{align-items:flex-start;flex-direction:column}.ea-autotest .qz-feedback{padding:18px}.ea-autotest .qz-imgwrap{padding:14px 6px}}
@media(prefers-reduced-motion:reduce){.ea-autotest *{scroll-behavior:auto!important;transition:none!important}}
.ea-autotest .qz-confirmation{position:fixed;inset:0;z-index:2;display:grid;place-items:center;background:#111b36aa;padding:20px}.ea-autotest .qz-confirmation section{background:white;padding:28px;border-radius:18px;width:min(480px,100%);box-shadow:0 20px 70px #0004}.ea-autotest .qz-confirmation h2{font-size:21px;line-height:1.4;margin:0 0 14px}.ea-autotest .qz-confirmation p{font-size:13px;color:var(--qz-muted)}.ea-autotest .qz-confirmation section>div{display:flex;gap:10px;flex-wrap:wrap;margin-top:22px}
.ea-autotest .qz-panel{overflow:clip}.ea-autotest .qz-toolbar{position:sticky;top:0;z-index:1;background:white}.ea-autotest .qz-side{top:155px}.ea-autotest #qzMainArea,.ea-autotest .qz-question{scroll-margin-top:170px}
.ea-autotest .qz-enlarge{border:0;background:none;padding:3px 18px 13px;font-size:11px;color:#49408f;text-decoration:underline;cursor:pointer}.ea-autotest .qz-image-viewer{position:fixed;inset:0;z-index:2;background:#111b36ba;display:grid;place-items:center;padding:16px}.ea-autotest .qz-image-viewer section{width:min(1100px,100%);max-height:95vh;background:white;border-radius:16px;padding:18px;min-width:0;overflow:auto}.ea-autotest .qz-image-viewer header{display:flex;align-items:center;justify-content:space-between;gap:12px;font-size:13px}.ea-autotest .qz-image-viewer p{font-size:12px;color:var(--qz-muted)}.ea-autotest .qz-image-scroll{overflow:auto;max-height:70vh;border:1px solid var(--qz-line);background:white}.ea-autotest .qz-image-scroll img{display:block;max-width:none;width:auto;height:auto}
.ea-autotest .qz-modes legend,.ea-autotest .qz-answer-group legend{float:none;display:block}.ea-autotest .qz-modes legend{grid-column:1/-1}
.ea-autotest-info{margin:30px 0;padding:28px;background:white;border:1px solid #dce2ed;border-radius:18px;color:#24334e;font:14px/1.8 Poppins,system-ui,sans-serif}.ea-autotest-info>span{font-size:10px;letter-spacing:1.2px;color:#605696;font-weight:800}.ea-autotest-info h2{font-size:23px;font-weight:800;line-height:1.4;margin:14px 0}.ea-autotest-info h3{font-size:16px;font-weight:800}.ea-autotest-info p{font-size:13px;color:#53647b}.ea-autotest-info-grid{display:grid;grid-template-columns:1fr 1fr 1fr;gap:22px;margin:25px 0}.ea-autotest-info details{padding:15px 0;border-top:1px solid #e5e9f2}.ea-autotest-info summary{cursor:pointer;font-size:13px;font-weight:750}.ea-autotest-info nav{display:flex;flex-wrap:wrap;gap:18px;font-size:12px;margin-top:20px}.ea-autotest-info a{color:#5148a2;text-decoration:underline}#autotest-ranking,#autotest-como-funciona{scroll-margin-top:90px}.ea-autotest-intro{position:fixed;inset:0;z-index:999998;display:grid;place-items:center;background:#152139a6;padding:20px;font:14px/1.6 Poppins,system-ui,sans-serif;color:#24334e}.ea-autotest-intro[hidden],.ea-autotest-intro [hidden]{display:none!important}.ea-intro-panel{width:min(700px,100%);max-height:90dvh;overflow:auto;background:white;border-radius:22px;box-shadow:0 25px 90px #0004;padding:24px}.ea-intro-panel>header{display:flex;align-items:flex-start;justify-content:space-between;gap:15px;margin-bottom:17px}.ea-intro-panel>header span{font-size:9px;letter-spacing:1.3px;font-weight:800;color:#665b97}.ea-intro-panel h2{font-size:21px;font-weight:800;margin:6px 0 0;line-height:1.4;color:#24334e}.ea-intro-panel>header button{background:white;border:1px solid #dce2ed;border-radius:10px;width:36px;height:36px;cursor:pointer;flex-shrink:0}.ea-intro-slides img{display:block;width:100%;height:auto;border-radius:14px}.ea-intro-slides h3{font-size:24px;font-weight:800;line-height:1.3;margin:18px 0 10px;color:#24334e}.ea-intro-slides p{font-size:13px;color:#53647b;line-height:1.8;min-height:69px;margin:0}.ea-intro-progress{display:flex;justify-content:space-between;align-items:center;gap:15px;margin:17px 0;font-size:11px;color:#63728b}.ea-intro-progress>div{display:flex;gap:7px}.ea-intro-progress button{width:9px;height:9px;border:0;border-radius:50%;background:#d8dce9;padding:0;cursor:pointer}.ea-intro-progress button[aria-current]{width:23px;border-radius:9px;background:#6555cf}.ea-intro-panel>footer{display:flex;justify-content:space-between;gap:12px}.ea-intro-panel>footer button{min-height:44px;padding:10px 17px;background:white;border:1px solid #dce2ed;border-radius:10px;color:#293950;font-family:inherit;font-size:12px;font-weight:750;cursor:pointer}.ea-intro-panel>footer [data-guide-next],.ea-intro-panel>footer [data-guide-done]{background:#5148d7;color:white;border-color:#5148d7}.ea-intro-panel button:disabled{opacity:.45;cursor:default}.ea-intro-bottom{display:flex;justify-content:space-between;gap:15px;flex-wrap:wrap;margin-top:17px;padding-top:15px;border-top:1px solid #e7eaf2;font-size:11px}.ea-intro-bottom a,.ea-intro-bottom button{color:#5148a2;font-size:11px;border:0;background:none;font-family:inherit;padding:0;cursor:pointer;text-decoration:underline}.ea-autotest-intro :focus-visible{outline:3px solid #b88323;outline-offset:4px}.ea-autotest-intro .ea-intro-panel:focus{outline:0}.ea-autotest .qz-save-feedback{font-size:12px;color:#53647b;margin-top:15px}@media(max-width:700px){.ea-autotest-info-grid{grid-template-columns:1fr;gap:9px}.ea-autotest-info{padding:24px 19px}.ea-autotest-info h2{font-size:21px}.ea-autotest-intro{padding:13px}.ea-intro-panel{padding:20px 17px;border-radius:18px;max-height:88dvh}.ea-intro-panel h2{font-size:18px}.ea-intro-slides h3{font-size:22px}.ea-intro-slides p{font-size:12px;min-height:86px}.ea-intro-bottom{gap:10px}.ea-intro-panel>header span{font-size:8px}.ea-intro-progress{margin:13px 0}}
.ea-autotest-intro,.ea-autotest-intro *{box-sizing:border-box}

/* Subject companions stay in the question flow, never over the answer controls. */
.ea-autotest .qz-companion{display:flex;align-items:center;gap:14px;padding:16px 20px;background:#f2efff;border-bottom:1px solid var(--qz-line);min-width:0}
.ea-autotest .qz-companion.is-language{background:#fff6e6}
.ea-autotest .qz-companion img{width:64px;height:64px;flex-shrink:0;object-fit:cover;border-radius:18px}
.ea-autotest .qz-companion>div{min-width:0}.ea-autotest .qz-companion strong{display:block;font-size:13px;line-height:1.4;color:var(--qz-ink)}
.ea-autotest .qz-companion span{display:block;font-size:10px;color:var(--qz-muted);margin-top:2px}.ea-autotest .qz-companion p{margin:5px 0 0;font-size:12px;line-height:1.5;color:#46546c}
.ea-autotest .qz-main,.ea-autotest .qz-side{min-width:0}.ea-autotest .qz-answer-group legend{float:none;display:block;margin-bottom:10px}
.ea-autotest .qz-progress-card>*{min-width:0}.ea-autotest .qz-close{min-width:44px;min-height:44px}
.ea-autotest #qzMainArea,.ea-autotest .qz-question{scroll-margin-top:calc(var(--qz-toolbar-height,155px) + 24px)}
@media(max-width:540px){
  .ea-autotest .qz-top{padding:12px 14px;align-items:center}.ea-autotest .qz-top>div:first-child{min-width:0}.ea-autotest .qz-top .ttl{font-size:13px}.ea-autotest .qz-top .sub{display:none}
  .ea-autotest .qz-progress-box{padding:10px 14px}.ea-autotest .qz-progress-card{gap:6px}.ea-autotest .qz-main{padding:14px 10px}.ea-autotest .qz-grid{gap:8px}.ea-autotest .qz-cell{min-height:44px}
  .ea-autotest .qz-companion{padding:12px;gap:10px}.ea-autotest .qz-companion img{width:52px;height:52px;border-radius:14px}.ea-autotest .qz-companion strong{font-size:12px}.ea-autotest .qz-companion p{font-size:11px}
  .ea-autotest .qz-qtop{gap:8px}.ea-autotest .qz-tag{flex-shrink:0}.ea-autotest .qz-opt{gap:5px}.ea-autotest .qz-answer-group{padding:14px 10px}
}
@media(max-height:500px) and (orientation:landscape){.ea-autotest .qz-toolbar{position:static}.ea-autotest #qzMainArea,.ea-autotest .qz-question{scroll-margin-top:15px}.ea-autotest .qz-side{position:static}}

/* Short greetings arrive at progress milestones, inside the normal exam flow. */
.ea-autotest .qz-companion{background:white;border:0;gap:12px;padding:12px 16px 0}
.ea-autotest .qz-companion picture{display:block;width:108px;height:108px;flex:0 0 108px;overflow:hidden;border-radius:20px}
.ea-autotest .qz-companion img{display:block;width:100%;height:100%;object-fit:contain;border-radius:0}
.ea-autotest .qz-companion>div{padding:13px 15px;border-radius:15px 15px 15px 3px;background:#f2efff;flex:1}
.ea-autotest .qz-companion.is-language{background:white}.ea-autotest .qz-companion.is-language>div{background:#fff5df}
.ea-autotest .qz-companion.is-arriving picture{animation:qz-companion-arrive .45s ease-out both}
@keyframes qz-companion-arrive{from{opacity:0;transform:translateY(12px) rotate(-3deg)}to{opacity:1;transform:none}}
@media(max-width:540px){.ea-autotest .qz-companion{padding:10px 10px 0;gap:8px}.ea-autotest .qz-companion picture{width:84px;height:100px;flex-basis:84px}.ea-autotest .qz-companion>div{padding:11px}.ea-autotest .qz-companion p{font-size:11px}}
@media(prefers-reduced-motion:reduce){.ea-autotest .qz-companion.is-arriving picture{animation:none}}
