:root{font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:#1f2937;background:#f7f8fc;font-synthesis:none;text-rendering:optimizeLegibility}*{box-sizing:border-box}body{margin:0}.topbar{height:76px;background:rgba(255,255,255,.88);border-bottom:1px solid #e8eaf1;display:flex;align-items:center;justify-content:space-between;padding:0 max(20px,calc((100% - 1040px)/2));position:sticky;top:0;z-index:5;backdrop-filter:blur(16px)}.brand{display:flex;align-items:center;gap:12px}.brand-icon{width:42px;height:42px;border-radius:14px;display:grid;place-items:center;background:linear-gradient(135deg,#6179ed,#7e61d8);color:white;font-weight:800;letter-spacing:-1px}.brand strong,.brand small{display:block}.brand strong{font-size:15px}.brand small{font-size:12px;color:#8b93a5;margin-top:3px}.level-pill{background:#eef0ff;color:#515fc6;border-radius:999px;padding:8px 12px;font-size:12px;font-weight:700}.container{max-width:1040px;margin:0 auto;padding:28px 20px 50px}.welcome{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:26px 0 32px}.eyebrow{font-size:10px;letter-spacing:1.5px;font-weight:800;color:#6976d9;margin:0 0 10px}.welcome h1{font-size:clamp(27px,5vw,42px);letter-spacing:-1.5px;line-height:1.13;margin:0;max-width:620px}.muted{color:#7d8597;font-size:14px;line-height:1.65}.streak{width:110px;min-width:100px;background:white;border:1px solid #eceef5;border-radius:20px;padding:16px;text-align:center;box-shadow:0 8px 25px #252c4b08}.streak span,.streak b,.streak small{display:block}.streak span{color:#e2a84a;font-size:20px}.streak b{font-size:18px;margin:6px 0}.streak small{color:#8c93a4;font-size:11px}.panel{background:#fff;border:1px solid #e9ebf3;border-radius:22px;padding:24px;margin:0 0 18px;box-shadow:0 8px 32px #252c4b06;scroll-margin-top:90px}.section-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;margin-bottom:18px}.section-heading h2{margin:0;font-size:21px;letter-spacing:-.5px}.section-heading .muted{margin:8px 0 0}.choice-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px}.choice{display:flex;flex-direction:column;align-items:flex-start;text-align:left;border:1px solid #e8eaf3;background:#fbfcff;border-radius:17px;padding:18px;min-height:180px;cursor:pointer;color:inherit;transition:.2s}.choice:hover{border-color:#b9c1fa;transform:translateY(-2px)}.choice-icon{display:grid;place-items:center;width:38px;height:38px;border-radius:12px;background:#eff0ff;color:#5868d7;font-size:22px;margin-bottom:14px}.choice strong{font-size:16px}.choice span:not(.choice-icon){font-size:13px;line-height:1.55;color:#7d8597;margin-top:7px}.choice em{font-size:12px;font-style:normal;font-weight:700;color:#5e6bd2;margin-top:auto;padding-top:15px}.quiz-progress{margin:0 0 18px;color:#8a91a3;font-size:12px}.progress-track{height:5px;background:#eff0f5;border-radius:9px;overflow:hidden;margin-top:9px}.progress-track div{height:100%;width:0;background:#6976df;transition:width .2s}.question{padding:16px 0;border-bottom:1px solid #f0f1f6}.question:last-child{border-bottom:0}.question h3{font-size:15px;margin:0 0 11px}.option{display:flex;align-items:center;gap:10px;padding:9px 10px;border:1px solid #eceef4;border-radius:10px;margin:7px 0;font-size:14px;cursor:pointer}.option:has(input:checked){background:#f3f4ff;border-color:#aeb7f8}.option input{accent-color:#6573dc}.btn{border:0;border-radius:11px;padding:12px 16px;font-size:13px;font-weight:750;cursor:pointer;min-height:44px}.primary{background:#6474df;color:white}.primary:hover{background:#5263d1}.secondary{background:#f0f2f9;color:#414a63}.result{background:#f4f6ff;border:1px solid #e0e5ff;border-radius:13px;padding:15px;margin-top:14px;line-height:1.6;font-size:14px;white-space:pre-wrap}.lesson-list{display:grid;grid-template-columns:1fr 1fr;gap:12px}.lesson{border:1px solid #eaecf3;border-radius:15px;padding:16px}.lesson-top{display:flex;align-items:center;justify-content:space-between;gap:10px}.lesson h3{font-size:15px;margin:0}.lesson p{font-size:13px;color:#7d8597;line-height:1.6;margin:10px 0}.lesson .tag{font-size:10px;color:#6976d9;background:#f0f2ff;border-radius:20px;padding:5px 8px;white-space:nowrap}.lesson .done{color:#18865a;background:#e7f8ef}.lesson details{margin-top:10px}.lesson summary{font-size:12px;color:#5d6bd3;font-weight:700;cursor:pointer}.lesson-body{font-size:13px;line-height:1.7;padding-top:10px}.lesson-body input{width:100%;border:1px solid #dfe2ee;border-radius:9px;padding:10px;margin:8px 0}.speak-card{background:#fafbff;border:1px solid #edf0f7;border-radius:15px;padding:16px}.speak-card label,.tutor-panel label{font-size:12px;font-weight:700;display:block;margin-bottom:8px}textarea{font:inherit;font-size:14px;width:100%;border:1px solid #e0e4ef;border-radius:12px;padding:12px;resize:vertical;outline:none;line-height:1.5}textarea:focus,input:focus{border-color:#8995ef;box-shadow:0 0 0 3px #6976df14}.button-row{display:flex;gap:10px;flex-wrap:wrap;margin-top:10px}.small{font-size:12px}.status{font-size:11px;font-weight:750;border-radius:30px;padding:7px 10px;white-space:nowrap}.status-off{background:#fff4df;color:#946317}.status-on{background:#e5f8ed;color:#1d8255}.disabled-note{background:#fafbff;border:1px dashed #dfe3ef;border-radius:12px;padding:14px;font-size:12px;color:#777f91;line-height:1.6;margin-top:14px}#tutor-send{margin-top:10px}footer{display:flex;justify-content:space-between;gap:15px;padding:10px 2px;color:#969cad;font-size:11px;line-height:1.5}@media(max-width:650px){.topbar{height:68px;padding:0 16px}.container{padding:18px 13px 34px}.welcome{padding:18px 2px 23px;align-items:flex-start}.welcome h1{font-size:29px}.welcome .muted{font-size:13px}.streak{padding:12px 8px;width:88px;min-width:88px}.panel{padding:18px 15px;border-radius:18px}.section-heading h2{font-size:19px}.choice-grid,.lesson-list{grid-template-columns:1fr}.choice{min-height:155px}.choice em{padding-top:10px}.question h3{font-size:14px}.option{font-size:13px}footer{flex-direction:column;gap:5px}}@media(prefers-reduced-motion:reduce){*{transition:none!important;scroll-behavior:auto!important}}
