/* System font fallback avoids blocking application startup on an external font server. */
:root{--bg:#f7f8fa;--surface:#fff;--ink:#202c2a;--muted:#7b8583;--line:#edf0ef;--green:#244d43;--lime:#dcecaf;--sidebar:246px;--radius:16px}*{box-sizing:border-box}body{margin:0;background:var(--bg);color:var(--ink);font:1.0625rem 'DM Sans',sans-serif;-webkit-font-smoothing:antialiased}button,input,textarea,select{font:inherit}button,a,input,select,textarea{-webkit-tap-highlight-color:transparent}button,a{touch-action:manipulation}button{cursor:pointer}a{color:inherit;text-decoration:none}button{color:inherit}h1,h2,h3,h4,.brand{font-family:'Plus Jakarta Sans',sans-serif;letter-spacing:-.7px}h1,h2,h3,h4,p{margin:0}button:focus-visible,a:focus-visible{outline:3px solid #90b995;outline-offset:3px}input:focus,textarea:focus,select:focus{outline:2px solid #a6c9b5;border-color:transparent!important}svg{display:inline-block;vertical-align:middle;flex-shrink:0}.icon{width:20px;height:20px;stroke:currentColor;fill:none;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}.sidebar{position:fixed;top:0;left:0;bottom:0;width:var(--sidebar);padding:35px 22px 22px;background:#fff;border-right:1px solid var(--line);display:flex;flex-direction:column;z-index:30}.brand{display:flex;align-items:center;font-weight:800;font-size:1.5rem;letter-spacing:-1px;white-space:nowrap}.brand-mark{position:relative;width:34px;height:36px;border-radius:10px;background:var(--green);color:#e0edbb;display:inline-flex;align-items:center;justify-content:center;font:800 2.375rem 'Plus Jakarta Sans';margin-right:10px;padding-bottom:6px}.brand-mark span{font-size:1.4375rem;position:absolute;right:4px;top:0}.brand-dot{color:#67936f;font-size:1.8125rem}.workspace{display:flex;align-items:center;gap:11px;padding:17px 12px;background:#f8f9f7;border:1px solid var(--line);border-radius:11px;margin:32px 0 25px}.workspace-icon{display:grid;place-items:center;width:33px;height:33px;border-radius:9px;background:#e4ecdf;color:#55714e}.workspace strong{font-size:0.9375rem;display:block}.workspace small{color:var(--muted);font-size:0.875rem}.workspace .icon:last-child{margin-left:auto;width:13px}.nav-label{color:#a0a7a2;font-size:0.875rem;letter-spacing:1.8px;font-weight:700;margin:0 14px 13px}.nav{display:flex;flex-direction:column;gap:7px}.nav a{display:flex;gap:13px;align-items:center;padding:13px 15px;font-weight:500;color:#737d79;border-radius:9px;font-size:0.9375rem}.nav a.active{background:#eaf1e8;color:#2f5748;font-weight:700}.nav a:hover{background:#f2f5f0}.nav .icon{width:18px;height:18px}.nav .nav-count{margin-left:auto;background:#fff;font-size:0.875rem;border-radius:5px;padding:2px 6px;color:#47715d}.sidebar-bottom{margin-top:auto}.help-card{background:#f7f7f0;border-radius:12px;padding:17px;margin-bottom:18px}.help-card .help-icon{background:#e9eddb;border-radius:8px;width:30px;height:30px;display:grid;place-items:center;margin-bottom:10px}.help-card strong{font-size:0.9375rem;display:block}.help-card p{color:#919788;font-size:0.875rem;line-height:1.7;margin:6px 0 12px}.help-card button{font-size:0.875rem;font-weight:700;background:white;border:1px solid #e3e7dc;border-radius:6px;padding:8px 12px;width:100%;text-align:left}.sidebar-footer{display:flex;align-items:center;gap:9px;padding:12px 4px 0;border-top:1px solid var(--line)}.avatar{display:inline-grid;place-items:center;background:#ede4d6;color:#6b5643;width:37px;height:37px;border-radius:50%;font-size:0.9375rem;font-weight:700;flex-shrink:0}.sidebar-footer strong{font-size:0.9375rem;display:block}.sidebar-footer small{font-size:0.875rem;color:var(--muted)}.sidebar-footer button{margin-left:auto}.icon-button{display:grid;place-items:center;width:34px;height:34px;background:transparent;border:0;border-radius:9px}.icon-button:hover{background:#f0f3ee}.main-wrap{margin-left:var(--sidebar)}.topbar{height:87px;background:#fff;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;padding:0 38px;gap:20px}.breadcrumb{font-size:0.9375rem;display:flex;align-items:center;gap:10px;color:#a0a7a4}.breadcrumb strong{color:#39483e;font-weight:500}.breadcrumb .icon{width:14px}.top-actions{display:flex;align-items:center;gap:22px}.search-box{display:flex;align-items:center;background:#f8f9fa;border:1px solid #f1f2f3;border-radius:9px;padding:9px 12px;gap:8px;color:#929b96}.search-box input{width:188px;border:0;background:transparent;font-size:0.875rem;outline:0}.search-box kbd{border:1px solid #e5e8e6;border-radius:4px;padding:1px 4px;font-size:0.875rem}.notification{position:relative}.notification:after{content:'';position:absolute;right:8px;top:6px;width:5px;height:5px;border-radius:50%;background:#c5a97a;border:2px solid #fff}.profile-top{border-left:1px solid var(--line);padding-left:20px;display:flex;align-items:center;gap:8px}.profile-top .avatar{width:32px;height:32px;font-size:0.875rem}.profile-top .icon{width:13px}.content{padding:34px 38px 35px;max-width:1610px;margin:auto}.page-heading{display:flex;align-items:center;justify-content:space-between;margin-bottom:26px;gap:18px}.eyebrow{font-size:0.875rem;text-transform:uppercase;letter-spacing:1.7px;color:#83907f;font-weight:600;margin-bottom:8px}.page-heading h1{font-size:1.875rem;font-weight:750;line-height:1.5}.page-heading p{color:var(--muted);font-size:0.9375rem;margin-top:5px}.btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;border:1px solid #e2e7e2;background:#fff;color:#46554a;border-radius:8px;padding:10px 15px;font-size:0.9375rem;font-weight:600;white-space:nowrap;min-height:39px}.btn .icon{width:16px;height:16px}.btn.primary{background:var(--green);color:white;border-color:var(--green)}.btn.primary:hover{background:#346151}.btn.light{background:var(--lime);border-color:var(--lime);color:#244332}.btn.ghost{background:transparent;border-color:transparent;color:#507056;padding-right:0}.btn.small{padding:6px 11px;min-height:31px;font-size:0.875rem}.btn:disabled{opacity:.5;cursor:wait}.button-row{display:flex;align-items:center;gap:9px;flex-wrap:wrap}.hero{background:#eaf0e3;border:1px solid #e5ebdf;border-radius:var(--radius);display:flex;align-items:center;min-height:203px;padding:29px 34px;position:relative;overflow:hidden;margin-bottom:25px}.hero-content{position:relative;z-index:1;max-width:62%}.hero-tag{font-size:0.875rem;letter-spacing:1.6px;color:#6d8461;font-weight:700;display:flex;align-items:center;gap:8px;margin-bottom:11px}.hero-tag i{width:6px;height:6px;background:#81a25c;border-radius:50%}.hero h2{font-size:1.875rem;line-height:1.45;font-weight:750;color:#284b39}.hero p{font-size:0.875rem;line-height:1.8;color:#7d8c70;margin-top:8px;max-width:365px}.hero .btn{margin-top:17px;font-size:0.875rem;padding:8px 12px;min-height:33px}.hero-art{position:absolute;right:15px;bottom:-3px;width:310px;height:211px}.stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:17px;margin-bottom:32px}.stat-card{background:white;border:1px solid var(--line);border-radius:12px;padding:19px 19px 16px}.stat-head{display:flex;justify-content:space-between;align-items:center;color:#8a938f;font-size:0.875rem;gap:5px}.stat-icon{background:#f1f5ee;color:#6c8861;border-radius:9px;width:32px;height:32px;display:grid;place-items:center}.stat-icon .icon{width:16px;height:16px}.stat-card:nth-child(2) .stat-icon{background:#f9eee6;color:#c28c65}.stat-card:nth-child(3) .stat-icon{background:#eeeaf7;color:#9782bc}.stat-card:nth-child(4) .stat-icon{background:#eaf1f8;color:#7494b4}.stat-number{display:flex;align-items:baseline;gap:6px;font:750 2.125rem 'Plus Jakarta Sans';letter-spacing:-1px;margin:5px 0 8px}.stat-number small{font:0.9375rem 'DM Sans';color:#9ca49f;letter-spacing:0}.stat-foot{font-size:0.875rem;color:#a0a79f;display:flex;gap:5px;align-items:center}.stat-foot span{color:#6a8b61}.section-head{display:flex;justify-content:space-between;align-items:center;margin-bottom:19px;gap:15px}.section-head h2{font-size:1.25rem;font-weight:750}.section-head p{margin-top:5px;color:var(--muted);font-size:0.875rem}.section-head .btn{font-size:0.875rem}.section-title{display:flex;align-items:center;gap:9px}.count-chip{display:inline-block;min-width:23px;padding:3px 7px;border-radius:6px;background:#eaf0e6;color:#5d7550;font-size:0.875rem;font-family:'DM Sans';letter-spacing:0}.filter-row{display:flex;gap:18px;align-items:center;margin-bottom:20px;border-bottom:1px solid #e4e8e3}.filter-tab{position:relative;padding:0 1px 12px;background:transparent;border:0;color:#929a95;font-size:0.875rem}.filter-tab.active{color:#37583c;font-weight:700}.filter-tab.active:after{position:absolute;content:'';height:2px;bottom:-1px;left:0;right:0;background:#557b4b}.filter-tab span{font-size:0.875rem;background:#eaf0e6;border-radius:4px;padding:2px 5px;margin-left:4px}.course-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:19px}.course-card{border:1px solid #e6ebe5;border-radius:12px;background:white;overflow:hidden;transition:transform .2s,box-shadow .2s}.course-card:hover{transform:translateY(-3px);box-shadow:0 8px 25px #273e2b0b}.course-cover{height:135px;position:relative;overflow:hidden;background:#e2ece1}.course-cover.peach{background:#f6e8d9}.course-cover.lilac{background:#e9e5f3}.course-cover.blue{background:#e1ecf4}.course-cover svg.art{height:145px;width:100%;position:absolute;bottom:-3px;right:0}.cover-tag{position:absolute;left:15px;top:13px;border:1px solid #ffffff8c;background:#ffffffbd;border-radius:5px;padding:4px 7px;font-size:0.875rem;color:#5e7358;font-weight:600;z-index:1}.cover-draft{position:absolute;top:13px;right:12px;font-size:0.875rem;padding:4px 7px;background:#fff8dc;border-radius:5px;z-index:1}.course-body{padding:17px}.course-meta{font-size:0.875rem;letter-spacing:.2px;color:#999e97;display:flex;align-items:center;gap:6px;margin-bottom:9px}.course-meta .icon{width:12px;height:12px}.course-body h3{font-size:0.9375rem;font-weight:750;line-height:1.7;margin-bottom:6px;letter-spacing:-.3px;min-height:22px}.course-body p{font-size:0.875rem;color:#929a91;line-height:1.8;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden;min-height:36px}.course-teacher{display:flex;align-items:center;gap:6px;font-size:0.875rem;color:#7f897f;margin:13px 0}.course-teacher .avatar{width:21px;height:21px;font-size:0.875rem;background:#e8ede0;color:#68845d}.course-footer{border-top:1px solid #eff1ed;display:flex;justify-content:space-between;align-items:center;padding-top:12px;color:#929d90;font-size:0.875rem}.course-footer .btn{font-size:0.875rem;min-height:26px;padding:4px 8px;border-color:#e5ebe0;color:#5c7850}.course-footer span{display:flex;gap:4px;align-items:center}.course-footer .icon{width:12px;height:12px}.progress-bar{height:5px;background:#edf0e9;border-radius:8px;overflow:hidden}.progress-bar i{display:block;height:100%;background:#81a36c;border-radius:8px;transition:width .4s}.course-progress{margin:12px 0}.course-progress span{display:block;color:#83927d;font-size:0.875rem;margin-bottom:6px}.dashboard-lower{display:grid;grid-template-columns:1.5fr 1fr;gap:22px;margin-top:29px}.panel{background:white;border:1px solid var(--line);border-radius:12px;padding:22px}.panel h3{font-size:1.0625rem;font-weight:750}.panel-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:18px}.panel-head .text-link{font-size:0.875rem}.text-link{border:0;background:none;color:#66845a;font-weight:600;padding:0}.activity-item{display:flex;gap:11px;padding:11px 0;border-bottom:1px solid #f2f4f0;align-items:flex-start}.activity-item:last-child{border:0}.activity-item .avatar{width:29px;height:29px;font-size:0.875rem;background:#eef2e8;color:#799067}.activity-item p{font-size:0.875rem;line-height:1.7}.activity-item small{font-size:0.875rem;color:#a4aca1}.activity-item time{margin-left:auto;white-space:nowrap;color:#a4aca1;font-size:0.875rem;margin-top:4px}.overview-row{display:flex;align-items:center;gap:12px;margin:17px 0;color:#8a9486;font-size:0.875rem}.overview-row .icon{width:17px;height:17px;color:#779166}.overview-row strong{margin-left:auto;color:#4c6744;font-size:0.875rem}.chart-bars{display:flex;align-items:flex-end;justify-content:space-between;height:65px;gap:12px;margin-top:17px}.chart-bars div{flex:1;background:#dde9d1;border-radius:4px 4px 0 0;min-height:3px;position:relative}.chart-bars div:last-child{background:#6d8a5c}.chart-bars span{position:absolute;bottom:-18px;width:100%;text-align:center;font-size:0.875rem;color:#9aab8e}.footer{display:flex;justify-content:space-between;font-size:0.875rem;color:#b0b6ae;margin-top:30px;padding-top:16px;border-top:1px solid #e9ede7}.footer span{display:flex;gap:5px;align-items:center}.footer i{width:5px;height:5px;border-radius:50%;background:#8ca57b}.empty{padding:45px 20px;text-align:center;color:var(--muted);background:white;border:1px dashed #dce4d9;border-radius:12px;grid-column:1/-1}.empty .icon{width:30px;height:30px;color:#7d9c70;margin-bottom:10px}.empty h3{font-size:1.125rem;color:#47643e;margin-bottom:8px}.empty p{font-size:0.9375rem;line-height:1.8;margin-bottom:14px}.toolbar{display:flex;justify-content:space-between;align-items:center;gap:15px;margin-bottom:22px}.inline-search{background:#fff;border:1px solid #e3e9e0;border-radius:8px;padding:10px 12px;min-width:250px;font-size:0.9375rem}.select{background:white;border:1px solid #e2e8df;border-radius:8px;padding:9px 11px;font-size:0.875rem;color:#667a5e;max-width:300px}.table-wrap{overflow:auto;background:white;border:1px solid var(--line);border-radius:12px}table{border-collapse:collapse;width:100%;text-align:left;white-space:nowrap;font-size:0.875rem}th{background:#fafbf8;color:#9ba394;font-size:0.875rem;letter-spacing:.5px;font-weight:600;padding:14px 18px}td{padding:15px 18px;border-top:1px solid #f0f2ec;color:#7b8773}td strong{color:#43563c;font-weight:600}.table-person{display:flex;align-items:center;gap:10px}.table-person .avatar{width:30px;height:30px;font-size:0.875rem}.table-person small{display:block;font-size:0.875rem;color:#9ba692;margin-top:3px}.badge{display:inline-flex;align-items:center;gap:4px;padding:4px 7px;border-radius:5px;background:#edf3e7;color:#759263;font-size:0.875rem;white-space:nowrap}.badge.peach{background:#faf0e5;color:#b28b61}.badge.lilac{background:#efebf7;color:#9480ae}.badge.gray{background:#f0f2ef;color:#939b8d}.status-dot{display:inline-block;width:5px;height:5px;border-radius:50%;background:currentColor}.table-progress{display:flex;gap:8px;align-items:center;min-width:100px}.table-progress .progress-bar{width:65px}.report-info{font-size:0.875rem;line-height:1.8;color:#89967e;margin:15px 0}.modal-overlay{position:fixed;inset:0;background:#122f275e;backdrop-filter:blur(4px);z-index:100;display:flex;align-items:center;justify-content:center;padding:24px}.modal{max-width:590px;width:100%;max-height:90vh;overflow:auto;background:white;border-radius:18px;box-shadow:0 30px 90px #12302635}.modal.wide{max-width:760px}.modal-head{padding:23px 26px 18px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--line)}.modal-head h2{font-size:1.4375rem}.modal-body{padding:23px 26px}.form-stack{display:flex;flex-direction:column;gap:17px}label{display:flex;flex-direction:column;gap:7px;font-size:0.875rem;font-weight:600;color:#66725f}input,textarea,select{width:100%;padding:11px 12px;border:1px solid #e0e7dc;border-radius:8px;background:#fff;color:#3c5134;font-size:0.9375rem}textarea{resize:vertical;min-height:100px;line-height:1.8}input[type=checkbox],input[type=radio]{width:auto;accent-color:var(--green)}input[type=file]{background:#f8faf5;font-size:0.875rem}input[type=radio]{flex-shrink:0}.check{display:flex;flex-direction:row;align-items:center;gap:8px;font-weight:400;line-height:1.7}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:15px}.hint{color:#99a18f;font-size:0.875rem;font-weight:400;line-height:1.8}.notice{font-size:0.875rem;line-height:1.8;border-radius:9px;background:#f0f5e9;border:1px solid #e0e9d7;color:#6d855b;padding:13px 15px;margin-bottom:17px}.notice.danger{background:#fff2ed;border-color:#f7d9c9;color:#a96449}.notice a{text-decoration:underline}.form-error{color:#b55e43;background:#fff2ed;padding:11px;border-radius:7px;font-size:0.875rem;line-height:1.8}.form-error:empty{display:none}.modal-actions{display:flex;justify-content:flex-end;gap:10px;margin-top:5px}.question-editor{padding:16px;background:#f8faf5;border:1px solid #e4eadf;border-radius:10px}.question-editor .form-grid{margin:12px 0}.question-editor .question-top{display:flex;justify-content:space-between;margin-bottom:12px;align-items:center}.question-editor .question-top strong{font-size:0.9375rem;color:#6d815d}#toast{position:fixed;bottom:28px;left:calc(50% + 90px);transform:translateX(-50%) translateY(15px);opacity:0;pointer-events:none;background:#244d43;color:#fff;max-width:90vw;padding:13px 22px;border-radius:10px;z-index:200;font-size:0.9375rem;transition:.25s;box-shadow:0 7px 30px #173e3829}#toast.show{opacity:1;transform:translateX(-50%) translateY(0)}.auth-page{background:#edf1e7;min-height:100vh;display:grid;place-items:center;padding:25px}.auth-layout{display:grid;grid-template-columns:1fr 1fr;background:#fff;max-width:980px;width:100%;border-radius:24px;overflow:hidden;min-height:600px;box-shadow:0 25px 90px #25452c0b}.auth-visual{background:#244d43;color:white;padding:45px;position:relative;display:flex;flex-direction:column;overflow:hidden}.auth-visual .brand{color:white;font-size:1.5625rem}.auth-visual .brand-mark{background:#d8e9b1;color:#26493d}.auth-visual h1{font-size:2.75rem;line-height:1.5;margin-top:73px;position:relative;z-index:1}.auth-visual h1 em{font-style:normal;color:#d8e9b1}.auth-visual p{color:#bdcdbb;font-size:0.9375rem;line-height:1.9;margin-top:18px;position:relative;z-index:1}.auth-visual .hero-art{right:-24px;width:300px;height:200px;opacity:.65}.auth-visual small{margin-top:auto;color:#a8beac;font-size:0.875rem;position:relative;z-index:1}.auth-form{padding:58px 48px;display:flex;flex-direction:column;justify-content:center}.auth-form h2{font-size:1.8125rem;margin-bottom:9px}.auth-form>p{font-size:0.9375rem;color:#8e9984;line-height:1.8;margin-bottom:25px}.auth-form .btn{width:100%;margin-top:5px}.auth-switch{font-size:0.875rem;text-align:center;margin-top:22px;color:#8e9984}.auth-switch button{border:0;background:none;color:#55764b;font-weight:700;padding:0}.auth-demo{font-size:0.875rem;color:#718965;background:#f3f7ee;border:1px dashed #ceddc1;border-radius:8px;padding:12px;margin-top:18px;line-height:1.8}.demo-buttons{display:flex;gap:6px;margin-top:8px}.demo-buttons button{border:1px solid #d9e3d1;background:white;padding:5px 8px;font-size:0.875rem;border-radius:5px;color:#587548}.install-card{max-width:570px;background:white;border-radius:20px;padding:40px;box-shadow:0 25px 90px #25452c0b}.install-card h1{font-size:1.8125rem;margin:30px 0 15px}.install-card p,.install-card li{font-size:0.9375rem;color:#839179;line-height:1.9;margin-bottom:15px}.install-card .form-stack{margin-top:25px}.loading-screen{min-height:70vh;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:14px;color:#79906c;font-size:0.9375rem}.learning-layout{display:grid;grid-template-columns:minmax(0,1fr) 285px;gap:23px}.lesson-main{background:white;border:1px solid var(--line);border-radius:13px;overflow:hidden}.lesson-banner{padding:25px 27px;border-bottom:1px solid var(--line);background:#fafcf8}.lesson-banner .eyebrow{font-size:0.875rem}.lesson-banner h2{font-size:1.5rem;line-height:1.6}.lesson-content{padding:27px}.lesson-content .prose{white-space:pre-wrap;font-size:0.9375rem;line-height:2.2;color:#77876b;overflow-wrap:anywhere}.syllabus{background:white;border:1px solid var(--line);border-radius:12px;padding:20px;height:fit-content;position:sticky;top:20px}.syllabus h3{font-size:1.0625rem;margin-bottom:8px}.syllabus>p{font-size:0.875rem;color:#92a183;line-height:1.8;margin-bottom:15px}.syllabus .progress-bar{margin-bottom:17px}.lesson-item{display:flex;width:100%;gap:10px;align-items:flex-start;padding:13px 10px;border-radius:8px;border:0;background:white;text-align:left;margin:3px 0}.lesson-item:hover{background:#f8faf4}.lesson-item.active{background:#edf3e6}.lesson-item .icon{width:16px;height:16px;color:#91a77d;margin-top:2px}.lesson-item.done .icon{color:#5d8d4b}.lesson-item strong{font-size:0.875rem;font-weight:600;line-height:1.6;display:block;color:#6c7d5c}.lesson-item small{display:block;font-size:0.875rem;color:#9aa88c;margin-top:4px}.player-box{background:#17332d;border-radius:10px;overflow:hidden;aspect-ratio:16/9;position:relative}.player-box iframe,.player-box video,.player-box>div{width:100%;height:100%;border:0;position:absolute;inset:0}.tracker{display:flex;align-items:center;gap:11px;padding:14px 0;border-bottom:1px solid var(--line);margin-bottom:18px;font-size:0.875rem;color:#879a76;flex-wrap:wrap}.tracker .progress-bar{width:90px}.tracker .badge{margin-left:auto}.tracking-note{font-size:0.875rem;line-height:1.9;color:#97a28b;background:#f8faf5;padding:12px 14px;border-radius:8px;margin-top:18px}.pdf-toolbar{display:flex;align-items:center;justify-content:space-between;gap:10px;background:#f4f7ef;border:1px solid #e8eddf;border-radius:8px;padding:9px;font-size:0.875rem;color:#7e916c;margin-bottom:14px}.pdf-canvas-wrap{background:#e7e9e3;max-height:70vh;overflow:auto;padding:10px;border-radius:8px;position:relative}.pdf-canvas-wrap canvas{width:100%;display:block;height:auto;box-shadow:0 2px 7px #0001}.quiz-question{border:1px solid #e4ebdc;border-radius:10px;padding:19px;margin-bottom:17px}.quiz-question h3{font-size:0.9375rem;line-height:1.9;letter-spacing:0;margin-bottom:15px}.quiz-option{font-weight:400;flex-direction:row;align-items:center;padding:11px;border:1px solid #e8eddf;border-radius:7px;margin-top:8px;font-size:0.9375rem;cursor:pointer}.quiz-option:has(input:checked){background:#edf4e7;border-color:#b3c8a2}.score-card{background:#edf4e7;text-align:center;padding:25px;border-radius:12px;margin-bottom:22px}.score-card h2{font-size:2.375rem;color:#67894d}.score-card p{font-size:0.9375rem;color:#89a06f;line-height:1.9;margin-top:10px}.post-item{display:flex;gap:12px;padding:20px 0;border-bottom:1px solid var(--line)}.post-item .avatar{width:32px;height:32px;font-size:0.875rem}.post-item strong{font-size:0.875rem}.post-item small{font-size:0.875rem;color:#9caa8c;margin-left:7px}.post-item p{white-space:pre-wrap;font-size:0.9375rem;line-height:1.9;color:#81936e;margin-top:9px;overflow-wrap:anywhere}.post-item .post-body{min-width:0}.back-link{display:flex;align-items:center;gap:7px;font-size:0.875rem;color:#849977;margin-bottom:23px}.back-link .icon{width:14px;height:14px}.course-detail-intro{display:flex;align-items:center;gap:22px}.course-detail-intro .course-cover{width:160px;flex-shrink:0;border-radius:10px;height:125px}.course-detail-intro h2{font-size:1.5625rem}.course-detail-intro p{font-size:0.9375rem;color:#869b76;line-height:1.9;margin:10px 0}.mobile-toggle{display:none}.demo-bar{font-size:0.875rem;color:#8b9e79;margin-top:9px}.help-list{display:flex;flex-direction:column;gap:20px;font-size:0.9375rem;line-height:1.9;color:#879a78}.help-list strong{display:block;color:#59734b;font-size:0.9375rem;margin-bottom:4px}.full-span{grid-column:1/-1}.form-stack fieldset{border:0;margin:0;padding:0}.setting-grid{display:grid;grid-template-columns:1fr 1fr;gap:22px}.profile-detail{margin-top:22px;font-size:0.9375rem;line-height:2.4;color:#8e9f7f}.profile-detail strong{color:#5e7850}.settings-status{display:flex;gap:8px;align-items:center;color:#849e70;font-size:0.875rem;padding:10px 0}.report-summary{display:grid;grid-template-columns:repeat(3,1fr);gap:15px;margin-bottom:23px}.report-summary .panel{padding:20px}.report-summary p{font-size:0.875rem;color:#91a180}.report-summary strong{display:block;font-size:1.8125rem;color:#58744b;margin-top:10px}.skeleton{height:150px;background:linear-gradient(90deg,#f0f3ed,#fff,#f0f3ed);border-radius:12px;animation:pulse 1.5s infinite}@keyframes pulse{50%{opacity:.5}}@media(min-width:1450px){.course-cover{height:165px}.course-cover svg.art{height:175px}.content{padding-top:40px}.hero{min-height:220px}.hero-art{right:40px;width:370px;height:230px}.hero h2{font-size:2.1875rem}.course-body h3{font-size:1.125rem}.course-body p{font-size:0.875rem}.stats{gap:22px}}
@media(max-width:1150px){:root{--sidebar:218px}.sidebar{padding:30px 16px 20px}.brand{font-size:1.25rem}.topbar{padding:0 25px}.content{padding:27px 25px}.top-actions{gap:12px}.search-box input{width:140px}.hero-art{right:-40px;width:280px;opacity:.8}.hero h2{font-size:1.75rem}.hero{padding:25px}.hero-content{max-width:68%}.stat-card{padding:14px}.stat-head{font-size:0.875rem}.stat-foot{font-size:0.875rem}.course-grid{gap:13px}.course-body{padding:13px}.course-body h3{font-size:0.9375rem}.learning-layout{grid-template-columns:minmax(0,1fr) 240px}.syllabus{padding:15px}.dashboard-lower{grid-template-columns:1.3fr 1fr}}
@media(max-width:900px){:root{--sidebar:190px}.sidebar{padding:25px 13px 17px}.brand{font-size:1.125rem}.brand-mark{width:28px;height:31px;font-size:2.125rem;margin-right:7px}.brand-mark span{font-size:1.125rem}.workspace{padding:12px 8px}.workspace strong{font-size:0.875rem}.workspace small{font-size:0.875rem}.nav a{font-size:0.875rem;padding:12px 10px;gap:10px}.help-card{padding:12px}.topbar{height:74px;padding:0 22px}.top-actions{gap:10px}.search-box{display:none}.profile-top{padding-left:10px}.content{padding:25px 22px}.stats{grid-template-columns:repeat(2,1fr);gap:12px}.stat-number{font-size:2.125rem}.course-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.course-card:nth-child(3){display:block}.hero-art{right:-65px;width:250px;opacity:.4}.hero-content{max-width:85%}.hero h2{font-size:1.625rem}.hero{min-height:200px}.dashboard-lower{grid-template-columns:1fr}.learning-layout{grid-template-columns:1fr}.syllabus{position:static;grid-row:1}.syllabus-list{display:flex;overflow:auto;gap:8px}.lesson-item{min-width:170px;width:auto}.syllabus .progress-bar{margin-bottom:9px}.setting-grid{grid-template-columns:1fr}.page-heading h1{font-size:1.75rem}.auth-form{padding:40px 30px}.auth-visual{padding:35px}.auth-visual h1{font-size:2.25rem}.auth-layout{min-height:570px}}
@media(max-width:650px){.sidebar{transform:translateX(-100%);width:246px;transition:.2s;box-shadow:5px 0 20px #18332112}.sidebar.open{transform:translateX(0)}.sidebar .brand{font-size:1.5rem}.sidebar .nav a{font-size:0.9375rem}.sidebar .workspace strong{font-size:0.9375rem}.sidebar .workspace small{font-size:0.875rem}.main-wrap{margin-left:0}.mobile-toggle{display:grid}.topbar{height:66px;padding:0 17px}.breadcrumb{flex:1;gap:7px;font-size:0.875rem}.content{padding:25px 17px}.top-actions{gap:6px}.profile-top{border:0;padding-left:4px}.profile-top>.icon{display:none}.page-heading{align-items:flex-start;margin-bottom:23px}.page-heading h1{font-size:1.625rem}.page-heading p{font-size:0.875rem;line-height:1.7}.page-heading>.btn{font-size:0.875rem;padding:9px 11px;min-height:35px}.eyebrow{font-size:0.875rem;letter-spacing:1.1px}.hero{padding:24px;min-height:224px}.hero-content{max-width:95%}.hero h2{font-size:1.625rem}.hero p{font-size:0.875rem;max-width:240px}.hero-art{right:-95px;opacity:.25}.stats{gap:10px;margin-bottom:28px}.stat-card{padding:15px}.stat-head{font-size:0.875rem}.stat-icon{width:27px;height:27px}.stat-number{font-size:1.9375rem}.stat-foot{font-size:0.875rem}.course-grid{grid-template-columns:1fr;gap:19px}.course-cover{height:170px}.course-cover svg.art{height:180px}.course-body{padding:18px}.course-body h3{font-size:1.125rem}.course-body p{font-size:0.875rem}.course-meta{font-size:0.875rem}.course-teacher{font-size:0.875rem}.course-footer{font-size:0.875rem}.course-footer .btn{font-size:0.875rem;padding:6px 10px}.section-head h2{font-size:1.1875rem}.section-head p{font-size:0.875rem}.section-head .btn{font-size:0.875rem}.filter-row{gap:17px}.toolbar{align-items:stretch;flex-direction:column}.inline-search{min-width:0;width:100%}.toolbar .button-row{justify-content:space-between}.toolbar select{max-width:100%;width:100%}.footer{font-size:0.875rem}.modal-overlay{padding:14px}.modal-head{padding:20px}.modal-head h2{font-size:1.25rem}.modal-body{padding:20px}.form-grid{grid-template-columns:1fr}.auth-layout{grid-template-columns:1fr;min-height:0;max-width:420px}.auth-visual{padding:25px}.auth-visual h1{font-size:1.875rem;line-height:1.4;margin-top:28px}.auth-visual p{font-size:0.875rem;margin-top:10px;max-width:280px}.auth-visual small{display:none}.auth-visual .hero-art{width:200px;height:160px;right:-55px;opacity:.2}.auth-form{padding:30px 25px}.auth-page{padding:17px}.auth-form h2{font-size:1.625rem}.auth-form>p{font-size:0.875rem;margin-bottom:20px}.install-card{padding:27px}.install-card h1{font-size:1.625rem}#toast{left:50%;bottom:20px;width:max-content;max-width:90vw;font-size:0.875rem}.lesson-content{padding:19px}.lesson-banner{padding:20px}.lesson-banner h2{font-size:1.25rem}.lesson-content .prose{font-size:0.9375rem}.course-detail-intro .course-cover{display:none}.course-detail-intro h2{font-size:1.4375rem}.report-summary{gap:8px}.report-summary .panel{padding:14px}.report-summary p{font-size:0.875rem}.report-summary strong{font-size:1.5rem}.page-heading .button-row{flex-direction:column;align-items:stretch}.tracking-note{font-size:0.875rem}.help-card{padding:15px}.demo-bar{font-size:0.875rem}.profile-top .avatar{width:29px;height:29px}}
@media(prefers-reduced-motion:reduce){*{animation:none!important;transition:none!important;scroll-behavior:auto!important}}
.learning-layout>*{min-width:0}.syllabus-list{max-width:100%}
/* Keep the expanded teacher menu and sign-out reachable on shorter screens. */
.sidebar{overflow-y:auto}.sidebar>.brand,.sidebar>.workspace,.sidebar>.nav,.sidebar>.sidebar-bottom{flex-shrink:0}

.class-members-strip{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:16px 20px;margin:0 0 22px;border:1px solid var(--border,#e1e8e3);border-radius:14px;background:var(--surface,#fff)}.class-members-strip p{margin:6px 0 0;color:var(--muted,#68796e);font-size:0.9375rem}.quiz-option[hidden]{display:none}#class-teacher-list{max-height:340px;overflow-y:auto}@media(max-width:650px){.class-members-strip{align-items:flex-start;flex-direction:column}.page-heading .button-row{flex-wrap:wrap}}

/* Larger type with room for wrapped labels and classroom actions. */
body{font-size:1rem;line-height:1.6}
:root{--sidebar:280px}
.page-heading{flex-wrap:wrap;align-items:flex-start}.page-heading>div:first-child{min-width:0;flex:1 1 260px}.page-heading>.button-row{flex:1 1 540px;justify-content:flex-end}
.nav a{font-size:1rem}.workspace strong,.sidebar-footer strong{font-size:.9375rem}
.btn{min-height:44px;white-space:normal;text-align:center}.btn.small{min-height:38px}
.course-body h3{font-size:1.125rem}.course-body p{min-height:50px}.course-footer{gap:10px;flex-wrap:wrap}
.lesson-content .prose{font-size:1.125rem;line-height:1.9;color:#465641}
label,input,select,textarea{font-size:1rem}input,select,textarea{min-height:44px}input[type=checkbox],input[type=radio]{min-height:0}
.quiz-option span,.table-person div{min-width:0;overflow-wrap:anywhere}.form-stack legend{font-size:1rem!important}
.footer{gap:14px;flex-wrap:wrap}.stat-head{flex-wrap:wrap}.stat-foot{flex-wrap:wrap}.filter-row{overflow-x:auto}.filter-tab{flex-shrink:0}
@media(max-width:1150px){:root{--sidebar:250px}.sidebar{padding-left:16px;padding-right:16px}.nav a{padding-left:10px;padding-right:10px}}
@media(min-width:651px) and (max-width:900px){:root{--sidebar:230px}.nav a{font-size:.9375rem}.brand{font-size:1.125rem}}
@media(max-width:650px){.sidebar{width:280px;max-width:90vw}.sidebar .nav a{font-size:1rem}.page-heading>.button-row{flex-basis:100%;align-items:stretch}.page-heading .button-row .btn{width:100%}.breadcrumb{font-size:.875rem}.auth-layout{max-width:100%}.lesson-item{min-width:210px}.footer{font-size:.875rem}}

small{font-size:.875rem}

.brand-logo{max-width:100%;width:auto;height:56px;object-fit:contain;object-position:left center;display:block}.brand{max-width:100%;min-width:0}.brand-name{white-space:normal;overflow-wrap:anywhere;font-size:1.3rem;line-height:1.3}.brand-mark{flex-shrink:0}
.branding-panel{max-width:900px}.branding-preview{padding:24px;border:1px solid var(--line);border-radius:12px;background:var(--theme-soft,#eaf1e8)}.branding-preview p{margin:16px 0;color:var(--theme-ink,#244d43)}.branding-preview .brand{max-width:300px;margin-bottom:12px}.branding-preview .btn{margin-right:10px}.branding-accent{background:var(--theme-accent);color:var(--theme-accent-on)}input[type=color]{width:100%;max-width:180px;height:50px;padding:4px;background:#fff;cursor:pointer}
.custom-theme .btn.primary,.custom-theme .brand-mark{background:var(--green);border-color:var(--green);color:var(--theme-on)}.custom-theme .btn.primary:hover{background:var(--theme-hover)}
.custom-theme .nav a.active,.custom-theme .lesson-item.active,.custom-theme .workspace-icon,.custom-theme .help-card,.custom-theme .stat-icon{background:var(--theme-soft);color:var(--theme-ink)}.custom-theme .nav a:hover{background:var(--theme-soft)}
.custom-theme .hero,.custom-theme .auth-visual{background:var(--theme-soft);border-color:var(--theme-soft)}.custom-theme .hero h2,.custom-theme .hero p,.custom-theme .auth-visual h1,.custom-theme .auth-visual p,.custom-theme .auth-visual small{color:var(--theme-ink)}
.custom-theme .progress-bar i,.custom-theme .filter-tab.active:after{background:var(--green)}.custom-theme .filter-tab.active,.custom-theme .text-link{color:var(--theme-ink)}.custom-theme .btn.light{background:var(--theme-accent);border-color:var(--theme-accent);color:var(--theme-accent-on)}.custom-theme .badge:not(.peach):not(.gray):not(.branding-accent),.custom-theme .count-chip{background:var(--theme-soft);color:var(--theme-ink)}

.custom-theme .auth-visual .brand-name{color:var(--theme-ink)}
