.attendance-list{display:grid;gap:10px}.attendance-row{display:grid;grid-template-columns:90px minmax(240px,auto) 1fr;gap:12px;align-items:center;padding:13px;background:#0c151d;border:1px solid #263946;border-radius:14px}.attendance-row.marked{border-color:#52694a}.attendance-row strong,.grade-row strong{color:#d9ff5b}.status-buttons,.grade-buttons{display:flex;gap:8px}.status-buttons button,.grade-buttons button{border:1px solid #3a4e5b;background:#172630;color:#d5e0e6;border-radius:10px;padding:10px 13px;cursor:pointer}.status-buttons .present.active{background:#24503d;border-color:#73d7aa}.status-buttons .absent.active{background:#5a2930;border-color:#f1848f}.other-students{border-top:1px solid #314653;margin-top:8px;padding-top:18px}.other-students h3,h3{font-size:15px;color:#b8c7d0;margin:20px 0 12px}.grade-list{display:grid;gap:10px}.grade-row{grid-template-columns:90px 280px 1fr}.grade-buttons button{min-width:42px;font-weight:850}.grade-buttons button.active{background:#d9ff5b;color:#101923;border-color:#d9ff5b}.absent-summary{display:grid;gap:8px}.absent-summary>div{display:grid;grid-template-columns:90px 42px 1fr;gap:12px;align-items:center;padding:12px;background:#0c151d;border-radius:12px}.absent-mark{display:grid;place-items:center;width:34px;height:34px;background:#5a2930;color:#ffbec4;border-radius:9px;font-weight:900}.form-actions{display:flex;justify-content:flex-end;gap:10px;margin-top:20px}@media(max-width:800px){.attendance-row,.grade-row{grid-template-columns:80px 1fr}.attendance-row input,.grade-row input{grid-column:1/-1}.grade-buttons{flex-wrap:wrap}}@media(max-width:480px){.attendance-row,.grade-row{grid-template-columns:1fr}.status-buttons button{flex:1}.absent-summary>div{grid-template-columns:55px 36px 1fr}.form-actions{display:grid;grid-template-columns:1fr 1fr}}.profile-filter{display:flex;align-items:center;flex-wrap:wrap;gap:8px;margin:14px 0}.profile-filter span{color:#b8c7d0;font-weight:700}.profile-filter button{border:1px solid #3a4e5b;background:#172630;color:#d5e0e6;border-radius:999px;padding:8px 13px;cursor:pointer}.profile-filter button.active{background:#d9ff5b;border-color:#d9ff5b;color:#101923}.grade-columns,.grade-row{display:grid!important;grid-template-columns:80px 300px minmax(0,1fr)!important;column-gap:16px!important}.grade-columns{padding:0 13px 7px;color:#8298a6;font-size:12px}.grade-row>strong{grid-column:1}.grade-row>.grade-buttons{grid-column:2;display:grid!important;grid-template-columns:repeat(5,52px);gap:8px;min-width:292px;max-width:292px}.grade-row>.grade-comment{grid-column:3;min-width:0!important;width:100%!important;margin:0!important}.grade-buttons button{width:52px;min-width:52px;padding-inline:0;flex:none}@media(max-width:1100px){.grade-columns{display:none!important}.grade-row{grid-template-columns:80px minmax(292px,1fr)!important}.grade-row>.grade-comment{grid-column:1/-1}}@media(max-width:600px){.grade-row{grid-template-columns:1fr!important}.grade-row>.grade-buttons,.grade-row>.grade-comment{grid-column:1}.grade-row>.grade-buttons{grid-template-columns:repeat(5,minmax(38px,1fr));min-width:0;max-width:none;width:100%}.grade-buttons button{width:100%;min-width:0}}.top-menu{display:flex;gap:8px;margin-left:auto;margin-right:18px}.top-menu button{border:1px solid #344957;background:#172630;color:#c7d4dc;border-radius:11px;padding:10px 14px;cursor:pointer}.top-menu button.active{background:#d9ff5b;border-color:#d9ff5b;color:#101923}.history-groups{display:grid;gap:16px}.history-group{background:#0c151d;border:1px solid #2b3d49;border-radius:15px;overflow:hidden}.history-group>header{display:grid;grid-template-columns:1fr 1fr 1fr;gap:14px;padding:14px 16px;background:#172630}.history-group header div{display:grid;gap:4px}.history-group header span{color:#8298a6;font-size:12px}.history-group header strong{color:#f1f6f8}.history-rows{display:grid}.history-rows>div{display:grid;grid-template-columns:100px 52px 1fr;gap:12px;align-items:center;padding:12px 16px;border-top:1px solid #23343f}.history-grade{display:grid;place-items:center;width:36px;height:36px;border-radius:9px;background:#274936;color:#c7f8de;font-weight:900}.history-grade.absent{background:#5a2930;color:#ffbec4}@media(max-width:700px){.app-shell>header{flex-wrap:wrap;height:auto}.top-menu{order:3;width:100%;margin:10px 0 0}.top-menu button{flex:1}.history-group>header{grid-template-columns:1fr}.history-rows>div{grid-template-columns:72px 42px 1fr}}.grading-head,.grading-entry{display:grid;grid-template-columns:80px 292px minmax(220px,1fr);gap:16px;align-items:center}.grading-head{padding:0 14px 8px;color:#8298a6;font-size:12px}.grading-list{display:grid;gap:10px}.grading-entry{padding:13px 14px;background:#0c151d;border-radius:14px}.grading-entry>strong{color:#d9ff5b}.grading-buttons{display:grid;grid-template-columns:repeat(5,52px);gap:8px;width:292px}.grading-buttons button{width:52px;height:44px;border:1px solid #3a4e5b;background:#172630;color:#d5e0e6;border-radius:10px;cursor:pointer;font-weight:850}.grading-buttons button.active{background:#d9ff5b;color:#101923;border-color:#d9ff5b}.grading-comment{min-width:0;width:100%}.grading-comment input{display:block;min-width:0;width:100%;margin:0}@media(max-width:1050px){.grading-head{display:none}.grading-entry{grid-template-columns:80px 292px}.grading-comment{grid-column:1/-1}}@media(max-width:600px){.grading-entry{grid-template-columns:1fr}.grading-buttons,.grading-comment{grid-column:1;width:100%}.grading-buttons{grid-template-columns:repeat(5,minmax(38px,1fr))}.grading-buttons button{width:100%}}.grading-comment{display:grid!important;gap:8px}.lesson-details{display:grid;grid-template-columns:minmax(180px,.8fr) minmax(240px,1.1fr) minmax(240px,1fr);gap:16px;align-items:start}.lesson-details textarea{min-height:52px;height:52px}.media-upload{display:grid;gap:8px;color:#b8c7d0;font-size:14px;font-weight:650}.upload-button{display:flex;align-items:center;justify-content:center;min-height:52px;padding:10px 14px;border:1px dashed #587080;border-radius:12px;background:#172630;color:#d9ff5b;cursor:pointer;text-align:center}.upload-button.busy{opacity:.55;cursor:wait}.upload-button input{position:absolute;width:1px;height:1px;opacity:0;pointer-events:none}.media-upload small{color:#8298a6;font-weight:400;line-height:1.4}.media-upload ul{list-style:none;margin:2px 0 0;padding:0;display:grid;gap:4px;max-height:100px;overflow:auto}.media-upload li{font-size:12px;color:#c7d4dc;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}@media(max-width:900px){.lesson-details{grid-template-columns:1fr}.lesson-details textarea{height:70px}}.history-group>header{grid-template-columns:repeat(4,1fr)}@media(max-width:700px){.history-group>header{grid-template-columns:1fr}}.history-media{display:grid;gap:10px;padding:14px 16px;border-top:1px solid #2b3d49;background:#101b23}.history-media>strong{color:#b8c7d0;font-size:13px}.history-media>div{display:flex;flex-wrap:wrap;gap:8px}.history-media button{max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;border:1px solid #476071;border-radius:10px;background:#172630;color:#d9ff5b;padding:9px 12px;cursor:pointer}.history-media button:hover{border-color:#d9ff5b}.media-grid{display:grid!important;grid-template-columns:repeat(auto-fill,minmax(190px,1fr));gap:12px;width:100%}.media-card{min-width:0;display:grid;gap:8px;padding:10px;background:#0c151d;border:1px solid #2d4351;border-radius:13px}.media-preview{position:relative;aspect-ratio:16/9;overflow:hidden;border-radius:9px;background:#071018}.media-preview img,.media-preview video{display:block;width:100%;height:100%;object-fit:cover}.play-icon{position:absolute;inset:50% auto auto 50%;transform:translate(-50%,-50%);display:grid;place-items:center;width:46px;height:46px;border-radius:50%;background:#0b1118cc;color:#d9ff5b;font-size:20px;padding-left:3px}.media-card>strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#e9f0f5;font-size:13px}.media-card-error{color:#ff9da6}.media-actions{display:grid;grid-template-columns:1fr 1fr;gap:6px}.media-actions button,.media-actions label{display:flex;align-items:center;justify-content:center;min-width:0;border:1px solid #405867;border-radius:8px;background:#172630;color:#d7e3e9;padding:7px 8px;font-size:12px;cursor:pointer}.media-actions .delete{grid-column:1/-1;color:#ffabb2;border-color:#74404a}.media-actions label.disabled{opacity:.5;cursor:wait}.media-actions input{position:absolute;width:1px;height:1px;opacity:0;pointer-events:none}.media-actions button:disabled{opacity:.5;cursor:wait}.history-media>div.media-grid{display:grid!important}.mobile-progress{display:none}.desktop-steps{display:grid}.step .step-number{flex:0 0 30px}.step .step-title{width:auto;height:auto;display:inline;border:0;border-radius:0}.empty-state{margin:0;color:#96adbb;line-height:1.5}@media(max-width:800px){html,body,#root,.app-shell{width:100%;max-width:100%;overflow-x:hidden}.app-shell>.app-header{position:relative;top:auto;display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:14px 12px;width:100%;height:auto;min-height:0;padding:16px}.account-heading{min-width:0}.app-shell .account-heading .eyebrow{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:10px}.app-shell .account-heading h1{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:21px}.app-header>.ghost{padding:10px 14px;white-space:nowrap}.app-header>.top-menu{grid-column:1 / -1;grid-row:2;display:grid;grid-template-columns:1fr 1fr;gap:8px;width:100%;min-width:0;margin:0}.top-menu button{min-width:0;padding:11px 8px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.layout{display:block;width:100%;max-width:100%}.progress-sidebar{display:block;min-height:0;width:100%;padding:12px 16px;overflow:visible;border-right:0;border-bottom:1px solid #263540}.progress-sidebar.history-sidebar,.desktop-steps{display:none}.mobile-progress{display:grid;grid-template-columns:minmax(0,1fr) minmax(110px,42%);align-items:center;gap:16px}.mobile-progress>div:first-child{display:grid;gap:2px}.mobile-progress small{color:#8298a6;font-size:11px;font-weight:700;text-transform:uppercase;letter-spacing:.08em}.mobile-progress strong{color:#f5f9fb;font-size:16px}.progress-track{height:7px;overflow:hidden;border-radius:999px;background:#253743}.progress-track span{display:block;height:100%;border-radius:inherit;background:#d9ff5b;transition:width .2s ease}.workspace{width:100%;max-width:100%;padding:16px 12px 64px}.panel{width:100%;margin-bottom:14px;padding:16px;border-radius:16px}.panel h2{margin-bottom:14px;font-size:17px}.choice-grid,.student-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.choice,.student{min-width:0;padding:13px}.choice b,.student{overflow-wrap:anywhere}.attendance-row,.grading-entry{width:100%;min-width:0;padding:12px}.status-buttons,.grading-buttons,.grade-buttons{width:100%;min-width:0}.status-buttons button{flex:1 1 0;min-width:0}.lesson-details,.history-group>header{grid-template-columns:minmax(0,1fr)}.media-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.history-group,.history-rows,.history-rows>div{min-width:0}}@media(max-width:420px){.app-shell>.app-header{padding:14px 12px}.workspace{padding-inline:10px}.panel{padding:14px}.choice-grid{grid-template-columns:1fr}.student-grid,.media-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.grading-buttons{gap:6px}.grading-buttons button{min-width:0;height:42px}.form-actions{grid-template-columns:1fr}.history-rows>div{grid-template-columns:64px 38px minmax(0,1fr);gap:8px;padding:10px}}:root{font-family:Inter,ui-sans-serif,system-ui,-apple-system,sans-serif;color:#e9f0f5;background:#0b1118;font-synthesis:none}*{box-sizing:border-box}body{margin:0;min-width:320px;min-height:100vh;background:radial-gradient(circle at 10% 0,#183144 0,transparent 34%),#0b1118}button,input,select,textarea{font:inherit}.login-shell{min-height:100vh;display:grid;place-items:center;padding:24px}.login-card{width:min(100%,430px);background:#121d27;border:1px solid #2a3b49;border-radius:28px;padding:38px;box-shadow:0 28px 90px #0008}.brand-mark,.loader{width:54px;height:54px;display:grid;place-items:center;border-radius:16px;background:#d9ff5b;color:#101923;font-weight:900;letter-spacing:-1px}.eyebrow{color:#96adbb;font-size:12px;letter-spacing:.16em;font-weight:800;margin:20px 0 8px}h1{font-size:clamp(28px,4vw,46px);margin:0;letter-spacing:-.04em}h2{font-size:18px;margin:0 0 18px}.muted{color:#96adbb;line-height:1.6}.login-card form{display:grid;gap:18px;margin-top:28px}label{display:grid;gap:8px;color:#b8c7d0;font-size:14px;font-weight:650}input,select,textarea{width:100%;background:#0c151d;border:1px solid #344957;color:#f5f9fb;border-radius:12px;padding:13px 14px;outline:none}input:focus,select:focus,textarea:focus{border-color:#d9ff5b;box-shadow:0 0 0 3px #d9ff5b1f}textarea{min-height:94px;resize:vertical}.primary,.ghost,.choice,.link{border:0;cursor:pointer}.primary{background:#d9ff5b;color:#101923;border-radius:13px;padding:14px 20px;font-weight:850}.primary:disabled{opacity:.45;cursor:not-allowed}.inline{margin-top:18px}.ghost{background:#1a2934;color:#e9f0f5;border:1px solid #344957;border-radius:12px;padding:11px 16px}.error,.success{padding:13px 15px;border-radius:12px;margin-bottom:16px}.error{background:#4e2026;color:#ffbec4}.success{background:#193d31;color:#aaf5d5}.app-shell{min-height:100vh}.app-shell>header{height:112px;padding:24px clamp(20px,5vw,72px);display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid #263540;background:#0d151dce;-webkit-backdrop-filter:blur(18px);backdrop-filter:blur(18px);position:sticky;top:0;z-index:10}.app-shell header .eyebrow{margin:0 0 5px}.app-shell header h1{font-size:26px}.layout{display:grid;grid-template-columns:240px minmax(0,1fr);max-width:1500px;margin:auto}aside{padding:34px 24px;border-right:1px solid #263540;min-height:calc(100vh - 112px)}.step{display:flex;align-items:center;gap:12px;color:#637987;padding:10px 0;font-weight:700}.step span{width:30px;height:30px;border-radius:50%;border:1px solid #39505f;display:grid;place-items:center}.step.active{color:#fff}.step.active span{background:#d9ff5b;color:#101923;border-color:#d9ff5b}.step.done{color:#9eb47d}.workspace{padding:34px clamp(18px,4vw,58px) 80px;max-width:1100px}.panel{background:#111c25;border:1px solid #263946;border-radius:20px;padding:24px;margin-bottom:20px}.choice-grid,.student-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(180px,1fr));gap:12px}.choice{background:#172630;color:#c7d4dc;border:1px solid #314653;text-align:left;padding:16px;border-radius:14px}.choice b{display:block;color:#fff;margin-top:6px}.choice.selected{border-color:#d9ff5b;background:#263629}.student{display:flex;align-items:center;gap:10px;padding:14px;background:#172630;border:1px solid #314653;border-radius:12px;cursor:pointer}.student input{width:18px;height:18px;accent-color:#d9ff5b}.student.selected{border-color:#d9ff5b;color:#fff}.link{display:block;background:transparent;color:#d9ff5b;padding:14px 0}.field-row{display:grid;grid-template-columns:1fr 2fr;gap:16px}.grade-list{display:grid;gap:10px;margin-top:22px}.grade-row{display:grid;grid-template-columns:90px 120px 150px 1fr;gap:10px;align-items:center;padding:12px;background:#0c151d;border-radius:14px}.grade-row strong{color:#d9ff5b}@media(max-width:800px){.app-shell>header{height:88px}.layout{display:block}aside{min-height:auto;border-right:0;border-bottom:1px solid #263540;display:flex;overflow-x:auto;padding:14px 18px;gap:18px}.step{white-space:nowrap}.workspace{padding:20px 14px 70px}.panel{padding:18px}.field-row{grid-template-columns:1fr}.grade-row{grid-template-columns:70px 1fr 1fr}.grade-row input:last-child{grid-column:1/-1}}@media(max-width:480px){.login-card{padding:26px 20px;border-radius:20px}.choice-grid{grid-template-columns:1fr}.student-grid{grid-template-columns:repeat(2,1fr)}.grade-row{grid-template-columns:60px 1fr}.grade-row select{grid-column:1/-1}.app-shell>header{padding:16px}.app-shell header h1{font-size:20px}}
