@import url("https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&display=swap");
.mpe-v2{--yellow:#fabb17;--ink:#182020;--muted:#68716c;--line:#e4e8df;--paper:#fff;box-sizing:border-box;max-width:760px;margin:0 auto;color:var(--ink);font:15px/1.6 'Plus Jakarta Sans','Tajawal',Arial,sans-serif;text-align:left;background:var(--paper);border:1px solid var(--line);border-radius:24px;overflow:hidden}.mpe-v2 *{box-sizing:border-box}.mpe-v2 [hidden]{display:none!important}.mpe-v2 main{padding:32px}.mpe-v2 h1{font-size:36px;letter-spacing:-1.3px;line-height:1.15;margin:12px 0 16px;font-weight:800;color:var(--ink)}.mpe-v2 h2{font-size:22px;line-height:1.35;margin:12px 0 16px;color:var(--ink)}.mpe-v2 h3{font-size:15px;margin:0 0 8px;color:var(--ink)}.mpe-v2 p{margin:0 0 16px}.mpe-v2 .muted{color:var(--muted)}.mpe-v2 .eyebrow{font-size:11px;letter-spacing:1.6px;font-weight:800;color:#68744b;text-transform:uppercase}.mpe-v2 .skills{display:flex;flex-wrap:wrap;gap:7px;margin:22px 0}.mpe-v2 .skills span{font-size:12px;border-radius:7px;padding:6px 9px;background:#f5f6f2;border:1px solid var(--line)}.mpe-v2 label.field{display:block;font-weight:700;font-size:13px;margin:18px 0 6px}.mpe-v2 input:not([type=radio]),.mpe-v2 select{font:inherit;font-size:16px;width:100%;background:white;border:1px solid #ccd2c6;border-radius:10px;padding:13px;color:var(--ink);min-height:49px}.mpe-v2 .phone{display:flex;gap:9px}.mpe-v2 .phone select{width:110px}.mpe-v2 .phone input{min-width:0;flex:1}.mpe-v2 button,.mpe-v2 .button{font:inherit;font-weight:700;border:0;border-radius:10px;min-height:49px;padding:13px 18px;cursor:pointer;display:inline-flex;align-items:center;justify-content:center;gap:9px;background:var(--yellow);color:var(--ink);text-decoration:none;transition:background .15s}.mpe-v2 button:hover{background:#efaf06}.mpe-v2 button.secondary{border:1px solid #ccd2c6;background:white}.mpe-v2 button.secondary:hover{background:#f3f5ef}.mpe-v2 button:disabled{opacity:.5;cursor:not-allowed}.mpe-v2 :focus-visible{outline:3px solid #587d27;outline-offset:3px}.mpe-v2 .wide{width:100%}.mpe-v2 .fine{font-size:12px;color:var(--muted);margin:14px 0}.mpe-v2 .fine a{color:inherit;text-decoration:underline}.mpe-v2 .error{color:#a02d25;font-size:13px;margin:10px 0}.mpe-v2 .progress-head{display:flex;justify-content:space-between;font-size:12px;color:var(--muted);margin-bottom:10px}.mpe-v2 .passage{white-space:pre-line;background:#f5f6f0;border-left:3px solid #bfce9f;border-radius:0 10px 10px 0;padding:20px;margin:16px 0 24px;font-size:15px;line-height:1.8}.mpe-v2 fieldset{border:0;margin:0;padding:0;min-width:0}.mpe-v2 legend{font-size:21px;font-weight:700;line-height:1.45;margin:0 0 20px;width:100%}.mpe-v2 .option{display:flex;gap:12px;align-items:center;border:1px solid var(--line);border-radius:10px;padding:14px;margin:9px 0;cursor:pointer;font-size:14px}.mpe-v2 .option:has(input:checked){background:#fff9e6;border-color:#e3ab10}.mpe-v2 .option input{accent-color:#b58100;width:18px;height:18px;margin:0;flex-shrink:0}.mpe-v2 .option.dk{border-style:dashed;color:var(--muted)}.mpe-v2 .next{margin-top:22px;display:flex;justify-content:space-between;align-items:center;gap:12px}.mpe-v2 .next small{color:var(--muted);font-size:11px}.mpe-v2 .audio{padding:18px;border:1px solid var(--line);border-radius:12px;margin:0 0 22px;background:#f9faf6}.mpe-v2 .audio p{font-size:12px;margin:8px 0 0;color:var(--muted)}.mpe-v2 .mic{display:grid;place-items:center;width:82px;height:82px;border-radius:50%;background:#fff3c8;margin:10px auto 24px;font-size:34px}.mpe-v2 .center{text-align:center}.mpe-v2 .recording{background:#fae8e5;color:#ad2c22}.mpe-v2 .meter{height:8px;border-radius:10px;background:#eceee5;overflow:hidden;margin:22px 0}.mpe-v2 .meter i{display:block;height:100%;width:0;background:#a12a21;transition:width .1s}.mpe-v2 .notice{padding:16px;border:1px solid #e4d6a2;background:#fff9e8;border-radius:12px;margin-bottom:18px;font-size:13px}.mpe-v2 .result-hero{display:flex;align-items:center;gap:22px;padding:24px;background:#f7f8f0;border:1px solid #dde4cf;border-radius:16px;margin:15px 0 24px}.mpe-v2 .level{display:grid;place-items:center;flex-shrink:0;width:110px;height:110px;border-radius:16px;background:var(--yellow);font-size:35px;font-weight:800;letter-spacing:-1px}.mpe-v2 .result-hero h1{font-size:24px;letter-spacing:-.6px;margin:0 0 8px}.mpe-v2 .result-hero p{font-size:13px;margin:0}.mpe-v2 .card{border:1px solid var(--line);border-radius:14px;padding:22px;margin:15px 0}.mpe-v2 .card p:last-child{margin-bottom:0}.mpe-v2 .skill-row{display:grid;grid-template-columns:1fr auto;gap:4px 14px;margin:17px 0}.mpe-v2 .skill-row:first-of-type{margin-top:20px}.mpe-v2 .skill-row span,.mpe-v2 .skill-row b{font-size:13px}.mpe-v2 .bar{height:5px;border-radius:10px;background:#edf0e5;grid-column:1/-1;overflow:hidden}.mpe-v2 .bar i{display:block;height:100%;background:#81985b}.mpe-v2 .skill-row small{font-size:11px;color:var(--muted);grid-column:1/-1}.mpe-v2 .grid{display:grid;grid-template-columns:1fr 1fr;gap:14px}.mpe-v2 .grid .card{margin:0}.mpe-v2 .tint{background:#fafbf7}.mpe-v2 .cta{margin-top:24px;padding:22px;background:#fff9e7;border-radius:14px}.mpe-v2 .cta button{width:100%;margin-top:10px}.mpe-preview-tools{max-width:760px;margin:0 auto 18px;font:12px/1.6 Arial,sans-serif;color:#56604c}.mpe-preview-tools button{background:white;border:1px solid #ccd2c6;padding:8px 10px;border-radius:7px;margin:4px 5px 0 0;cursor:pointer}.mpe-preview-tools strong{display:block}.mpe-v2 .status{min-height:24px}.mpe-v2 .speak-prompt{font-size:20px;line-height:1.6;padding:20px;background:#f6f7f1;border-radius:12px;margin-bottom:20px}.mpe-v2 .link-status{font-size:13px;margin-top:12px;color:#6a4d09}
@media(max-width:540px){.mpe-v2{border-radius:18px}.mpe-v2 main{padding:24px 20px}.mpe-v2 h1{font-size:29px}.mpe-v2 .grid,.mpe-v2 .result-hero{gap:15px;padding:18px}.mpe-v2 .level{width:82px;height:88px;font-size:29px}.mpe-v2 .result-hero h1{font-size:19px}.mpe-v2 legend{font-size:19px}.mpe-v2 .card{padding:18px}}
@media(prefers-reduced-motion:reduce){.mpe-v2 *{transition:none!important;scroll-behavior:auto!important}}

/* V1 country selector: same flags, dimensions and custom chevron. */
.mpe-v2 .phone{gap:8px;align-items:stretch}
.mpe-v2 .phone select{flex:0 0 auto;width:112px;padding:13px 26px 13px 10px;font-size:14px;color:#111827;border:1.5px solid #e5e7eb;border-radius:8px;cursor:pointer;-webkit-appearance:none;appearance:none;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='11' height='7' viewBox='0 0 11 7'%3E%3Cpath d='M1 1l4.5 4.5L10 1' stroke='%236B7280' stroke-width='1.5' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right 8px center}
.mpe-v2 .phone select:focus{outline:none;border-color:#fabb17;box-shadow:0 0 0 3px rgba(250,187,23,.2)}
/* Animate from the previous task's percentage, including after a screen render. */
.mpe-v2 .test-progress{display:flex;align-items:center;gap:10px;margin:0 0 26px}
.mpe-v2 .test-progress-track{flex:1;height:8px;background:#e5e7eb;border-radius:99px;overflow:hidden}
.mpe-v2 .test-progress-fill{height:100%;background:#fabb17;border-radius:99px;transition:width .5s cubic-bezier(.22,.61,.36,1);box-shadow:0 0 8px rgba(250,187,23,.45)}
.mpe-v2 .test-progress-pct{font-size:13px;font-weight:700;color:#6b7280;min-width:38px;text-align:right;font-variant-numeric:tabular-nums}
/* Current placement and the next learning target, without implying measured course completion. */







/* Preserve the original learning-plan card UI. */
.mpe-v2 .learning-plan{border:1.5px solid #e5e7eb;border-radius:12px;padding:18px 20px}
.mpe-v2 .plan-label{font-size:11px;font-weight:700;text-transform:uppercase;letter-spacing:.07em;color:#6b7280;margin-bottom:12px}
.mpe-v2 .mpe-sched{display:grid;grid-template-columns:1fr 1fr;gap:10px}
.mpe-v2 .mpe-sched-item{display:flex;align-items:flex-start;gap:10px;background:#f9fafb;border-radius:8px;padding:12px}
.mpe-v2 .mpe-sched-icon{font-size:18px;flex-shrink:0;margin-top:1px;line-height:1}
.mpe-v2 .mpe-sched-t{font-size:13px;font-weight:700;color:#111827;margin-bottom:3px}
.mpe-v2 .mpe-sched-v{font-size:12px;color:#374151;font-weight:600;line-height:1.45}
@media(max-width:480px){.mpe-v2 .mpe-sched{grid-template-columns:1fr;gap:8px}.mpe-v2 .phone select{padding-top:14px;padding-bottom:14px}}

/* Home-page-inspired 15-level pathway; scrolls within the card on smaller screens. */
.mpe-v2 .level-roadmap{margin-top:26px;padding-top:20px;border-top:1px solid #e8ebe3}
.mpe-v2 .roadmap-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:22px}
.mpe-v2 .roadmap-label{display:block;font-size:11px;font-weight:600;color:#68716c;margin-bottom:3px}
.mpe-v2 .roadmap-heading strong{font-size:16px;font-weight:800}.mpe-v2 .roadmap-heading strong span{font-weight:500;color:#92998d}
.mpe-v2 .roadmap-controls{display:flex;gap:6px}.mpe-v2 .roadmap-controls button{width:34px;min-height:34px;padding:0;border-radius:50%;font-size:17px}
.mpe-v2 .roadmap-viewport{position:relative;overflow-x:auto;overscroll-behavior-x:contain;scrollbar-width:thin;scrollbar-color:#cfd5c5 transparent;padding:5px 0 8px;-webkit-overflow-scrolling:touch}
.mpe-v2 .roadmap-track{position:relative;display:flex;gap:12px;list-style:none;width:max-content;margin:0;padding:0 8px;isolation:isolate}
.mpe-v2 .roadmap-track::before{content:'';position:absolute;top:64px;left:48px;right:48px;height:3px;background:#e8ebe4;z-index:-1}
.mpe-v2 .roadmap-node{display:flex;flex-direction:column;align-items:center;width:76px;flex:0 0 76px;text-align:center;margin:0;padding:0}
.mpe-v2 .roadmap-pill{display:inline-flex;align-items:center;justify-content:center;min-width:46px;height:25px;padding:0 10px;border-radius:99px;font-size:12px;font-weight:700;color:#5f6859;background:#f1f3ed;margin-bottom:17px;line-height:1}
.mpe-v2 .band-a1,.mpe-v2 .band-b2{background:#eaf5f0;color:#17765c}.mpe-v2 .band-a2{background:#fff6e5;color:#a7660d}.mpe-v2 .band-b1{background:#edf3fd;color:#2766ac}.mpe-v2 .band-c1{background:#f0edfa;color:#6553a6}
.mpe-v2 .roadmap-circle{display:grid;place-items:center;flex-shrink:0;width:46px;height:46px;border:2px solid #40473e;border-radius:50%;background:white;color:#30372d;font-size:17px;font-weight:700;line-height:1}
.mpe-v2 .roadmap-node.current .roadmap-circle{background:#fabb17;border-color:#fabb17;color:#182020;box-shadow:0 0 0 5px #fff5d5}
.mpe-v2 .roadmap-node.next .roadmap-circle{border-color:#d7a321;background:#fffdf5}
.mpe-v2 .roadmap-caption{font-size:10px;font-weight:600;line-height:1.35;min-height:30px;margin-top:12px;color:#8b721d;max-width:76px}
.mpe-v2 .roadmap-node.current .roadmap-caption{color:#36422c;font-weight:700}
.mpe-v2 .roadmap-hint{font-size:11px;color:#858e7c;margin:10px 0 0!important}
.mpe-v2 .mpe-trust{text-align:center;font-size:12px;color:#111827;line-height:1.7;font-weight:700;margin-top:18px}
.mpe-v2 .mpe-trust-stars{color:#00b67a;white-space:nowrap}.mpe-v2 .mpe-trust-star-half{display:inline-block;position:relative;color:#d1d5db}.mpe-v2 .mpe-trust-star-half::before{content:'★';position:absolute;left:0;top:0;width:50%;overflow:hidden;color:#00b67a}
@media(max-width:480px){.mpe-v2 .roadmap-node{width:68px;flex-basis:68px}.mpe-v2 .roadmap-track{gap:8px}.mpe-v2 .roadmap-track::before{left:42px;right:42px}.mpe-v2 .mpe-trust{font-size:11.5px}}

.mpe-v2 .intro-subtitle{font-size:15px;line-height:1.7;margin:0 0 22px}

/* Typography restored from the supplied V1 HTML. */
.mpe-v2{font-family:'Plus Jakarta Sans','Tajawal',Arial,sans-serif;font-size:16px;line-height:1.5;-webkit-font-smoothing:antialiased}
.mpe-v2 h1,.mpe-v2 h2,.mpe-v2 h3,.mpe-v2 input,.mpe-v2 select,.mpe-v2 button{font-family:'Plus Jakarta Sans','Tajawal',Arial,sans-serif}
.mpe-v2 h1{font-size:22px;font-weight:800;line-height:1.2;letter-spacing:normal;margin:0 0 8px;color:#111827}
.mpe-v2 .intro-subtitle{font-size:15px;font-weight:400;line-height:1.6;margin:0 0 24px;color:#6b7280}
.mpe-v2 label.field{font-size:14px;font-weight:600;color:#111827}
.mpe-v2 legend{font-size:17px;font-weight:600;line-height:1.5}
.mpe-v2 .option{font-size:15px;font-weight:500;line-height:1.4}
.mpe-v2 .option:has(input:checked){font-weight:700}
.mpe-v2 .result-hero h1{font-size:18px;font-weight:800;line-height:1.2;letter-spacing:normal;margin:0 0 4px}
.mpe-v2 .level{font-size:26px;font-weight:800;letter-spacing:normal;line-height:1}
.mpe-v2 h2{font-size:18px;font-weight:700;line-height:1.4;letter-spacing:normal}
.mpe-v2 h3{font-size:14px;font-weight:700;line-height:1.5}
.mpe-v2 .card p{font-size:14px;line-height:1.6}
.mpe-v2 .card p.fine{font-size:12px}
.mpe-v2 .eyebrow{font-size:11px;font-weight:700;letter-spacing:.07em;color:#6b7280}
.mpe-v2 .cta h3{font-size:16px;font-weight:800}
@media(max-width:480px){.mpe-v2 h1{font-size:20px}.mpe-v2 .intro-subtitle{font-size:14px}.mpe-v2 legend{font-size:16px}.mpe-v2 .result-hero h1{font-size:16px}.mpe-v2 .level{font-size:22px}}

/* Recording submission and result preparation use a dedicated, accessible waiting screen. */
.mpe-v2 .assessment-loading{display:flex;flex-direction:column;align-items:center;justify-content:center;min-height:320px;padding:32px 12px;text-align:center}
.mpe-v2 .assessment-loading [role=status]{max-width:420px}
.mpe-v2 .assessment-loading h2{margin:0 0 12px;font-size:20px;font-weight:600}
.mpe-v2 .assessment-loading .muted{font-size:14px;line-height:1.7;margin:0}
.mpe-v2 .assessment-loading .fine{margin:20px 0 0}
.mpe-v2 .assessment-spinner{width:58px;height:58px;border:4px solid #fff1c5;border-top-color:var(--yellow);border-radius:50%;margin-bottom:28px;animation:mpe-assessment-spin 1s linear infinite}
@keyframes mpe-assessment-spin{to{transform:rotate(360deg)}}
@media(max-width:480px){.mpe-v2 .assessment-loading{min-height:300px;padding:24px 0}.mpe-v2 .assessment-loading h2{font-size:18px}}
@media(prefers-reduced-motion:reduce){.mpe-v2 .assessment-spinner{animation:none}}

/* Let touch users retain their viewport; prevent browser anchoring to replaced answer nodes. */
.mpe-v2{overflow-anchor:none;scroll-margin-top:16px}
.mpe-v2 main:focus{outline:none}
.mpe-v2 .progress-head{gap:12px;align-items:flex-start}
.mpe-v2 .progress-head span:last-child{flex-shrink:0}
.mpe-v2 button{touch-action:manipulation}
.mpe-v2 .meter-label{font-size:11px;color:var(--muted);margin:18px 0 6px}.mpe-v2 .meter-label+.meter{margin:0 0 14px}

/* Passive audio timeline: play once pressed, no pause or seek controls. */
.mpe-v2 .mpe-audio-player{display:flex;align-items:center;gap:14px;min-width:0}
.mpe-v2 button.mpe-audio-toggle{width:46px;height:46px;min-height:46px;flex:0 0 46px;border-radius:50%;padding:11px;border:0;background:var(--yellow);color:var(--ink)}
.mpe-v2 button.mpe-audio-toggle:disabled{opacity:1;cursor:default;background:#f5e3a5;color:#55441c}
.mpe-v2 .mpe-audio-toggle svg{display:block;width:24px;height:24px}
.mpe-v2 .mpe-audio-body{flex:1;min-width:0}
.mpe-v2 .mpe-audio-heading,.mpe-v2 .mpe-audio-footer{display:flex;align-items:center;justify-content:space-between;gap:10px}
.mpe-v2 .mpe-audio-title{font-size:12px;font-weight:700;line-height:1.4}
.mpe-v2 .mpe-audio-time{font-size:11px;font-variant-numeric:tabular-nums;white-space:nowrap;color:var(--muted)}
.mpe-v2 .mpe-audio-track{position:relative;height:6px;overflow:hidden;border-radius:20px;background:#e8ebdf;margin:10px 0 8px}
.mpe-v2 .mpe-audio-track span{position:absolute;left:0;top:0;height:100%;width:0;border-radius:inherit;pointer-events:none}
.mpe-v2 .mpe-audio-buffer{background:#d7ddc8}
.mpe-v2 .mpe-audio-fill{background:#c89712;transition:width .22s linear}
.mpe-v2 .mpe-audio-footer{align-items:flex-start;font-size:10px;line-height:1.5;color:var(--muted);min-height:16px}
.mpe-v2 .mpe-audio-status{flex:1;min-width:0}
.mpe-v2 .mpe-audio-remaining{white-space:nowrap;font-variant-numeric:tabular-nums}
.mpe-v2 .mpe-audio-spinner{display:block;width:22px;height:22px;border:2px solid #ceb66a;border-top-color:#55441c;border-radius:50%;animation:mpe-assessment-spin .8s linear infinite}
.mpe-v2 .mpe-audio-wave{height:20px;display:flex;align-items:center;gap:3px}
.mpe-v2 .mpe-audio-wave i{width:3px;height:15px;background:currentColor;border-radius:3px;animation:mpe-audio-wave .85s ease-in-out infinite alternate}
.mpe-v2 .mpe-audio-wave i:nth-child(2){animation-delay:-.5s;height:20px}.mpe-v2 .mpe-audio-wave i:nth-child(3){animation-delay:-.25s}
.mpe-v2 .audio .error:empty{display:none}
@keyframes mpe-audio-wave{from{transform:scaleY(.35)}to{transform:scaleY(1)}}
@media(max-width:400px){.mpe-v2 .mpe-audio-player{gap:10px}.mpe-v2 .audio{padding:14px}.mpe-v2 .mpe-audio-heading{flex-wrap:wrap;gap:2px 8px}.mpe-v2 .mpe-audio-title{font-size:11px}.mpe-v2 .mpe-audio-footer{gap:6px}}
@media(prefers-reduced-motion:reduce){.mpe-v2 .mpe-audio-spinner,.mpe-v2 .mpe-audio-wave i{animation:none}.mpe-v2 .mpe-audio-fill{transition:none}}
