:root{--blue:#2879bc;--blue-d:#18649c;--navy:#142e47;--text:#24394f;--muted:#64778a;--bg:#f7faff;--line:#dce7f1;--pale:#eff7ff;--white:#fff;--gold:#f3bc39;--green:#21815b;--red:#b74b57}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:var(--bg);color:var(--text);font:16px/1.56 -apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Arial,sans-serif}
button,input,select{font:inherit}button{cursor:pointer}button:disabled{opacity:.55;cursor:not-allowed}a{color:inherit}h1,h2,h3,p{margin:0}h1,h2,h3{line-height:1.3}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible{outline:3px solid #8ed0ff;outline-offset:2px}
.wrap{max-width:1120px;margin:auto;padding:0 24px}.sitebar{background:#fff;border-bottom:1px solid var(--line);position:sticky;top:0;z-index:20}.topline{min-height:75px;display:flex;align-items:center;justify-content:space-between;gap:20px}.logo{border:0;padding:0;background:none;display:flex;gap:11px;align-items:center;text-align:left;color:var(--navy)}.owl{width:52px;height:52px;border-radius:13px;object-fit:cover;display:block}.logo-title{font-size:25px;font-weight:820;letter-spacing:-.7px;line-height:1.15}.logo-title span{color:var(--blue)}.logo-small{display:block;color:#72869b;font-size:11px;letter-spacing:.6px;font-weight:700;margin-top:2px}.toplinks{display:flex;gap:8px;align-items:center}.navbutton{border:0;background:none;color:#596f81;font-size:15px;font-weight:670;padding:10px 13px;border-radius:10px}.navbutton.current{color:var(--blue-d);background:var(--pale)}
.btn{border:1px solid transparent;background:var(--blue);color:#fff;border-radius:11px;padding:12px 17px;font-weight:760;display:inline-flex;align-items:center;justify-content:center;gap:7px;line-height:1.3;text-decoration:none}.btn:hover{filter:brightness(.96)}.btn.alt{background:#fff;border-color:#bed5e7;color:var(--blue-d)}.btn.pale{background:var(--pale);color:var(--blue-d)}.btn.small{font-size:14px;padding:9px 13px}.btn.full{width:100%}.btn:disabled{filter:none}
.view{display:none;padding-bottom:24px}.view.active{display:block}.card{border:1px solid var(--line);background:#fff;border-radius:19px;box-shadow:0 5px 20px rgba(31,73,110,.035)}
.hero{margin-top:26px;padding:38px 39px;background:linear-gradient(112deg,#fff 58%,#eaf6ff 100%);display:flex;align-items:center;gap:25px;justify-content:space-between}.hero h1{font-size:clamp(31px,3.5vw,43px);letter-spacing:-.9px;color:#12334d;margin:9px 0}.hero p{max-width:650px;font-size:17px;color:#536c80}.eyebrow{color:#2079b4;font-size:12px;font-weight:800;letter-spacing:1.2px}.hero-actions{margin-top:22px;display:flex;gap:11px;flex-wrap:wrap}.hero-mark{background:#fff;border:1px solid #dbe9f5;color:#3571a0;font-size:13px;border-radius:15px;min-width:153px;padding:19px;text-align:center}.hero-mark strong{font-size:28px;display:block;color:#1c638f;margin-bottom:3px}.section{margin-top:28px}.section-heading{font-size:23px;color:var(--navy);margin-bottom:14px}.two{display:grid;grid-template-columns:1fr 1fr;gap:15px}.choice-card{padding:24px;display:flex;flex-direction:column;gap:13px;min-height:213px}.choice-card h3{font-size:21px;color:var(--navy)}.choice-card p{color:var(--muted);font-size:15px;flex:1}.choice-card .btn{align-self:flex-start}
.feature-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:13px}.feature{padding:20px}.feature h3{color:#164d75;font-size:17px;margin-bottom:6px}.feature p{color:var(--muted);font-size:14px}
.contact{padding:20px 23px;margin-top:25px;display:flex;align-items:center;gap:18px;justify-content:space-between}.contact h3{font-size:17px;color:var(--navy)}.contact p{font-size:14px;color:var(--muted);margin-top:4px}.contact-links{display:flex;gap:8px;flex-wrap:wrap}.foot{margin:34px 0 10px;font-size:13px;color:#7d8fa2;text-align:center}.subtle{color:var(--muted);font-size:14px}.crumb{margin:23px 0 13px;color:var(--muted);font-size:13px}.crumb button{border:0;background:none;color:var(--blue);padding:0;font-weight:700}.pagehead{margin-bottom:18px}.pagehead h1{font-size:30px;color:var(--navy);margin-bottom:5px}.pagehead p{font-size:15px;color:var(--muted)}.flag-pill{display:inline-block;background:#edf5ff;border-radius:8px;color:#246a9a;font-size:12px;padding:4px 9px;font-weight:700}
.setup-grid{display:grid;grid-template-columns:minmax(0,1fr) 290px;gap:17px;align-items:start}.config{padding:27px}.block{margin-bottom:24px}.block:last-child{margin-bottom:0}.block h3{color:var(--navy);font-size:17px;margin-bottom:6px}.block .subtle{margin-bottom:12px}.chiprow{display:flex;flex-wrap:wrap;gap:8px}.chip{border:1px solid #cbddeb;background:#fff;color:#425e75;border-radius:10px;padding:10px 14px;font-size:14px;font-weight:720}.chip.selected{background:var(--blue);border-color:var(--blue);color:#fff}.chapterchoice{min-width:125px}.select{width:100%;border:1px solid #cbddeb;background:white;color:#28465e;border-radius:10px;padding:12px 14px;font-size:15px}.rule{border:0;border-top:1px solid #e7edf4;margin:22px 0}.side{padding:20px}.side h3{font-size:18px;color:var(--navy);margin-bottom:12px}.kv{display:flex;align-items:flex-start;justify-content:space-between;gap:10px;font-size:14px;padding:10px 0;border-bottom:1px solid #edf1f5}.kv:last-of-type{border:0}.kv span{color:var(--muted)}.kv strong{text-align:right;color:#2b506f}.side .btn{margin-top:18px}.smallprint{font-size:12px;color:#8796a6;line-height:1.5;margin-top:9px}.sidebar-note{margin-top:14px;padding:17px}.sidebar-note h3{font-size:15px;color:var(--navy);margin-bottom:7px}.sidebar-note p{font-size:13px;color:var(--muted)}.side-shortcuts{margin-top:13px;display:flex;gap:8px;flex-wrap:wrap}.side-shortcuts button{font-size:12px;border:1px solid #d1dfeb;background:#f8fbfe;border-radius:8px;padding:8px 10px;color:var(--blue-d);font-weight:700}.mobile-start{display:none}.message{font-size:13px;background:#f1f7fe;border-radius:11px;padding:11px 13px;color:#496e91;margin:14px 0}.message.warning{background:#fff6e3;color:#815c20}
.quiz-layout{display:grid;grid-template-columns:minmax(0,1fr) 242px;gap:16px;align-items:start}.quiz{padding:27px}.quiz-meta{display:flex;align-items:center;justify-content:space-between;gap:12px}.quiz-meta small{color:var(--muted)}.progress{height:7px;background:#e9eff6;margin:16px 0 25px;border-radius:30px;overflow:hidden}.progress div{height:100%;background:var(--blue);transition:width .25s}.question{font-size:23px;color:#183750;margin-bottom:25px;line-height:1.45}.answers{display:grid;gap:11px}.answer{padding:14px;display:flex;align-items:flex-start;gap:13px;width:100%;background:#fff;border:1px solid #d8e3ed;border-radius:12px;color:var(--text);text-align:left}.answer .letter{width:30px;height:30px;flex:0 0 30px;border-radius:9px;background:#e9f0f7;color:#547089;font-weight:800;display:grid;place-items:center}.answer:hover:not(:disabled){border-color:#78b6e0;background:#f8fcff}.answer.correct{border-color:#81c5a1;background:#eef9f2}.answer.correct .letter{background:#21815b;color:#fff}.answer.wrong{border-color:#dd909b;background:#fff3f4}.answer.wrong .letter{background:#b74b57;color:#fff}.answer:disabled{cursor:default;opacity:1}.explain{background:#eff9f4;border:1px solid #cde6d8;border-radius:12px;color:#26654c;padding:15px;margin-top:17px;font-size:15px}.hidden{display:none!important}.quiz-controls{display:flex;justify-content:space-between;gap:10px;flex-wrap:wrap;border-top:1px solid #e7edf3;margin-top:22px;padding-top:17px}.quiz-stat{padding:19px}.quiz-stat h3{font-size:17px;color:var(--navy);margin-bottom:9px}.quiz-numbers{display:grid;grid-template-columns:repeat(4,1fr);gap:7px;margin-top:15px}.quiz-numbers button{border:1px solid #d5e2ed;background:#fff;color:#577289;border-radius:8px;height:35px;font-weight:800}.quiz-numbers button.here{border-color:var(--blue);color:var(--blue-d)}.quiz-numbers button.answered{background:#edf7f0;color:#2b8756}
.end{max-width:660px;margin:32px auto;padding:32px;text-align:center}.end h2{font-size:26px;color:var(--navy)}.end .score{font-size:50px;font-weight:850;color:var(--blue);margin:8px}.end p{color:var(--muted);font-size:15px;margin-bottom:16px}.end .actions{display:flex;justify-content:center;gap:10px;flex-wrap:wrap}
.modal-bg{position:fixed;inset:0;z-index:70;display:none;align-items:center;justify-content:center;padding:16px;background:rgba(16,39,62,.55)}.modal-bg.open{display:flex}.modal{width:min(430px,100%);padding:25px}.modal h2{font-size:22px;color:var(--navy);margin-bottom:11px}.modal p{color:var(--muted);font-size:15px;margin-bottom:18px}.modal .actions{text-align:right}.status{position:fixed;z-index:99;bottom:20px;left:50%;transform:translateX(-50%);border-radius:12px;background:#142d48;color:#fff;padding:10px 17px;box-shadow:0 10px 25px #0002;display:none;max-width:calc(100% - 35px);font-size:14px}.status.show{display:block}
.bottomnav{display:none}
@media(max-width:900px){.wrap{padding:0 18px}.setup-grid{grid-template-columns:minmax(0,1fr) 250px}.hero{padding:29px}.hero-mark{min-width:130px}.config{padding:22px}}
@media(max-width:700px){body{font-size:15px;padding-bottom:62px}.wrap{padding:0 16px}.topline{min-height:64px}.logo{gap:8px}.owl{width:40px;height:40px;border-radius:9px}.logo-title{font-size:21px}.logo-small{font-size:9px}.toplinks .navbutton{display:none}.toplinks .btn{padding:9px 10px;font-size:12px;max-width:125px}
 .hero{margin-top:16px;padding:23px 20px;display:block}.hero h1{font-size:30px;margin:8px 0}.hero p{font-size:15px}.hero-mark{display:none}.hero-actions{margin-top:18px;display:grid;grid-template-columns:1fr;gap:9px}
 .section{margin-top:23px}.section-heading{font-size:21px;margin-bottom:12px}.two,.feature-grid{grid-template-columns:1fr;gap:11px}.choice-card{min-height:unset;padding:19px;gap:10px}.choice-card h3{font-size:19px}.choice-card p{font-size:14px}.choice-card .btn{width:100%}.feature{padding:15px 17px}.feature h3{font-size:16px}.feature p{font-size:13px}
 .contact{display:block;padding:17px}.contact-links{margin-top:13px;display:grid;grid-template-columns:1fr 1fr}.contact-links .btn{padding:10px 7px;font-size:13px}.pagehead h1{font-size:25px}.pagehead p{font-size:14px}.crumb{margin:19px 0 11px}
 .setup-grid,.quiz-layout{display:block}.config{padding:18px}.block h3{font-size:16px}.block{margin-bottom:20px}.chapterchoice{min-width:0;flex:1}.chip{padding:9px 10px;font-size:13px}.chiprow{gap:7px}.select{font-size:14px}.rule{margin:18px 0}.side-column{display:none}.mobile-start{display:block}.mobile-start .btn{margin-top:14px}
 .quiz{padding:18px}.question{font-size:20px;margin-bottom:18px}.answer{font-size:15px;padding:12px}.answer .letter{width:28px;height:28px;flex-basis:28px}.quiz-stat{display:none}.quiz-controls .btn{font-size:14px;padding:11px 13px}.end{padding:23px 18px}.end .score{font-size:44px}
 .bottomnav{display:grid;position:fixed;bottom:0;left:0;right:0;grid-template-columns:repeat(4,1fr);height:62px;background:#fff;border-top:1px solid var(--line);z-index:19;box-shadow:0 -5px 15px #184c8110}.bottomnav button{border:0;background:none;color:#71869b;font-size:11px;font-weight:700}.bottomnav button.selected{color:var(--blue-d)}
}

/* Chỉ thêm biểu tượng nhỏ ở ba ưu điểm, giữ bố cục Basic gốc. */
.feature{display:flex;align-items:flex-start;gap:12px}
.feature-icon{width:38px;height:38px;min-width:38px;display:grid;place-items:center;background:#eaf4fd;color:#2677b8;border-radius:11px}
.feature h3{margin-top:2px}
.contact .duration{display:block;color:#71869b;font-size:12px;margin-top:6px}
@media(max-width:700px){.feature{padding:16px 17px}.feature-icon{width:36px;height:36px;min-width:36px}}

/* Chỉ bổ sung tương tác được yêu cầu; giữ nguyên bảng màu, bố cục và CSS Basic. */
.answer.selected:not(.correct):not(.wrong){border-color:#247dbd;background:#e8f3ff;color:#184f81}
.answer.selected:not(.correct):not(.wrong) .letter{background:#247dbd;color:#fff}
.check-action{display:flex;justify-content:flex-end;margin-top:16px}
.check-action .btn{min-width:195px}
.check-action .btn:disabled{opacity:.55}
.price-inline{display:inline-block;vertical-align:middle;margin-left:6px;font-size:13px;font-weight:800;color:#90660a;background:#fff6df;border-radius:9px;padding:4px 9px}
.review-list{text-align:left;margin:20px 0 24px}
.review-list>h3{font-size:19px;color:var(--navy);margin-bottom:13px}
.review-item{border:1px solid var(--line);border-radius:12px;background:#fff;padding:16px;margin-bottom:12px}
.review-title{display:flex;justify-content:space-between;align-items:center;gap:12px;font-size:13px;color:var(--muted);margin-bottom:9px}
.review-tag{padding:3px 8px;border-radius:8px;font-weight:800;background:#f1f6fb;color:var(--blue-d)}
.review-tag.ok{background:#e9f7ef;color:#207751}
.review-tag.bad{background:#fff0f1;color:#a73f4d}
.review-item h4{font-size:16px;line-height:1.55;color:var(--navy);font-weight:800;margin:0 0 11px}
.review-detail{font-size:14px;color:#365c78;line-height:1.6;margin:6px 0}
.review-detail b{color:var(--navy)}
.review-exp{background:#f1f8ff;border-radius:9px;padding:11px 13px;margin-top:10px;color:#345f7e;font-size:14px;line-height:1.55}
.timer-box{border:1px solid #bed5e7;background:#f3f9ff;color:var(--blue-d);border-radius:9px;padding:7px 11px;font-size:16px;font-weight:850;font-variant-numeric:tabular-nums}
.timer-box.urgent{color:#a83b47;border-color:#eabdc4;background:#fff1f2}
.exam-head{margin-top:24px}
#v-exam .quiz-stat .full{width:100%}
#v-exam .quiz-controls{justify-content:space-between}
@media(max-width:700px){
 .quiz-layout{display:grid;grid-template-columns:minmax(0,1fr);gap:13px}
 .quiz-stat{display:block;padding:18px;margin-top:0}
 .quiz-numbers{grid-template-columns:repeat(6,minmax(0,1fr))}
 .quiz-controls{gap:8px}.quiz-controls .btn{flex:1 1 auto}
 .check-action .btn{width:100%}
 .review-item{padding:14px}.review-title{flex-wrap:wrap}
 #v-exam .quiz-meta{flex-wrap:wrap}
 .timer-box{font-size:15px}
}
.note-box{margin-top:18px;border:1px solid #dce7f1;border-radius:11px;padding:10px 13px;color:#42637e}.note-box summary{cursor:pointer;font-weight:700}.note-box textarea{display:block;width:100%;resize:vertical;margin-top:9px;padding:10px;border:1px solid #bed5e7;border-radius:9px;font:inherit;color:var(--text)}
#profile-panel #history-list{max-height:150px;overflow:auto;font-size:13px;margin-bottom:12px}.modal{max-height:90vh;overflow:auto}
@media(max-width:700px){[data-account-button]{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.bottomnav [data-account-button]{padding:5px;max-width:100%}.quiz-stat{display:block}.quiz-layout{display:grid;grid-template-columns:minmax(0,1fr)}}
@media(max-width:400px){.logo-title{font-size:17px;letter-spacing:-.6px}.topline{gap:8px}.toplinks .btn{max-width:108px;font-size:11px}.owl{width:36px;height:36px}}
.explain{font-size:17px;line-height:1.65;padding:17px 18px}.explain.feedback-wrong{background:#fff1f2;border-color:#f1b9bf;color:#8f2635}.sound-row{display:flex;justify-content:flex-end;margin-top:15px}.sound-toggle{border:1px solid #cbddeb;background:#fff;color:#355e7b;border-radius:9px;padding:8px 12px;font-size:14px;font-weight:700}.check-action{margin-top:10px}.chapterchoice{flex:1 1 150px}
@media(max-width:700px){.explain{font-size:16.5px;line-height:1.65}.chapterchoice{flex:1 1 140px}.sound-toggle{font-size:14px;min-height:44px}}
.subtle,.kv,.pagehead p,.contact p,.feature p{font-size:15px;line-height:1.55}.smallprint{font-size:13.5px;line-height:1.55;color:#61798d}.review-detail,.review-exp{font-size:15.5px;line-height:1.65}.review-title{font-size:14px}.message{font-size:14px;line-height:1.55}@media(max-width:700px){.feature p,.pagehead p,.contact p{font-size:15px}.smallprint{font-size:13.5px}.side-shortcuts button{font-size:13px}}
.answer-content{display:flex;flex-direction:column;gap:4px;min-width:0}.answer-hint{display:block;font-size:13px;font-weight:750;line-height:1.4}.correct-hint{color:#23764d}.wrong-hint{color:#a6384c}.answer.wrong .option-text{text-decoration:line-through;text-decoration-thickness:1px}.answer.unselected{color:#8495a3;background:#fafbfd}.answer.unselected .letter{background:#eff3f6;color:#8d9ca8}.feedback-stack{display:grid;gap:10px;margin-top:14px}.feedback-status{border:1px solid #b8ddc9;background:#eff9f3;color:#276c4f;padding:13px 15px;border-radius:12px;font-size:16px;font-weight:700;line-height:1.55}.feedback-status.feedback-wrong{background:#fff1f2;border-color:#efb6bd;color:#963348}.explanation-card{border:1px solid #c7e0f0;background:#f0f8fd;color:#284e68;border-radius:12px;padding:15px 17px;font-size:16px;line-height:1.65}.explanation-card strong{display:block;color:#234e6b}.explanation-card p{margin:5px 0 0}.explanation-source{font-size:14px;line-height:1.5;color:#56788e;margin-top:13px!important}@media(max-width:700px){.feedback-status,.explanation-card{font-size:15.5px;line-height:1.6}.answer-hint{font-size:12.5px}}

/* Trang chủ: giữ gọn trên điện thoại và rõ ràng ở mọi cỡ màn hình. */
#v-home .hero-trial-note{margin:12px 0 0;color:#506b83;font-size:14px;line-height:1.45;font-weight:650}
#v-home .feature{min-width:0;align-items:flex-start}
#v-home .feature>div{min-width:0}
#v-home .feature-icon{background:#eaf4fd;color:#2677b8}
#v-home .feature h3{font-size:18px;line-height:1.3;overflow-wrap:anywhere}
#v-home .feature p{font-size:15px;line-height:1.5}
#v-home .contact-links .btn{white-space:normal;line-height:1.25;min-height:44px}
#v-home .contact .duration{display:block;color:#647789;font-size:14px;line-height:1.45;margin-top:6px}
@media(max-width:700px){#v-home .highlights .section-heading{font-size:25px;line-height:1.2}#v-home .feature h3{font-size:18px}#v-home .feature p{font-size:15px}#v-home .contact-links{display:flex;flex-wrap:wrap}#v-home .contact-links .btn{flex:1 1 145px;font-size:14px}#v-home .hero-trial-note{font-size:14px}}
#v-home .hero .brand-slogan{font-size:17px;line-height:1.4;font-weight:700;color:#2c6e9e;margin:6px 0 10px}@media(max-width:700px){#v-home .hero .brand-slogan{font-size:16px;line-height:1.4}}@media(max-width:700px){body{padding-bottom:calc(96px + env(safe-area-inset-bottom, 0px))}html{scroll-padding-bottom:calc(80px + env(safe-area-inset-bottom, 0px))}.quiz-stat{display:block}.quiz-layout{display:grid;grid-template-columns:minmax(0,1fr)}.topline{flex-wrap:nowrap;min-width:0}.logo{min-width:0}.toplinks{flex-shrink:0}}.quiz-numbers button.answered{background:#edf3f8;border-color:#bbccdb;color:#415e75}.quiz-numbers button.correct-checked{background:#dff4e7;border-color:#80bc97;color:#17613c}.quiz-numbers button.wrong-checked{background:#fde7e9;border-color:#c64b60;color:#922b3d}.quiz-numbers button.flagged{box-shadow:inset 0 -3px 0 #d9a420}.quiz-numbers button.here{outline:2px solid #267ab2;outline-offset:1px}.number-legend{font-size:13px;color:#526d82;line-height:1.45;margin:12px 0 0}.account-shortcuts{display:flex;gap:8px;flex-wrap:wrap;margin:12px 0}
