*{box-sizing:border-box}body{margin:0;font-family:Inter,ui-sans-serif,system-ui,-apple-system,Segoe UI,sans-serif;background:#f7f8fb;color:#182033;line-height:1.55}.topbar{height:72px;background:#fff;border-bottom:1px solid #e7eaf0;display:flex;align-items:center;justify-content:space-between;padding:0 6vw;position:sticky;top:0;z-index:5}.brand{display:flex;gap:10px;align-items:center}.logo{width:38px;height:38px;border-radius:11px;display:grid;place-items:center;background:#182033;color:#fff;font-weight:800}.brand small{display:block;color:#7b8495;font-size:11px}.topbar nav{display:flex;gap:25px}.topbar a{color:#566074;text-decoration:none;font-size:14px}.hero{padding:72px 6vw 50px;display:grid;grid-template-columns:1.6fr .7fr;gap:40px;align-items:center;background:#fff}.eyebrow{font-size:11px;font-weight:800;letter-spacing:.12em;color:#697386}.hero h1{font-size:48px;line-height:1.08;max-width:760px;margin:13px 0}.hero h1 span{font-weight:500}.hero p{max-width:690px;color:#647085;font-size:17px}.hero-actions{display:flex;gap:12px;margin-top:25px}.primary,.secondary{border:0;border-radius:10px;padding:12px 17px;font-weight:750;cursor:pointer}.primary{background:#182033;color:#fff}.secondary{background:#fff;color:#182033;border:1px solid #dfe3eb}.small{padding:8px 11px;font-size:12px}.hero-card{border:1px solid #e3e7ee;border-radius:18px;padding:27px;background:#fafbfc}.hero-card>span,.hero-card>p{color:#70798a;font-size:13px}.hero-card strong{display:block;font-size:46px;margin:8px 0}.track,.mini-track{height:7px;background:#e7eaf0;border-radius:99px;overflow:hidden}.track i,.mini-track i{display:block;height:100%;background:#182033;border-radius:99px;width:0}.stats{display:grid;grid-template-columns:repeat(3,1fr);gap:1px;background:#e7eaf0;border-top:1px solid #e7eaf0;border-bottom:1px solid #e7eaf0}.stats div{background:#fff;padding:25px 6vw}.stats b{font-size:25px;display:block}.stats span{font-size:12px;color:#7a8495}.workspace,.review-panel,.skill-panel,.footer-note{padding:60px 6vw}.section-head{display:flex;justify-content:space-between;align-items:end;gap:20px}.section-head h2,.review-panel h2,.skill-panel h2{margin:5px 0;font-size:30px}.section-head p{margin:0;color:#7a8495}.search-wrap input{width:260px;border:1px solid #dfe3eb;border-radius:10px;padding:12px 14px;background:#fff}.tabs{display:flex;gap:8px;flex-wrap:wrap;margin:25px 0}.skill-tab{background:#fff;border:1px solid #dfe3eb;padding:9px 13px;border-radius:99px;cursor:pointer;color:#5d6678}.skill-tab.active{background:#182033;color:#fff;border-color:#182033}.grid{display:grid;grid-template-columns:repeat(3,1fr);gap:16px}.lesson-card{background:#fff;border:1px solid #e4e7ee;border-radius:16px;padding:20px;min-height:225px;display:flex;flex-direction:column}.lesson-card.completed{border-color:#bfc6d3}.card-top,.card-bottom{display:flex;justify-content:space-between;align-items:center;gap:10px}.badge{display:inline-block;background:#eef0f4;color:#4f586b;padding:5px 9px;border-radius:99px;font-size:10px;font-weight:800;text-transform:uppercase;letter-spacing:.04em}.bookmark{border:0;background:none;font-size:22px;cursor:pointer;color:#6c7484}.lesson-card h3{font-size:18px;margin:18px 0 8px}.lesson-card p{color:#6a7486;font-size:13px;margin:0 0 20px}.card-bottom{margin-top:auto;font-size:11px;color:#7b8494}.review-panel{background:#eef0f4;display:flex;justify-content:space-between;align-items:center;gap:30px}.review-panel p{max-width:700px;color:#687286}.review-actions{display:flex;gap:10px}.skill-panel{background:#fff}.skill-panel>div:first-child{margin-bottom:28px}.progress-row{max-width:760px;margin:15px 0}.progress-row>div:first-child{display:flex;justify-content:space-between;font-size:13px;margin-bottom:6px}.mini-track{height:6px}.footer-note{background:#182033;color:#fff}.footer-note p{color:#c1c7d3;max-width:760px}.modal{display:none;position:fixed;inset:0;background:rgba(15,20,30,.55);z-index:20;padding:5vh 20px;overflow:auto}.modal.show{display:block}.modal-card{max-width:760px;margin:auto;background:#fff;border-radius:20px;padding:28px}.modal-head{display:flex;justify-content:space-between;gap:20px;align-items:start}.modal-head h2{font-size:28px;line-height:1.2;margin:9px 0 20px}.icon-btn{border:0;background:#f0f2f5;border-radius:9px;width:36px;height:36px;font-size:23px;cursor:pointer}.lesson-section{padding:17px 0;border-top:1px solid #eceef2}.lesson-section h4,.exercise h4{margin:0 0 7px}.lesson-section p{margin:0;color:#596477}.exercise{margin:20px 0;padding:20px;border-radius:15px;background:#f7f8fa}.options{display:grid;gap:8px;margin-top:15px}.option{text-align:left;background:#fff;border:1px solid #dfe3ea;border-radius:10px;padding:12px;cursor:pointer}.option:hover{border-color:#9da5b4}.feedback{margin-top:12px;padding:12px;border-radius:10px;font-size:13px}.feedback.correct{background:#e9f3ec}.feedback.wrong{background:#f7ecec}.feedback button{margin-left:7px;border:0;background:none;text-decoration:underline;cursor:pointer}.hidden{display:none}.answer{background:#fafbfc;padding:16px;border-radius:12px;border-top:0}.modal-actions{display:flex;justify-content:flex-end;gap:9px;margin-top:20px}.timer-note{font-size:12px;color:#7a8495;margin-bottom:12px}.result{text-align:center;padding:45px 10px}.result-ring{width:120px;height:120px;border:10px solid #dfe3eb;border-radius:50%;display:grid;place-items:center;margin:0 auto 20px;font-size:28px;font-weight:800}.result h2{margin-bottom:5px}.result button{margin:8px}@media(max-width:900px){.hero{grid-template-columns:1fr}.grid{grid-template-columns:1fr 1fr}.topbar{padding:0 4vw}.workspace,.review-panel,.skill-panel,.footer-note{padding-left:4vw;padding-right:4vw}.hero{padding-left:4vw;padding-right:4vw}.stats div{padding-left:4vw;padding-right:4vw}}@media(max-width:620px){.topbar nav{display:none}.hero h1{font-size:37px}.grid{grid-template-columns:1fr}.section-head,.review-panel{display:block}.search-wrap{margin-top:18px}.search-wrap input{width:100%}.stats{grid-template-columns:1fr}.hero-actions,.review-actions{flex-wrap:wrap}.modal{padding:15px}.modal-card{padding:20px}}
/* ==================== BUYE IELTS Phase 2I UI ==================== */
.logo-img{width:44px;height:44px;object-fit:contain;border-radius:12px;background:#fff;padding:3px;display:block}
.topbar-actions{display:flex;align-items:center;gap:9px}
.header-btn{border:1px solid #dfe3eb;background:#fff;color:#182033;border-radius:10px;padding:9px 12px;cursor:pointer;font-weight:700}
.auth-user{font-size:12px;color:#596477;font-weight:700}
body.dark{background:#0e1118;color:#eef2f8}
body.dark .topbar,body.dark .hero,body.dark .stats div,body.dark .skill-panel{background:#121722;border-color:#252c39}
body.dark .topbar{border-bottom-color:#252c39}
body.dark .topbar a,body.dark .hero p,body.dark .lesson-card p,body.dark .section-head p,body.dark .stats span,body.dark .hero-card>span,body.dark .hero-card>p,body.dark .review-panel p,body.dark .progress-row,body.dark .card-bottom{color:#a9b2c2}
body.dark .hero h1,body.dark .section-head h2,body.dark .review-panel h2,body.dark .skill-panel h2,body.dark .lesson-card h3{color:#f5f7fb}
body.dark .hero-card,body.dark .lesson-card,body.dark .search-wrap input,body.dark .skill-tab,body.dark .secondary,body.dark .modal-card,body.dark .option{background:#171d29;color:#eef2f8;border-color:#2c3443}
body.dark .track,body.dark .mini-track{background:#2a3140}
body.dark .track i,body.dark .mini-track i{background:#fff}
body.dark .badge{background:#252d3b;color:#dce3ef}
body.dark .skill-tab{color:#c7ceda}
body.dark .skill-tab.active,body.dark .primary{background:#f5f7fb;color:#101521;border-color:#f5f7fb}
body.dark .review-panel{background:#181e2a}
body.dark .footer-note{background:#080b10}
body.dark .modal{background:rgba(0,0,0,.72)}
body.dark .icon-btn{background:#252d3b;color:#fff}
body.dark .exercise{background:#111722}
body.dark .feedback.correct{background:#173022}
body.dark .feedback.wrong{background:#351d22}
.auth-modal .modal-card{max-width:520px}
.auth-tabs{display:flex;gap:8px;margin:0 0 20px}
.auth-tab{flex:1;padding:10px;border:1px solid #dfe3eb;background:#fff;border-radius:9px;cursor:pointer;font-weight:750}
.auth-tab.active{background:#182033;color:#fff}
.auth-form{display:grid;gap:10px}
.auth-form label{font-size:12px;font-weight:750;color:#596477}
.auth-form input,.auth-form select,.lead-form textarea{width:100%;padding:11px 12px;border:1px solid #dfe3eb;border-radius:9px;background:#fff;color:inherit}
.auth-status{font-size:13px;min-height:20px;color:#647085}
.lead-card{margin-top:20px;padding:20px;border:1px solid #dfe3eb;border-radius:15px;background:#fafbfc}
.lead-form{display:grid;grid-template-columns:1fr 1fr;gap:10px}
.lead-form textarea{grid-column:1/-1;min-height:80px}
.lead-form button{justify-self:start}
body.dark .header-btn,body.dark .auth-tab,body.dark .auth-form input,body.dark .auth-form select,body.dark .lead-card,body.dark .lead-form textarea{background:#171d29;color:#eef2f8;border-color:#2c3443}
body.dark .auth-tab.active{background:#f5f7fb;color:#101521}
@media(max-width:760px){.topbar-actions .auth-user{display:none}.topbar nav{display:none}.lead-form{grid-template-columns:1fr}}
