@import "https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Manrope:wght@600;700;800&display=swap";:root{color:#1d2236;font-synthesis:none;text-rendering:optimizelegibility;background:#f7f8fc;font-family:DM Sans,system-ui,sans-serif}*{box-sizing:border-box}body{background:var(--page);min-width:320px;min-height:100vh;margin:0;transition:background .2s,color .2s}button{font:inherit}body{color:var(--ink)}:root{--purple:#6557e8;--soft:#eeecff;--ink:#1d2236;--muted:#7d8296;--line:#e8e9f0;--page:#f7f8fc;--card:#fff;--hover:#f7f7fc}button{cursor:pointer;color:inherit;border:0}.app-shell{background:var(--page);grid-template-columns:240px 1fr;min-height:100vh;display:grid}.sidebar{background:var(--card);border-right:1px solid var(--line);flex-direction:column;width:240px;height:100vh;padding:30px 22px 24px;display:flex;position:fixed;inset:0 auto 0 0}.brand{align-items:center;gap:10px;padding:0 8px 35px;font:800 20px Manrope;display:flex}.brand-mark{color:#fff;background:linear-gradient(145deg,#7b6ef4,#5545d9);border-radius:10px;place-items:center;width:34px;height:34px;display:grid;box-shadow:0 7px 16px #6658e83d}.sidebar nav{gap:7px;display:grid}.nav-item{color:#767b8e;text-align:left;background:0 0;border-radius:11px;align-items:center;gap:13px;padding:12px 14px;font-weight:600;display:flex}.nav-item span{text-align:center;width:20px;font-size:21px}.nav-item:hover{background:var(--hover)}.nav-item.active{background:var(--soft);color:var(--purple)}.theme-toggle{text-align:left;background:0 0;border-radius:11px;align-items:center;gap:10px;width:100%;margin-top:auto;margin-bottom:10px;padding:11px 8px;display:flex}.theme-toggle:hover{background:var(--hover)}.theme-toggle>span:first-child{width:25px;color:var(--purple);font-size:20px}.theme-toggle b,.theme-toggle small{display:block}.theme-toggle b{font-size:12px}.theme-toggle small{color:var(--muted);font-size:10px}.switch{background:#d8dae3;border-radius:12px;width:30px;height:17px;margin-left:auto;position:relative}.switch:after{content:"";background:#fff;border-radius:50%;width:11px;height:11px;transition:all .2s;position:absolute;top:3px;left:3px}.switch.on{background:var(--purple)}.switch.on:after{transform:translate(13px)}.offline-card{background:#f4fbf8;border:1px solid #dceee7;border-radius:13px;gap:10px;padding:13px;display:flex}.offline-card i{background:#23ad7b;border-radius:50%;width:9px;height:9px;margin-top:4px;box-shadow:0 0 0 4px #dff4eb}.offline-card b,.offline-card small,.profile b,.profile small{display:block}.offline-card b{color:#22845f;font-size:12px}.offline-card small{color:#7a9a8e;font-size:10px}.profile{text-align:left;background:0 0;align-items:center;gap:10px;margin-top:17px;padding:10px 5px;display:flex}.avatar{color:#fff;background:#263451;border-radius:50%;place-items:center;width:36px;height:36px;font-size:12px;font-weight:700;display:grid}.profile b{font-size:13px}.profile small{color:var(--muted);font-size:11px}.profile em{color:#9da1b1;margin-left:auto;font-size:22px;font-style:normal}main{grid-column:2;width:100%;max-width:1400px;padding:45px clamp(28px,5vw,76px) 60px}header{justify-content:space-between;align-items:center;gap:30px;display:flex}header p{color:var(--muted);margin:7px 0 0;font-size:14px}.eyebrow{letter-spacing:1.35px;font-weight:700;margin:0 0 8px!important;font-size:10px!important}h1,h2,h3{color:var(--ink);font-family:Manrope}h1{letter-spacing:-1.2px;margin:0;font-size:clamp(26px,3vw,35px)}.actions{gap:9px;display:flex}.round{border:1px solid var(--line);background:var(--card);border-radius:11px;width:40px;height:40px;font-size:21px}.primary{background:var(--purple);color:#fff;border-radius:11px;padding:11px 17px;font-weight:700;box-shadow:0 7px 18px #6557e82b}.stats{grid-template-columns:repeat(3,1fr);gap:16px;margin:35px 0 40px;display:grid}.stats article{background:var(--card);border:1px solid var(--line);border-radius:15px;align-items:center;gap:14px;padding:19px 20px;display:flex}.stat{border-radius:11px;place-items:center;width:41px;height:41px;font-size:18px;display:grid}.purple{color:#6557e8;background:#eeecff}.green{color:#20a979;background:#e7f7f1}.orange{color:#e7803f;background:#fff0e6}.stats b,.stats small{display:block}.stats b{font:700 18px Manrope}.stats small{color:var(--muted);margin-top:2px;font-size:11px}.content{margin-top:36px}.section-title{justify-content:space-between;align-items:end;margin-bottom:17px;display:flex}.section-title h2{margin:0;font-size:19px}.section-title p{color:var(--muted);margin:4px 0 0;font-size:12px}.section-title button{color:var(--purple);background:0 0;font-size:12px;font-weight:600}.continue{background:var(--card);border:1px solid var(--line);border-radius:16px;align-items:center;gap:19px;padding:16px;display:flex}.cover{color:#fff;background:linear-gradient(145deg,#4c61ad,#26315d);border-radius:9px;flex-direction:column;flex:none;justify-content:center;align-items:center;width:78px;height:91px;display:flex;box-shadow:inset 5px 0 #ffffff1f}.cover span{font:700 29px Georgia}.cover small{letter-spacing:1.5px;margin-top:8px;font-size:7px}.lesson{flex:1}.lesson label{color:var(--purple);letter-spacing:1px;font-size:9px;font-weight:800}.lesson h3{margin:7px 0 4px;font-size:16px}.lesson p{color:var(--muted);margin:0;font-size:11px}.progress{align-items:center;gap:10px;max-width:360px;margin-top:14px;display:flex}.progress:before{content:"";background:linear-gradient(90deg,var(--purple) 65%,var(--line) 65%);border-radius:8px;flex:1;height:5px}.progress small{color:var(--muted);font-size:10px}.resume{color:var(--purple);background:var(--soft);border-radius:9px;padding:10px 16px;font-size:12px;font-weight:700}.notebooks{grid-template-columns:repeat(2,1fr);gap:12px;display:grid}.notebook{text-align:left;border:1px solid var(--line);background:var(--card);border-radius:14px;align-items:center;gap:13px;padding:16px;transition:all .2s;display:flex}.notebook:hover{transform:translateY(-2px);box-shadow:0 10px 25px #2024420c}.notebook>span{color:#fff;border-radius:10px;place-items:center;width:39px;height:39px;font:700 15px Manrope;display:grid}.notebook b,.notebook small{display:block}.notebook b{font-size:13px}.notebook small{color:var(--muted);margin-top:3px;font-size:10px}.notebook em{color:#afb2c0;margin-left:auto;font-size:23px;font-style:normal}.notebook.add{border-style:dashed}.notebook.add>span{color:var(--purple);background:var(--soft);font-size:20px}.mobile-nav{display:none}[data-theme=dark]{--purple:#9c8cff;--soft:#302b53;--ink:#f0eff8;--muted:#999caf;--line:#343545;--page:#171820;--card:#21222d;--hover:#292a37;--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark}[data-theme=dark] .offline-card{background:#1c302c;border-color:#294940}[data-theme=dark] .offline-card b{color:#65d1aa}[data-theme=dark] .offline-card small{color:#78aa98}[data-theme=dark] .notebook:hover{box-shadow:0 10px 25px #0003}[data-theme=dark] .mobile-nav{background:var(--card)}@media (width<=800px){.app-shell{display:block}.sidebar{display:none}main{padding:26px 18px 95px}header{align-items:flex-start}.actions .search-button{display:none}.primary{white-space:nowrap;width:41px;height:41px;padding:0;font-size:0;overflow:hidden}.primary span{font-size:22px}.stats{grid-template-columns:1fr;gap:9px;margin:27px 0 32px}.stats article{padding:13px 15px}.resume{display:none}.notebooks{grid-template-columns:1fr}.mobile-nav{z-index:20;background:var(--card);border-top:1px solid var(--line);justify-content:space-around;height:69px;padding:8px;display:flex;position:fixed;inset:auto 0 0}.mobile-nav button{color:#969aaa;background:0 0;place-items:center;gap:2px;display:grid}.mobile-nav button.active{color:var(--purple)}.mobile-nav small{font-size:9px}.cover{width:61px;height:77px}.continue{gap:13px}.lesson h3{font-size:14px}}@media (width<=430px){.stats{grid-template-columns:repeat(3,1fr)}.stats article{text-align:center;padding:12px 5px;display:block}.stat{margin:0 auto 8px}.stats b{font-size:14px}.stats small{font-size:9px}}.app-shell{color:var(--ink)}.brand{color:var(--ink);text-align:left;background:0 0;width:100%}.library-toolbar{border:1px solid var(--line);background:var(--card);border-radius:13px;justify-content:space-between;align-items:center;margin:35px 0 20px;padding:15px 18px;font-size:13px;display:flex}.library-toolbar b{font:700 18px Manrope}.library-toolbar span{color:var(--muted)}.device-badge{font-size:11px;font-weight:700;color:#23956d!important}.library-grid{grid-template-columns:repeat(3,1fr);gap:15px;display:grid}.library-card{background:var(--card);border:1px solid var(--line);border-radius:16px;overflow:hidden}.library-main{text-align:left;background:0 0;align-items:center;gap:14px;width:100%;padding:20px;display:flex}.large-subject-icon{color:#fff;border-radius:13px;place-items:center;width:48px;height:48px;font:700 18px Manrope;display:grid}.library-main h2{margin:0;font-size:15px}.library-main p{color:var(--muted);margin:4px 0 0;font-size:11px}.library-main em{color:var(--muted);margin-left:auto;font-size:24px;font-style:normal}.card-actions{border-top:1px solid var(--line);display:flex}.card-actions button{color:var(--muted);background:0 0;flex:1;padding:10px;font-size:11px;font-weight:600}.card-actions button+button{border-left:1px solid var(--line)}.card-actions .danger{color:#d65d67}.empty-state{text-align:center;min-height:300px;color:var(--muted);flex-direction:column;justify-content:center;align-items:center;display:flex}.empty-state>span{color:var(--purple);font-size:38px}.empty-state h2{margin:12px 0 4px}.empty-state p{margin:0 0 18px}.modal-backdrop{z-index:50;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);background:#11121a99;place-items:center;padding:20px;display:grid;position:fixed;inset:0}.modal{background:var(--card);border:1px solid var(--line);border-radius:18px;width:min(430px,100%);padding:24px;box-shadow:0 24px 70px #0004}.modal-heading{justify-content:space-between;align-items:start;margin-bottom:22px;display:flex}.modal-heading h2{margin:0;font-size:21px}.modal-heading>button{background:var(--hover);color:var(--muted);border-radius:9px;width:32px;height:32px;font-size:21px}.field{gap:8px;font-size:12px;font-weight:700;display:grid}.field input{border:1px solid var(--line);background:var(--page);width:100%;color:var(--ink);font:inherit;border-radius:10px;outline:none;padding:12px 13px}.field input:focus{border-color:var(--purple);box-shadow:0 0 0 3px color-mix(in srgb,var(--purple) 15%,transparent)}fieldset{border:0;margin:20px 0;padding:0}legend{margin-bottom:10px;font-size:12px;font-weight:700}.color-picker{gap:10px;display:flex}.color-picker button{border:3px solid var(--card);border-radius:50%;outline:1px solid #0000;width:31px;height:31px}.color-picker button.selected{outline-color:var(--ink)}.modal-actions{justify-content:flex-end;gap:9px;margin-top:24px;display:flex}.modal-actions>button:first-child{color:var(--muted);background:0 0;padding:10px 15px}.modal-actions .primary:disabled{opacity:.45;cursor:not-allowed}@media (width<=1050px){.library-grid{grid-template-columns:repeat(2,1fr)}}@media (width<=800px){.library-grid{grid-template-columns:1fr}.library-toolbar{margin-top:26px}.device-badge{font-size:9px}.modal{padding:20px}.theme-mobile{display:block!important}}.notes-workspace{margin-top:28px}.notes-heading{justify-content:space-between;align-items:center;margin-bottom:12px;display:flex}.back-button{color:var(--purple);background:0 0;font-size:12px;font-weight:700}.notebook-pill{color:var(--muted);align-items:center;gap:7px;font-size:11px;display:flex}.notebook-pill i{border-radius:50%;width:9px;height:9px}.notes-layout{border:1px solid var(--line);background:var(--card);border-radius:16px;grid-template-columns:270px 1fr;height:calc(100vh - 235px);min-height:480px;display:grid;overflow:hidden}.notes-list{border-right:1px solid var(--line);flex-direction:column;min-width:0;display:flex}.notes-list-heading{border-bottom:1px solid var(--line);justify-content:space-between;align-items:center;padding:17px;display:flex}.notes-list-heading b,.notes-list-heading small{display:block}.notes-list-heading b{font:700 14px Manrope}.notes-list-heading small{color:var(--muted);margin-top:2px;font-size:9px}.notes-list-heading button{background:var(--soft);width:31px;height:31px;color:var(--purple);border-radius:9px;font-size:18px}.notes-scroll{padding:8px;overflow-y:auto}.note-row{text-align:left;background:0 0;border-radius:10px;width:100%;margin-bottom:3px;padding:13px;position:relative}.note-row:hover{background:var(--hover)}.note-row.selected{background:var(--soft)}.note-row b{text-overflow:ellipsis;white-space:nowrap;font-size:12px;display:block;overflow:hidden}.note-row p{text-overflow:ellipsis;white-space:nowrap;color:var(--muted);margin:4px 35px 0 0;font-size:10px;overflow:hidden}.note-row small{color:var(--muted);font-size:8px;position:absolute;bottom:13px;right:12px}.notes-empty{text-align:center;color:var(--muted);padding:40px 10px}.notes-empty span{font-size:25px}.notes-empty p{font-size:11px}.notes-empty button{color:var(--purple);background:0 0;font-size:11px;font-weight:700}.note-editor{flex-direction:column;min-width:0;display:flex}.editor-toolbar{border-bottom:1px solid var(--line);justify-content:space-between;align-items:center;height:55px;padding:0 24px;display:flex}.editor-toolbar span{color:#23956d;font-size:9px}.editor-toolbar button{color:#d65d67;background:0 0;font-size:10px;font-weight:700}.note-title{color:var(--ink);background:0 0;border:0;outline:0;padding:28px 34px 12px;font:700 24px Manrope}.note-editor textarea{resize:none;width:100%;color:var(--ink);background:0 0;border:0;outline:0;flex:1;padding:8px 34px 32px;font:14px/1.75 DM Sans}.note-editor textarea::placeholder,.note-title::placeholder{color:var(--muted)}.editor-placeholder{text-align:center;color:var(--muted);margin:auto;padding:20px}.editor-placeholder>span{color:var(--purple);font-size:38px}.editor-placeholder h2{margin:12px 0 5px;font-size:18px}.editor-placeholder p{margin:0 0 17px;font-size:11px}@media (width<=800px){.notes-workspace{margin-top:20px}.notes-layout{grid-template-columns:115px 1fr;height:calc(100vh - 245px);min-height:500px}.notes-list-heading{padding:12px}.notes-list-heading small{display:none}.notes-list-heading button{width:28px;height:28px}.notes-scroll{padding:5px}.note-row{padding:10px 8px}.note-row p,.note-row small{display:none}.note-row b{font-size:10px}.editor-toolbar{padding:0 14px}.note-title{padding:22px 18px 10px;font-size:19px}.note-editor textarea{padding:8px 18px 24px;font-size:13px}.notebook-pill{white-space:nowrap;max-width:150px;overflow:hidden}.notes-heading{margin-top:8px}}
