:root{--ink:#163633;--muted:#71817c;--green:#16806a;--green-dark:#0d5f50;--mint:#e6f5ed;--orange:#edaa40;--bg:#f5f7f3;--line:#e3eae3;--white:#fff;--red:#bf4545;--shadow:0 8px 32px #16363305;--radius:19px;font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:var(--ink);font-size:14px;line-height:1.55}*{box-sizing:border-box}body{margin:0;background:var(--bg)}button,input,select,textarea{font:inherit}button,a,input,select,textarea{-webkit-tap-highlight-color:transparent}button{cursor:pointer}button:disabled{opacity:.55;cursor:wait}button,a{touch-action:manipulation}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:3px solid #76b9aa;outline-offset:3px}a{color:var(--green-dark);text-decoration:none}button{border:0}h1,h2,h3,h4,p{margin-top:0}h1{font-size:30px;letter-spacing:-.9px;line-height:1.2;margin-bottom:8px}h2{font-size:20px;letter-spacing:-.45px;line-height:1.3;margin-bottom:8px}h3{font-size:16px;letter-spacing:-.2px;line-height:1.4;margin-bottom:8px}p{margin-bottom:14px}small{font-size:12px}.muted{color:var(--muted)}.eyebrow{text-transform:uppercase;letter-spacing:1.8px;font-size:10px;font-weight:800}.app{display:grid;grid-template-columns:240px minmax(0,1fr);min-height:100vh}.sidebar{background:#102f2c;color:#b4c8bf;position:sticky;top:0;height:100vh;padding:30px 18px 18px;display:flex;flex-direction:column;z-index:30}.brand{display:flex;align-items:center;gap:10px;padding:0 12px 28px;color:white}.brandmark{height:38px;width:38px;border:1px solid #72aa8e;border-radius:12px;background:#1c4c41;display:grid;place-items:center;font-size:22px;font-weight:800;color:#d1e7aa;box-shadow:inset 0 1px 0 #ffffff2b}.brand-name{font-size:20px;font-weight:750;letter-spacing:-.9px;line-height:1.15}.brand-name b{color:#d6e9a7}.brand small{font-size:9px;letter-spacing:2.7px;color:#a9c1b7}.nav-label{font-size:9px;letter-spacing:1.8px;color:#77988b;padding:5px 14px 12px}.nav{display:flex;flex-direction:column;gap:5px}.nav button{display:flex;align-items:center;gap:12px;background:transparent;border-radius:10px;text-align:left;color:#b6c9c0;min-height:44px;padding:11px 14px;font-size:12px;font-weight:570;position:relative}.nav button:hover{background:#ffffff09;color:white}.nav button.active{background:#ddebba;color:#193b2e;font-weight:750}.nav button.active:after{content:'';position:absolute;right:13px;width:5px;height:5px;background:#3e6b50;border-radius:50%}.icon{width:19px;height:19px;flex-shrink:0;stroke:currentColor;fill:none;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round;vertical-align:middle}.sidebar-foot{margin-top:auto;padding:24px 12px 4px;font-size:11px}.sidebar-note{background:#ffffff06;border:1px solid #ffffff0e;padding:14px;border-radius:12px;line-height:1.7;margin-bottom:18px}.sidebar-note b{display:block;color:#d7e7df;font-size:12px}.sidebar-foot a{color:#b4c8bf;display:flex;align-items:center;gap:7px}.edition{display:flex;justify-content:space-between;color:#6e9484;border-top:1px solid #ffffff10;padding-top:16px;margin-top:18px;font-size:10px}.workspace{min-width:0}.topbar{height:82px;border-bottom:1px solid var(--line);background:#fcfdfb;display:flex;align-items:center;justify-content:space-between;padding:0 40px;gap:16px}.crumb{font-size:12px;color:var(--muted);display:flex;gap:10px;align-items:center}.crumb strong{font-weight:600;color:#37564b}.top-actions{display:flex;align-items:center;gap:18px}.avatar{width:37px;height:37px;border-radius:12px;display:grid;place-items:center;background:#e8eddf;color:#42644d;font-weight:750;font-size:12px;flex-shrink:0}.profile{display:flex;align-items:center;gap:10px}.profile strong{font-size:12px;display:block}.profile small{font-size:10px;color:var(--muted);display:block}.icon-btn{background:transparent;color:var(--muted);padding:7px;border-radius:8px;display:inline-flex;align-items:center;justify-content:center}.icon-btn:hover{background:#edf2e9}.demo-bar{padding:9px 40px;background:#eff3e7;border-bottom:1px solid #e2e8d5;display:flex;align-items:center;justify-content:space-between;gap:10px;font-size:11px;color:#526946}.demo-dot{width:5px;height:5px;background:#80a749;border-radius:50%;display:inline-block;margin-right:7px}.demo-bar button{font-size:11px;font-weight:700;color:var(--green-dark);background:transparent;text-decoration:underline;text-underline-offset:3px}.role-switch{background:white;border:1px solid #dfe7da;border-radius:8px;padding:2px;display:flex;gap:2px}.role-switch button{text-decoration:none;border-radius:5px;padding:4px 9px;font-weight:500;color:#71816c}.role-switch button.on{background:#e8f1dc;color:#33583a;font-weight:750}.main{padding:34px 40px 48px;max-width:1660px;margin:auto}.page-head{display:flex;justify-content:space-between;align-items:center;gap:16px;margin-bottom:25px}.page-head p{font-size:12px;color:var(--muted);margin-bottom:0}.page-head .eyebrow{color:#7b9583;margin-bottom:10px}.page-head .right{display:flex;gap:8px;align-items:center}.btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;background:var(--green);color:white;border:1px solid transparent;border-radius:9px;padding:10px 15px;font-weight:650;font-size:12px;min-height:40px;line-height:1.4}.btn:hover{background:var(--green-dark)}.btn .icon{width:16px;height:16px}.btn.secondary{background:white;color:#3c6052;border-color:#dbe5d9}.btn.secondary:hover{background:#edf3e9}.btn.ghost{background:transparent;border-color:transparent;color:var(--green)}.btn.ghost:hover{background:#eaf2e5}.btn.danger{background:#fceeee;color:#ad4545;border-color:#f1d4d4}.btn.small{padding:7px 10px;min-height:32px;font-size:11px}.btn.dark{background:#163f34}.btn.light{background:#fff;color:#205746}.btn.wide{width:100%}.row{display:flex;gap:10px;align-items:center;flex-wrap:wrap}.between{justify-content:space-between}.stack{display:flex;flex-direction:column;gap:16px}.grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}.grid.three{grid-template-columns:repeat(3,minmax(0,1fr))}.grid.four{grid-template-columns:repeat(4,minmax(0,1fr))}.grid.asymmetric{grid-template-columns:minmax(0,1.65fr) minmax(280px,1fr)}.card{background:white;border:1px solid var(--line);border-radius:var(--radius);padding:22px;box-shadow:var(--shadow);min-width:0}.card-header{display:flex;justify-content:space-between;gap:12px;align-items:center;margin-bottom:20px}.card-header h2,.card-header h3{margin:0}.card-header small{font-size:11px;color:var(--muted)}.hero{position:relative;overflow:hidden;background:#163e33;border:1px solid #123b30;border-radius:var(--radius);color:white;padding:29px 30px;display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:22px;min-height:190px}.hero .eyebrow{color:#bed79d;letter-spacing:1.5px;margin-bottom:12px}.hero h2{font-size:27px;line-height:1.3;max-width:520px;font-weight:650}.hero p{color:#bfd4c8;font-size:12px;max-width:460px;margin-bottom:20px}.hero-art{position:relative;min-width:185px;height:150px;margin-right:16px}.hero-circle{position:absolute;width:155px;height:155px;border-radius:50%;border:1px solid #95b28b33;right:2px;top:0}.hero-circle:after{content:'';position:absolute;inset:22px;border-radius:50%;border:1px dashed #aac4a54d}.hero-book{position:absolute;width:105px;height:124px;background:#dfedb5;transform:rotate(12deg);border-radius:10px 16px 16px 10px;right:26px;top:20px;color:#315039;padding:22px 17px;box-shadow:-11px 8px 0 #80ad91,0 14px 25px #0002;border-left:5px solid #c5d9a0}.hero-book .icon{width:40px;height:40px;stroke-width:1.2}.hero-book b{font-size:9px;display:block;letter-spacing:2px;line-height:1.5}.float-dot{position:absolute;background:#eeb657;color:#5d491f;border-radius:10px;padding:6px 9px;font-size:15px;font-weight:700;z-index:1;transform:rotate(-10deg);right:1px;top:10px}.float-dot.last{right:138px;top:118px;background:#638f76;color:#fff;font-size:12px}.kpis{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;margin-bottom:28px}.kpi{background:white;border:1px solid var(--line);border-radius:15px;padding:19px 20px;min-width:0}.kpi-top{display:flex;align-items:center;justify-content:space-between;margin-bottom:8px;gap:6px}.kpi-top span{font-size:11px;color:#758278}.kpi strong{font-size:29px;line-height:1.2;letter-spacing:-1px;display:block;margin-bottom:5px;font-weight:650}.kpi small{font-size:10px;color:var(--muted)}.icon-box{width:32px;height:32px;border-radius:10px;display:grid;place-items:center;background:#ebf5e9;color:#4a8d68}.icon-box.purple{background:#f0edfa;color:#8a72b0}.icon-box.orange{background:#fff2de;color:#bb8845}.icon-box.blue{background:#ebf3fa;color:#6689b0}.filters{display:flex;align-items:center;justify-content:space-between;gap:14px;margin:0 0 22px;flex-wrap:wrap}.filter-group{display:flex;gap:9px;align-items:center;flex-wrap:wrap}.input,select,input:not([type=checkbox]):not([type=radio]):not([type=file]),textarea{border:1px solid #dfe7dd;border-radius:9px;background:#fff;padding:10px 12px;color:var(--ink);width:100%;min-width:0;outline-color:#62a893}select{padding-right:30px;max-width:100%}.filters select{width:auto;max-width:350px;min-height:38px;font-size:12px}.search{position:relative;min-width:180px}.search .icon{position:absolute;left:11px;top:10px;width:15px;height:15px;color:#8b9b90}.search input{padding-left:35px!important;font-size:12px}.tabs{display:flex;gap:6px;border-bottom:1px solid var(--line);margin-bottom:22px;padding-bottom:7px;overflow:auto}.tabs button{background:transparent;color:var(--muted);padding:8px 14px;border-radius:7px;font-size:12px;white-space:nowrap}.tabs button.on{background:#e3efdf;color:#3e6c45;font-weight:700}.class-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.class-card{background:white;border:1px solid var(--line);border-radius:17px;padding:20px;min-width:0;transition:border-color .15s,transform .15s}.class-card:hover{border-color:#adc8ad;transform:translateY(-2px)}.class-card.selected{box-shadow:0 0 0 1px #a7c3a5;border-color:#a7c3a5}.class-card .subject{display:flex;gap:12px;align-items:center;margin:12px 0}.subject .icon-box{width:40px;height:43px;border-radius:12px}.subject h3{margin:0;font-size:16px}.subject small{font-size:11px;color:var(--muted)}.class-card .meta{display:flex;align-items:center;gap:5px;color:#7b8a80;font-size:10px;margin:14px 0 17px;flex-wrap:wrap}.meta .icon{width:13px;height:13px}.class-footer{padding-top:14px;border-top:1px solid #edf0e9;display:flex;justify-content:space-between;align-items:center;font-size:10px;color:var(--muted)}.tag{font-size:9px;letter-spacing:.3px;border-radius:5px;padding:4px 7px;background:#eaf3e4;color:#517841;display:inline-flex;align-items:center;gap:4px;line-height:1.35;font-weight:650;white-space:nowrap}.tag.blue{background:#edf3fa;color:#4e7a9f}.tag.purple{background:#f1edfa;color:#8570ac}.tag.orange{background:#fff3e0;color:#a77b37}.tag.gray{background:#f0f2ed;color:#788277}.tag.red{background:#fbecec;color:#b85a5a}.tag.green{background:#e3f4ec;color:#348366}.badge-number{width:24px;height:24px;background:#edf3e7;color:#70815f;border-radius:6px;display:inline-grid;place-items:center;font-size:10px}.empty{padding:40px 20px;text-align:center;border:1px dashed #d9e4d5;border-radius:14px;background:#fbfcf8;color:var(--muted)}.empty .icon{height:34px;width:34px;margin-bottom:10px;color:#a2b49b}.empty h3{color:#52694a}.empty p{font-size:12px;max-width:400px;margin:0 auto 16px}.list-item{padding:16px 0;border-bottom:1px solid #edf0e9;display:flex;align-items:flex-start;gap:12px}.list-item:first-child{padding-top:0}.list-item:last-child{padding-bottom:0;border-bottom:0}.list-item .body{flex:1;min-width:0}.list-item h4{font-size:12px;margin:0 0 5px}.list-item p{font-size:11px;color:var(--muted);margin:0 0 7px;line-height:1.65}.list-item time{font-size:10px;color:#9aa393;white-space:nowrap}.progress{height:5px;border-radius:6px;background:#eef2e8;overflow:hidden;flex:1;min-width:60px}.progress span{display:block;height:100%;border-radius:6px;background:#93b577}.section-gap{margin-bottom:24px}.section-title{display:flex;align-items:center;justify-content:space-between;margin:0 0 16px;gap:10px}.section-title h2{font-size:17px;margin:0}.section-title small{color:var(--muted);font-size:11px}.notice{background:#f1f5e9;border:1px solid #e0e8d0;border-radius:11px;padding:12px 15px;font-size:12px;color:#6a7b4f;line-height:1.7}.notice.info{background:#edf5f7;color:#537a82;border-color:#d9e9ee}.notice.error{background:#fff2f0;color:#a34841;border-color:#f1d8d3}.notice.success{background:#e7f6ed;color:#367c53;border-color:#cbe9d6}.field{display:flex;flex-direction:column;gap:6px;margin-bottom:16px;min-width:0}.field label,.field-label{font-size:11px;font-weight:700;color:#576b60}.field small{font-size:10px;color:var(--muted);line-height:1.6}.field textarea{min-height:90px;resize:vertical;font-size:12px}.form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 16px}.full{grid-column:1/-1}.checkline{display:flex;align-items:flex-start;gap:9px;font-size:12px;cursor:pointer;line-height:1.6;margin:9px 0}.checkline input{accent-color:var(--green);width:15px;height:15px;flex-shrink:0;margin-top:2px}.chips{display:flex;gap:7px;flex-wrap:wrap;margin-bottom:10px}.chip{border:1px solid #dfe7d8;color:#73836d;background:#fff;border-radius:7px;padding:6px 9px;font-size:10px;cursor:pointer}.chip:hover,.chip.on{background:#e5f0dc;color:#456d42;border-color:#b8d1aa}.upload{border:1px dashed #bfcfba;background:#f9fbf6;border-radius:10px;padding:15px}.upload input{font-size:11px;width:100%}.upload p{margin-bottom:7px;font-size:11px}.upload .icon{width:18px;height:18px;color:#6d8e5b}.attachment-list{display:flex;gap:9px;flex-wrap:wrap;margin-top:13px}.file-card{border:1px solid #e1e8dc;background:#fafcf8;border-radius:9px;padding:10px 12px;display:flex;gap:9px;align-items:center;text-align:left;color:#456449;max-width:100%;font-size:11px;overflow:hidden;min-height:42px}.file-card span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.update-date{display:flex;align-items:center;gap:8px;font-size:10px;color:#869481}.update-card{margin-bottom:18px}.update-card .update-body{padding:18px 0 3px;border-top:1px solid #edf1e7;margin-top:16px}.update-body p,.update-body li{font-size:12px;color:#66765e;line-height:1.85}.update-body ul{padding-left:18px;margin:5px 0 15px}.update-body h4{font-size:11px;color:#405f39;letter-spacing:.3px;margin-bottom:6px}.note-box{border-left:3px solid #afc892;padding:11px 14px;background:#f7faf2;border-radius:0 8px 8px 0;font-size:12px;color:#67815b;margin:12px 0}.table-wrap{overflow:auto;max-width:100%;border:1px solid var(--line);border-radius:12px}table{width:100%;border-collapse:collapse;font-size:12px;white-space:nowrap}th{text-align:left;background:#f7f9f3;padding:11px 14px;font-size:10px;color:#7b8975;font-weight:650}td{padding:14px;border-top:1px solid #edf0e9;color:#54664d}td strong{font-weight:650;color:#2f4a33}.rank{height:26px;width:26px;border-radius:8px;display:inline-grid;place-items:center;background:#f1f4ed;font-weight:650;font-size:11px}.rank.top{background:#fff1d4;color:#a58234}.score{font-weight:750;font-size:15px;color:#437a48}.quiz-card{display:flex;flex-direction:column;min-height:220px}.quiz-card .quiz-top{display:flex;justify-content:space-between;align-items:center;margin-bottom:18px}.quiz-card h3{font-size:17px;line-height:1.4}.quiz-card p{font-size:11px;color:var(--muted);flex:1}.quiz-card .quiz-foot{border-top:1px solid var(--line);padding-top:13px;margin-top:14px;display:flex;justify-content:space-between;gap:8px;align-items:center}.quiz-number{font-size:30px;color:#c9d6bf;font-weight:300;line-height:1}.question-card{border:1px solid var(--line);border-radius:12px;padding:20px;margin-bottom:15px}.question-card h3{font-size:15px;line-height:1.65;white-space:pre-line}.question-image{margin:12px 0;min-height:0;text-align:center}.question-image img{max-width:100%;height:auto;max-height:550px;object-fit:contain;border-radius:8px}.answer{display:flex;align-items:center;gap:12px;border:1px solid #dfe7da;border-radius:9px;padding:12px;margin:8px 0;font-size:12px;cursor:pointer}.answer:has(input:checked){background:#eaf4e1;border-color:#8fb17c}.answer input{accent-color:var(--green)}.answer .letter{width:23px;height:23px;background:#f2f5ed;border-radius:6px;display:grid;place-items:center;font-weight:700;font-size:11px}.report-paper{border:1px solid #dce6d7;border-radius:12px;background:#fcfdfa;padding:22px;white-space:pre-wrap;font-size:12px;line-height:1.9;color:#4b6245}.report-category{border-radius:10px;background:#edf4e5;padding:12px 14px;color:#567a42;font-size:12px;display:flex;justify-content:space-between;align-items:center;margin-bottom:14px}.report-toolbar{display:flex;gap:8px;align-items:center;justify-content:space-between;margin-bottom:10px}.category-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.category-card{border:1px solid var(--line);border-radius:12px;padding:15px;min-width:0}.category-card .checkline{font-size:10px}.student-select{max-height:340px;overflow:auto}.student-select .student-row{display:grid;grid-template-columns:18px minmax(100px,1fr) 120px;gap:8px;align-items:center;border-bottom:1px solid #eef2e9;padding:9px 0;font-size:11px}.student-row select{font-size:10px;padding:7px}.student-row input{accent-color:var(--green)}.timeline-date{width:45px;min-width:45px;text-align:center;background:#f1f6e9;border-radius:10px;padding:6px 5px;color:#6f8c55}.timeline-date strong{font-size:20px;line-height:1.2;display:block;color:#527547}.timeline-date small{font-size:8px;letter-spacing:.8px}.zoom-tile{background:#eff5f8;border:1px solid #dce8ed;border-radius:17px;padding:25px;display:flex;align-items:center;gap:20px}.zoom-tile .icon-box{width:60px;height:60px;border-radius:19px;background:#ddebf3;color:#5183a7}.zoom-tile .icon{width:27px;height:27px}.zoom-tile h3{font-size:20px}.link-text{overflow-wrap:anywhere;font-size:11px;color:#7093a3}.summary-line{display:flex;justify-content:space-between;gap:20px;padding:12px 0;border-bottom:1px solid #edf1e8;font-size:12px}.summary-line span{color:var(--muted)}.summary-line:last-child{border:0}.modal-backdrop{position:fixed;inset:0;background:#0f2c2ac2;backdrop-filter:blur(3px);z-index:100;display:flex;align-items:center;justify-content:center;padding:28px}.modal{background:#fff;border-radius:20px;max-height:91vh;width:min(820px,100%);display:flex;flex-direction:column;box-shadow:0 24px 100px #001b1b50;min-width:0}.modal.large{width:min(1060px,100%)}.modal.small{width:min(470px,100%)}.modal-head{padding:22px 26px;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;gap:14px}.modal-head h2{font-size:19px;margin:0}.modal-head .icon-btn{background:#f3f6ef}.modal-body{padding:25px 26px;overflow:auto;min-height:0}.modal-actions{padding-top:20px;border-top:1px solid var(--line);display:flex;justify-content:flex-end;gap:9px;margin-top:18px;flex-wrap:wrap}.modal-body .notice{margin-bottom:18px}.login-brand{text-align:center;margin:0 0 20px}.login-brand img{max-width:210px;max-height:115px;object-fit:contain}.toast{position:fixed;bottom:25px;right:25px;background:#214d3e;color:white;border-radius:11px;padding:14px 20px;z-index:200;box-shadow:0 10px 40px #16363326;font-size:12px;max-width:min(460px,90vw);animation:rise .2s}.toast.error{background:#a94c43}.busy{position:fixed;top:0;left:0;right:0;height:3px;background:#8cad59;z-index:300;animation:busy 1s infinite}.loading-panel{height:200px;display:grid;place-items:center;color:var(--muted);font-size:12px}.spinner{width:22px;height:22px;border:2px solid #dbe6d3;border-top-color:#60804d;border-radius:50%;animation:spin .7s linear infinite}.overlay-loader{display:flex;gap:12px;align-items:center}.mobile-menu{display:none}.date-filter{font-size:11px!important;width:auto!important}.detail-photo{width:100%;max-height:350px;object-fit:contain;border-radius:11px;background:#f4f7ef}.assessment-date{font-size:10px;color:#83917a}.code-box{font:700 15px ui-monospace,monospace;color:#39643f;background:#edf6e4;padding:16px;border-radius:10px;overflow-wrap:anywhere;text-align:center;letter-spacing:.8px}.print-only{display:none}.footer-help{margin-top:26px;display:flex;align-items:center;justify-content:center;gap:7px;color:#94a08c;font-size:10px}.text-pre{white-space:pre-line}.hide{display:none!important}.nowrap{white-space:nowrap}.total-chip{padding:5px 9px;background:#eff4e8;border:1px solid #e1e9d4;border-radius:7px;font-size:10px;color:#6f815c}.page-links{display:flex;gap:12px;flex-wrap:wrap;margin-top:14px;font-size:11px}.error-detail{font-family:ui-monospace,monospace;font-size:10px;margin-top:12px;color:#99736c}.calendar-month{background:#f0f4e6;color:#728155;border-radius:7px;padding:7px 10px;font-size:10px}.rating-bars{display:flex;gap:4px;align-items:flex-end;height:45px}.rating-bars span{width:9px;border-radius:3px 3px 0 0;background:#bfd3a7}.rating-bars span:nth-child(even){background:#7da672}.check-all{background:#f6f9f1;border-radius:8px;padding:9px 12px;font-size:11px;font-weight:650;margin-bottom:10px}.form-status{color:#a85b4d;font-size:11px;margin-top:7px}.program-title{min-width:0;overflow-wrap:anywhere}@keyframes rise{from{transform:translateY(8px);opacity:0}to{transform:none;opacity:1}}@keyframes spin{to{transform:rotate(360deg)}}@keyframes busy{0%{opacity:.4}50%{opacity:1}100%{opacity:.4}}@media(min-width:1600px){.main{padding:40px 48px}.class-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}@media(max-width:1200px){.app{grid-template-columns:215px minmax(0,1fr)}.sidebar{padding-left:12px;padding-right:12px}.topbar{padding:0 26px}.main{padding:28px 26px}.demo-bar{padding:9px 26px}.grid.asymmetric{grid-template-columns:minmax(0,1.3fr) minmax(270px,1fr)}.kpi{padding:16px}.hero-art{min-width:150px;margin-right:0}.hero h2{font-size:24px}.nav button{font-size:11px}.grid.three{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:1020px){.app{grid-template-columns:190px minmax(0,1fr)}.sidebar{padding:23px 10px 16px}.brand{padding:0 6px 25px;gap:7px}.brand-name{font-size:18px}.brandmark{width:32px;height:34px}.brand small{font-size:8px;letter-spacing:2px}.nav button{padding:11px 10px;gap:8px;font-size:10px}.nav button.active:after{display:none}.main{padding:25px 23px}.topbar{padding:0 23px}.demo-bar{padding:9px 23px}.grid.asymmetric{grid-template-columns:1fr}.hero h2{font-size:23px}.kpis{gap:10px}.kpi{padding:15px}.kpi-top span{font-size:10px}.kpi small{font-size:9px}.kpi strong{font-size:26px}.category-grid{grid-template-columns:1fr}.top-actions{gap:10px}.date-on-top{display:none}}@media(max-width:760px){.app{display:block}.sidebar{position:fixed;top:0;left:0;bottom:0;width:240px;transform:translateX(-100%);transition:transform .2s}.sidebar.open{transform:none;box-shadow:0 0 0 100vw #183c2c60}.sidebar .nav button{font-size:12px;padding:12px 14px;gap:11px}.mobile-menu{display:inline-flex}.topbar{height:67px;padding:0 18px}.crumb{font-size:11px;gap:7px}.top-actions .profile-text{display:none}.main{padding:24px 18px}.demo-bar{padding:9px 18px;align-items:flex-start}.demo-detail{display:none}.hero{padding:24px 22px}.hero-art{min-width:100px;width:110px;height:140px;transform:scale(.8);transform-origin:center right}.hero h2{font-size:22px}.hero p{font-size:11px}.page-head{align-items:flex-start;gap:12px}h1{font-size:26px}.page-head .right{flex-wrap:wrap;justify-content:flex-end}.page-head .right .btn{font-size:11px;padding:9px 11px}.kpis{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.kpi{padding:17px}.class-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.class-card{padding:16px}.grid.four{grid-template-columns:repeat(2,minmax(0,1fr))}.card{padding:19px}.modal-backdrop{padding:12px}.modal{max-height:94vh;border-radius:15px}.modal-head{padding:18px}.modal-body{padding:19px}.grid.three{grid-template-columns:repeat(2,minmax(0,1fr))}.form-grid{gap:0 12px}.zoom-tile{padding:20px}.profile{gap:0}.sidebar-foot{padding-top:15px}.category-grid{grid-template-columns:1fr}.filters select{max-width:100%;width:100%}.filters .filter-group{width:100%}.filter-group .search{flex:1}.footer-help{text-align:center}.role-switch button{padding:4px 7px;font-size:10px}}@media(max-width:480px){.class-grid,.grid,.grid.three{grid-template-columns:1fr}.hero-art{display:none}.hero{min-height:0}.hero h2{font-size:25px}.hero p{max-width:100%}.form-grid{grid-template-columns:1fr}.full{grid-column:auto}.page-head{display:block}.page-head .right{margin-top:15px;justify-content:flex-start}.page-head .eyebrow{font-size:9px}h1{font-size:28px}.hero .btn{padding:9px 13px}.modal-head h2{font-size:16px}.student-select .student-row{grid-template-columns:18px minmax(100px,1fr) 100px}.crumb .crumb-root{display:none}.zoom-tile{align-items:flex-start;gap:14px}.zoom-tile .icon-box{width:45px;height:45px}.zoom-tile h3{font-size:17px}.topbar{padding:0 15px}.main{padding:22px 15px}.demo-bar{padding:9px 15px}.report-paper{padding:17px}.filters{gap:10px}.class-card .meta{font-size:11px}.role-switch{margin-top:3px}.demo-bar .row{gap:7px}}@media(prefers-reduced-motion:reduce){*{animation:none!important;transition:none!important}}@media print{body{background:white}.app,.modal-head,.modal-actions,.toast,.no-print{display:none!important}.modal-backdrop{position:static;display:block;background:white;padding:0;backdrop-filter:none}.modal,.modal.large{display:block;width:100%;max-height:none;border:0;box-shadow:none}.modal-body{overflow:visible;padding:0}.report-paper{white-space:pre-wrap;border:0;border-radius:0;font-size:11pt;line-height:1.7}.print-only{display:block}.report-print{page-break-after:always}.report-print:last-child{page-break-after:auto}@page{size:A4;margin:18mm}}

/* Keep all class tools reachable on short screens. */
.sidebar{overflow-y:auto;overscroll-behavior:contain}.sidebar .nav{flex-shrink:0}

.page-navigation{display:flex;align-items:center;margin-bottom:18px}
.page-back{min-height:44px;padding:10px 16px;font-size:14px}
.page-back:focus-visible{outline:2px solid var(--green);outline-offset:3px}

/* External bonuses stay in the existing sidebar navigation. */
.nav-bonus{margin-top:8px}
.nav-bonus summary,.nav-bonus .nav-external{display:flex;align-items:center;gap:12px;min-height:44px;padding:11px 14px;border-radius:10px;background:transparent;color:#b6c9c0;font-size:12px;font-weight:570;line-height:1.5;text-align:left;text-decoration:none;cursor:pointer}
.nav-bonus summary{list-style:none}
.nav-bonus summary::-webkit-details-marker{display:none}
.nav-bonus summary span{flex:1;min-width:0}
.nav-bonus summary>.icon:last-child{width:14px;height:14px;transition:transform .15s}
.nav-bonus[open] summary>.icon:last-child{transform:rotate(90deg)}
.nav-bonus summary:hover,.nav-bonus .nav-external:hover{background:#ffffff09;color:white}
.nav-bonus summary:focus-visible,.nav-bonus .nav-external:focus-visible{outline:2px solid #ddebba;outline-offset:2px}
.nav-submenu{margin:3px 0 0 23px;padding-left:5px;border-left:1px solid #77988b66}
.nav-bonus .nav-external{gap:8px;padding:10px;font-size:11px}
.nav-bonus .nav-external .icon{width:16px;height:16px}
@media(max-width:1200px){.nav-bonus summary{font-size:11px}}
@media(max-width:1020px){.nav-bonus summary{padding:11px 10px;gap:8px;font-size:10px}.nav-submenu{margin-left:19px}.nav-bonus .nav-external{padding:10px 7px;font-size:10px}}
@media(max-width:760px){.nav-bonus summary{padding:12px 14px;gap:11px;font-size:12px}.nav-submenu{margin-left:23px}.nav-bonus .nav-external{padding:11px 10px;font-size:12px}}
