:root{--navy:#101b2b;--navy2:#19263a;--ink:#17263d;--muted:#8190a2;--line:#e7ebf0;--bg:#f6f8fb;--paper:#fff;--accent:#147d80;--accent2:#0c666b;--mint:#e8f7f4;--red:#d94f5b;--rose:#fff0f1;--amber:#bb7b1d;--sun:#fff7e6;--blue:#476dcb;--softblue:#eef3ff;--shadow:0 12px 40px rgba(30,43,62,.045)}
*{box-sizing:border-box}html{font-family:Inter,"Segoe UI",-apple-system,BlinkMacSystemFont,"Helvetica Neue",Arial,sans-serif;-webkit-font-smoothing:antialiased}body{margin:0;background:var(--bg);color:var(--ink);font-size:14px}button,input,select,textarea{font:inherit}button{cursor:pointer}button:disabled{opacity:.48;cursor:not-allowed}.hidden{display:none!important}.svg-defs{position:absolute;width:0;height:0;overflow:hidden}svg{width:20px;height:20px;flex-shrink:0;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}a{color:inherit;text-decoration:none}h1,h2,h3,p{margin:0}h1{font-size:34px;letter-spacing:-1.35px;line-height:1.16;font-weight:740}h2{font-size:24px;letter-spacing:-.65px;font-weight:720}h3{font-size:17px;letter-spacing:-.3px}p{line-height:1.55}small{font-size:12px}input,textarea,select{color:var(--ink);background:#fff;border:1px solid #dfe5eb;border-radius:11px;outline:none;transition:border-color .18s,box-shadow .18s}input:focus,textarea:focus,select:focus{border-color:#54a1a1;box-shadow:0 0 0 3px rgba(20,125,128,.09)}input,select{height:43px;padding:0 13px}textarea{padding:12px 13px;resize:vertical;min-height:83px}label{font-size:12px;color:#59697b;font-weight:700;display:block;margin-bottom:7px}.text-muted{color:var(--muted)}.micro{font-size:11px;letter-spacing:1.1px;text-transform:uppercase;font-weight:800;color:var(--muted)}
.shell{display:flex;min-height:100vh}.sidebar{position:fixed;z-index:40;inset:0 auto 0 0;background:var(--navy);width:257px;color:#edf4f6;display:flex;flex-direction:column;padding:28px 17px 20px}.sidebar-top{display:flex;align-items:center;gap:10px;padding:0 11px;margin-bottom:53px}.brand-mark{font-size:32px;font-weight:850;letter-spacing:-3.5px;color:#fff;line-height:1}.brand-mark span{color:#6bddd3}.brand-name{font-size:13px;letter-spacing:2.1px;font-weight:850;line-height:1.15}.brand-name small{display:block;letter-spacing:2.9px;font-size:10px;color:#8296aa;margin-top:5px}.nav-label{color:#688196;font-size:10px;font-weight:850;letter-spacing:1.5px;padding:0 16px;margin-bottom:13px}.side-nav{display:grid;gap:5px}.nav-link{width:100%;display:flex;align-items:center;gap:13px;color:#9cacc0;background:none;border:none;text-align:left;padding:12px 14px;border-radius:10px;font-weight:580}.nav-link svg{width:18px;height:18px}.nav-link:hover{color:#fff;background:#223248}.nav-link.active{color:#fff;background:#273b4e;position:relative}.nav-link.active:before{content:"";position:absolute;width:3px;height:19px;background:#69d5c6;left:0;border-radius:3px}.side-divider{height:1px;background:#263549;margin:28px 12px 26px}.course-nav-title{display:flex;justify-content:space-between;align-items:center}.course-nav-title span{font-size:10px;color:#8aa0af;background:#233346;padding:3px 7px;border-radius:6px}.side-courses{display:grid;gap:5px}.side-course{display:flex;gap:10px;align-items:center;text-align:left;width:100%;background:none;color:#aab7c8;border:0;padding:11px 13px;border-radius:10px}.side-course:hover,.side-course.active{background:#203246;color:#fff}.course-square{width:29px;height:29px;border-radius:8px;display:grid;place-items:center;font-size:12px;font-weight:800;flex-shrink:0}.side-course .course-square{background:rgba(83,178,186,.16);color:#70d8d8}.side-course .side-coursename{font-size:12px;font-weight:630;line-height:1.4}.sidebar-bottom{margin-top:auto}.side-privacy{display:flex;gap:11px;padding:14px 12px;background:#192c3c;border:1px solid #294051;border-radius:13px;margin-bottom:21px}.side-privacy svg{color:#78d2c4;width:17px;height:17px;margin-top:1px}.side-privacy strong,.side-privacy small{display:block}.side-privacy strong{font-size:12px}.side-privacy small{font-size:10px;color:#8a9dae;margin-top:4px}.side-account{background:none;border:0;border-top:1px solid #2c3d4d;color:#fff;display:flex;align-items:center;gap:10px;width:100%;padding:21px 8px 0;text-align:left}.avatar,.top-avatar{width:36px;height:36px;border-radius:11px;background:#36556a;color:#d9f3ee;font-size:11px;font-weight:800;display:grid;place-items:center}.side-account-name{flex:1;line-height:1.35}.side-account-name b,.side-account-name small{display:block}.side-account-name b{font-size:12px}.side-account-name small{font-size:11px;color:#99a8bc}.side-account svg{width:18px;color:#8ba0ae}.work-area{margin-left:257px;min-width:0;flex:1}.topbar{height:78px;background:#fff;border-bottom:1px solid #eef1f4;display:flex;align-items:center;justify-content:space-between;padding:0 45px;gap:12px}.topbar-left,.topbar-right{display:flex;align-items:center;gap:14px}.topbar-context{color:#8896a7;font-size:12px}.crumb-sep{color:#c7cfd7}.topbar-current{font-size:12px;font-weight:750}.topbar-right{gap:12px;font-size:11px;color:#708195}.topbar-date{padding-right:17px;border-right:1px solid #e8edf2}.status-dot{width:7px;height:7px;background:#43bc96;border-radius:50%;box-shadow:0 0 0 4px #e6f6ee}.online-text{font-size:11px}.top-avatar{border:0;margin-left:12px;background:#ecf3f3;color:var(--accent);width:35px;height:35px}.main-content{max-width:1500px;margin:0 auto;padding:38px 45px 80px}.page-head{display:flex;align-items:flex-start;justify-content:space-between;gap:20px;margin-bottom:28px}.page-head p{color:#8a96a5;margin-top:11px;font-size:13px}.page-head-actions{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.eyebrow{font-size:10px;letter-spacing:1.65px;font-weight:840;color:var(--accent);margin-bottom:10px}.btn{border:1px solid transparent;min-height:41px;border-radius:10px;display:inline-flex;justify-content:center;align-items:center;gap:9px;padding:0 16px;font-size:12px;font-weight:760;transition:transform .15s,background .18s;white-space:nowrap}.btn:hover:not(:disabled){transform:translateY(-1px)}.btn svg{width:16px;height:16px}.btn-primary{background:var(--accent);color:#fff;box-shadow:0 8px 18px rgba(20,125,128,.13)}.btn-primary:hover{background:#0c686c}.btn-outline{background:#fff;border-color:#e4e9ee;color:#455369}.btn-outline:hover{background:#f5f8fa}.btn-ghost{background:transparent;color:#53667b}.btn-danger{background:#fff0f1;border-color:#ffdee1;color:#bd3a47}.btn-small{min-height:33px;padding:0 11px;font-size:11px}.btn-wide{width:100%}.icon-button{width:37px;height:37px;border:1px solid #e5e9ee;background:#fff;border-radius:10px;display:grid;place-items:center}.icon-button:hover{background:#f6f9fa}.icon-button svg{width:17px;height:17px}.soft-badge{display:inline-flex;align-items:center;gap:6px;padding:6px 9px;border-radius:7px;background:#edf7f6;color:var(--accent);font-weight:700;font-size:10px}.soft-badge.gray{background:#f2f4f7;color:#8190a3}.soft-badge.amber{background:#fff4e3;color:#b47b21}.dashboard-hero{background:linear-gradient(103deg,#13283a 0%,#1a4052 70%,#1d5360 100%);border-radius:18px;min-height:236px;padding:33px 36px;color:#fff;display:flex;justify-content:space-between;align-items:center;gap:25px;overflow:hidden;position:relative;margin-bottom:24px}.dashboard-hero:after{content:"";position:absolute;right:-15px;top:-82px;width:340px;height:340px;border:1px solid rgba(255,255,255,.1);border-radius:50%;box-shadow:0 0 0 35px rgba(255,255,255,.03),0 0 0 75px rgba(255,255,255,.025)}.dashboard-hero h1{font-size:31px;max-width:500px}.dashboard-hero p{font-size:13px;color:#bcd0d6;max-width:440px;margin:11px 0 21px}.dashboard-hero .btn{background:#fff;color:#123e46}.hero-note{background:rgba(255,255,255,.08);border:1px solid rgba(255,255,255,.14);border-radius:16px;width:185px;min-height:150px;padding:22px;z-index:1;backdrop-filter:blur(10px)}.hero-note svg{color:#75e6d4}.hero-note strong{display:block;font-size:30px;margin:9px 0}.hero-note small{color:#b6d9d9;font-size:10px}.stats-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:15px;margin-bottom:31px}.stat-block{background:#fff;border:1px solid #ecf0f3;min-height:136px;border-radius:15px;padding:20px 22px;box-shadow:var(--shadow);position:relative}.stat-block .stat-icon{position:absolute;right:18px;top:18px;width:38px;height:38px;display:grid;place-items:center;border-radius:11px;background:#edf5f5;color:var(--accent)}.stat-block .stat-icon svg{width:18px}.stat-block .stat-title{font-size:11px;color:#8a99a8;font-weight:650}.stat-block strong{display:block;font-size:32px;letter-spacing:-1px;margin:15px 0 4px;font-weight:790}.stat-block small{color:#a0adba}.section-heading{display:flex;align-items:center;justify-content:space-between;margin:0 0 15px}.section-heading h2{font-size:18px}.text-link{display:inline-flex;align-items:center;gap:7px;color:var(--accent);font-weight:750;font-size:12px;background:none;border:0}.text-link svg{width:15px}.courses-list{background:#fff;border:1px solid #e9eef2;border-radius:16px;overflow:hidden}.course-row{width:100%;border:0;background:#fff;padding:20px 22px;display:flex;align-items:center;gap:16px;text-align:left;border-bottom:1px solid #eff2f5}.course-row:last-child{border-bottom:none}.course-row:hover{background:#f8fbfb}.course-row .course-square{width:45px;height:45px;border-radius:12px;font-size:15px;background:#e6f6f2;color:#227e80}.course-row:nth-child(2) .course-square{background:#eff2ff;color:#6e71bb}.course-row:nth-child(3) .course-square{background:#fcf0e5;color:#bb8648}.course-row-content{flex:1;min-width:0}.course-row-content strong{font-size:13px;line-height:1.4;display:block}.course-row-content small{font-size:11px;color:#91a0ad;margin-top:6px;display:block}.course-row-metrics{display:flex;gap:32px;margin:0 25px}.course-row-metrics span{text-align:center}.course-row-metrics b,.course-row-metrics small{display:block}.course-row-metrics b{font-size:16px}.course-row-metrics small{color:#99a4b2;font-size:10px;margin-top:3px}.course-row-chevron{color:#b7c4cd}.course-row-chevron svg{width:17px}.dashboard-lower{display:grid;grid-template-columns:1.4fr 1fr;gap:17px;margin-top:27px}.info-panel{background:#fff;border:1px solid #e9eef2;border-radius:15px;padding:24px;box-shadow:var(--shadow)}.info-panel h3{font-size:16px;margin-bottom:8px}.info-panel p{color:#81909e;font-size:12px}.info-tip{display:flex;align-items:flex-start;gap:12px;margin-top:20px}.info-tip svg{color:var(--accent);width:18px}.info-tip span{font-size:12px;color:#66788a;line-height:1.6}.panel-graphic{display:flex;align-items:end;gap:9px;height:92px;margin-top:23px}.bar-graphic{flex:1;border-radius:5px 5px 1px 1px;background:#d4e9e8;min-height:10px}.bar-graphic:nth-child(3n){background:#4d9d9d}.course-toolbar{display:flex;justify-content:space-between;align-items:center;gap:14px;margin-bottom:19px;flex-wrap:wrap}.course-select{display:flex;align-items:center;gap:10px;border:1px solid #e3e9ee;background:#fff;border-radius:11px;min-height:45px;padding:0 12px;min-width:300px}.course-select svg{color:#72949a;width:17px}.course-select select{flex:1;border:none;padding:0 2px;min-width:0;background:transparent;box-shadow:none;font-size:12px;font-weight:700}.course-code-inline{font-size:11px;color:#91a0ad}.week-strip{display:flex;gap:9px;overflow:auto;padding:3px 2px 10px;margin:0 0 12px;scrollbar-width:thin}.week-pill{flex:0 0 auto;min-width:67px;height:58px;background:#fff;color:#8895a5;border:1px solid #e7ecf0;border-radius:10px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px}.week-pill small{font-size:9px;font-weight:750;text-transform:uppercase;letter-spacing:.6px}.week-pill b{font-size:16px;color:#34465b}.week-pill.active{background:#167e81;border-color:#167e81;color:#d7eeec;box-shadow:0 4px 15px rgba(20,125,128,.15)}.week-pill.active b{color:white}.week-pill.has-data:not(.active):after{content:"";width:4px;height:4px;background:#32b3a1;border-radius:50%;position:absolute;bottom:4px}.week-pill{position:relative}.week-add{min-width:50px;border-style:dashed}.week-add svg{width:17px}.worksheet{background:#fff;border:1px solid #e7edf1;border-radius:17px;box-shadow:var(--shadow);overflow:hidden}.worksheet-header{padding:25px 27px 19px;border-bottom:1px solid #eef1f5;display:flex;justify-content:space-between;align-items:center;gap:20px;flex-wrap:wrap}.worksheet-header h2{font-size:20px}.worksheet-header p{margin-top:6px;color:#8a99a8;font-size:12px}.worksheet-header .head-count{display:flex;align-items:center;gap:7px;color:#81909c;font-size:12px;background:#f3f7f9;border-radius:10px;padding:9px 11px}.worksheet-meta{padding:15px 27px;display:flex;gap:15px;align-items:end;border-bottom:1px solid #eef1f4;flex-wrap:wrap;background:#fcfdfd}.worksheet-meta label{margin-bottom:6px}.worksheet-meta input{height:39px}.worksheet-meta .field-date{width:175px}.worksheet-meta .field-topic{flex:1;min-width:210px}.worksheet-meta .field-topic input{width:100%}.worksheet-stats{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:16px 27px;border-bottom:1px solid #edf1f4;flex-wrap:wrap}.status-counts{display:flex;gap:7px;flex-wrap:wrap}.count-pill{border-radius:8px;padding:7px 11px;font-weight:730;font-size:11px}.count-pill b{margin-right:4px}.pill-present{background:#e8f6ef;color:#26936b}.pill-absent{background:#fff0f1;color:#c34d57}.pill-late{background:#fff6e6;color:#b9852d}.pill-excused{background:#edf1ff;color:#6772be}.pill-unmarked{background:#f1f3f6;color:#8b98a6}.table-toolbar{display:flex;justify-content:space-between;align-items:center;gap:13px;padding:17px 26px;flex-wrap:wrap}.search-box{height:40px;display:flex;align-items:center;gap:9px;background:#fff;border:1px solid #e4e9ed;border-radius:10px;padding:0 11px;min-width:230px;max-width:330px;flex:1}.search-box:focus-within{border-color:#50a5a4}.search-box svg{width:16px;color:#98a4b3}.search-box input{border:0;height:35px;outline:none;padding:0;box-shadow:none!important;width:100%;min-width:0;font-size:12px}.table-actions{display:flex;gap:9px;flex-wrap:wrap}.table-scroll{width:100%;overflow-x:auto}table{border-collapse:collapse;width:100%;font-size:12px}thead{background:#f8fafc}th{font-weight:760;color:#7e8fa0;text-transform:uppercase;letter-spacing:.6px;font-size:10px;text-align:left;padding:13px 17px;border-bottom:1px solid #e9eff3;white-space:nowrap}td{padding:11px 17px;border-bottom:1px solid #f0f2f4;color:#3d4e63;vertical-align:middle}tbody tr:last-child td{border-bottom:0}tbody tr:hover{background:#fbfcfd}.col-id{font-variant-numeric:tabular-nums;color:#576c7c;font-weight:670}.student-name{font-size:12px;font-weight:720;color:#22374d}.student-meta{display:flex;align-items:center;gap:10px}.student-avatar{width:32px;height:32px;border-radius:10px;background:#ecf3f7;color:#54748c;display:grid;place-items:center;font-size:11px;font-weight:780;flex-shrink:0}.status-selector{display:inline-flex;gap:5px;align-items:center;white-space:nowrap}.status-button{padding:7px 10px;border-radius:8px;font-size:11px;font-weight:670;border:1px solid #e7ecf1;color:#8996a4;background:#fff;display:inline-flex;align-items:center;gap:5px;min-height:32px}.status-button svg{height:13px;width:13px}.status-button:hover{background:#f5f8f9}.status-button.active.present{color:#1f8865;background:#e8f7ef;border-color:#a9dec8}.status-button.active.absent{color:#bc4852;background:#ffeced;border-color:#f1b8be}.status-button.active.late{color:#a87920;background:#fff4de;border-color:#eed39f}.status-button.active.excused{color:#666fbd;background:#eff1ff;border-color:#bfc6ed}.note-btn{height:32px;border-radius:8px;border:1px solid #e9edf1;background:#fff;color:#a8b3c0;padding:0 9px}.note-btn svg{height:15px;width:15px}.note-btn.has-note{color:var(--accent);background:#eaf7f5}.worksheet-footer{display:flex;justify-content:space-between;align-items:center;gap:12px;border-top:1px solid #edf1f3;padding:18px 27px;background:#fcfdfd;flex-wrap:wrap}.footer-hint{font-size:11px;color:#94a2af;display:flex;align-items:center;gap:7px}.footer-hint svg{width:16px}.footer-hint.unsaved{color:#b9852d}.empty-state{padding:56px 20px;text-align:center;display:flex;flex-direction:column;align-items:center;gap:10px}.empty-illustration{background:#eaf6f4;width:72px;height:72px;border-radius:22px;display:grid;place-items:center;color:var(--accent);margin-bottom:10px}.empty-illustration svg{width:30px;height:30px}.empty-state h3{font-size:16px}.empty-state p{max-width:370px;font-size:12px;color:#91a0ae}.empty-state .btn{margin-top:8px}.report-filters{background:#fff;border:1px solid #e8edf1;border-radius:16px;padding:22px;display:grid;grid-template-columns:1.5fr .85fr 1fr 1.35fr 1fr 1fr auto;gap:12px;align-items:end;margin-bottom:23px}.report-filters select,.report-filters input{width:100%;font-size:12px;height:41px}.filter-btn{height:41px}.report-top{display:flex;align-items:center;justify-content:space-between;gap:15px;margin-bottom:14px;flex-wrap:wrap}.report-top h2{font-size:19px}.report-table{background:#fff;border:1px solid #e8edf2;border-radius:14px;overflow:hidden}.report-table td{padding:14px 17px}.page-nav{display:flex;align-items:center;gap:9px}.page-nav span{font-size:11px;color:#8c9baa}.page-nav button{border:1px solid #e9eef2;border-radius:8px;background:#fff;width:31px;height:31px;display:grid;place-items:center}.page-nav svg{width:15px}.student-list-header{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:22px 25px;border-bottom:1px solid #edf1f4;flex-wrap:wrap}.student-list-header p{color:#96a3b0;font-size:12px;margin-top:5px}.student-list-tools{display:flex;gap:9px;align-items:center;flex-wrap:wrap}.student-list-tools .search-box{max-width:250px;min-width:200px}.student-actions{display:flex;gap:5px;justify-content:flex-end}.student-actions button{border:none;background:transparent;border-radius:8px;color:#93a2b1;padding:6px}.student-actions button:hover{background:#eef4f6;color:#476073}.student-actions button.delete:hover{background:#fff0f0;color:#c34858}.student-actions svg{height:16px;width:16px}.percent-track{background:#eef2f5;width:100px;height:6px;overflow:hidden;border-radius:8px}.percent-track span{height:100%;display:block;background:#3caa91;border-radius:8px}.rate{font-size:11px;font-weight:750;color:#557889}.import-help{background:#eff7f6;border:1px solid #d8e9e6;border-radius:11px;padding:13px 17px;color:#537c7e;font-size:12px;line-height:1.55;margin-top:17px}.import-help code{background:#fff;padding:2px 5px;border-radius:5px}.form-field{margin-bottom:16px}.form-field input,.form-field textarea{width:100%}.modal-backdrop{position:fixed;inset:0;background:rgba(14,25,39,.58);backdrop-filter:blur(3px);z-index:90;display:flex;align-items:center;justify-content:center;padding:15px}.modal{background:#fff;border-radius:18px;width:min(100%,500px);max-height:90vh;overflow:auto;box-shadow:0 30px 90px rgba(13,24,38,.24)}.modal.large{width:min(100%,650px)}.modal-head{padding:23px 25px 15px;display:flex;justify-content:space-between;align-items:start;gap:15px}.modal-head h2{font-size:21px}.modal-head p{color:#8b9aaa;margin-top:7px;font-size:12px}.modal-body{padding:10px 25px 10px}.modal-footer{padding:16px 25px 23px;display:flex;justify-content:flex-end;gap:10px;flex-wrap:wrap}.two-fields{display:grid;grid-template-columns:1fr 1fr;gap:13px}.modal-notice{font-size:11px;line-height:1.7;color:#8da0ad;margin-bottom:20px;background:#f5f8f9;border-radius:10px;padding:12px 14px}.toast{background:#173346;color:#fff;box-shadow:0 12px 35px rgba(0,0,0,.13);padding:13px 17px;border-radius:11px;font-size:12px;min-width:240px;max-width:370px;display:flex;align-items:center;gap:10px}.toast.error{background:#9a3c49}.toast svg{width:17px;height:17px}.toast-layer{}.mobile-only{display:none}.bottom-save{display:none}.auth-screen{display:grid;grid-template-columns:1fr 1fr;min-height:100vh;background:#fff}.auth-deco{background:#102537;display:flex;flex-direction:column;padding:49px 60px;position:relative;overflow:hidden;color:#fff}.auth-brand{display:flex;align-items:center;gap:12px;letter-spacing:2px;font-size:15px;font-weight:770}.auth-brand .brand-mark{font-size:34px}.auth-brand b{color:#92aebb;margin-left:-9px;font-weight:500}.auth-quote{font-size:clamp(30px,4vw,55px);letter-spacing:-2px;line-height:1.15;font-weight:730;margin:auto 0 19px;position:relative;z-index:1;max-width:600px}.auth-quote em{color:#7fd9cc;font-style:normal}.auth-caption{color:#9cb2bc;font-size:13px;position:relative;z-index:1}.auth-orb{position:absolute;width:540px;height:540px;border:1px solid rgba(255,255,255,.09);border-radius:50%;right:-190px;top:15%;box-shadow:0 0 0 65px rgba(255,255,255,.03),0 0 0 145px rgba(255,255,255,.02)}.auth-box{width:min(390px,80%);margin:auto}.auth-box .kicker{font-size:10px;letter-spacing:2px;color:var(--accent);font-weight:850}.auth-box h1{margin:17px 0 10px;font-size:37px}.auth-box p{font-size:13px;color:#91a0b0;line-height:1.7;margin-bottom:37px}.auth-box label{font-size:12px;margin-bottom:9px}.auth-box input{width:100%;height:49px;margin-bottom:19px}.auth-box .btn{height:48px;margin-top:7px}.auth-bottom{border-top:1px solid #eef1f3;margin-top:42px;padding-top:20px;display:flex;align-items:center;gap:9px;font-size:11px;color:#9ca9b5;line-height:1.5}.auth-bottom svg{width:20px;height:20px;color:#56a994}.auth-mobile-brand{display:none}.mobile-backdrop{position:fixed;inset:0;background:rgba(11,23,35,.45);z-index:39}.topbar-date{white-space:nowrap}#toast-layer{position:fixed;right:24px;bottom:24px;z-index:150;display:grid;gap:10px}.empty-inline{padding:31px;text-align:center;color:#95a3ad;font-size:12px}.min-0{min-width:0}.w-100{width:100%}
@media(max-width:1290px){.main-content{padding:35px 29px 80px}.topbar{padding:0 29px}.report-filters{grid-template-columns:repeat(3,minmax(0,1fr))}.filter-btn{width:100%}.status-button{font-size:10px;padding:6px}.course-row-metrics{gap:22px}}
@media(max-width:1050px){.sidebar{width:235px}.work-area{margin-left:235px}.main-content{padding:30px 23px 80px}.topbar{padding:0 23px}.stats-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.dashboard-lower{grid-template-columns:1fr}.status-button{padding:7px 8px}}
@media(max-width:780px){.sidebar{transform:translateX(-100%);transition:transform .25s;width:min(285px,86vw)}.sidebar.open{transform:translateX(0)}.work-area{margin-left:0}.mobile-only{display:grid}.topbar{height:66px;padding:0 17px}.topbar-context,.crumb-sep,.topbar-date,.online-text,.status-dot{display:none}.main-content{padding:24px 16px 100px}.page-head{flex-direction:column;gap:16px}.page-head h1{font-size:28px}.page-head p{font-size:12px}.page-head-actions{width:100%}.page-head-actions .btn{flex:1}.dashboard-hero{padding:26px 24px;min-height:215px}.dashboard-hero h1{font-size:26px}.hero-note{display:none}.course-row-metrics{gap:14px;margin:0}.course-row-metrics span:last-child{display:none}.course-row{padding:17px}.worksheet-header,.worksheet-stats,.worksheet-meta,.table-toolbar,.worksheet-footer{padding-left:17px;padding-right:17px}.worksheet-header h2{font-size:18px}.course-select{min-width:0;width:100%}.course-toolbar{align-items:stretch}.course-code-inline{display:none}.student-list-tools{width:100%}.student-list-tools .search-box{max-width:none;min-width:0;flex:1}.report-filters{grid-template-columns:1fr 1fr;padding:16px}.report-filters .filter-course,.report-filters .filter-search{grid-column:span 2}.report-filters .filter-btn{grid-column:span 2}.bottom-save{position:fixed;bottom:0;left:0;right:0;z-index:35;display:flex;align-items:center;justify-content:space-between;gap:9px;background:#fff;border-top:1px solid #dfe8e8;box-shadow:0 -5px 25px rgba(15,30,43,.08);padding:12px 15px calc(12px + env(safe-area-inset-bottom))}.bottom-save span{font-size:11px;font-weight:720}.bottom-save .btn{padding:0 12px}.save-pulse{width:8px;height:8px;display:inline-block;border-radius:50%;background:#e9ae55;margin-right:4px}.auth-screen{grid-template-columns:1fr}.auth-deco{display:none}.auth-box{width:min(440px,86%);padding:60px 0}.auth-mobile-brand{display:flex;gap:10px;align-items:center;font-size:16px;font-weight:760;margin-bottom:55px;color:var(--ink)}.auth-mobile-brand .brand-mark{color:#1c6370}}
@media(max-width:550px){.main-content{padding-left:12px;padding-right:12px}.stats-grid{gap:9px}.stat-block{padding:18px 13px;min-height:122px}.stat-block strong{font-size:28px}.stat-block .stat-icon{width:29px;height:29px;right:10px;top:14px}.stat-block .stat-title{font-size:10px}.dashboard-hero{border-radius:14px}.dashboard-hero h1{font-size:24px}.course-row .course-square{width:37px;height:37px;flex-shrink:0}.course-row-metrics{margin:0 4px}.course-row-metrics span{min-width:38px}.course-row-metrics b{font-size:14px}.course-row-metrics small{font-size:9px}.course-row-content strong{font-size:11px}.course-row-content small{font-size:10px}.worksheet-header{padding:19px 16px}.worksheet-meta{display:grid;grid-template-columns:1fr 1fr;gap:9px}.worksheet-meta .field-date{width:auto;min-width:0}.worksheet-meta .field-topic{grid-column:span 2;min-width:0}.worksheet-stats{padding-top:12px;padding-bottom:12px}.table-toolbar{padding:13px 14px}.search-box{min-width:0;max-width:none}.table-actions{width:100%}.table-actions .btn{flex:1}.table-scroll{overflow:visible}table.attendance-table thead{display:none}table.attendance-table,table.attendance-table tbody{display:block;width:100%}table.attendance-table tr{display:grid;grid-template-columns:1fr auto;padding:13px 16px;gap:8px;border-bottom:1px solid #eef1f4}table.attendance-table tr:last-child{border:none}table.attendance-table td{padding:0;border:0}table.attendance-table td.cell-num{display:none}table.attendance-table td.cell-name{grid-column:1;grid-row:1}table.attendance-table td.cell-id{grid-column:1;grid-row:2;padding-left:42px;font-size:11px}table.attendance-table td.cell-note{grid-column:2;grid-row:1;justify-self:end}table.attendance-table td.cell-status{grid-column:span 2;grid-row:3;margin-top:3px}table.attendance-table .status-selector{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));width:100%;gap:5px}table.attendance-table .status-button{justify-content:center;padding:8px 2px;font-size:10px;white-space:nowrap}table.attendance-table .status-button svg{display:none}.worksheet-footer{gap:12px}.worksheet-footer>.btn{width:100%}table.roster-table .hide-mobile,table.report-table-inner .hide-mobile{display:none}table.roster-table td,table.report-table-inner td{padding:12px 10px}table.roster-table th,table.report-table-inner th{padding:12px 10px}table.roster-table .student-avatar{display:none}.report-filters{grid-template-columns:1fr 1fr;gap:10px}.report-filters .filter-dates{grid-column:span 1}.report-table{overflow:auto}.report-table table{min-width:600px}.two-fields{grid-template-columns:1fr}.modal{max-height:88vh}.modal-head,.modal-body,.modal-footer{padding-left:19px;padding-right:19px}#toast-layer{bottom:75px;left:12px;right:12px}.toast{max-width:none}.status-counts{gap:5px}.count-pill{padding:6px 7px;font-size:10px}}

/* V2 — identiteti i profesorit, kopjet rezervë dhe historiku */
#auth-name-wrap{display:flex;flex-direction:column;gap:8px;margin-bottom:14px}
#auth-name-wrap.hidden{display:none}
.auth-box #auth-username{margin-bottom:14px}
.account-profile-card{display:flex;align-items:center;gap:13px;padding:16px;border:1px solid #e2e8f0;border-radius:16px;background:#f8fafc;margin-bottom:16px}
.account-profile-avatar{width:45px;height:45px;display:grid;place-items:center;border-radius:15px;background:#132a41;color:white;font-weight:800}
.account-profile-card strong,.account-profile-card small{display:block}
.account-profile-card small{margin-top:5px;color:#64748b;font-size:12px}
.account-actions{display:flex;gap:9px;flex-wrap:wrap;margin:12px 0}
.audit-list{max-height:470px;overflow:auto;display:grid;gap:8px}
.audit-item{padding:12px 13px;border:1px solid #e2e8f0;border-radius:12px;display:flex;justify-content:space-between;gap:14px;align-items:flex-start}
.audit-item strong{font-size:13px;color:#1e293b}.audit-item p{font-size:12px;color:#64748b;margin:5px 0 0}
.audit-item small{white-space:nowrap;color:#64748b;font-size:11px}
@media(max-width:600px){.audit-item{flex-direction:column;gap:6px}.account-actions .btn{flex:1}}
/* PHP Online · seancat, aktivitetet dhe detajet e studentëve */
.mode-tabs{margin-left:auto;display:flex;align-items:center;gap:3px;background:#eef3f6;padding:4px;border:1px solid #e1e8ee;border-radius:12px}
.mode-tab{border:0;background:transparent;color:#617588;border-radius:9px;padding:10px 14px;font-size:12px;font-weight:750;transition:.18s ease}
.mode-tab.active{background:#fff;color:#123847;box-shadow:0 2px 9px rgba(20,40,60,.07)}
.mode-tab:hover{color:#0b5b5e}.footer-controls{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.activity-intro{padding:14px 16px;background:#f1f8f7;border-radius:13px;color:#45646c;font-size:12px;line-height:1.65;margin-bottom:15px}
.activity-list{display:grid;gap:8px;max-height:380px;overflow:auto}.activity-item{border:1px solid #e5ebef;background:#fff;border-radius:13px;padding:13px 14px;display:flex;gap:12px;align-items:center;justify-content:space-between}.activity-item strong,.activity-item small{display:block}.activity-item strong{font-size:13px}.activity-item small{color:#8290a2;font-size:11px;margin-top:5px;line-height:1.5}.activity-item .btn{white-space:nowrap}
.activity-table{width:100%;border-collapse:separate;border-spacing:0;font-size:12px;min-width:600px}.activity-table th{background:#f5f8fa;color:#667a89;font-size:10px;text-align:left;letter-spacing:.3px;padding:11px 9px}.activity-table td{border-bottom:1px solid #ecf0f3;padding:10px 8px;vertical-align:middle}.activity-table input,.activity-table select{min-width:0;width:100%;height:37px;border-radius:8px;padding:0 8px;font-size:12px}.activity-table td:nth-child(2){min-width:170px}.activity-table td:nth-child(3){min-width:132px}.activity-table td:last-child{min-width:135px}.history-title{font-size:15px;margin:16px 0 9px;color:#243b50}.history-line{display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid #edf1f3;gap:15px;padding:11px 2px;font-size:12px}.history-line span{font-weight:680;line-height:1.55}.history-line small{display:block;font-size:11px;color:#899ba9;font-weight:400;margin-top:3px}.history-line b{text-align:right;font-size:11px;color:#147d80;white-space:nowrap}.course-checklist{display:grid;gap:9px;max-height:190px;overflow:auto}.course-check{display:flex;align-items:center;gap:12px;border:1px solid #edf0f4;padding:11px;border-radius:10px;margin:0;font-size:12px}.course-check input{width:17px;height:17px;accent-color:#117b80;margin:0}.auth-box #auth-setup-wrap label{margin:5px 0}
@media(max-width:780px){.course-toolbar{flex-wrap:wrap;gap:10px}.mode-tabs{margin-left:0;width:100%;justify-content:stretch}.mode-tab{flex:1}.footer-controls{width:100%}.footer-controls .btn{flex:1}.activity-item{align-items:flex-start;flex-direction:column}.activity-item .btn{width:100%;justify-content:center}.report-table table{min-width:850px}}

/* V4 - private invitation flow */
.private-register-box{width:min(440px,88%);padding:38px 0}
.private-register-box h1{font-size:clamp(25px,2.8vw,35px)}
.registration-identity{display:flex;flex-direction:column;align-items:flex-start;gap:7px;padding:16px 17px;margin-bottom:22px;border:1px solid #dcece9;background:#f3faf9;border-radius:14px;overflow-wrap:anywhere}
.registration-identity span{font-size:10px;letter-spacing:1.1px;font-weight:850;color:#19827e}
.registration-identity strong{font-size:14px;color:#1b3547}
.registration-identity small{font-size:11px;color:#6c8790;line-height:1.5}
.register-explanation{margin-bottom:16px!important}
.private-login-link{color:#116f77;font-size:12px;display:inline-block;margin-top:17px;text-decoration:none;font-weight:650}
.private-login-link:hover{text-decoration:underline}
.text-action{border:0;background:transparent;cursor:pointer;color:#127f82;font-size:12px;font-weight:700;display:block;margin:14px auto 0;padding:8px 6px}
#register-finish-form input{margin-bottom:11px}
#register-finish-form label{margin-bottom:6px}
#register-finish-form .btn{width:100%;white-space:normal}
#private-registration-screen .auth-bottom{margin-top:25px}
#legacy-verification-screen .auth-box{padding:40px 0}
#legacy-code-form{margin-top:18px}
#legacy-code-form .btn{width:100%}
@media(max-width:780px){.private-register-box{padding:36px 0}.private-register-box h1{font-size:28px}}
