:root{font-family:"Segoe UI Variable","Segoe UI",Inter,-apple-system,BlinkMacSystemFont,sans-serif;color:#20233c;background:#f7f8fc;font-synthesis:none}*{box-sizing:border-box}body{margin:0;min-width:320px}button,input,textarea{font:inherit}button{cursor:pointer}button:disabled{cursor:not-allowed;opacity:.5}a{color:inherit;text-decoration:none}.svg-defs{position:absolute;width:0;height:0;overflow:hidden}svg.icon,.nav-icon svg,[data-icon] svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round;flex:none}.app-shell{min-height:100vh;display:flex}.sidebar{width:252px;flex:none;padding:34px 18px 22px 22px;background:#fff;border-right:1px solid #eff0f6;display:flex;flex-direction:column;position:sticky;top:0;height:100vh}.brand{display:flex;align-items:center;gap:10px;padding-left:12px;font-size:26px;font-weight:800;letter-spacing:-1.6px}.brand-mark{width:36px;height:36px;border-radius:11px;display:grid;place-items:center;color:white;background:#7558ed;transform:rotate(-7deg)}.brand-mark svg{width:26px;height:26px;transform:rotate(7deg)}.brand-dot{color:#8059ee}.side-label,.eyebrow{font-size:10px;letter-spacing:1.65px;font-weight:800;color:#a4a7bb}.side-label{margin:53px 0 14px 17px}.side-nav{display:grid;gap:7px}.nav-link{border:0;background:transparent;border-radius:14px;text-align:left;display:flex;align-items:center;gap:13px;color:#8a8da6;font-weight:700;padding:13px 17px}.nav-link:hover{background:#f6f4ff;color:#7052d7}.nav-link.active{background:#f0ecff;color:#704fe2}.side-spacer{flex:1}.side-tip{background:#f5f1ff;border-radius:20px;padding:18px 18px 15px;color:#4e426f;margin:12px 3px 23px;position:relative;overflow:hidden}.side-tip:after{content:'✦';position:absolute;right:-12px;top:5px;font-size:70px;color:#e5dcff}.tip-sparkle{font-size:20px;color:#8d62ed}.side-tip strong{font-size:13px;display:block;line-height:1.5;margin-top:7px;position:relative;z-index:1}.side-tip p{font-size:11px;line-height:1.55;color:#9086aa;margin:6px 0 0;position:relative;z-index:1}.side-profile{border:0;border-top:1px solid #f0f0f5;background:#fff;display:flex;align-items:center;text-align:left;gap:10px;padding:18px 4px 0}.avatar{width:36px;height:36px;border-radius:12px;background:#e7dcff;color:#7752df;display:grid;place-items:center;font-weight:800;flex:none}.profile-text{display:grid;gap:2px;flex:1}.profile-text strong{font-size:12px}.profile-text small{font-size:10px;color:#a1a5b7}.chevron{font-size:22px;color:#a9aac1}.main-wrap{min-width:0;flex:1}.topbar{height:82px;display:flex;align-items:center;padding:0 clamp(22px,5vw,76px);gap:15px}.topbar-spacer{flex:1}.mobile-brand{display:none;font-size:23px;font-weight:800;letter-spacing:-1.5px}.mini-mark{color:#7753e8;font-size:29px;vertical-align:-2px}.offline-pill{display:flex;align-items:center;gap:8px;border:1px solid #e6e8f0;background:#fff;border-radius:100px;color:#9398ab;font-size:11px;font-weight:700;padding:9px 13px}.offline-pill span{height:7px;width:7px;border-radius:50%;background:#4ac79a}.top-profile{border:0;background:transparent;padding:0}.top-profile .avatar{width:35px;height:35px}main{max-width:1320px;margin:auto;padding:4px clamp(22px,5vw,76px) 70px}.page-heading{display:flex;justify-content:space-between;align-items:flex-start;gap:20px;margin:15px 0 25px}.page-heading h1{font-size:clamp(27px,3vw,36px);letter-spacing:-1.5px;line-height:1.2;margin:6px 0 6px;font-weight:800}.page-heading p{font-size:13px;color:#9699ae;margin:0}.heading-actions{display:flex;gap:10px}.exam-switch{display:inline-flex;background:#eceef4;border-radius:13px;padding:4px;gap:3px}.exam-switch button{border:0;background:transparent;color:#9296aa;font-size:12px;font-weight:800;border-radius:10px;padding:9px 15px}.exam-switch button.selected{background:#fff;color:#6850cf;box-shadow:0 2px 7px #29204412}.hero{min-height:218px;background:#7a5be9;border-radius:25px;color:white;position:relative;overflow:hidden;padding:31px 34px;display:flex;align-items:center;box-shadow:0 13px 28px #6f55d82a}.hero:before,.hero:after{content:'';position:absolute;border-radius:50%;border:1px solid #ffffff38}.hero:before{width:390px;height:390px;right:-75px;top:-180px}.hero:after{width:310px;height:310px;right:35px;bottom:-220px}.hero-copy{z-index:1;max-width:520px}.hero-kicker{font-size:11px;font-weight:800;letter-spacing:1.5px;color:#ddd1ff}.hero h2{font-size:clamp(24px,2.4vw,33px);letter-spacing:-1.1px;margin:9px 0 9px;line-height:1.3}.hero p{font-size:12px;color:#e5dcff;line-height:1.7;max-width:360px;margin:0 0 20px}.hero-art{position:absolute;right:7%;top:20px;width:220px;height:180px;transform:rotate(-9deg)}.art-paper{position:absolute;right:12px;top:17px;width:140px;height:155px;background:#fff;border-radius:14px;box-shadow:0 20px 30px #42349d4d;transform:rotate(10deg);padding:23px}.art-paper b{font-size:32px;color:#7657e7}.art-paper i{display:block;height:5px;background:#e9e6f6;margin-top:12px;border-radius:10px}.art-paper i:nth-child(4){width:60%}.art-star{position:absolute;color:#d4f77c;font-size:40px;top:0;left:0}.art-circle{position:absolute;border-radius:50%;background:#ffa668;width:48px;height:48px;left:25px;bottom:0}.white-button,.primary-button,.ghost-button{border:0;border-radius:11px;padding:11px 16px;font-size:12px;font-weight:800;display:inline-flex;align-items:center;justify-content:center;gap:8px}.white-button{background:#fff;color:#6c4edb}.white-button svg,.primary-button svg,.ghost-button svg{width:16px;height:16px}.primary-button{background:#7757e9;color:#fff;box-shadow:0 6px 13px #6c50dd24}.primary-button:hover{background:#6846df}.ghost-button{background:#f4f2fc;color:#7357d7}.section-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:33px 0 17px}.section-head h2{font-size:18px;letter-spacing:-.5px;margin:0}.section-head p{font-size:12px;color:#a1a4b4;margin:4px 0 0}.text-link{border:0;background:transparent;font-size:11px;font-weight:800;color:#805ee7;display:flex;align-items:center;gap:4px;white-space:nowrap}.text-link svg{width:14px;height:14px}.subjects{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:15px}.subject-card{border:1px solid #eeedf6;border-radius:21px;background:#fff;text-align:left;padding:21px;min-height:192px;display:flex;flex-direction:column;align-items:flex-start;box-shadow:0 8px 24px #555b8c07;transition:transform .2s,box-shadow .2s,border-color .2s}.subject-card:hover,.subject-card:focus-visible{transform:translateY(-3px);box-shadow:0 12px 28px #555b8c15;border-color:#d6cef7}.subject-icon,.type-icon{display:grid;place-items:center;border-radius:14px;width:42px;height:42px;font-size:22px;font-weight:800;letter-spacing:-2px}.subject-card.violet .subject-icon,.subject-tag.violet,.type-icon.violet{background:#f0eaff;color:#8b63e9}.subject-card.orange .subject-icon,.subject-tag.orange,.type-icon.orange{background:#fff1e5;color:#e99555}.subject-card.blue .subject-icon,.subject-tag.blue,.type-icon.blue{background:#e9f2ff;color:#5c95dc}.subject-card h3{font-size:14px;letter-spacing:-.2px;margin:16px 0 4px}.subject-card p{color:#a4a6b7;font-size:11px;margin:0;line-height:1.5}.card-foot{width:100%;display:flex;align-items:center;justify-content:space-between;margin-top:auto;padding-top:16px;color:#a7a9ba;font-size:10px;font-weight:700}.card-foot .round-arrow{color:#805ee6;background:#f4f0ff;width:25px;height:25px;display:grid;place-items:center;border-radius:50%}.round-arrow svg{width:14px;height:14px}.dashboard-bottom{display:grid;grid-template-columns:1.4fr 1fr;gap:16px;margin-top:17px}.mini-panel{border:1px solid #eeedf5;background:#fff;border-radius:20px;padding:20px 22px;min-height:113px}.mini-panel h3{font-size:13px;margin:0 0 5px}.mini-panel p{font-size:11px;line-height:1.5;color:#a2a5b5;margin:0}.streak-panel{display:flex;align-items:center;gap:15px}.streak-symbol{font-size:24px;background:#fff0e5;color:#ec9f5b;width:48px;height:48px;border-radius:14px;display:grid;place-items:center}.progress-panel{display:flex;justify-content:space-between;align-items:center}.progress-ring{width:54px;height:54px;border-radius:50%;display:grid;place-items:center;font-size:12px;font-weight:800;color:#7659e0;background:conic-gradient(#7d5fe8 var(--percent),#efebfb 0);position:relative;flex:none}.progress-ring:before{content:'';position:absolute;inset:6px;background:#fff;border-radius:50%}.progress-ring span{position:relative}.breadcrumbs{display:flex;align-items:center;gap:8px;color:#a5a7b9;font-size:11px;font-weight:700;margin:10px 0 18px}.breadcrumbs button{border:0;background:transparent;padding:0;color:#9d9fb2;font-size:inherit;font-weight:inherit}.breadcrumbs button:hover{color:#7659e2}.breadcrumbs span:last-child{color:#544976}.subject-intro{display:flex;align-items:center;gap:18px}.subject-intro .subject-icon{width:60px;height:60px;font-size:27px}.subject-intro h1{margin:0 0 3px}.subject-intro p{margin:0}.filter-row{display:flex;flex-wrap:wrap;gap:8px;margin:0 0 20px}.chip{background:#fff;border:1px solid #e8e8f1;color:#9093aa;padding:9px 14px;border-radius:11px;font-size:11px;font-weight:800}.chip.selected{background:#7557e8;color:#fff;border-color:#7557e8}.task-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:13px}.task-card{background:#fff;border:1px solid #ececf4;border-radius:18px;text-align:left;padding:18px 20px;display:flex;gap:14px;align-items:flex-start;transition:transform .2s,border-color .2s;min-height:118px}.task-card:hover{transform:translateY(-2px);border-color:#cfc4fa}.task-index{width:35px;height:35px;border-radius:11px;background:#f3efff;color:#8261df;display:grid;place-items:center;flex:none;font-size:11px;font-weight:800}.task-card.done .task-index{background:#e4f7ef;color:#32ac83}.task-card-body{flex:1;min-width:0}.task-card h3{font-size:13px;margin:1px 0 6px;line-height:1.4}.task-card p{font-size:11px;color:#a0a3b4;margin:0;line-height:1.5}.task-card .task-arrow{color:#b0adc4;align-self:center}.task-card .task-arrow svg{width:17px;height:17px}.subject-tag{display:inline-flex;padding:5px 8px;border-radius:7px;font-size:10px;font-weight:800}.task-layout{display:grid;grid-template-columns:minmax(0,1.05fr) minmax(310px,.95fr);gap:20px;align-items:start}.task-main,.workspace-card{background:#fff;border:1px solid #ececf4;border-radius:22px;box-shadow:0 8px 25px #555b8c06}.task-main{padding:25px 28px}.task-topline{display:flex;justify-content:space-between;align-items:center;margin-bottom:18px}.task-number{color:#9c9fb1;font-size:11px;font-weight:800}.task-main h1{font-size:24px;letter-spacing:-.8px;margin:0 0 18px}.task-statement{font-size:15px;line-height:1.85;color:#4b4d65;min-height:100px}.task-statement strong{color:#26273f}.answer-block{border-top:1px solid #f0f0f5;margin-top:22px;padding-top:21px}.answer-block label{font-size:12px;font-weight:800;display:block;margin-bottom:9px}.answer-row{display:flex;gap:9px}.answer-row input{border:1px solid #e6e7ee;border-radius:11px;padding:12px 13px;width:100%;min-width:0;outline:none;font-size:14px}.answer-row input:focus{border-color:#8968ed;box-shadow:0 0 0 3px #eae3ff}.answer-row .primary-button{white-space:nowrap}.feedback{padding:11px 13px;border-radius:11px;margin-top:12px;font-size:11px;font-weight:700;line-height:1.5}.feedback.correct{background:#e9f8f1;color:#278864}.feedback.incorrect{background:#fff1ec;color:#c4744e}.task-actions{display:flex;gap:10px;flex-wrap:wrap;margin-top:22px}.solution{margin-top:18px;background:#f8f6ff;border:1px solid #eee9fd;border-radius:16px;padding:19px}.solution h3{font-size:14px;margin:0 0 12px;color:#6452b3}.solution ol{padding-left:20px;margin:0;color:#69687c;font-size:12px;line-height:1.75}.solution li+li{margin-top:7px}.solution-answer{font-size:12px;font-weight:800;color:#6552bf;margin-top:14px}.task-pager{display:flex;justify-content:space-between;gap:10px;margin-top:18px}.pager-button{border:0;background:transparent;color:#8063df;font-size:11px;font-weight:800;display:flex;align-items:center;gap:5px;padding:8px 0}.pager-button svg{width:15px;height:15px}.workspace-card{overflow:hidden}.workspace-head{padding:23px 23px 0}.workspace-head h2{font-size:16px;margin:0 0 4px}.workspace-head p{color:#a4a6b6;font-size:11px;margin:0 0 17px}.workspace-tabs{display:flex;border-bottom:1px solid #eeeef4;padding:0 23px;gap:20px}.workspace-tab{border:0;background:transparent;color:#9d9fb2;font-size:11px;font-weight:800;padding:11px 1px;border-bottom:2px solid transparent;display:flex;align-items:center;gap:7px}.workspace-tab.active{border-color:#7756e7;color:#7756e7}.workspace-tab svg{width:16px;height:16px}.workspace-pane{padding:18px 23px 23px}.note-area{width:100%;height:225px;resize:vertical;border:1px solid #e9e8f1;border-radius:12px;background:repeating-linear-gradient(#fff,#fff 29px,#ececf4 30px);font-size:13px;line-height:30px;padding:5px 13px;color:#4b4d65;outline:none}.note-area:focus{border-color:#c4b5f8}.save-status{font-size:10px;color:#a2a4b7;margin-top:8px}.draw-toolbar{display:flex;align-items:center;gap:7px;margin-bottom:10px}.tool-button{border:1px solid #e7e7f1;background:#fff;border-radius:9px;padding:7px 10px;font-size:11px;font-weight:800;color:#9294a8}.tool-button.active{color:#7659df;background:#f2eeff;border-color:#d6cafb}.tool-spacer{flex:1}.drawing-wrap{position:relative;background-color:#fff;background-image:linear-gradient(#f1f0f7 1px,transparent 1px),linear-gradient(90deg,#f1f0f7 1px,transparent 1px);background-size:22px 22px;border:1px solid #e8e8f1;border-radius:12px;overflow:hidden}.drawing-wrap canvas{display:block;width:100%;height:auto;touch-action:none;cursor:crosshair;aspect-ratio:1.65}.empty-state{background:#fff;border:1px dashed #dedbed;border-radius:20px;padding:44px;text-align:center;color:#a3a4b6;font-size:12px}.empty-state strong{display:block;font-size:15px;color:#54536c;margin-bottom:6px}.history-list{display:grid;gap:11px}.history-item{background:#fff;border:1px solid #ededf5;border-radius:16px;padding:15px 17px;display:flex;align-items:center;gap:13px;text-align:left;width:100%}.history-item:hover{border-color:#d6cafa}.history-status{height:36px;width:36px;border-radius:11px;display:grid;place-items:center;flex:none;font-size:17px}.history-status.correct{background:#e8f8f0;color:#2da879}.history-status.incorrect{background:#fff1eb;color:#de8557}.history-item-content{flex:1;min-width:0}.history-item-content strong{font-size:12px;display:block;margin-bottom:3px}.history-item-content small{font-size:10px;color:#a1a3b5}.history-date{font-size:10px;color:#a6a8b9;white-space:nowrap}.history-summary{display:flex;gap:11px;margin:4px 0 22px}.summary-box{background:#fff;border:1px solid #eeedf5;border-radius:15px;padding:15px 18px;flex:1}.summary-box strong{font-size:22px;display:block}.summary-box small{color:#a3a5b5;font-size:10px}.profile-dialog{border:0;border-radius:23px;padding:24px;width:min(430px,calc(100% - 28px));box-shadow:0 22px 70px #24204740;color:#26243b}.profile-dialog::backdrop{background:#24203b80}.dialog-head{display:flex;justify-content:space-between;align-items:start}.dialog-head h2{margin:5px 0 20px;font-size:22px;letter-spacing:-.6px}.icon-button{border:0;background:#f3f2f7;border-radius:9px;width:30px;height:30px;font-size:21px;line-height:1;color:#8a8ba0}.profile-list{display:grid;gap:9px}.profile-option{width:100%;border:1px solid #ecebf2;background:#fff;border-radius:12px;padding:10px;display:flex;align-items:center;gap:10px;text-align:left}.profile-option.active{border-color:#bbabf5;background:#f8f5ff}.profile-option strong{flex:1;font-size:12px}.profile-option small{color:#7455d8;font-size:11px;font-weight:800}.add-profile-form{margin-top:23px;border-top:1px solid #eeeef4;padding-top:18px}.add-profile-form label{font-size:12px;font-weight:800;display:block;margin-bottom:8px}.add-profile-form>div{display:flex;gap:8px}.add-profile-form input{min-width:0;flex:1;border:1px solid #e7e7ef;border-radius:10px;padding:10px 11px;outline:none;font-size:12px}.add-profile-form input:focus{border-color:#9a82ea}.dialog-note{font-size:10px;color:#a5a7b7;line-height:1.5;margin:15px 0 0}.bottom-nav{display:none}
@media(max-width:1050px){.sidebar{width:210px}.hero-art{right:2%}.task-layout{grid-template-columns:1fr}.workspace-card{max-width:none}.dashboard-bottom{grid-template-columns:1fr 1fr}}
@media(max-width:760px){.sidebar{display:none}.mobile-brand{display:block}.topbar{height:65px;padding:0 20px}.top-profile .avatar{width:32px;height:32px}.offline-pill{font-size:0;padding:9px}.offline-pill span{width:8px;height:8px}main{padding:4px 18px 112px}.page-heading{margin:13px 0 21px;display:block}.page-heading h1{font-size:29px}.page-heading .exam-switch{margin-top:15px}.hero{min-height:207px;padding:25px;border-radius:21px}.hero h2{font-size:24px;max-width:240px}.hero p{max-width:215px}.hero-art{width:145px;height:140px;right:-5px;top:44px;opacity:.8}.art-paper{width:100px;height:120px;padding:16px}.art-paper b{font-size:23px}.art-paper i{margin-top:7px}.art-circle{width:35px;height:35px}.art-star{font-size:28px}.subjects{grid-template-columns:1fr;gap:11px}.subject-card{min-height:112px;padding:16px 18px;display:grid;grid-template-columns:44px 1fr auto;grid-template-rows:auto auto;column-gap:14px;align-items:center}.subject-card .subject-icon{grid-row:1/3}.subject-card h3{margin:0;grid-column:2;font-size:13px}.subject-card p{grid-column:2;font-size:10px}.subject-card .card-foot{grid-column:3;grid-row:1/3;padding:0;justify-content:end}.card-foot>span:first-child{display:none}.dashboard-bottom{grid-template-columns:1fr;margin-top:12px}.mini-panel{min-height:82px}.section-head{margin:28px 0 14px}.task-list{grid-template-columns:1fr}.subject-intro .subject-icon{width:51px;height:51px;font-size:24px}.subject-intro h1{font-size:25px}.task-main{padding:21px}.task-main h1{font-size:22px}.task-layout{gap:14px}.workspace-head{padding:20px 20px 0}.workspace-tabs{padding:0 20px}.workspace-pane{padding:16px 20px 20px}.bottom-nav{display:flex;position:fixed;bottom:0;left:0;right:0;height:calc(66px + env(safe-area-inset-bottom));padding-bottom:env(safe-area-inset-bottom);background:#fff;border-top:1px solid #eeedf5;z-index:20;box-shadow:0 -9px 25px #302d5610}.bottom-link{border:0;background:none;color:#a5a6b8;flex:1;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px}.bottom-link.active{color:#7658e3}.bottom-link small{font-size:10px;font-weight:800}.bottom-link svg{width:20px;height:20px}.history-summary{gap:8px}.summary-box{padding:13px}.history-date{display:none}}
@media(max-width:420px){.hero-art{opacity:.55;right:-26px}.hero-copy{position:relative;z-index:2}.answer-row{flex-wrap:wrap}.answer-row .primary-button{width:100%}.task-actions>*{flex:1}.filter-row{gap:6px}.chip{padding:8px 10px}.history-item{padding:13px}.history-item-content small{line-height:1.5;display:block}}
@media(max-width:420px){.hero-art{opacity:.25}}
.drawing-wrap canvas{aspect-ratio:auto}
.brush-control{display:grid;gap:5px;margin:0 0 11px;color:#4b4d65;font-size:11px;font-weight:800}
.brush-control input{width:100%;margin:0;accent-color:#7756e7}
