@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Manrope:wght@400;500;600;700;800&display=swap');
:root{--ink:#172b4d;--muted:#738096;--line:#e7ebf1;--paper:#f6f8fb;--blue:#315b9a;--lav:#edf1fa;--white:#fff}*{box-sizing:border-box}body{margin:0;background:var(--paper);color:var(--ink);font-family:'DM Sans',sans-serif}h1,h2,h3{font-family:Manrope,sans-serif;letter-spacing:-.04em}button,input,textarea{font:inherit}button{cursor:pointer}.hidden{display:none!important}.auth-wrap{min-height:100vh;display:grid;place-items:center;padding:24px;background:radial-gradient(circle at 80% 15%,#e4eafa,transparent 35%),#f7f8fc}.auth-card{width:min(100%,440px);background:white;padding:38px;border:1px solid var(--line);border-radius:22px;box-shadow:0 20px 70px #1a315015}.brand-mark{width:48px;height:48px;border-radius:15px;background:#243e68;color:white;display:grid;place-items:center;font-size:26px;margin-bottom:20px}.brand-mark.small{width:36px;height:36px;font-size:20px;margin:0}.eyebrow{font-size:10px;letter-spacing:.16em;font-weight:700;color:#8490a4;margin:0 0 9px}.auth-card h1{font-size:30px;margin:0 0 8px}.muted{color:var(--muted);line-height:1.6}.tabs{display:flex;gap:8px;margin:26px 0 20px;border-bottom:1px solid var(--line)}.tab{border:0;background:none;padding:10px 14px;color:var(--muted)}.tab.active{color:var(--blue);border-bottom:2px solid var(--blue);font-weight:700}label{display:block;font-size:13px;font-weight:600;margin:15px 0;color:#34445f}input,textarea{display:block;width:100%;border:1px solid #dce2eb;border-radius:10px;padding:12px;margin-top:7px;background:#fff;color:var(--ink);outline:none}input:focus,textarea:focus{border-color:#7896c4;box-shadow:0 0 0 3px #7896c41c}.primary,.outline,.light-button{border:0;border-radius:10px;padding:12px 17px;font-weight:700}.primary{background:#294d82;color:white}.primary:hover{background:#1f3c68}.wide{width:100%;margin-top:8px}.tiny{font-size:11px;color:var(--muted);line-height:1.5}.message{font-size:13px;color:#315b9a;min-height:18px}.sidebar{position:fixed;inset:0 auto 0 0;width:230px;background:white;border-right:1px solid var(--line);padding:25px 18px;display:flex;flex-direction:column;z-index:3}.brand{display:flex;align-items:center;gap:10px;font-size:13px;line-height:1.3;margin:0 0 48px 5px}.brand b{font-size:16px}.sidebar nav{display:grid;gap:8px}.nav-item{display:flex;align-items:center;gap:13px;text-align:left;border:0;background:transparent;color:#728098;padding:13px;border-radius:10px;font-size:19px}.nav-item span{font-size:13px}.nav-item.active,.nav-item:hover{background:#edf2fa;color:#294d82;font-weight:700}.sidebar-bottom{margin-top:auto;display:grid;gap:13px;padding:12px 5px}.text-button{border:0;background:none;color:#526783;text-align:left;padding:0;font-size:12px}.main{margin-left:230px;padding:34px clamp(20px,5vw,65px);max-width:1500px}.topbar{display:flex;justify-content:space-between;align-items:center;margin-bottom:27px}.topbar h2{font-size:26px;margin:0}.cloud-pill,.tag{font-size:10px;letter-spacing:.08em;font-weight:700;color:#49658e;background:#edf2fa;border-radius:30px;padding:9px 12px}.welcome{background:linear-gradient(115deg,#203a63,#355d91);color:white;padding:35px 40px;display:flex;justify-content:space-between;align-items:center;min-height:235px;overflow:hidden}.welcome h1{font-size:36px;line-height:1.13;margin:10px 0}.welcome p:not(.eyebrow){color:#dbe5f4}.eyebrow.light{color:#b9cbe5}.light-button{background:white;color:#244571;margin-top:10px}.welcome-art{font-size:150px;color:#ffffff20;margin-right:9%;transform:rotate(15deg)}.panel{background:white;border:1px solid var(--line);border-radius:16px}.stats{display:grid;grid-template-columns:repeat(3,1fr);gap:15px;margin:18px 0 30px}.stat{padding:20px}.stat span{display:block;font-size:9px;letter-spacing:.12em;color:#8792a4;font-weight:700}.stat strong{display:block;font:800 30px Manrope;margin:8px 0 0}.stat small,.course-info small{color:#8490a1;font-size:11px}.section-heading{margin:25px 0 15px}.section-heading h3{font-size:22px;margin:0}.course-card{padding:20px;display:flex;align-items:center;gap:18px}.course-icon{width:52px;height:52px;background:#edf2fa;border-radius:14px;display:grid;place-items:center;font-size:24px;color:#355d91}.course-info{flex:1}.course-info h3{margin:8px 0 4px}.course-info p{margin:0 0 12px;color:var(--muted);font-size:13px}.progress-track{height:6px;border-radius:8px;background:#edf0f5;overflow:hidden;margin:13px 0 6px}.progress-track span{display:block;height:100%;width:0;background:#6689bd;border-radius:8px;transition:width .3s}.outline{background:white;border:1px solid #dce3ee;color:#345783}.course-hero{padding:30px;margin-bottom:20px}.course-hero h1{font-size:30px;margin:12px 0 6px}.course-hero p{color:var(--muted);max-width:650px}.lesson-layout{display:grid;grid-template-columns:260px 1fr;gap:18px}.lesson-list{display:grid;align-content:start;gap:8px}.lesson-choice{border:1px solid var(--line);background:white;border-radius:11px;padding:14px;text-align:left;color:var(--ink)}.lesson-choice.active{border-color:#8ca6cc;background:#f1f5fb}.lesson-choice small{display:block;color:#8591a3;margin-top:5px}.lesson-content{padding:28px;line-height:1.75;min-height:400px}.lesson-content h2{font-size:25px}.lesson-content h3{font-size:17px;margin-top:25px}.lesson-content p,.lesson-content li{color:#52627a;font-size:14px}.activity{background:#f5f7fb;border-radius:12px;padding:17px;margin:20px 0}.quiz-option{display:block;margin:9px 0;padding:10px;border:1px solid #dce2eb;border-radius:9px;background:white}.quiz-option input{display:inline;width:auto;margin-right:8px}.note-editor{padding:22px}.notes-list{display:grid;gap:12px;margin-top:15px}.note-item{padding:17px}.note-item h4{margin:0 0 7px}.note-item p{white-space:pre-wrap;color:#5c6980;font-size:13px}.chat-panel{padding:18px}.chat-log{min-height:270px;max-height:470px;overflow:auto;display:flex;flex-direction:column;gap:12px;padding:8px}.bubble{max-width:85%;padding:13px 16px;border-radius:14px;line-height:1.6;font-size:14px;white-space:pre-wrap}.tutor-bubble{background:#eff3fa;align-self:flex-start}.user-bubble{background:#294d82;color:white;align-self:flex-end}.chat-form{display:flex;align-items:end;gap:10px;border-top:1px solid var(--line);padding-top:13px}.chat-form textarea{flex:1}.chat-form button{white-space:nowrap}footer{text-align:center;color:#a0a9b7;font-size:11px;padding:35px 0 10px}@media(max-width:760px){.sidebar{inset:auto 0 0;width:auto;height:66px;padding:6px 10px;border-right:0;border-top:1px solid var(--line);flex-direction:row;align-items:center}.brand,.sidebar-bottom{display:none}.sidebar nav{width:100%;display:flex;justify-content:space-around;gap:2px}.nav-item{flex:1;justify-content:center;flex-direction:column;gap:2px;padding:5px;font-size:17px}.nav-item span{font-size:10px}.main{margin:0;padding:22px 15px 90px}.topbar h2{font-size:22px}.cloud-pill{font-size:9px;padding:7px}.welcome{padding:25px;min-height:210px}.welcome h1{font-size:30px}.welcome-art{font-size:85px;margin-right:0}.stats{gap:8px}.stat{padding:13px 10px}.stat strong{font-size:25px}.stat span{font-size:8px}.course-card{align-items:flex-start;flex-wrap:wrap}.course-info{min-width:calc(100% - 75px)}.course-card .outline{margin-left:70px}.lesson-layout{grid-template-columns:1fr}.lesson-list{grid-template-columns:1fr 1fr}.lesson-content{padding:20px}.chat-form{display:block}.chat-form button{margin-top:8px;width:100%}.auth-card{padding:27px 22px}}