*{box-sizing:border-box}body{margin:0;background:#f6f8fc;color:#17213d;font:14px Inter,Arial,sans-serif}button,input{font:inherit}button{cursor:pointer;border:0}.app{display:flex;min-height:100vh}aside{width:245px;background:#0b1220;color:#94a3b8;padding:25px 16px;position:fixed;inset:0 auto 0 0;display:flex;flex-direction:column}.brand{display:flex;align-items:center;gap:10px;color:#fff;margin:0 8px 35px}.brand img{width:145px;height:auto;max-height:55px;display:block;object-fit:contain;object-position:left center}.brand b,.brand span,.brand small{display:none}.brand~button,aside>button{width:100%;text-align:left;background:none;color:#94a3b8;padding:12px;border-radius:9px;margin:3px 0}.brand~button:hover,aside>button.on{background:#182235;color:#fff}.bottom{margin-top:auto;border-top:1px solid #1e293b;padding-top:16px}.bottom span,.bottom small{display:block}.bottom span{color:#fff;font-weight:700}.bottom small{font-size:10px;margin:3px 0 12px}.bottom button{background:#182235;color:#cbd5e1;padding:9px;width:100%;border-radius:8px}.bottom button:hover{background:#243147}.main,main{margin-left:245px;width:calc(100% - 245px);padding:42px 55px}header{display:flex;justify-content:space-between;align-items:center;margin-bottom:32px}header span,.course-title>div>span,.quiz>span,.result>span{font-size:10px;font-weight:800;letter-spacing:1.5px;color:#64748b}header h1{font-size:31px;margin:8px 0;font-weight:800}header p,.course-title p{color:#64748b;margin:0}.badge{width:48px;height:48px;background:#e0e7ff;color:#4f46e5;border-radius:15px;display:grid;place-items:center;font-size:20px}.cards{display:grid;grid-template-columns:repeat(3,1fr);gap:22px}.card{background:#fff;border:1px solid #e5eaf2;border-radius:20px;padding:25px;box-shadow:0 10px 35px #0f172a08}.icon{width:54px;height:54px;background:#eef2ff;border-radius:16px;display:grid;place-items:center;font-size:27px}.purple .icon{background:#f3e8ff}.green .icon{background:#dcfce7}.card h2{margin:18px 0 8px;font-size:21px}.card p{color:#64748b;line-height:1.6;min-height:68px}.card small{color:#64748b}.bar{height:6px;background:#edf1f7;border-radius:5px;margin:9px 0 20px;overflow:hidden}.bar i{display:block;height:100%;background:linear-gradient(90deg,#4f46e5,#06b6d4)}.card button,.result>button:not(.primary),.actions button{padding:11px 16px;border-radius:9px;background:#eef2f7;color:#334155;font-weight:700}.card button{width:100%;background:#f8fafc}.primary{background:#4f46e5!important;color:#fff!important;padding:12px 18px;border-radius:9px;font-weight:700}.back{background:none;color:#64748b;margin-bottom:24px}.course-title{display:flex;gap:17px;align-items:center;margin-bottom:30px}.course-title h1{margin:7px 0;font-size:30px}.learning{display:grid;grid-template-columns:245px 1fr;gap:24px}.learning nav,.lesson{background:#fff;border:1px solid #e5eaf2;border-radius:20px}.learning nav{padding:17px;height:max-content}.learning nav>b{display:block;margin:5px 8px 12px}.learning nav button{display:flex;gap:10px;width:100%;padding:12px 8px;text-align:left;background:none;color:#64748b;border-radius:9px}.learning nav button.sel{background:#eef2ff;color:#3730a3}.learning nav button b{width:20px}.lesson{padding:30px}.lp{font-size:11px;color:#64748b;border-bottom:5px solid #edf1f7;padding-bottom:7px;margin-bottom:20px}.lp i{display:block;height:5px;background:#4f46e5;position:relative;top:12px;border-radius:4px}.lesson img{display:block;width:100%;height:300px;max-height:300px;object-fit:contain;object-position:center;background:#f8fafc;border-radius:14px;border:1px solid #eef2f7}.tag{display:inline-block;background:#eef2ff;color:#4f46e5;padding:7px 9px;border-radius:7px;font-size:10px;font-weight:800;margin-top:20px}.lesson h2{font-size:28px;margin:15px 0}.lesson p{color:#475569;line-height:1.9;font-size:15px}.take{background:#f8fafc;border-left:4px solid #4f46e5;padding:14px 17px;margin:25px 0;color:#475569;line-height:1.6}.actions{display:flex;justify-content:flex-end;gap:9px;border-top:1px solid #eef2f7;padding-top:20px}.quiz{max-width:850px;margin:auto}.quiz h1{font-size:31px;margin:8px 0}.quiz>p{color:#64748b}.q{background:#fff;border:1px solid #e5eaf2;border-radius:17px;padding:23px;margin:18px 0}.q small{color:#4f46e5;font-weight:800}.q h3{font-size:16px}.q label{display:flex;align-items:center;gap:12px;border:1px solid #e2e8f0;padding:12px;border-radius:9px;margin:8px 0;color:#334155}.q label.choice{background:#f5f3ff;border-color:#818cf8}.q input{accent-color:#4f46e5}.q b{color:#4f46e5}.full{width:100%;margin-top:5px}.result{text-align:center;background:#fff;border:1px solid #e5eaf2;border-radius:24px;padding:55px;max-width:650px;margin:60px auto}.result h1{font-size:32px}.result strong{display:block;font-size:65px;color:#4f46e5;margin:15px}.result p{color:#64748b;margin-bottom:25px}.result .ok,.result .bad,.cert{width:70px;height:70px;border-radius:50%;display:grid;place-items:center;margin:auto auto 18px;font-size:30px;font-weight:800}.ok{background:#dcfce7;color:#15803d}.bad{background:#fee2e2;color:#b91c1c}.cert{background:#0b1220;color:#fff;font-size:20px}.certificate-logo{width:180px;height:auto;max-height:80px;display:block;object-fit:contain;object-position:center;margin:0 auto 20px}.result button{margin:4px}.table{background:#fff;border:1px solid #e5eaf2;border-radius:18px;overflow:auto}table{width:100%;border-collapse:collapse;font-size:12px}th,td{padding:15px;border-bottom:1px solid #eef2f7;text-align:left}th{font-size:10px;color:#64748b}td small{display:block;color:#94a3b8;margin-top:3px}.loading{text-align:center;padding:100px}.auth{min-height:100vh;display:grid;grid-template-columns:1fr 500px;background:#0b1220}.auth>section{padding:100px 12%;color:#fff;background:radial-gradient(circle at 20% 20%,#1e3a8a,#0b1220 60%)}.auth-logo{width:180px;height:auto;max-height:70px;display:block;object-fit:contain;object-position:left center;margin-bottom:25px}.auth-logo.small{width:150px;max-height:60px;margin-bottom:10px}.auth h1{font-size:55px;line-height:1.05;margin:50px 0 20px}.auth em{color:#67e8f9;font-style:normal}.auth section p{color:#94a3b8;max-width:500px;line-height:1.8}.chips{margin-top:28px;color:#cbd5e1}.auth form{background:#fff;margin:45px;border-radius:25px;padding:45px;align-self:center}.mark,.mark.small{display:none}.auth h2{font-size:28px;margin:20px 0 5px}.auth form>p{color:#94a3b8;font-size:12px}.auth label{display:block;font-size:12px;font-weight:700;margin:15px 0}.auth input{display:block;width:100%;margin-top:6px;padding:12px;border:1px solid #dbe2ea;border-radius:9px}.auth .primary{width:100%;margin-top:10px}.text{background:none;color:#4f46e5;width:100%;padding:12px}.err{background:#fef2f2;color:#b91c1c;padding:10px;border-radius:8px;font-size:12px;margin:10px 0}@media(max-width:950px){.cards,.learning,.auth{grid-template-columns:1fr}.auth>section{display:none}aside{width:205px}main{margin-left:205px;width:calc(100% - 205px);padding:25px}.brand img{width:135px}}@media(max-width:650px){aside{display:none}main{margin:0;width:100%;padding:18px}.cards{grid-template-columns:1fr}.lesson{padding:18px}.brand img{width:130px}.auth-logo{width:160px}.auth-logo.small{width:140px}.certificate-logo{width:150px}}.lesson-content{white-space:pre-line}.loading{min-height:240px;display:grid;place-items:center;color:#64748b}.learning nav{max-height:calc(100vh - 240px);overflow:auto}.learning nav::-webkit-scrollbar{width:6px}.learning nav::-webkit-scrollbar-thumb{background:#cbd5e1;border-radius:6px}
