@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700;800&family=Manrope:wght@400;500;600;700;800&display=swap');
:root{--bg:#f6f4ef;--panel:#fff;--ink:#232638;--muted:#838591;--border:#eceaf1;--purple:#7459d5;--violet:#ede8fa;--indigo:#5c4bb8;--green:#208d69;--line:#e8e5ed;--rose:#f8e8e3;--shadow:0 12px 34px rgba(32,31,48,.035)}*{box-sizing:border-box}body{font-family:'DM Sans',system-ui,-apple-system,sans-serif;color:var(--ink);background:var(--bg);margin:0;font-size:14px;line-height:1.5}h1,h2,h3,h4,p{margin-top:0}h1,h2,h3{font-family:'Manrope','DM Sans',sans-serif;letter-spacing:-.055em}h1{font-weight:800;font-size:clamp(30px,3.6vw,44px);line-height:1.14;margin-bottom:11px}h2{font-size:21px;font-weight:800;margin:0}h3{font-size:16px;letter-spacing:-.035em;margin:0}button,input,textarea,select{font:inherit}button{cursor:pointer}button:disabled{opacity:.45;cursor:not-allowed}input,select,textarea{background:#fff;color:var(--ink);border:1px solid #e3e0e9;border-radius:12px;padding:11px 13px;outline:none;min-width:0}input:focus,textarea:focus,select:focus{border-color:#a89ae2;box-shadow:0 0 0 3px #7459d516}textarea{resize:vertical;min-height:160px;line-height:1.65}a{color:var(--purple)}.shell{min-height:100vh;display:flex}.sidebar{width:243px;flex-shrink:0;min-height:100vh;position:sticky;top:0;height:100vh;background:#fff;border-right:1px solid var(--border);padding:30px 17px;display:flex;flex-direction:column;z-index:20}.wordmark{font-family:Manrope,sans-serif;font-weight:800;font-size:23px;letter-spacing:-1.35px;padding:0 13px 39px;display:flex;align-items:center;gap:10px}.mark{background:#785fe0;width:34px;height:34px;display:grid;place-items:center;border-radius:12px;color:#fff;font-size:24px;line-height:1}.dot{color:var(--purple);margin-left:-10px}.caption{font-size:10px;letter-spacing:1.4px;color:#ada5ba;font-weight:800;margin:8px 13px 14px}.nav-btn{border:0;background:transparent;color:#797988;border-radius:12px;display:flex;align-items:center;gap:14px;text-align:left;width:100%;padding:13px 15px;font-weight:700;margin:2px 0}.nav-btn.active{background:#f0ecfc;color:var(--indigo)}.nav-ico{font-size:20px;width:25px;text-align:center;font-weight:400}.nav-count{margin-left:auto;background:#e4dbfc;border-radius:99px;padding:1px 7px;font-size:11px}.sidebar-foot{margin-top:auto;padding:12px}.sidebar-tip{background:#f8f5fd;border:1px solid #f0eafa;border-radius:15px;padding:16px;margin-bottom:18px;color:#6d608b;font-size:12px}.sidebar-tip strong{color:#4e4567}.muted{color:var(--muted)}.micro{font-size:11px}.main{flex:1;min-width:0}.top{height:78px;border-bottom:1px solid var(--border);background:#fff;display:flex;align-items:center;justify-content:space-between;padding:0 clamp(22px,4.5vw,64px);gap:15px}.crumb{font-size:13px;font-weight:750;color:#858393}.topright{display:flex;align-items:center;gap:17px}.mini-pill{background:#f4f0fd;border-radius:99px;color:#6952bf;font-size:12px;font-weight:750;padding:8px 12px}.avatar{display:grid;place-items:center;background:#e7e1f9;width:35px;height:35px;color:#6e55c8;border-radius:50%;font-weight:850;font-size:15px}.content{padding:43px clamp(22px,4.5vw,64px) 100px;max-width:1390px;margin:0 auto}.eyebrow{letter-spacing:1.5px;font-size:10px;font-weight:850;color:#8068cb;text-transform:uppercase;margin-bottom:10px}.sub{color:#81828f;margin:0 0 28px;max-width:640px}.btn{padding:11px 16px;border-radius:12px;background:var(--purple);color:#fff;border:1px solid var(--purple);font-weight:750;display:inline-flex;align-items:center;justify-content:center;gap:9px;box-shadow:0 5px 15px #7459d521;text-decoration:none;white-space:nowrap}.btn:hover{background:#6047c2}.btn.secondary{background:#fff;color:#5b536f;border-color:#e8e3ef;box-shadow:none}.btn.secondary:hover{background:#f8f6fd}.btn.ghost{background:#f0ecfa;color:#644cbc;border-color:#f0ecfa;box-shadow:none}.btn.soft-danger{background:#fcebec;color:#aa525c;border:0;box-shadow:none}.btn.small{padding:8px 12px;font-size:12px}.btn.full{width:100%}.row{display:flex;align-items:center;gap:12px}.between{justify-content:space-between}.wrap{flex-wrap:wrap}.gap8{gap:8px}.section{margin-top:34px}.section-head{display:flex;justify-content:space-between;gap:20px;align-items:center;margin-bottom:17px}.card{background:#fff;border:1px solid #eae7ef;border-radius:18px;padding:23px;box-shadow:var(--shadow)}.panel{background:#fff;border:1px solid #eae7ef;border-radius:20px;padding:28px;box-shadow:var(--shadow)}.hero{border:1px solid #e4def6;border-radius:23px;background:linear-gradient(110deg,#ebe4fd 0%,#f3efff 58%,#f9f5fc 100%);padding:31px;display:flex;align-items:center;justify-content:space-between;overflow:hidden;gap:20px;position:relative}.hero h2{font-size:25px;max-width:470px;margin-bottom:9px}.hero p{max-width:430px;color:#756d8d;margin-bottom:21px}.hero-art{font-size:92px;opacity:.78;padding:0 25px;transform:rotate(-10deg);text-shadow:0 9px 0 #d8cffa;user-select:none}.grid3{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.grid2{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.stat-num{font-family:Manrope,sans-serif;font-weight:800;font-size:31px;line-height:1.1;letter-spacing:-1.3px}.stat-icon{font-size:20px;color:var(--purple);margin-bottom:12px}.stat-label{color:#93909e;font-size:12px;margin-top:8px}.topic{min-height:180px;width:100%;text-align:left;border:1px solid #ebe7ee;border-radius:18px;background:#fff;padding:21px;display:flex;flex-direction:column;gap:10px;box-shadow:var(--shadow)}.topic:hover,.source-tile:hover{border-color:#cfc2f1;transform:translateY(-2px)}.topic .emoji{font-size:27px;display:block}.topic h3{font-size:17px}.topic .desc{font-size:12px;color:#9793a4}.topic .foot{font-size:11px;color:#8e8b9c;margin-top:auto;display:flex;justify-content:space-between}.tag{display:inline-flex;align-items:center;border-radius:99px;font-size:11px;font-weight:800;background:#f1edf9;color:#7667a4;padding:5px 9px}.tag.green{background:#e7f5ee;color:#258467}.tag.amber{background:#fbf0df;color:#966b2d}.text-btn{border:0;background:transparent;color:var(--purple);font-weight:800;padding:8px 3px}.divider{height:1px;background:var(--line);margin:21px 0}.empty{border:1px dashed #dcd5e5;padding:42px 15px;text-align:center;color:#918b9b;background:#fff;border-radius:18px}.empty strong{color:#535064;display:block;font-size:16px;margin-bottom:6px}.list-item{display:flex;gap:14px;align-items:center;width:100%;text-align:left;background:#fff;border:1px solid var(--border);border-radius:14px;padding:15px 17px;margin:8px 0}.list-item:hover{border-color:#d8cff0}.list-ico{display:grid;place-items:center;background:#f3f0fd;color:var(--purple);width:40px;height:40px;border-radius:12px;flex-shrink:0;font-size:20px}.list-info{min-width:0;flex:1}.list-info strong{font-size:13px}.list-info p{font-size:11px;color:#9392a0;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;margin:3px 0 0}.chev{color:#b0aabd}.source-tile{border:1px solid #ebe7ee;background:#fff;border-radius:14px;padding:20px;text-align:left;min-height:130px;transition:.15s}.source-tile h3{margin-bottom:7px}.source-tile p{font-size:12px;color:#9391a0;margin-bottom:8px;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.back{border:0;background:transparent;color:#867f9b;font-size:13px;font-weight:700;padding:4px 0 21px}.prose{white-space:pre-wrap;font-size:13px;line-height:1.85;color:#686878;max-height:400px;overflow:auto}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px}.field{display:flex;flex-direction:column;gap:7px;font-size:12px;color:#686576;font-weight:700}.field .hint{font-weight:500;color:#a09ca9;font-size:11px}.field.wide{grid-column:1/-1}.stepper{display:flex;gap:7px;align-items:center;color:#9993a9;font-size:11px;font-weight:800;margin-bottom:22px}.stepper .step{border-radius:30px;padding:6px 10px;background:#eeeaf5}.stepper .step.on{background:#e6dffc;color:#6651b3}.seg{display:flex;gap:5px;background:#f3f0f7;border-radius:13px;padding:5px;width:max-content;max-width:100%;flex-wrap:wrap}.seg button{border:0;background:transparent;border-radius:9px;color:#807a8e;padding:9px 14px;font-size:12px;font-weight:750}.seg button.active{background:#fff;color:#6148b5;box-shadow:0 3px 8px #2520370b}.tip{background:#f9f6fe;border-radius:12px;padding:12px 15px;font-size:12px;color:#7e728f;margin-top:14px}.warn{background:#fff6e7;border-radius:12px;padding:12px 15px;font-size:12px;color:#936e3e;margin-top:15px}.candidate{border:1px solid #e8e3ef;border-radius:15px;background:#fff;padding:18px;margin:12px 0;display:flex;gap:13px;align-items:flex-start}.candidate.disabled{opacity:.55}.candidate-body{flex:1;display:grid;grid-template-columns:1fr 1fr;gap:12px}.candidate .kind{grid-column:1/-1;font-size:11px;color:#8d83a7;font-weight:800}.candidate input[type=checkbox]{width:18px;height:18px;accent-color:var(--purple);margin-top:5px}.candidate input:not([type=checkbox]){width:100%;font-size:12px}.tiny{font-size:11px;color:#a19daa}.filedrop{border:1.5px dashed #cec2e8;background:#faf8fe;border-radius:18px;padding:26px;text-align:center}.filedrop.drag{border-color:var(--purple);background:#f0ecfc}.filedrop .glyph{font-size:31px;color:var(--purple)}.filedrop p{margin-bottom:12px;font-size:12px;color:#9288a5}.fileitem{display:flex;align-items:center;gap:10px;padding:12px 0;border-top:1px solid #f1edf5}.fileitem span{flex:1;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.check{accent-color:var(--purple);width:17px;height:17px}.study-wrap{max-width:730px;margin:auto}.progress-track{height:7px;background:#e8e4ef;border-radius:20px;overflow:hidden}.progress-fill{height:100%;background:#8369df;transition:width .2s}.study-card{border:1px solid #e9e6ef;background:#fff;border-radius:22px;padding:clamp(25px,5vw,48px);min-height:280px;box-shadow:0 18px 45px #27223909;display:flex;flex-direction:column;margin:24px 0}.study-kicker{font-size:11px;letter-spacing:1.2px;text-transform:uppercase;color:#927bca;font-weight:800}.question{font-family:Manrope,sans-serif;font-size:clamp(21px,3vw,30px);font-weight:800;letter-spacing:-.055em;line-height:1.4;margin:35px 0}.answer{margin-top:5px;background:#f6f3fd;border-radius:14px;padding:17px 20px;color:#504576;font-size:17px;font-weight:700}.explain{font-size:12px;color:#868196;margin-top:12px}.study-source{margin-top:auto;padding-top:28px;color:#aba5b2;font-size:11px}.study-feedback{border-radius:13px;padding:14px 17px;margin-top:10px}.study-feedback.good{background:#e5f6ec;color:#277656}.study-feedback.bad{background:#fff0ed;color:#ac614e}.ratings{display:grid;grid-template-columns:repeat(4,1fr);gap:10px}.rate{border:1px solid #e8e5ef;background:#fff;border-radius:12px;padding:14px 8px;font-weight:800;color:#746c81}.rate small{display:block;font-weight:500;color:#9e9aaa;font-size:10px;margin-top:3px}.rate.again{color:#b96465;background:#fff2f1}.rate.hard{color:#a97735;background:#fff8e9}.rate.good{color:#308066;background:#f1faf5}.rate.easy{color:#6058bd;background:#f4f2ff}.answer-input{font-size:16px;width:100%;padding:14px 15px}.option{display:block;border:1px solid #e8e5ee;border-radius:12px;padding:13px 15px;background:#fff;font-weight:700;color:#5e5b6a;width:100%;margin:8px 0;text-align:left}.option.selected{border-color:var(--purple);background:#f0eafa}.option.correct{border-color:#86caab;background:#eefbf4}.option.incorrect{border-color:#f0aa9a;background:#fff2ef}.modal-backdrop{position:fixed;inset:0;background:#27243b65;z-index:40;display:grid;place-items:center;padding:20px}.modal{width:min(520px,100%);background:#fff;border-radius:23px;padding:28px;box-shadow:0 30px 100px #1f173838}.modal h2{margin-bottom:7px}.modal p{font-size:12px;color:#918a9c}.modal input,.modal textarea,.modal select{width:100%}.modal-actions{display:flex;justify-content:flex-end;gap:9px;margin-top:22px}.settings-row{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:18px 0;border-bottom:1px solid #f0edf2}.settings-row:last-child{border:0}.settings-row strong{display:block}.settings-row p{font-size:12px;color:#9992a3;margin:4px 0}.settings-row input{max-width:90px}.pillbox{display:flex;flex-wrap:wrap;gap:7px}.bottomnav{display:none}.menu-toggle{display:none}.iconbtn{border:0;background:transparent;color:#6d6682;font-size:20px}#toast{position:fixed;bottom:25px;left:50%;transform:translateX(-50%) translateY(18px);background:#29243e;color:#fff;padding:12px 20px;border-radius:14px;font-weight:700;opacity:0;pointer-events:none;transition:.2s;z-index:80;box-shadow:0 10px 25px #25213a30;max-width:90vw;text-align:center}#toast.show{opacity:1;transform:translateX(-50%) translateY(0)}.bottom-space{padding-bottom:15px}
@media(max-width:1000px){.grid3{grid-template-columns:repeat(2,minmax(0,1fr))}.hero-art{font-size:58px;padding:0 5px}}@media(max-width:760px){.sidebar{display:none}.top{height:64px;padding:0 19px}.content{padding:28px 18px 113px}.bottomnav{display:flex;position:fixed;left:0;bottom:0;right:0;z-index:22;justify-content:space-around;background:#fff;border-top:1px solid #eae6ef;padding:10px 8px calc(10px + env(safe-area-inset-bottom))}.bottomnav button{border:0;background:transparent;color:#9490a0;display:flex;align-items:center;flex-direction:column;font-size:10px;font-weight:750;gap:3px;min-width:60px}.bottomnav button b{font-size:20px;font-weight:500}.bottomnav button.active{color:var(--purple)}.mini-pill{font-size:11px;padding:6px 9px}.avatar{width:31px;height:31px}.menu-toggle{display:none}.hero{padding:24px}.hero-art{font-size:47px;opacity:.34;position:absolute;right:14px;top:28px}.hero-copy{position:relative;z-index:1}.hero h2{font-size:23px;max-width:290px}.hero p{max-width:310px}.grid3,.grid2{grid-template-columns:1fr 1fr}.stat{padding:16px}.stat-num{font-size:24px}.stat-label{font-size:11px}.panel{padding:19px}.topic{min-height:170px}.form-grid{grid-template-columns:1fr}.candidate-body{grid-template-columns:1fr}.candidate .kind{grid-column:auto}.ratings{gap:5px}.rate{padding:10px 4px;font-size:12px}.study-card{min-height:270px;margin:19px 0}.question{margin:26px 0}.topright{gap:7px}}@media(max-width:430px){.grid3,.grid2{grid-template-columns:1fr}.topic{min-height:146px}.grid3.stats-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:7px}.stats-grid .stat{padding:12px 10px}.stats-grid .stat-icon{font-size:16px;margin-bottom:8px}.stats-grid .stat-num{font-size:21px}.stat-label{line-height:1.35}.hero-art{display:none}.hero h2{max-width:none}.section-head h2{font-size:19px}.btn{padding:10px 12px;font-size:12px}}
/* V4 — goal-based learning paths */
.path-home-call{display:flex;align-items:center;justify-content:space-between;gap:20px;background:#fff;border:1px solid #e8e1f3;border-radius:17px;padding:20px 24px;margin:18px 0 0;box-shadow:var(--shadow)}.path-home-call strong{display:block;font-family:Manrope,sans-serif;font-size:16px;letter-spacing:-.035em}.path-home-call p{color:#8d8998;font-size:12px;margin:5px 0 0}.path-form{padding:27px;margin:22px 0 0}.path-form h2{margin-bottom:14px}.path-form textarea{min-height:100px;font-size:15px}.path-form .form-grid{margin:18px 0}.path-form .row{margin-top:16px}.course-hint{font-size:12px;color:#8e879d;margin-top:17px;line-height:1.8}.inline-link{border:0;padding:0;color:var(--purple);background:none;font:inherit;text-decoration:underline;text-underline-offset:3px;font-weight:800;cursor:pointer}.path-tile{background:#fff;border:1px solid #e7e2ee;border-radius:18px;padding:22px;text-align:left;display:flex;flex-direction:column;gap:11px;transition:.15s}.path-tile:hover{border-color:#bcb0e5;transform:translateY(-2px)}.path-tile-emoji{font-size:31px;color:var(--purple)}.path-tile .tag{align-self:flex-start}.path-tile h3{font-size:18px}.path-tile p{font-size:12px;color:#8a8798;line-height:1.6;flex:1;margin:0}.path-tile .progress-track{width:100%;margin-top:10px}.path-foot{display:flex;justify-content:space-between;color:#8e8798;font-size:12px;font-weight:700}.path-foot span{color:var(--purple)}.path-summary{margin:25px 0}.path-summary p{font-size:14px;color:#666176;line-height:1.7}.path-numbers{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:22px 0}.path-numbers div{border:1px solid #eeeaf3;background:#fcfbfe;padding:15px;border-radius:14px}.path-numbers strong{display:block;font-family:Manrope,sans-serif;font-size:26px;letter-spacing:-.05em}.path-numbers span{font-size:11px;color:#8b829b}.path-summary .progress-track{margin-bottom:19px}.week-block{background:#fff;border:1px solid #eae5ef;border-radius:17px;margin:15px 0;overflow:hidden}.week-title{padding:17px 20px;background:#f8f5ff;display:flex;justify-content:space-between;gap:10px;color:#655190;font-weight:850}.week-title span:last-child{font-size:11px;font-weight:700;color:#8f85a5}.lesson-item{display:flex;align-items:center;gap:13px;width:100%;text-align:left;border:0;border-top:1px solid #f0edf4;padding:15px 19px;background:#fff}.lesson-item:hover{background:#faf8ff}.lesson-dot{flex:0 0 33px;height:33px;border-radius:11px;background:#f0eafa;color:#755bc7;display:grid;place-items:center}.lesson-dot.done{background:#e5f5ec;color:#278669}.lesson-text{display:flex;flex-direction:column;gap:3px;flex:1;min-width:0}.lesson-text strong{font-weight:800;font-size:13px}.lesson-text small{font-size:11px;color:#918c9d;line-height:1.5}.lesson-date{font-size:11px;color:#9686b7;white-space:nowrap}.lesson-reading p{white-space:pre-wrap;font-size:15px;line-height:1.85;color:#575165;margin:0}.lesson-example{margin-top:23px;background:#f5f1fd;border-radius:14px;padding:18px}.lesson-example strong{display:block;margin-bottom:7px;color:#6653a5}.lesson-example p{font-size:13px;line-height:1.7;color:#746a83}.lesson-answer{padding:17px;background:#edf8f0;border-radius:12px;color:#326e51;margin-top:16px}.mini-card-row{padding:12px 0;border-top:1px solid #f0ecf5;display:flex;justify-content:space-between;gap:12px;align-items:center}.mini-card-row strong{font-size:13px}.mini-card-row span{font-size:11px;color:#92899c;white-space:nowrap}
@media(max-width:760px){.path-home-call{padding:19px;flex-direction:column;align-items:flex-start}.path-home-call .btn{width:100%}.path-form{padding:20px}.path-numbers{gap:7px}.path-numbers div{padding:12px 10px}.path-numbers strong{font-size:22px}.week-title{padding:14px}.lesson-item{padding:14px 12px}.lesson-date{font-size:10px}.course-hint{line-height:2}.mini-card-row{align-items:flex-start}.mini-card-row span{white-space:normal}}
@media(max-width:430px){.bottomnav button{min-width:58px;font-size:9px}.bottomnav button b{font-size:18px}.week-title span:last-child{max-width:110px;text-align:right}.path-form .btn{white-space:normal}}

/* V5 — personal context inside goal creator */
.course-personalize{margin:22px 0 20px;padding:23px;border:1px solid #e6dff1;border-radius:17px;background:linear-gradient(155deg,#faf8ff 0,#fff 42%)}
.course-personalize-heading{display:flex;align-items:flex-start;gap:12px;margin-bottom:18px}
.course-personalize-heading h3{font-family:Manrope,sans-serif;font-size:18px;letter-spacing:-.045em;margin:0 0 5px;font-weight:850}
.course-personalize-heading p{font-size:12px;line-height:1.6;color:#777081;margin:0;max-width:560px}
.course-personalize-heading .tag{margin-left:auto;white-space:nowrap}
.course-sparkle{display:grid;place-items:center;border-radius:12px;background:#eee5ff;color:#7652ce;min-width:38px;height:38px;font-size:22px}
.course-source-select>.field{max-width:460px}.course-existing{margin-top:12px;border:1px solid #e9e3f0;background:#fff;border-radius:12px;padding:12px}.course-existing-head{display:flex;justify-content:space-between;gap:8px;align-items:center;margin-bottom:8px;font-size:12px;font-weight:750}
.course-scroll{max-height:187px;overflow-y:auto}.course-item{display:flex;align-items:flex-start;gap:12px;cursor:pointer;padding:9px 8px;border-radius:8px;min-width:0}.course-item:hover{background:#f8f5fd}.course-item input[type=checkbox]{flex:0 0 16px;accent-color:#7754d7;margin-top:3px;height:16px;width:16px}.course-item span{display:block;min-width:0;flex:1}.course-item strong{font-size:12px;display:block;overflow-wrap:anywhere}.course-item small{display:block;color:#948aa2;font-size:11px;margin-top:3px}
.course-drop{margin-top:16px;display:flex;gap:12px;align-items:center;padding:16px;background:#fff;border:1px dashed #a999d1;border-radius:14px}.course-drop.drag{border-color:#795bd5;background:#f1eafa}.course-drop-icon{font-size:29px;color:#795bd5}.course-drop>div{flex:1;min-width:0}.course-drop strong{display:block;font-size:13px}.course-drop span{display:block;font-size:11px;color:#948aa2;line-height:1.6;margin-top:3px}.course-upload-list{margin-top:9px;padding:4px 6px;background:#fff;border:1px solid #efebf5;border-radius:12px;max-height:220px;overflow:auto}.course-upload-row{display:flex;align-items:center;gap:6px;border-bottom:1px solid #f3eff6}.course-upload-row:last-child{border-bottom:0}.course-upload-row .course-item{flex:1;min-width:0}.course-upload-row .btn{padding:4px 9px;font-size:17px;line-height:1.3}
.course-profile-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px;margin-top:17px}.course-profile-grid textarea{min-height:90px;font-size:13px}.course-personalize textarea{font-size:13px}.course-privacy{font-size:11px;line-height:1.7;color:#91899c;margin-top:15px}.course-references{padding:16px 20px;border:1px solid #e5dff0;border-radius:13px;background:#faf8ff;margin-top:17px}.course-references strong{font-size:13px;color:#615278}.course-references p{margin:6px 0;font-size:12px;color:#6d6579}.course-references span{font-size:11px;color:#8e8498}
@media(max-width:760px){.course-personalize{padding:16px;margin:18px 0}.course-personalize-heading{flex-wrap:wrap}.course-personalize-heading .tag{margin-left:0}.course-drop{flex-wrap:wrap}.course-drop .btn{width:100%}.course-profile-grid{grid-template-columns:1fr}.course-item{padding:8px 5px}}

/* V6 – deliberately calm: today / library / create. No separate studios. */
:root{--bg:#f8f8f6;--panel:#fff;--ink:#21252e;--muted:#787e87;--border:#e8e9e8;--purple:#6760cb;--indigo:#5e57bc;--violet:#f0effb;--shadow:none;--line:#e8e9e8}
body{background:var(--bg);font-family:'DM Sans',system-ui,sans-serif;color:var(--ink);font-size:14px}
h1,h2,h3{font-family:'DM Sans',system-ui,sans-serif;letter-spacing:-.045em}
h1{font-size:clamp(28px,3.6vw,41px);font-weight:750;line-height:1.14;margin-bottom:11px}
h2{font-size:19px;font-weight:750;letter-spacing:-.035em}
.sidebar{width:218px;padding:34px 16px;border-color:#eee;background:var(--bg)}
.wordmark{font-family:'DM Sans',system-ui,sans-serif;font-size:23px;letter-spacing:-1.15px;padding:1px 9px 43px;font-weight:800}
.mark{width:31px;height:31px;border-radius:11px;font-size:22px;background:#6862d6}
.nav-btn{font-size:14px;font-weight:650;color:#7c8088;gap:12px;padding:13px 14px;border-radius:11px;margin:2px 0}
.nav-btn.active{background:#eeedf9;color:#5851a9}
.nav-ico{font-size:20px;font-weight:450;width:24px}
.sidebar-foot{padding:8px}.setting-link{border:0;background:transparent;padding:12px 14px;font:inherit;font-size:13px;color:#92939b;text-align:left;width:100%}
.top{background:var(--bg);height:78px;padding:0 clamp(24px,6vw,95px);border-color:#ededec}
.crumb{color:#7b7d83;font-size:13px;font-weight:600}.mini-pill{color:#645cbc;background:#eeedf9;padding:6px 11px;font-size:11px}
.settings-icon{border:0;background:none;font-size:19px;color:#8c8d92;padding:5px}
.content{max-width:1120px;padding:55px clamp(24px,6vw,95px) 100px}
.simple-page{max-width:870px;margin:0 auto}.simple-page.create-page{max-width:740px}
.eyebrow{font-size:10px;letter-spacing:1.65px;color:#7970bf;font-weight:800;margin-bottom:13px}
.sub{font-size:14px;color:#7d8089;line-height:1.6;margin:0;max-width:630px}
.sub.smaller{font-size:13px;margin-top:7px;margin-bottom:15px}
.head-row{display:flex;align-items:flex-start;justify-content:space-between;gap:20px}
.btn{background:#6860cf;border-color:#6860cf;border-radius:11px;padding:12px 16px;box-shadow:none;font-size:13px;font-weight:700}
.btn:hover{background:#554cb8}.btn.secondary{background:#fff;border-color:#e1e0e6;color:#59546b}
.main-action{margin-top:19px}.section.compact-section{margin-top:43px}
.section-head{margin-bottom:15px;align-items:center}.quiet-stat{font-size:12px;color:#9a9aa0}
.task-list,.simple-topic-list{background:#fff;border:1px solid #e9e9e9;border-radius:17px;overflow:hidden}
.task-line,.simple-topic-row{display:flex;align-items:center;width:100%;text-align:left;border:0;border-bottom:1px solid #f0f0f0;background:#fff;padding:20px 23px;gap:16px;min-height:82px}
.task-line:last-child,.simple-topic-row:last-child{border-bottom:0}
.task-line:hover,.simple-topic-row:hover{background:#fafaff}
.task-check,.lesson-mini{border:1px solid #e6e1f5;border-radius:50%;color:#7668c9;font-size:12px;font-weight:750;display:grid;place-items:center;flex:0 0 33px;height:33px;background:#f7f5fd}
.lesson-mini{border-radius:11px}
.task-text,.topic-lines{display:flex;min-width:0;flex:1;flex-direction:column;gap:4px}
.task-text strong,.topic-lines strong{font-size:14px;font-weight:750;letter-spacing:-.014em}
.task-text small,.topic-lines small{font-size:12px;color:#9a9aa1;line-height:1.45}
.task-arrow,.arrow{font-size:19px;color:#9998ab}.clear-task{display:flex;gap:17px;align-items:flex-start;padding:23px}
.clear-task>span{display:grid;place-items:center;flex:0 0 36px;height:36px;background:#f0f6f3;color:#419477;border-radius:12px;font-size:18px}
.clear-task strong{display:block;font-size:14px;margin-top:2px}.clear-task p{margin:5px 0 0;color:#94969c;font-size:12px}.clear-task .btn{margin-top:14px}
.simple-topic-row{min-height:82px}.topic-icon,.detail-symbol{width:40px;height:40px;flex-shrink:0;border-radius:13px;background:#f2f0fb;display:grid;place-items:center;font-size:19px}
.topic-side{font-size:12px;color:#7a748f;display:flex;align-items:center;gap:16px;white-space:nowrap}
.due-tag{padding:5px 9px;border-radius:30px;background:#f0eefb;color:#6858bc;font-weight:700;font-size:11px}
.large-list{margin-top:30px}.back{color:#868892;padding:0;margin-bottom:30px;font-size:13px}
.topic-detail-head{display:flex;gap:19px;align-items:center;margin-bottom:24px}.detail-symbol{width:55px;height:55px;font-size:27px;border-radius:16px}
.topic-detail-head h1{margin-bottom:6px}.detail-card{border:1px solid #e9e9e9;border-radius:16px;background:#fff;padding:24px 27px}
.detail-label{font-size:10px;color:#84828e;letter-spacing:1px;font-weight:800;margin-bottom:10px}.detail-card>p{font-size:15px;margin:0;color:#4e515d;line-height:1.75}
.detail-actions{display:flex;flex-wrap:wrap;gap:10px;margin-top:23px}.source-chip{font-size:11px;background:#f0eff4;color:#777781;border-radius:50px;padding:7px 10px;display:inline-block;margin:0 8px 8px 0}
.light-details{margin-top:14px;background:#fff;border:1px solid #e6e6e9;border-radius:14px;overflow:hidden}
.light-details summary{cursor:pointer;list-style:none;padding:16px 19px;font-size:13px;font-weight:750;color:#5c5886;display:flex;justify-content:space-between;gap:10px}
.light-details summary::-webkit-details-marker{display:none}
.light-details summary::after{content:'⌄';color:#8b85ad;font-size:16px;margin-left:auto}
.light-details[open] summary::after{content:'⌃'}.details-body{padding:0 19px 19px;border-top:1px solid #f2f0f4}
.details-body>.field{margin-top:16px}.details-body textarea{min-height:100px}.detail-mini{color:#aca9b2;font-weight:500;font-size:11px}
.text-btn.subtle-link{color:#9995a9;font-size:12px;margin-top:10px;font-weight:600}.more-link{margin-top:12px}.detail-card .btn{white-space:normal}
.create-panel{margin-top:28px;border:1px solid #e9e9e9;background:#fff;border-radius:18px;padding:29px 30px}
.new-form>.field{margin-bottom:19px}.field.important{font-size:13px;color:#444650;font-weight:750}
.new-form .field input,.new-form .field textarea,.new-form .field select{font-size:14px;border-color:#e6e5eb;box-shadow:none}
.new-form textarea{min-height:82px}.new-form input::placeholder,.new-form textarea::placeholder{color:#b4b5bc}
.form-grid.simple-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px;margin-bottom:19px}
.form-footer{display:flex;align-items:center;gap:17px;margin-top:23px;flex-wrap:wrap}.form-footer .hint{color:#a2a2aa;font-size:11px;flex:1}
.idea-divider{display:flex;align-items:center;gap:17px;text-align:center;color:#9fa0a4;font-size:12px;margin:29px 0 16px}
.idea-divider::before,.idea-divider::after{content:'';height:1px;background:#e6e6e6;flex:1}
.idea-launch{width:100%;display:flex;gap:15px;align-items:center;background:transparent;border:1px solid #e6e6e7;border-radius:15px;padding:18px 20px;text-align:left}
.idea-launch:hover{background:#fff}.idea-launch>span:nth-child(2){flex:1;min-width:0}.idea-launch strong{display:block;color:#33343e;font-size:13px}.idea-launch small{display:block;color:#93949e;font-size:12px;margin-top:3px}
.idea-icon{font-size:23px;color:#7770c9}.ideas-panel{padding:18px 0}.ideas-panel .sub{margin:6px 0 13px}
.idea-row{width:100%;display:flex;align-items:center;text-align:left;gap:14px;background:#fff;border:1px solid #eae9ef;border-radius:11px;margin:8px 0;padding:15px}
.idea-row>span:nth-child(2){flex:1;display:flex;flex-direction:column;gap:4px}.idea-row strong{font-size:13px}.idea-row small{font-size:11px;line-height:1.5;color:#92939e}.idea-row>span:first-child{color:#7565cd}
.reading-page .reading-block{margin-top:25px;background:#fff;border:1px solid #e9e9e9;border-radius:16px;padding:30px}
.reading-block>p{font-size:16px;line-height:1.95;white-space:pre-wrap;margin:0}.example-block{background:#f8f8f8;padding:20px;margin-top:26px;border-radius:12px}
.example-block strong{font-size:12px;color:#7161b5}.example-block p{margin:8px 0 0;line-height:1.7;font-size:14px;color:#777}
.exercise-q{font-size:16px;line-height:1.8;margin:14px 0}.answer-block{background:#f1f7f2;border-radius:11px;padding:20px;line-height:1.8;margin-top:14px}
.end-actions{margin-top:29px}.topic-metrics{display:flex;flex-wrap:wrap;gap:15px;margin-bottom:25px;color:#86838f;font-size:12px;font-weight:650}
.create-page .sub{margin-top:4px}.new-form .reuse-sources{margin-top:15px;max-height:150px;overflow:auto}
.new-form .course-upload-list{max-height:140px}
.new-form .course-item{font-size:12px}
.settings-row,.panel{box-shadow:none}
@media(max-width:760px){.content{padding:30px 19px 115px}.top{height:58px;padding:0 20px}.head-row{align-items:flex-start}.head-row .main-action{margin-top:0}.section.compact-section{margin-top:32px}.bottomnav{background:#fff;border-color:#e7e8e8;justify-content:space-around}.bottomnav button{font-size:10px;min-width:72px;padding:0}.bottomnav button b{font-size:21px}.simple-page{max-width:680px}.create-panel{padding:20px}.topic-detail-head{align-items:flex-start}}
@media(max-width:510px){.head-row{flex-direction:column;gap:14px}.head-row .main-action{align-self:flex-start}.task-line,.simple-topic-row{padding:16px 15px;gap:11px;min-height:75px}.task-text strong,.topic-lines strong{font-size:13px}.topic-lines small{font-size:11px}.topic-side{gap:6px;font-size:11px}.due-tag{padding:4px 7px}.task-arrow,.arrow{font-size:16px}.form-grid.simple-grid{grid-template-columns:1fr;gap:13px}.create-panel{border-radius:16px}.detail-card{padding:20px}.detail-actions .btn{width:100%}.topic-detail-head{gap:12px}.detail-symbol{width:46px;height:46px}.reading-page .reading-block{padding:19px}.mini-pill{font-size:10px}.head-row h1{font-size:32px}}
