#interactiveDialog{width:min(1220px,96vw);max-width:96vw;max-height:94dvh;padding:0;background:#faf9f5;border:0;border-radius:24px;color:#163e3b;box-shadow:0 24px 90px #082e3c66}#interactiveDialog::backdrop{background:#092f3bbb;backdrop-filter:blur(5px)}#interactiveDialog *{box-sizing:border-box}#interactiveDialog button,#interactiveDialog input,#interactiveDialog select,#interactiveDialog textarea{font:inherit}#interactiveDialog button{cursor:pointer;border-radius:12px;padding:.75rem 1rem;font-weight:700;line-height:1.4}#interactiveDialog button:disabled{cursor:default;opacity:.55}#interactiveDialog :focus-visible{outline:3px solid #5d48b8;outline-offset:3px}#interactiveDialog .light{background:white;border:1px solid #aabdb7;color:#163e3b}.iq-header{position:relative;display:flex;align-items:center;justify-content:space-between;gap:1rem;padding:1.2rem 1.6rem;background:white;border-bottom:1px solid #dce5df}.iq-header h2{font-size:clamp(1.25rem,3vw,1.8rem);margin:.2rem 0}.iq-header #iqClose{background:#173f3c;color:white;border:0;white-space:nowrap}.iq-kicker{font-size:.75rem;letter-spacing:.13em;font-weight:800;margin:.4rem 0;color:inherit}.iq-footer{padding:1rem 1.6rem;border-top:1px solid #d9e1d9;background:#edf3e8;font-size:.85rem;line-height:1.6}#iqBody{padding:clamp(1rem,3vw,2rem)}.iq-banner{display:flex;justify-content:space-between;gap:2rem;align-items:center;padding:clamp(1.2rem,4vw,2.6rem);border-radius:22px;background:linear-gradient(125deg,#19483e,#235b60);color:white;overflow:hidden}.iq-banner h3{font-size:clamp(2rem,5vw,3.6rem);line-height:1.12;margin:.7rem 0 1rem;letter-spacing:-.04em}.iq-banner p{max-width:48ch;line-height:1.65}.iq-orbit{position:relative;flex:0 0 210px;height:190px;transform:rotate(-7deg)}.iq-orbit strong{display:grid;place-items:center;background:#efe794;color:#233c45;border-radius:35% 65% 50% 50%;height:140px;width:140px;font-size:2.8rem;position:absolute;left:35px;top:30px}.iq-orbit span{position:absolute;background:#cbdefb;color:#183c50;padding:1rem;border-radius:18px;font-size:1.7rem;z-index:1;box-shadow:0 8px 20px #051d3544}.iq-orbit span:nth-child(1){left:0;top:0}.iq-orbit span:nth-child(2){right:0;bottom:0;background:#f4c7c9}.iq-orbit span:nth-child(3){right:0;top:0;background:#dccef7}.iq-toolbar{display:flex;align-items:center;justify-content:space-between;gap:1.5rem;margin:1.6rem 0}.iq-toolbar label{font-weight:700;display:grid;gap:.5rem;min-width:min(320px,100%)}.iq-toolbar p{font-size:.82rem;margin:.4rem 0;max-width:40ch}.iq-toolbar select,#interactiveDialog input:not([type=radio]):not([type=checkbox]),#interactiveDialog textarea{border:1px solid #94aaa7;border-radius:10px;padding:.8rem;background:white;color:#123d39;max-width:100%}.iq-toolbar select{width:100%;padding:.7rem}.iq-card-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:1rem}.iq-skill-card{border-radius:20px;padding:1.35rem;border:1px solid #c1d1cb;display:flex;flex-direction:column;align-items:flex-start}.iq-skill-card h3{font-size:1.6rem;margin:.5rem 0}.iq-skill-card p{line-height:1.55;margin:0 0 1rem}.iq-sky{background:#e1effb}.iq-mint{background:#e2f0e5}.iq-violet{background:#eee5fa}.iq-amber{background:#fff0cc}.iq-rose{background:#fbe4e9}.iq-coral{background:#ffe5d9}.iq-icon{display:grid;place-items:center;min-width:48px;height:48px;padding:.2rem;background:white;border-radius:14px;font-weight:800;font-size:1.4rem;color:#234d49}.iq-card-actions{width:100%;margin-top:auto;display:grid;gap:.5rem}.iq-card-actions button{display:flex;justify-content:space-between;text-align:left;gap:.6rem;background:#ffffffcc;color:#203d3a;border:1px solid #9fb0ab}.iq-card-actions button:hover{background:white;transform:translateY(-1px)}.iq-card-actions span{font-size:.8rem;white-space:nowrap;color:#715200}.iq-skill-card small{line-height:1.6;margin-top:1rem}.iq-exam-card{margin:1.6rem 0;padding:1.6rem;background:#e8e0f6;border:1px solid #bcb0d4;border-radius:20px;display:flex;align-items:center;justify-content:space-between;gap:2rem}.iq-exam-card h3{font-size:1.7rem;margin:.5rem 0}.iq-exam-card p{max-width:70ch;line-height:1.65}.iq-exam-card button{flex-shrink:0;background:#4a3479;color:white;border:0;max-width:250px}.iq-spec{padding:1rem;background:white;border:1px solid #ccd7d1;border-radius:14px;overflow-x:auto}.iq-spec summary{cursor:pointer;font-weight:700;line-height:1.5}.iq-spec p{line-height:1.7}.iq-task-top{display:flex;gap:1rem;align-items:center;justify-content:space-between;flex-wrap:wrap;margin-bottom:1.2rem}.iq-pill{background:#dfeae1;border-radius:40px;padding:.6rem 1rem;font-size:.8rem;font-weight:700}.iq-task-top output{font-weight:800;font-variant-numeric:tabular-nums;color:#49377a;background:#eee6f7;border-radius:10px;padding:.7rem}.iq-task-title{font-size:2rem;margin:.7rem 0}.iq-task-title span{font-size:.9rem;background:#fbefc8;padding:.35rem .7rem;border-radius:25px;display:inline-block}.iq-task-spec{line-height:1.7;max-width:90ch}.iq-route{display:grid;grid-template-columns:repeat(9,minmax(0,1fr));gap:.35rem;overflow-x:auto;padding:.3rem}.iq-route button{min-width:84px;background:#fff;color:#244943;border:1px solid #b6c9c0;font-size:.8rem!important;padding:.6rem .3rem!important}.iq-route button span,.iq-route button small{display:block;margin:.3rem 0}.iq-route button[aria-current=step]{background:#194d43;color:white;border-color:#194d43}.iq-progress-label{display:block;font-size:.85rem;line-height:1.5;margin:1rem 0}.iq-progress-label progress{display:block;width:100%;height:10px;accent-color:#28765d;margin-top:.6rem}.iq-task-layout{display:grid;grid-template-columns:minmax(0,.95fr) minmax(0,1.05fr);gap:1.5rem;margin-top:1.5rem}.iq-task-source,.iq-task-answers{min-width:0}.iq-task-source>h4{margin:.2rem 0 1rem}.iq-passage,.iq-writing-prompt{white-space:pre-wrap;line-height:1.9;background:#fff;padding:1.3rem;border:1px solid #cdd9d1;border-radius:16px;overflow-wrap:anywhere}.iq-passage{max-height:72vh;overflow:auto}.iq-writing-prompt{background:#fff4d8}.iq-writing-prompt strong{line-height:1.7}.iq-audio{background:#dfedf8;padding:1rem;border-radius:14px;margin:1rem 0;border:1px solid #b4c7d5}.iq-audio label{display:block;line-height:1.6;font-weight:700}.iq-audio audio{width:100%;margin:.5rem 0;display:block}.iq-audio select{margin:.4rem;padding:.35rem;border-radius:6px}.iq-audio button{margin-top:.4rem}.iq-transcript{padding:1rem;background:#edf2ea;border-radius:12px}.iq-transcript summary{cursor:pointer;font-weight:700}.iq-question{padding:1rem;border:1px solid #b9cbc2;border-radius:14px;background:white;margin:0 0 1.2rem;min-width:0}.iq-question legend{font-weight:700;line-height:1.65;padding:0 .3rem}.iq-question legend>span{background:#e5def4;color:#4d397b;border-radius:7px;padding:.15rem .5rem;display:inline-block}.iq-question legend small{font-size:.75rem;font-weight:400;white-space:nowrap}.iq-option{display:flex;align-items:flex-start;gap:.7rem;padding:.7rem;margin:.45rem 0;border-radius:10px;border:1px solid #c5d4cc;cursor:pointer;line-height:1.5}.iq-option:has(input:checked){background:#e9e1fa;border-color:#7a65a7;box-shadow:inset 0 0 0 1px #7a65a7}.iq-option input{flex-shrink:0;margin-top:.3rem;accent-color:#4d397b;width:18px;height:18px}.iq-mini-text{padding:1rem;background:#eaf2e8;border-radius:14px;margin:0 0 .8rem;line-height:1.8}.iq-mini-text h4{margin:0 0 .4rem}.iq-mini-text p{margin:0}#iqDraft,#iqSpeakingNotes{width:100%;line-height:1.8;display:block;margin:.5rem 0;resize:vertical;min-height:180px}.iq-note{font-size:.87rem;line-height:1.7;color:#39554e}.iq-main-action{width:100%;background:#20594a;color:white;border:0;margin:.5rem 0}.iq-score-burst{text-align:center;padding:1.3rem;background:#f8edc9;border-radius:16px;margin:1rem 0}.iq-score-burst>span{font-size:2rem;color:#795600}.iq-score-burst h4{font-size:1.4rem;margin:.6rem 0}.iq-score-burst p{line-height:1.5}.iq-feedback-columns{display:grid;grid-template-columns:1fr 1fr;gap:1rem}.iq-feedback-columns section{padding:1rem;border-radius:14px;background:#e7f0e6;line-height:1.7}.iq-feedback-columns section+section{background:#faead7}.iq-feedback-columns h4{margin:.3rem 0}.iq-answer-review article{padding:1rem;border-radius:12px;margin:.7rem 0;border-left:4px solid #558967;background:#f0f5ed;line-height:1.7}.iq-answer-review h5{font-size:1rem;margin:0}.iq-answer-review .iq-revisit{border-color:#a27021;background:#fbf0de}.iq-bottom-actions{display:flex;gap:.7rem;flex-wrap:wrap;padding:1.5rem 0;margin-top:.8rem}.iq-bottom-actions button:not(.light){background:#215c4c;color:white;border:0}.iq-bottom-actions .iq-submit{background:#533d7e!important}.iq-exam-result{background:#eee5f8;padding:1.5rem;border-radius:18px;line-height:1.7;margin-top:1rem}.iq-exam-result h4{font-size:1.5rem;margin:.5rem 0}.iq-result-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:.8rem}.iq-result-grid>div{background:white;padding:1rem;border-radius:12px;line-height:1.6}.iq-result-grid span{display:block;font-size:1.3rem;font-weight:800;margin-top:.4rem}.iq-result-grid p{font-size:.85rem}.iq-speaking-panel{padding:1.5rem;background:#fff0e5;border:1px solid #e0c7b6;border-radius:20px;line-height:1.8}.iq-speaking-steps{display:flex;gap:.7rem;flex-wrap:wrap}.iq-speaking-steps span{background:white;padding:.4rem 1rem;border-radius:25px;font-weight:700}.iq-self-check{display:flex;align-items:flex-start;gap:.8rem;padding:.8rem;background:white;border-radius:12px;margin:.6rem 0}.iq-self-check input{margin-top:.4rem;width:19px;height:19px;flex-shrink:0;accent-color:#366b56}.iq-notice{background:#faefc6;border-radius:10px;padding:1rem;line-height:1.6}.iq-celebrate{animation:iqLift .5s ease-out}@keyframes iqLift{from{transform:translateY(10px);opacity:.5}to{transform:translateY(0);opacity:1}}@media(prefers-reduced-motion:reduce){.iq-celebrate{animation:none}.iq-card-actions button:hover{transform:none}}@media(max-width:900px){.iq-card-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.iq-task-layout{grid-template-columns:1fr}.iq-passage{max-height:55vh}.iq-route{grid-template-columns:repeat(9,100px)}.iq-exam-card{align-items:flex-start;flex-direction:column}.iq-result-grid{grid-template-columns:repeat(2,1fr)}}@media(max-width:560px){#interactiveDialog{width:100vw;max-width:100vw;max-height:100dvh;height:100dvh;border-radius:0}.iq-header{padding:1rem}.iq-header h2{font-size:1.2rem}.iq-orbit{display:none}.iq-toolbar{align-items:stretch;flex-direction:column}.iq-card-grid,.iq-feedback-columns,.iq-result-grid{grid-template-columns:1fr}.iq-skill-card{padding:1.1rem}.iq-task-title{font-size:1.6rem}.iq-banner h3{font-size:2.4rem}.iq-bottom-actions button{flex:1 1 140px}.iq-task-top{gap:.6rem}.iq-exam-card{padding:1.2rem}.iq-header #iqClose{padding:.6rem}.iq-question{padding:.8rem}.iq-task-spec{font-size:.9rem}}
