:root{--purple:#70268f;--dark:#501767;--lavender:#f4eafa;--text:#281f31;--muted:#6c6173;--line:#e8ddec}
*{box-sizing:border-box}html{font-family:system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}body{margin:0;color:var(--text);background:radial-gradient(circle at 90% 5%,#ead8f2,transparent 27%),#f9f5fb;line-height:1.55}.shell{min-height:100vh;display:flex;flex-direction:column}.brand{height:82px;background:#fff;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;gap:20px;padding:12px max(24px,calc((100vw - 1120px)/2))}.brand img{width:165px;height:auto}.brand span{color:var(--purple);font-size:12px;font-weight:800;letter-spacing:.1em;text-transform:uppercase}.page{width:min(1120px,calc(100% - 40px));margin:0 auto;flex:1}.hero{position:relative;overflow:hidden;margin-top:38px;padding:54px 62px;border-radius:28px;background:linear-gradient(115deg,#521568,#782794 65%,#a452b8);box-shadow:0 22px 50px #5d1d7d2b;color:#fff}.hero:after{content:"";position:absolute;right:-80px;top:-180px;width:390px;height:390px;border:1px solid #ffffff45;border-radius:50%;background:#ffffff0d}.hero>*{position:relative;z-index:1}.eyebrow{display:block;color:var(--purple);font-size:12px;font-weight:800;letter-spacing:.14em}.hero .eyebrow{color:#f1d5fb}.hero h1{max-width:770px;margin:15px 0;font-size:clamp(30px,4vw,48px);line-height:1.17;letter-spacing:-.035em}.hero p{max-width:650px;margin:0;color:#f8eafa;font-size:17px}.selection{padding:45px 0 34px}.section-head{display:flex;justify-content:space-between;align-items:end;gap:20px;margin-bottom:22px}.section-head h2{font-size:clamp(26px,3vw,33px);letter-spacing:-.025em;margin:6px 0}.section-head p{margin:0;color:var(--muted)}.step{padding:8px 14px;border-radius:99px;background:#ead9f2;color:var(--dark);font-size:12px;font-weight:800;white-space:nowrap}.cards{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:22px}.card{display:flex;flex-direction:column;min-width:0;padding:30px;border:1px solid var(--line);border-radius:23px;background:#fff;box-shadow:0 12px 35px #4320580d}.card-top{display:flex;align-items:center;justify-content:space-between}.card-icon{display:grid;place-items:center;width:53px;height:53px;border-radius:16px;background:var(--lavender);color:var(--purple);font-size:20px;font-weight:800}.card-tag{color:var(--purple);font-size:11px;font-weight:800;letter-spacing:.12em}.card h3{font-size:25px;letter-spacing:-.025em;margin:24px 0 4px}.card-desc{margin:0;color:var(--muted)}.skills{color:var(--dark);font-weight:700;margin:21px 0 27px}.card form{margin-top:auto}.button{display:inline-flex;align-items:center;justify-content:center;gap:28px;min-height:50px;padding:12px 22px;border:0;border-radius:11px;background:var(--purple);color:#fff;box-shadow:0 7px 17px #70268f2e;font:inherit;font-weight:750;cursor:pointer}.button:hover:not(:disabled){background:var(--dark)}.button:focus-visible,input:focus-visible{outline:3px solid #c68cdd;outline-offset:3px}.button:disabled{background:#bcb2c2;box-shadow:none;cursor:not-allowed}.note,.unavailable{color:var(--muted);font-size:13px}.note{margin:23px 0 0}.unavailable{margin:12px 0 0}.footer{padding:23px;text-align:center;color:#87798e;font-size:12px}
.complete-page{display:flex;align-items:center;justify-content:center;padding:45px 0}.complete-card{width:min(780px,100%);padding:45px 52px 50px;border:1px solid var(--line);border-radius:28px;background:#fff;box-shadow:0 22px 60px #43205818}.check{display:grid;place-items:center;width:57px;height:57px;margin-bottom:20px;border-radius:18px;background:var(--lavender);color:var(--purple);font-size:28px;font-weight:800}.complete-card h1{color:var(--dark);font-size:clamp(29px,3.4vw,40px);line-height:1.2;letter-spacing:-.035em;margin:11px 0 14px}.lead{margin:0 0 28px;color:var(--muted);font-size:16px}.panel,.results,.pending{border:1px solid var(--line);border-radius:18px;background:#fcfaff}.panel{padding:26px}.panel-head{display:flex;align-items:start;gap:15px;margin-bottom:23px}.panel-number{display:grid;place-items:center;flex:none;width:39px;height:39px;border-radius:11px;background:var(--purple);color:#fff;font-weight:800}.panel-head h2{font-size:20px;margin:0 0 3px}.panel-head p{color:var(--muted);font-size:14px;margin:0}.panel label{display:block;margin-bottom:8px;font-size:14px;font-weight:750}.panel input{width:100%;max-width:480px;min-height:49px;padding:11px 14px;border:1px solid #cdbbd8;border-radius:10px;background:#fff;color:var(--text);font:inherit}.panel input::placeholder{color:#9b8ea3}.help{margin:8px 0 17px;color:var(--muted);font-size:13px}.error{margin:0 0 15px;color:#a92535;font-weight:650;font-size:14px}.pending{padding:18px 22px;color:var(--dark);font-weight:650}.results{overflow:hidden}.results-head,.score{display:flex;justify-content:space-between;align-items:center;gap:20px;padding:14px 22px}.results-head{background:var(--lavender);color:var(--dark);font-size:11px;font-weight:800;letter-spacing:.12em}.score{background:#fff;border-top:1px solid var(--line);font-size:16px}.score strong{color:var(--purple);font-size:22px}.next{display:flex;gap:13px;margin-top:23px;padding:17px 19px;border-radius:14px;background:var(--lavender);color:var(--dark)}.next p{margin:0}.next span{font-size:20px;line-height:1}
@media(max-width:700px){.brand{height:72px;padding:12px 20px}.brand img{width:135px}.brand span{font-size:10px}.page{width:min(100% - 28px,520px)}.hero{margin-top:20px;padding:37px 28px;border-radius:23px}.hero p{font-size:15px}.selection{padding-top:33px}.section-head{align-items:start;flex-direction:column;gap:12px}.cards{grid-template-columns:1fr;gap:15px}.card{padding:24px}.complete-page{padding:24px 0}.complete-card{padding:29px 24px;border-radius:22px}.panel{padding:20px}.button{width:100%}.footer{padding:18px 12px}}

/* Màn hình hoàn thành theo bố cục kết quả WISE */
.completion-body{background:linear-gradient(135deg,#fcf5ff 0%,#f7e8ff 100%)}
.result-page{width:100%;flex:1;display:flex;align-items:center;justify-content:center;padding:40px 18px}
.result-card{position:relative;overflow:hidden;width:min(900px,100%);padding:54px 54px 52px;border:1px solid #f1e5f7;border-radius:30px;background:#fff;box-shadow:0 18px 36px #3d214328}
.result-card-corner{position:absolute;right:0;top:0;width:175px;height:175px;border-bottom-left-radius:100%;background:#fcf6ff}
.result-intro{position:relative;text-align:center}
.result-logo{display:block;width:180px;height:auto;margin:0 auto 25px}
.result-badge{display:inline-block;padding:11px 22px;border:1px solid #f0ddf7;border-radius:99px;background:#fcf5ff;color:#821bc1;font-size:13px;font-weight:800;letter-spacing:.11em}
.result-intro h1{max-width:770px;margin:25px auto 20px;color:#151827;font-size:clamp(30px,4.2vw,48px);font-weight:800;line-height:1.15;letter-spacing:-.04em}
.result-intro p{max-width:670px;margin:0 auto 48px;color:#707786;font-size:19px;line-height:1.55}
.result-table{overflow:hidden;border:1px solid #f0ddf7;border-radius:20px;box-shadow:0 2px 5px #2611330b}
.result-table-head,.result-row{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:19px 32px}
.result-table-head{background:#fcf6ff;color:#581c63;font-size:15px;font-weight:800;letter-spacing:.08em}
.result-row{min-height:99px;border-top:1px solid #f0edf2;background:#fff}
.result-row-total{background:#fcf5ff;border-top:2px solid #d6a8ed}
.result-row-total .result-skill{color:#581c63;flex-wrap:wrap}
.result-row-total .result-skill small{font-size:.65em;font-weight:500}
.result-skill{display:flex;align-items:center;gap:16px;font-size:23px;font-weight:700;color:#273041}
.result-skill-icon{display:grid;place-items:center;flex:none;width:49px;height:49px;border-radius:12px;background:#eff6ff;color:#2563eb}
.result-skill-icon svg{width:24px;height:24px}
.result-skill-icon-reading{background:#effcf4;color:#16a34a}.result-skill-icon-writing{background:#fff6eb;color:#d97706}.result-skill-icon-speaking{background:#f5edff;color:#8b3ad1}
.result-value{color:#7e2986;font-size:28px;white-space:nowrap}
.result-value small{color:#9aa1ad;font-size:.66em;font-weight:500}
.result-info{display:flex;align-items:flex-start;gap:19px;margin-top:32px;padding:25px 29px;border-radius:20px;background:#fcf5ff;color:#581c63}
.result-info-icon{display:grid;place-items:center;flex:none;width:25px;height:25px;margin-top:2px;border-radius:50%;background:#9b2be2;color:#fff;font-family:Georgia,serif;font-size:17px;font-weight:800}
.result-info p{margin:0;font-size:17px;line-height:1.55}
.result-action{display:flex;align-items:center;justify-content:center;gap:15px;width:100%;min-height:68px;margin-top:40px;padding:15px 20px;border:0;border-radius:14px;background:#7e2986;box-shadow:0 5px 10px #42154a2b;color:#fff;font:inherit;font-size:20px;font-weight:700;text-decoration:none;cursor:pointer}
.result-action:hover{background:#581c63;color:#fff}.result-action:focus-visible{outline:3px solid #c68cdd;outline-offset:3px}
.result-footer{padding:28px 12px 37px;text-align:center;color:#707786;font-size:15px}
.result-form-panel{padding:30px;border:1px solid #f0ddf7;border-radius:20px;background:#fcfaff}.result-form-panel h2{margin:0 0 4px;color:#581c63;font-size:22px}.result-form-panel>p{margin:0 0 25px;color:#707786}.result-form-panel label{display:block;margin-bottom:9px;font-weight:700}.result-form-panel input{display:block;width:100%;min-height:54px;padding:12px 15px;border:1px solid #cdbbd8;border-radius:11px;background:#fff;color:#281f31;font:inherit}.result-help{margin:8px 0 0;color:#707786;font-size:14px}.result-form-panel .result-action{margin-top:25px}
@media(max-width:700px){.result-page{padding:18px 14px}.result-card{padding:30px 23px;border-radius:24px}.result-card-corner{width:100px;height:100px}.result-logo{width:150px;margin-bottom:20px}.result-badge{font-size:11px;padding:8px 17px}.result-intro h1{margin:20px auto 14px}.result-intro p{font-size:15px;margin-bottom:30px}.result-table-head,.result-row{padding:15px 17px}.result-row{min-height:78px}.result-skill{gap:10px;font-size:17px}.result-skill-icon{width:39px;height:39px}.result-skill-icon svg{width:21px;height:21px}.result-value{font-size:21px}.result-info{gap:12px;margin-top:23px;padding:18px}.result-info p{font-size:14px}.result-action{min-height:56px;margin-top:25px;font-size:16px}.result-form-panel{padding:20px}.result-footer{padding:20px 12px;font-size:12px}}

/* Trang chọn bài test đầu vào */
.entrance-body{background:radial-gradient(circle at 0 0,#f4e8f6 0,transparent 42%),radial-gradient(circle at 100% 0,#f0ddf4 0,transparent 42%),#f8f9fc}
.entrance-header{display:flex;justify-content:center;padding:40px 20px 0}
.entrance-header img{display:block;width:180px;height:auto}
.entrance-main{display:flex;flex:1;flex-direction:column;align-items:center;justify-content:center;width:min(100%,1000px);margin:0 auto;padding:43px 24px 60px}
.entrance-intro{text-align:center;max-width:800px;margin-bottom:47px}
.entrance-badge{display:inline-block;padding:9px 18px;border:1px solid #e8cde9;border-radius:99px;background:#fdf4fe;box-shadow:0 2px 4px #4b25520b;color:#7f2286;font-size:12px;font-weight:800;letter-spacing:.12em}
.entrance-intro h1{margin:25px 0 21px;color:#151827;font-size:clamp(31px,4.4vw,48px);font-weight:800;line-height:1.2;letter-spacing:-.04em}
.entrance-intro p{max-width:690px;margin:0 auto;color:#707786;font-size:18px;line-height:1.65}
.entrance-intro strong{color:#7f2286;font-weight:700}
.entrance-options{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px;width:100%;max-width:920px}
.entrance-option{position:relative;overflow:hidden;display:flex;flex-direction:column;min-height:265px;padding:32px;border:1px solid #f1edf3;border-radius:26px;background:#fff;box-shadow:0 2px 20px #0000000a;transition:border-color .2s,box-shadow .2s,transform .2s}
.entrance-option:hover{border-color:#d8a9df;box-shadow:0 12px 30px #57205e18;transform:translateY(-2px)}
.entrance-option-corner{position:absolute;right:0;top:0;width:100px;height:100px;border-bottom-left-radius:100%;background:#fdf4fe}
.entrance-option-title{position:relative;display:flex;align-items:center;gap:17px}
.entrance-option-icon{display:grid;place-items:center;flex:none;width:50px;height:50px;border-radius:15px;background:#fdf4fe;color:#7f2286}
.entrance-option-icon svg{width:25px;height:25px}
.entrance-option h2{margin:0;color:#151827;font-size:24px;line-height:1.3;letter-spacing:-.025em}
.entrance-option:hover h2{color:#7f2286}
.entrance-skills{position:relative;flex:1;margin:18px 0 30px;color:#707786;font-size:16px;font-weight:600}
.entrance-option form{position:relative}
.entrance-start{display:flex;align-items:center;justify-content:center;gap:12px;width:100%;min-height:57px;padding:13px 20px;border:0;border-radius:12px;background:#7f2286;box-shadow:0 4px 10px #4e165525;color:#fff;font:inherit;font-size:16px;font-weight:700;cursor:pointer}
.entrance-start:hover:not(:disabled){background:#601965}.entrance-start:focus-visible{outline:3px solid #c68cdd;outline-offset:3px}.entrance-start:disabled{background:#bcb2c2;box-shadow:none;cursor:not-allowed}
.entrance-unavailable{position:relative;margin:11px 0 0;color:#707786;font-size:13px}
.entrance-note{margin:30px 0 0;color:#7d8290;text-align:center;font-size:14px}
@media(max-width:700px){.entrance-header{padding-top:26px}.entrance-header img{width:155px}.entrance-main{justify-content:flex-start;padding:38px 16px 45px}.entrance-intro{margin-bottom:30px}.entrance-intro h1{margin:20px 0 16px}.entrance-intro p{font-size:15px}.desktop-break{display:none}.entrance-options{grid-template-columns:1fr;gap:16px}.entrance-option{min-height:0;padding:24px}.entrance-option h2{font-size:21px}.entrance-skills{margin:15px 0 25px;font-size:15px}.entrance-note{margin-top:25px;font-size:13px}}
@media(prefers-reduced-motion:reduce){.entrance-option{transition:none}}

/* Trạng thái nhập mã khách hàng sau khi hoàn thành bài test */
.code-card{width:min(920px,100%);padding:68px 72px 72px}
.code-card .result-card-corner{display:none}
.code-card .result-logo{width:205px;margin-bottom:50px}
.code-card .result-intro h1{max-width:780px;margin:0 auto 28px;font-size:clamp(35px,4.8vw,54px);line-height:1.16}
.code-card .result-intro h1 span{color:#7e2986}
.code-card .result-intro p{max-width:760px;margin:0 auto 62px;color:#707786;font-size:26px;line-height:1.55}
.code-form label{display:block;margin:0 0 13px;color:#374151;font-size:23px;font-weight:700}
.code-input-wrap{position:relative}
.code-input-wrap svg{position:absolute;left:29px;top:50%;width:31px;height:31px;transform:translateY(-50%);color:#a0a8b5;pointer-events:none}
.code-input-wrap input{display:block;width:100%;min-height:94px;padding:20px 25px 20px 78px;border:1px solid #e1e5eb;border-radius:21px;background:#f8f9fb;color:#273041;font:inherit;font-size:24px;outline:none}
.code-input-wrap input::placeholder{color:#a0a8b5}
.code-input-wrap input:focus-visible{border-color:#7e2986;box-shadow:0 0 0 4px #7e298621}
.code-input-wrap input[aria-invalid=true]{border-color:#b42318}
.code-form .error{margin:12px 0 0}
.code-form .result-action{min-height:99px;margin-top:40px;border-radius:20px;font-size:30px}
.code-form .result-action span{font-size:38px;font-weight:400;line-height:1}
.code-help{margin:56px 0 0;padding:40px 0 0;border-top:1px solid #edf0f3;color:#9aa2b0;text-align:center;font-size:20px;line-height:1.6}
.code-help strong{color:#707786;font-weight:700}
@media(max-width:700px){.code-card{padding:32px 23px 38px}.code-card .result-logo{width:160px;margin-bottom:35px}.code-card .result-intro h1{font-size:clamp(30px,7vw,41px);margin-bottom:20px}.code-card .result-intro h1 br{display:none}.code-card .result-intro p{font-size:17px;margin-bottom:38px}.code-form label{font-size:17px;margin-bottom:9px}.code-input-wrap svg{left:17px;width:24px;height:24px}.code-input-wrap input{min-height:63px;padding:14px 15px 14px 55px;border-radius:14px;font-size:16px}.code-form .result-action{min-height:66px;margin-top:23px;border-radius:13px;font-size:20px}.code-form .result-action span{font-size:29px}.code-help{margin-top:34px;padding-top:27px;font-size:14px}}
