:root{color:#111827;font-synthesis:none;background:#f6f8fb;font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif}*{box-sizing:border-box}body{background:#f6f8fb;margin:0}button,input,select,textarea{font:inherit}button{cursor:pointer}h1{margin:0 0 6px;font-size:30px}h2{margin:0;font-size:18px}p{line-height:1.55}.shell{min-height:100vh}.topbar{color:#fff;background:#0f172a;justify-content:space-between;align-items:center;height:72px;padding:0 max(24px,50vw - 640px);display:flex}.brand{letter-spacing:.18em;font-size:13px;font-weight:900}.brand.large{margin-bottom:24px;font-size:15px}.container{max-width:1280px;margin:0 auto;padding:30px 24px 80px}.page-head{justify-content:space-between;align-items:end;margin-bottom:22px;display:flex}.page-head p{color:#667085;margin:0}.card{background:#fff;border:1px solid #e5e7eb;border-radius:16px;min-width:0;margin-bottom:18px;padding:20px;box-shadow:0 2px 14px #0f172a0a}.card-head{justify-content:space-between;align-items:center;margin-bottom:18px;display:flex}.grid-2{grid-template-columns:1fr 1fr;gap:18px;display:grid}.grid-sidebar{grid-template-columns:340px 1fr;align-items:start;gap:18px;display:grid}.span-2{grid-column:1/-1}.stats-grid{grid-template-columns:repeat(5,1fr);gap:14px;margin-bottom:18px;display:grid}.stat{background:#fff;border:1px solid #e5e7eb;border-radius:14px;padding:18px}.stat-value{margin-bottom:4px;font-size:30px;font-weight:800}.muted{color:#667085}.small{margin-top:4px;font-size:12px}.tabs{flex-wrap:wrap;gap:8px;margin-bottom:18px;display:flex}.tabs button{background:#fff;border:1px solid #dbe1e8;border-radius:999px;padding:9px 14px}.btn{background:#fff;border:1px solid #cfd5dd;border-radius:10px;padding:9px 14px;font-weight:700}.btn.primary{color:#fff;background:#2563eb;border-color:#2563eb}.btn.ghost{color:#fff;background:0 0;border-color:#475569}.btn.full{width:100%}.form-grid{grid-template-columns:1fr 1fr;gap:14px;display:grid}label{color:#344054;flex-direction:column;gap:7px;font-size:13px;font-weight:700;display:flex}input,select,textarea{color:#101828;background:#fff;border:1px solid #d0d5dd;border-radius:10px;outline:none;width:100%;padding:10px 11px}textarea{resize:vertical;min-height:95px}.checkbox{flex-direction:row;align-items:center}.checkbox input{width:auto}.table-wrap{width:100%;overflow:auto}table{border-collapse:collapse;width:100%;font-size:14px}th,td{text-align:left;vertical-align:top;white-space:nowrap;border-bottom:1px solid #eaecf0;padding:11px 10px}th{color:#667085;text-transform:uppercase;letter-spacing:.04em;font-size:12px}.score{width:95px}.list{flex-direction:column;gap:8px;display:flex}.list-row{text-align:left;background:#fff;border:1px solid #eaecf0;border-radius:11px;justify-content:space-between;align-items:center;width:100%;padding:12px;display:flex}.list-row:hover,.list-row.selected{background:#eff6ff;border-color:#2563eb}.note{background:#fbfcfd;border:1px solid #eaecf0;border-radius:11px;padding:13px}.note p{margin:7px 0}.badge{background:#eef2f6;border-radius:999px;margin-left:8px;padding:4px 8px;font-size:11px;font-weight:800;display:inline-block}.alert{border:1px solid;border-radius:10px;margin:0 0 16px;padding:12px 14px}.alert.error{color:#b42318;background:#fef3f2;border-color:#fecdca}.alert.success{color:#067647;background:#ecfdf3;border-color:#abefc6}.alert.warning{color:#93370d;background:#fffaeb;border-color:#fedf89}.empty{text-align:center;color:#98a2b3;padding:30px 10px}.login-page{background:radial-gradient(circle at top,#e0e7ff,#f8fafc 45%,#eef2f7);place-items:center;min-height:100vh;display:grid}.login-card h1{margin-bottom:8px;font-size:25px}.login-card button{margin-top:18px}code{font-size:12px}@media (width<=900px){.grid-2,.grid-sidebar{grid-template-columns:1fr}.stats-grid{grid-template-columns:repeat(2,1fr)}.span-2{grid-column:auto}.form-grid{grid-template-columns:1fr}}.attendance-help{color:#64748b;background:#f8fafc;border:1px solid #e2e8f0;border-radius:10px;margin-bottom:14px;padding:11px 13px;font-size:13px}.attendance-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;display:grid}.attendance-student{background:#fff;border:1px solid #e5e7eb;border-radius:12px;grid-template-columns:48px 1fr;align-items:stretch;gap:10px;padding:8px;display:grid}.attendance-toggle{color:#fff;border:0;border-radius:12px;width:48px;height:48px;font-size:28px;font-weight:900;line-height:1}.attendance-toggle.present{background:#16a34a}.attendance-toggle.absent{background:#dc2626}.attendance-name{text-align:left;background:0 0;border:0;flex-direction:column;justify-content:center;gap:2px;padding:2px 4px;display:flex}.attendance-name span{color:#667085;font-size:12px}.attendance-name small{color:#8b5e00;text-overflow:ellipsis;white-space:nowrap;max-width:100%;font-size:11px;overflow:hidden}.sheet-backdrop{z-index:100;background:#0f172a59;justify-content:flex-end;display:flex;position:fixed;inset:0}.side-sheet{background:#fff;flex-direction:column;gap:18px;width:min(440px,92vw);height:100%;padding:24px;animation:.2s ease-out sheetIn;display:flex;box-shadow:-20px 0 60px #0f172a2e}.sheet-head{border-bottom:1px solid #e5e7eb;justify-content:space-between;align-items:flex-start;padding-bottom:16px;display:flex}.sheet-head h2{margin:3px 0 0}.sheet-close{color:#64748b;background:0 0;border:0;font-size:30px}.attendance-status-card{border-radius:12px;flex-direction:column;gap:4px;padding:16px;display:flex}.attendance-status-card.is-present{color:#067647;background:#ecfdf3;border:1px solid #abefc6}.attendance-status-card.is-absent{color:#b42318;background:#fef3f2;border:1px solid #fecdca}.material-row{border:1px solid #e5e7eb;border-radius:12px;justify-content:space-between;align-items:flex-start;gap:14px;padding:13px;display:flex}.material-row p{color:#475467;margin:7px 0 0;font-size:13px}.full{width:100%}@keyframes sheetIn{0%{opacity:.5;transform:translate(30px)}to{opacity:1;transform:translate(0)}}@media (width<=900px){.attendance-grid{grid-template-columns:1fr}}.risk-row{background:#fff8f7}.submission-feedback{background:#f8fafc;border-radius:8px;margin-top:8px;padding:8px 10px;font-size:13px}.material-actions{flex-wrap:wrap;justify-content:flex-end;gap:7px;display:flex}.deadline-grid{grid-template-columns:repeat(3,1fr);gap:10px;display:grid}.deadline-card{text-align:left;background:#fff;border:1px solid #e3e8ef;border-radius:11px;flex-direction:column;gap:5px;padding:12px;display:flex}.deadline-card:hover{background:#f8fbff;border-color:#2563eb}.deadline-card.is-late{background:#fff7f6;border-color:#f4b8b3}.deadline-card span,.deadline-card small{color:#667085}@media (width<=900px){.deadline-grid{grid-template-columns:1fr}}.grade-select{width:74px;font-weight:800}.compact-stats{grid-template-columns:repeat(5,minmax(0,1fr))}.chart-card{margin:10px 0 26px}.chart-card h3{color:#344054;margin:0 0 8px;font-size:14px}.chart-svg{width:100%;height:auto;min-height:240px;overflow:visible}.chart-grid{stroke:#e5e7eb;stroke-width:1px}.chart-axis,.chart-x{fill:#667085;font-size:10px}.muted-svg{fill:#98a2b3}.chart-line{fill:none;stroke:currentColor;stroke-width:3px}.chart-dot{fill:currentColor}.chart-value{fill:#101828;font-size:10px;font-weight:800}.chart-empty{text-align:center;color:#98a2b3;border:1px dashed #d0d5dd;border-radius:12px;padding:30px}.hbars{flex-direction:column;gap:11px;display:flex}.hbar-row{grid-template-columns:170px 1fr 58px;align-items:center;gap:10px;font-size:12px;display:grid}.hbar-label{white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.hbar-track{background:#eef2f6;border-radius:999px;height:12px;overflow:hidden}.hbar-fill{background:currentColor;border-radius:999px;height:100%}.distribution{justify-content:space-around;align-items:end;gap:10px;height:210px;padding:10px 5px;display:flex}.distribution-col{flex-direction:column;flex:1;justify-content:end;align-items:center;gap:5px;max-width:75px;height:190px;display:flex}.distribution-bar-wrap{justify-content:center;align-items:end;width:100%;height:150px;display:flex}.distribution-bar{background:currentColor;border-radius:8px 8px 2px 2px;width:70%;min-height:2px}.distribution-count{color:#667085;font-size:11px}.analytics-select{max-width:360px;margin-bottom:18px}.inline-summary{border-top:1px solid #eaecf0;flex-wrap:wrap;gap:22px;margin-top:12px;padding-top:12px;display:flex}.student-grade{font-size:18px}.student-stats{grid-template-columns:repeat(7,minmax(0,1fr))}@media (width<=1100px){.student-stats,.compact-stats{grid-template-columns:repeat(3,1fr)}}@media (width<=700px){.hbar-row{grid-template-columns:110px 1fr 48px}.student-stats,.compact-stats{grid-template-columns:repeat(2,1fr)}}.portal-shell{background:#f4f6f9;min-height:100vh}.portal-sidebar{color:#dce5f2;z-index:30;background:#111c2e;flex-direction:column;width:272px;display:flex;position:fixed;inset:0 auto 0 0;overflow-y:auto}.portal-main{min-height:100vh;margin-left:272px}.portal-brand{align-items:center;gap:12px;padding:22px 20px 16px;display:flex}.brand-mark{color:#172033;background:#fff;border-radius:12px;place-items:center;width:40px;height:40px;font-size:20px;font-weight:900;display:grid}.portal-brand strong{color:#fff;font-size:17px;display:block}.portal-brand small{color:#8292aa;margin-top:2px;font-size:11px;display:block}.role-pill{color:#8fa2bc;letter-spacing:.14em;text-align:center;border:1px solid #2d405b;border-radius:7px;margin:0 18px 12px;padding:6px 9px;font-size:10px;font-weight:900}.portal-nav a{color:#aebbd0;border-radius:9px;grid-template-columns:24px 1fr auto;align-items:center;gap:9px;padding:10px 12px;font-size:13px;font-weight:650;text-decoration:none;display:grid}.portal-nav a.active{color:#164d89;background:#eaf2ff}.nav-icon{text-align:center;font-size:15px}.nav-badge{color:#fff;text-align:center;background:#c62828;border-radius:999px;min-width:21px;padding:2px 6px;font-size:10px}.portal-user{border-top:1px solid #24364f;align-items:center;gap:10px;margin-top:auto;padding:16px 17px;display:flex}.portal-user .avatar{color:#fff;background:#2b4261;border-radius:50%;place-items:center;width:36px;height:36px;font-size:12px;font-weight:900;display:grid}.portal-user strong{color:#f5f8fc;font-size:12px;display:block}.portal-user small{color:#7f90a9;text-overflow:ellipsis;max-width:150px;font-size:10px;display:block;overflow:hidden}.logout-btn{color:#9dacbf;background:0 0;border:1px solid #30445f;border-radius:8px;margin:0 14px 16px;padding:9px 12px}.portal-topbar{z-index:20;background:#fff;border-bottom:1px solid #e1e6ed;justify-content:space-between;align-items:center;height:64px;padding:0 30px;display:flex;position:sticky;top:0}.topbar-kicker{letter-spacing:.16em;color:#758295;font-size:11px;font-weight:900}.topbar-date{color:#6c7889;font-size:12px}.portal-content{max-width:1540px;margin:0 auto;padding:28px 30px 80px}.modern-page-head{justify-content:space-between;align-items:flex-end;gap:20px;margin-bottom:22px;display:flex}.modern-page-head h1{letter-spacing:-.02em;margin:0;font-size:28px}.modern-page-head p{color:#697689;margin:5px 0 0}.page-actions{flex-wrap:wrap;gap:8px;display:flex}.dashboard-stats{grid-template-columns:repeat(5,minmax(0,1fr))}.dashboard-line{border-bottom:1px solid #edf0f4;align-items:flex-start;gap:11px;padding:11px 0;display:flex}.dashboard-line:last-child{border-bottom:0}.dashboard-line>div{flex:1}.dashboard-line strong,.dashboard-line small{display:block}.dashboard-line small{color:#7e8998;margin-top:3px;font-size:11px}.dashboard-line p{color:#657285;margin:5px 0 0;font-size:12px}.event-chip{color:#52647a;background:#eef3f8;border-radius:5px;padding:5px 6px;font-size:9px;font-weight:900}.status-dot{background:#18a66a;border-radius:50%;flex:none;width:10px;height:10px;margin-top:5px}.status-dot.closed{background:#c5372d}.status-dot.open{background:#18a66a}.grid-admin-users{grid-template-columns:300px minmax(0,1fr);gap:18px;display:grid}.one-col{grid-template-columns:1fr!important}.four-col{grid-template-columns:repeat(4,minmax(0,1fr))}.user-filters{gap:8px;min-width:min(560px,60vw);display:flex}.user-filters input{min-width:280px}.sort-head{color:inherit;font-size:inherit;text-transform:inherit;font-weight:inherit;background:0 0;border:0;padding:0}.click-table tbody tr:hover{background:#f3f7fc}.role-badge{border-radius:999px;padding:4px 8px;font-size:10px;font-weight:900;display:inline-block}.badge-ok{color:#067647!important;background:#e7f8ef!important}.badge-risk{color:#b42318!important;background:#fff0ed!important}.profile-grid{grid-template-columns:minmax(360px,1fr) minmax(300px,.7fr);gap:18px;display:grid}.profile-dl{grid-template-columns:150px 1fr;gap:10px;margin:0;display:grid}.profile-dl dt{color:#7b8797}.profile-dl dd{margin:0;font-weight:650}.activity-list{max-height:620px;overflow:auto}.activity-item{border-bottom:1px solid #edf0f4;gap:10px;padding:10px 0;display:flex}.activity-dot{background:#3977ba;border-radius:50%;flex:none;width:9px;height:9px;margin-top:5px}.activity-item strong,.activity-item small,.activity-item code{display:block}.activity-item small{color:#7a8798;margin-top:2px}.activity-item code{white-space:normal;word-break:break-all;color:#667085;margin-top:4px;font-size:10px}.week-grid{grid-template-columns:repeat(7,minmax(160px,1fr));align-items:start;gap:10px;padding-bottom:6px;display:grid;overflow-x:auto}.day-card{min-height:170px}.schedule-slot{background:#f6f9fd;border-left:3px solid #2f70b3;border-radius:7px;flex-direction:column;gap:3px;margin:0 0 8px;padding:10px;display:flex}.schedule-slot strong{font-size:12px}.schedule-slot span{font-size:12px;font-weight:750}.schedule-slot small{color:#748194}.admin-slot{padding-right:45px;position:relative}.admin-slot .mini{position:absolute;top:8px;right:7px}.calendar-row{border-bottom:1px solid #edf0f4;align-items:flex-start;gap:12px;padding:11px 0;display:flex}.calendar-row>div:not(.calendar-date){flex:1}.calendar-row strong,.calendar-row small{display:block}.calendar-row small{color:#7c8898;margin-top:3px;font-size:11px}.calendar-row p{margin:6px 0 0;font-size:12px}.calendar-date{text-align:center;border:1px solid #dbe3ec;border-radius:8px;flex:none;width:43px;overflow:hidden}.calendar-date b{background:#f6f8fb;padding:5px;display:block}.calendar-date small{background:#fff;padding:3px;color:#65748a!important;display:block!important}.notification-row{text-align:left;color:#1c283a;background:#fff;border:0;border-bottom:1px solid #e9edf2;grid-template-columns:74px 1fr 16px;gap:11px;width:100%;padding:13px 4px;display:grid}.notification-row.unread{background:#f5f9ff}.notification-row strong{display:block}.notification-row p{color:#647286;margin:4px 0;font-size:12px}.notification-row small{color:#8b96a5}.notification-row.compact{grid-template-columns:70px 1fr}.notification-type{text-align:center;color:#526176;background:#edf1f6;border-radius:6px;padding:5px 6px;font-size:9px;font-weight:900;display:inline-block}.type-grade{color:#8b5b00;background:#fff2cf}.type-material{color:#147548;background:#eaf8ef}.type-deadline{color:#b42318;background:#fff0ed}.type-academic{color:#1d5d9f;background:#eaf2ff}.course-grid{grid-template-columns:repeat(3,minmax(250px,1fr));gap:16px;display:grid}.subject-tile{color:#172033;background:#fff;border:1px solid #dfe5ec;border-radius:14px;flex-direction:column;min-height:180px;padding:20px;text-decoration:none;transition:all .15s;display:flex}.subject-tile:hover{border-color:#b9cadf;transform:translateY(-2px);box-shadow:0 8px 24px #152a4414}.subject-code{color:#2c6baa;letter-spacing:.1em;font-size:10px;font-weight:900}.subject-tile h3{margin:10px 0 5px}.subject-tile p{color:#627084;margin:0}.subject-tile small{color:#8994a3;margin-top:4px}.subject-tile b{color:#2265a4;margin-top:auto;font-size:12px}.course-card,.deadline-line,.average-line{color:#172033;border-bottom:1px solid #edf0f4;justify-content:space-between;align-items:center;gap:10px;padding:11px 0;text-decoration:none;display:flex}.course-card strong,.course-card small,.deadline-line strong,.deadline-line small{display:block}.course-card small,.deadline-line small{color:#7c8898;margin-top:3px}.average-line strong{margin-left:auto;font-size:18px}.average-line small{text-align:right;color:#7a8798;width:62px}.course-workspace{grid-template-columns:205px minmax(0,1fr);gap:20px;display:grid}.course-subnav{background:#fff;border:1px solid #dfe5ec;border-radius:12px;height:max-content;padding:10px;position:sticky;top:84px}.subnav-title{color:#8b97a6;letter-spacing:.13em;padding:8px 10px 10px;font-size:9px;font-weight:900}.course-subnav a{color:#5e6d80;border-radius:7px;margin-bottom:2px;padding:9px 10px;font-size:12px;text-decoration:none;display:block}.course-subnav a:hover{background:#f3f6fa}.course-subnav a.active{color:#17588f;background:#e9f2fc;font-weight:800}.course-page{min-width:0}.embedded-page>.modern-page-head{margin-bottom:18px}.embedded-page .tabs{display:none}@media (width<=1200px){.week-grid{grid-template-columns:repeat(4,minmax(180px,1fr))}.four-col{grid-template-columns:repeat(2,1fr)}.course-grid{grid-template-columns:repeat(2,minmax(240px,1fr))}.dashboard-stats{grid-template-columns:repeat(3,1fr)}}@media (width<=900px){.portal-sidebar{width:auto;position:static}.portal-main{margin-left:0}.portal-nav{grid-template-columns:repeat(2,1fr);display:grid}.portal-user{margin-top:0}.portal-topbar{position:static}.portal-content{padding:20px 16px 60px}.grid-admin-users,.profile-grid,.course-workspace{grid-template-columns:1fr}.course-subnav{grid-template-columns:repeat(2,1fr);display:grid;position:static}.subnav-title{grid-column:1/-1}.week-grid{grid-template-columns:repeat(2,minmax(190px,1fr))}.user-filters{flex-direction:column;min-width:0}.user-filters input{min-width:0}.course-grid{grid-template-columns:1fr 1fr}}@media (width<=620px){.portal-nav{grid-template-columns:1fr 1fr}.portal-topbar{padding:0 16px}.topbar-date{display:none}.modern-page-head{flex-direction:column;align-items:flex-start}.week-grid,.course-grid,.four-col{grid-template-columns:1fr}.dashboard-stats{grid-template-columns:repeat(2,1fr)}.course-subnav,.profile-dl{grid-template-columns:1fr}.grid-admin-users{display:block}}.month-toolbar{justify-content:center;align-items:center;gap:15px;margin-bottom:12px;display:flex}.month-toolbar strong{text-transform:capitalize;text-align:center;min-width:180px}.month-weekdays,.month-grid{grid-template-columns:repeat(7,1fr);display:grid}.month-weekdays b{text-align:center;color:#778496;text-transform:uppercase;padding:8px;font-size:10px}.month-grid{border-top:1px solid #e4e9ef;border-left:1px solid #e4e9ef}.month-day{background:#fff;border-bottom:1px solid #e4e9ef;border-right:1px solid #e4e9ef;min-height:105px;padding:7px}.month-day.outside{color:#a9b2bf;background:#f8fafc}.month-day.today{box-shadow:inset 0 0 0 2px #2f70b3}.day-number{margin-bottom:5px;font-size:11px;font-weight:800;display:block}.month-event{white-space:nowrap;text-overflow:ellipsis;background:#eef3f8;border-radius:4px;margin-bottom:3px;padding:4px 5px;font-size:9px;overflow:hidden}.month-day>small{color:#7f8a99;font-size:8px}@media (width<=760px){.month-board{overflow:hidden}.month-weekdays b{padding:6px 2px;font-size:9px}.month-day{min-height:86px;padding:4px}.month-event{padding:3px 4px;font-size:8px}}.user-search{min-width:280px}.secretary-week-grid .day-card{min-width:0}.secretary-slot{padding-bottom:38px;position:relative}.schedule-actions{border-top:1px solid #eaecf0;justify-content:flex-end;gap:10px;padding-top:7px;display:flex;position:absolute;bottom:8px;left:10px;right:10px}@media (width<=760px){.user-search{width:100%;min-width:0}}.month-event{text-align:left;cursor:pointer;width:100%;font:inherit;border:0;display:block}.month-event:hover{filter:brightness(.96);transform:translateY(-1px)}.calendar-row-button{text-align:left;cursor:pointer;background:#fff;border:0;width:100%}.calendar-open{color:#98a2b3;margin-left:auto;font-size:22px}.calendar-detail-sheet{overflow-y:auto}.event-detail-hero{background:#f8fafc;border:1px solid #e5e7eb;border-radius:14px;flex-direction:column;gap:6px;padding:15px;display:flex}.event-detail-type{color:#245a8d;background:#eaf2ff;border-radius:999px;align-self:flex-start;padding:5px 8px;font-size:10px;font-weight:900}.event-detail-dl{grid-template-columns:125px 1fr;gap:10px 14px;margin:0;display:grid}.event-detail-dl dt{color:#667085;font-size:12px;font-weight:700}.event-detail-dl dd{color:#101828;margin:0;font-size:13px}.event-description{border-top:1px solid #eaecf0;padding-top:14px}.event-description p{color:#475467;margin:6px 0 0;line-height:1.55}.sheet-actions{border-top:1px solid #eaecf0;flex-wrap:wrap;gap:8px;margin-top:auto;padding-top:12px;display:flex}.calendar-context-preview{background:#f4f9ff;border:1px solid #cfe0f2;border-radius:12px;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;padding:13px;display:grid}.calendar-context-preview div{flex-direction:column;gap:3px;display:flex}.calendar-context-preview small{letter-spacing:.08em;color:#6b7f94;font-size:9px;font-weight:900}.calendar-context-preview strong{color:#183b5b;font-size:12px}.required-mark{color:#b42318;font-size:10px}.event-exam{color:#805300!important;background:#fff2cf!important}.event-deadline{color:#b42318!important;background:#fff0ed!important}.event-holiday{color:#067647!important;background:#ecfdf3!important}.event-meeting{color:#6941c6!important;background:#f4ebff!important}.event-activity{color:#175cd3!important;background:#eaf2ff!important}@media (width<=800px){.calendar-context-preview{grid-template-columns:1fr 1fr}.event-detail-dl{grid-template-columns:1fr}}:root{--ink:#0b214a;--ink-2:#183153;--blue:#1865f2;--blue-2:#0b57d0;--green:#16a085;--mint:#e9fbf5;--gold:#f6b83f;--lavender:#7657d6;--coral:#e85d75;--paper:#fff;--canvas:#f6f8fc;--line:#e7ebf3;--muted-2:#718096;--soft-blue:#eef4ff;--soft-gold:#fff7df;--soft-violet:#f4f0ff;--radius-xl:24px;--shadow-soft:0 12px 36px #12264612;--shadow-hover:0 18px 42px #1226461f}html{background:var(--canvas)}body{background:var(--canvas);color:#172b4d;font-family:Avenir Next,Segoe UI,Inter,ui-sans-serif,system-ui,sans-serif}button,input,select,textarea{font-family:inherit}a{color:inherit}.portal-shell{background:radial-gradient(circle at 88% 10%,#1865f20f,transparent 24rem), radial-gradient(circle at 30% 90%,#16a0850d,transparent 28rem), var(--canvas)}.portal-sidebar{width:286px;color:var(--ink);border-right:1px solid var(--line);-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);background:#fffffff5;padding:0 14px 16px;box-shadow:8px 0 32px #1e375a09}.portal-main{margin-left:286px}.portal-brand{gap:11px;padding:24px 10px 18px}.portal-brand>div:last-child{flex-direction:column;display:flex}.portal-brand strong{letter-spacing:-.03em;color:var(--ink);font-size:20px}.portal-brand small{text-transform:uppercase;letter-spacing:.12em;color:#8290a6;font-size:10px;font-weight:800}.brand-mark{background:linear-gradient(145deg,#edf5ff,#fff);border:1px solid #dce8fb;width:42px;height:42px;position:relative;box-shadow:0 8px 20px #1865f21f}.brand-mark span{background:var(--blue);transform-origin:bottom;border-radius:999px;position:absolute}.brand-mark span:first-child{width:7px;height:19px;top:7px;left:17px;transform:rotate(0)}.brand-mark span:nth-child(2){background:#1fbf91;width:7px;height:16px;top:13px;left:10px;transform:rotate(-42deg)}.brand-mark span:nth-child(3){background:#5c7cfa;width:7px;height:16px;top:13px;left:24px;transform:rotate(42deg)}.workspace-card{background:#f7f9fd;border:1px solid #edf0f6;border-radius:16px;align-items:center;gap:10px;margin:0 4px 19px;padding:11px;display:flex}.workspace-avatar,.topbar-avatar,.viewas-avatar{letter-spacing:-.03em;place-items:center;font-weight:900;display:grid}.workspace-avatar{background:linear-gradient(135deg,var(--ink),#294d82);color:#fff;border-radius:12px;width:38px;height:38px;font-size:12px}.workspace-card div:last-child{flex-direction:column;min-width:0;display:flex}.workspace-card small{text-transform:uppercase;letter-spacing:.08em;color:#8793a7;font-size:10px;font-weight:800}.workspace-card strong{color:#1e3150;text-overflow:ellipsis;white-space:nowrap;font-size:13px;overflow:hidden}.nav-caption{letter-spacing:.14em;color:#a2acbb;padding:0 13px 8px;font-size:9px;font-weight:900}.portal-nav{flex-direction:column;gap:4px;padding:0 0 8px;display:flex}.portal-nav a{color:#526278;border-radius:12px;align-items:center;gap:11px;min-height:44px;padding:9px 12px;font-size:13px;font-weight:700;text-decoration:none;transition:all .18s;display:flex}.portal-nav a:hover{color:var(--ink);background:#f3f7fd;transform:translate(2px)}.portal-nav a.active{background:var(--soft-blue);color:var(--blue);box-shadow:inset 3px 0 0 var(--blue)}.nav-icon{color:#6d7d91;background:#f2f5f9;border-radius:9px;place-items:center;width:28px;height:28px;transition:all .18s;display:grid}.portal-nav a.active .nav-icon{color:var(--blue);background:#fff;box-shadow:0 4px 12px #1865f21f}.nav-svg{width:17px;height:17px}.nav-label{flex:1}.nav-badge{background:var(--coral);color:#fff;border-radius:999px;place-items:center;min-width:22px;height:22px;padding:0 6px;font-size:10px;display:grid}.sidebar-spacer{flex:1}.sidebar-quote{color:#53647b;background:linear-gradient(135deg,#f3f7ff,#f8fbff);border:1px solid #e7eefb;border-radius:15px;gap:9px;margin:10px 5px;padding:13px;display:flex}.sidebar-quote span{color:var(--gold);font-size:16px}.sidebar-quote p{margin:0;font-size:11px;line-height:1.45}.logout-btn{color:#8b98aa;text-align:left;background:0 0;border:0;border-radius:10px;margin:8px 5px 0;padding:11px 12px;font-weight:700}.portal-topbar{-webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px);z-index:20;background:#f6f8fcd1;border-bottom:1px solid #e2e8f0c2;justify-content:space-between;align-items:center;height:76px;padding:0 32px;display:flex;position:sticky;top:0}.topbar-welcome{flex-direction:column;display:flex}.topbar-welcome strong{color:var(--ink);letter-spacing:-.015em;font-size:15px}.topbar-kicker{letter-spacing:.13em;color:#8190a4;text-transform:uppercase;font-size:9px;font-weight:900}.topbar-side{align-items:center;gap:13px;display:flex}.topbar-date{color:#728096;text-transform:capitalize;font-size:12px}.topbar-avatar{width:38px;height:38px;color:var(--ink);background:#fff;border:1px solid #dfe6ef;border-radius:13px;font-size:11px;box-shadow:0 5px 14px #1c37580f}.portal-content{max-width:1500px;padding:30px 34px 70px}.impersonation-banner{z-index:50;color:#fff;background:linear-gradient(90deg,#102b57,#184983);justify-content:space-between;align-items:center;gap:16px;min-height:58px;padding:9px 24px;display:flex;position:sticky;top:0;box-shadow:0 8px 24px #09234c2e}.impersonation-copy{align-items:center;gap:12px;display:flex}.impersonation-copy>div{flex-direction:column;gap:2px;display:flex}.impersonation-copy strong{font-size:12px}.impersonation-copy small{color:#d9e8ff;font-size:11px}.impersonation-eye{background:#ffffff21;border-radius:11px;place-items:center;width:34px;height:34px;display:grid}.impersonation-eye .nav-svg{width:18px}.impersonation-return{color:#123667;background:#fff;border:1px solid #ffffff4d;border-radius:10px;padding:9px 13px;font-size:11px;font-weight:900}.modern-page-head{border-radius:var(--radius-xl);background:linear-gradient(112deg,#fffffffa,#f4f9fff7);border:1px solid #e3eaf4;justify-content:space-between;align-items:center;min-height:148px;margin-bottom:24px;padding:27px 30px;display:flex;position:relative;overflow:hidden;box-shadow:0 10px 28px #203e610b}.page-head-copy{z-index:2;max-width:760px;position:relative}.page-kicker{letter-spacing:.16em;color:var(--blue);font-size:9px;font-weight:900}.modern-page-head h1{letter-spacing:-.045em;color:var(--ink);margin:6px 0 7px;font-size:31px;line-height:1.12}.modern-page-head p{color:#697990;margin:0;font-size:14px}.page-actions{z-index:3;flex-wrap:wrap;justify-content:flex-end;align-items:center;gap:8px;display:flex;position:relative}.page-orb{filter:blur(.2px);opacity:.65;border-radius:50%;position:absolute}.orb-a{background:radial-gradient(circle,#cde0ff,#eaf3ff);width:110px;height:110px;top:-48px;right:92px}.orb-b{background:radial-gradient(circle,#d7f8ec,#effcf8);width:75px;height:75px;bottom:-32px;right:14px}.card{box-shadow:var(--shadow-soft);background:#fffffff5;border:1px solid #e5eaf2;border-radius:20px;padding:21px;transition:box-shadow .2s,transform .2s,border-color .2s}.card:hover{box-shadow:var(--shadow-hover);border-color:#dce5f0}.card-head{margin-bottom:18px}.card-title-wrap h2{color:var(--ink);letter-spacing:-.02em;font-size:16px}.card-actions{align-items:center;gap:8px;display:flex}.stats-grid{gap:14px}.stat{background:#fff;border:1px solid #e5eaf2;border-radius:18px;min-height:118px;padding:18px 19px;transition:all .2s;position:relative;overflow:hidden;box-shadow:0 8px 24px #203e610b}.stat:hover{transform:translateY(-3px);box-shadow:0 14px 30px #203e6117}.stat-spark{background:#edf4ff;border-radius:50%;width:58px;height:58px;position:absolute;top:-16px;right:-14px}.stat:nth-child(2n) .stat-spark{background:#eafaf5}.stat:nth-child(3n) .stat-spark{background:#fff4d7}.stat:nth-child(4n) .stat-spark{background:#f2edff}.stat-value{letter-spacing:-.04em;color:var(--ink);margin:7px 0 9px;font-size:29px;font-weight:900;line-height:1;position:relative}.stat-label{color:#718096;letter-spacing:.01em;font-size:11px;font-weight:800;position:relative}.btn{box-shadow:none;border-radius:11px;padding:9px 14px;transition:all .18s}.btn:hover{transform:translateY(-1px)}.btn.primary{background:linear-gradient(135deg,var(--blue),#315ee8);border-color:#0000;box-shadow:0 8px 18px #1865f22e}.btn.primary:hover{box-shadow:0 11px 24px #1865f245}input,select,textarea{background:#fff;border-color:#dce3ec;border-radius:11px;padding:10px 12px;transition:all .15s}input:hover,select:hover,textarea:hover{border-color:#bcc9d8}label{color:#42526a;font-size:12px}.table-wrap{border:1px solid #e8edf4;border-radius:14px;overflow:auto}table{background:#fff}th{color:#7c8a9e;letter-spacing:.08em;background:#f8fafc;font-size:10px}th,td{border-bottom-color:#edf0f4;padding:12px 11px}tbody tr{transition:all .15s}tbody tr:hover{background:#f7faff}.click-table tbody tr{cursor:pointer}.badge,.role-badge{border-radius:999px;padding:5px 9px;font-size:10px;font-weight:900}.role-admin{color:#174ea6;background:#eaf2ff}.role-teacher{color:#0b7f66;background:#eafaf5}.role-student{color:#8b5d00;background:#fff4d9}.role-secretary{color:#6842b8;background:#f1ecff}.alert{border-radius:13px;align-items:center;gap:9px;display:flex}.alert-icon{background:#fff9;border-radius:8px;place-items:center;width:23px;height:23px;font-weight:900;display:grid}.empty{justify-content:center;align-items:center;gap:8px;min-height:100px;display:flex}.empty-mark{color:#9aa6b7;background:#f1f4f8;border-radius:50%;place-items:center;width:28px;height:28px;font-size:20px;display:grid}.viewas-role-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin-bottom:18px;display:grid}.viewas-role-card{text-align:left;background:#fff;border:1px solid #e4eaf2;border-radius:19px;grid-template-columns:52px 1fr auto;align-items:center;gap:14px;padding:17px;transition:all .18s;display:grid;box-shadow:0 8px 24px #203e610b}.viewas-role-card:hover{box-shadow:var(--shadow-hover);border-color:#bfd2f4;transform:translateY(-2px)}.viewas-role-card.selected{background:#f5f9ff;border-color:#8bb2f8;box-shadow:0 0 0 3px #1865f212}.viewas-role-icon{background:var(--soft-blue);width:50px;height:50px;color:var(--blue);border-radius:15px;place-items:center;font-size:23px;font-weight:900;display:grid}.viewas-role-card:nth-child(2) .viewas-role-icon{color:#9a6500;background:#fff4dc}.viewas-role-card:nth-child(3) .viewas-role-icon{color:#6b46bd;background:#f3eeff}.viewas-role-card strong{color:var(--ink);font-size:15px}.viewas-role-card p{color:#748197;margin:4px 0 0;font-size:11px;line-height:1.4}.viewas-role-card>b{color:#63748a;background:#f2f5f9;border-radius:10px;place-items:center;width:30px;height:30px;font-size:11px;display:grid}.viewas-search{background:#fff;border:1px solid #dce3ec;border-radius:11px;align-items:center;gap:7px;min-width:280px;padding:0 9px;display:flex}.viewas-search input{border:0;padding:8px 4px;box-shadow:none!important}.viewas-note{background:#f6f9ff;border:1px solid #dce8fa;border-radius:13px;align-items:flex-start;gap:11px;margin-bottom:16px;padding:12px 14px;display:flex}.viewas-note>span{background:var(--blue);color:#fff;border-radius:50%;place-items:center;width:25px;height:25px;font-size:11px;font-weight:900;display:grid}.viewas-note div{flex-direction:column;gap:2px;display:flex}.viewas-note strong{color:#294564;font-size:11px}.viewas-note small{color:#6e7f95;font-size:10px}.viewas-user-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:11px;display:grid}.viewas-user-card{text-align:left;background:#fff;border:1px solid #e5eaf2;border-radius:15px;grid-template-columns:45px 1fr auto;align-items:center;gap:10px;padding:12px;transition:all .17s;display:grid}.viewas-user-card:hover:not(:disabled){background:#f9fbff;border-color:#a7c4f6;transform:translateY(-1px)}.viewas-user-card:disabled{opacity:.52;cursor:not-allowed}.viewas-avatar{width:43px;height:43px;color:var(--blue);background:linear-gradient(135deg,#e7f0ff,#f4f8ff);border-radius:13px;font-size:12px}.viewas-user-copy{flex-direction:column;gap:2px;min-width:0;display:flex}.viewas-user-copy strong{color:#253a59;font-size:12px}.viewas-user-copy small{color:#8190a4;text-overflow:ellipsis;white-space:nowrap;font-size:10px;overflow:hidden}.viewas-status{align-self:flex-start;font-size:9px;font-weight:900}.viewas-status.active{color:#0f8b6d}.viewas-status.inactive{color:#c2445b}.viewas-enter{color:var(--blue);font-size:10px;font-weight:900}.viewas-inline{color:#205db8;background:#eef5ff;border-color:#cfe0fb}.modern-login{background:#fff;grid-template-columns:minmax(480px,1.08fr) minmax(430px,.92fr);min-height:100vh;display:grid}.login-story{color:#fff;background:linear-gradient(145deg,#0d2854,#123d76 60%,#16538f);flex-direction:column;justify-content:space-between;padding:38px 52px 55px;display:flex;position:relative;overflow:hidden}.login-story-brand{z-index:3;align-items:center;gap:10px;display:flex;position:relative}.login-story-brand strong{font-size:21px}.login-leaf{background:#ffffff1f;border-radius:13px;width:40px;height:40px;display:inline-block;position:relative}.login-leaf i{background:#fff;border-radius:999px;width:7px;position:absolute;bottom:9px}.login-leaf i:first-child{height:21px;left:16px}.login-leaf i:nth-child(2){background:#7ee2bf;height:17px;left:9px;transform:rotate(-43deg)}.login-leaf i:nth-child(3){background:#9cbcff;height:17px;left:23px;transform:rotate(43deg)}.login-story-copy{z-index:3;max-width:650px;position:relative}.login-eyebrow{letter-spacing:.17em;color:#a9c6f0;font-size:10px;font-weight:900}.login-story h1{letter-spacing:-.055em;max-width:620px;margin:12px 0 18px;font-size:48px;line-height:1.03}.login-story-copy>p{color:#ccdcf1;max-width:570px;font-size:16px}.login-feature-grid{grid-template-columns:1fr 1fr;gap:10px;max-width:560px;margin-top:30px;display:grid}.login-feature-grid div{background:#ffffff12;border:1px solid #ffffff1f;border-radius:13px;align-items:center;gap:10px;padding:11px 13px;display:flex}.login-feature-grid b{color:#8ee3c5;font-size:10px}.login-feature-grid span{font-size:11px;font-weight:800}.login-decor{border:1px solid #ffffff1a;border-radius:50%;position:absolute}.decor-one{width:360px;height:360px;top:80px;right:-120px}.decor-two{background:#2dbb911f;width:220px;height:220px;bottom:-90px;right:60px}.decor-three{background:#ffbf461c;width:90px;height:90px;top:18%;left:40%}.login-panel{background:radial-gradient(circle at 75% 10%,#f0f6ff,#0000 28rem),#fbfcfe;place-items:center;padding:38px;display:grid}.login-form-kicker{color:var(--blue);letter-spacing:.13em;text-transform:uppercase;font-size:10px;font-weight:900}.login-card h2{letter-spacing:-.04em;color:var(--ink);margin:7px 0 6px;font-size:27px}.login-card>p{margin:0 0 22px}.login-card label{margin-top:13px}.login-submit{padding:12px 15px;margin-top:20px!important}.login-security{text-align:center;color:#8190a4;margin-top:15px;font-size:10px}.login-security span{color:#0e9a75}.mobile-login-brand{display:none}@media (width<=1180px){.viewas-user-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.viewas-role-grid{grid-template-columns:1fr}}@media (width<=980px){.portal-sidebar{width:230px}.portal-main{margin-left:230px}.portal-content{padding:24px 22px 60px}.modern-login{grid-template-columns:1fr}.login-story{display:none}.mobile-login-brand{align-items:center;gap:10px;margin-bottom:22px;display:flex}.mobile-login-brand .login-leaf{background:#edf4ff}.mobile-login-brand .login-leaf i:first-child{background:var(--blue)}}@media (width<=760px){.portal-sidebar{width:100%;height:auto;min-height:0;padding-bottom:8px;position:static}.portal-main{margin-left:0}.portal-shell{display:block}.portal-nav{grid-template-columns:repeat(2,1fr);display:grid}.sidebar-quote,.workspace-card{display:none}.portal-brand{padding:13px 10px}.portal-topbar{height:62px;padding:0 15px}.portal-content{padding:17px 12px 50px}.modern-page-head{flex-direction:column;align-items:flex-start;gap:13px;min-height:125px;padding:22px 20px}.modern-page-head h1{font-size:26px}.page-actions{justify-content:flex-start;width:100%}.viewas-user-grid{grid-template-columns:1fr}.viewas-search{width:100%;min-width:0}.impersonation-banner{flex-direction:column;align-items:flex-start;position:relative}.impersonation-return{width:100%}.topbar-date{display:none}}.attendance-sheet-backdrop{-webkit-backdrop-filter:blur(1px);backdrop-filter:blur(1px);background:#08183047}.attendance-sheet{background:#fff;border-left:1px solid #dfe5ee;flex-direction:column;width:50vw;height:100vh;animation:.2s ease-out attendanceSheetIn;display:flex;box-shadow:-16px 0 38px #0f233e29}@keyframes attendanceSheetIn{0%{transform:translate(100%)}to{transform:translate(0)}}.attendance-sheet-head{border-bottom:1px solid #e5eaf1;justify-content:space-between;align-items:flex-start;gap:15px;min-height:88px;padding:18px 20px 15px;display:flex}.attendance-sheet-head small,.attendance-editor-title small{letter-spacing:.14em;color:#7d8ba0;font-size:9px;font-weight:900}.attendance-sheet-head h2{color:#0b214a;letter-spacing:-.025em;margin:3px 0 4px;font-size:20px}.attendance-sheet-head p{color:#718096;margin:0;font-size:11px}.attendance-legend{color:#5d6c80;background:#fafbfd;border-bottom:1px solid #edf0f4;flex-wrap:wrap;align-items:center;gap:15px;padding:10px 20px;font-size:10px;font-weight:800;display:flex}.attendance-legend span{align-items:center;gap:5px;display:flex}.attendance-legend i{border-radius:1px;width:11px;height:7px;display:inline-block}.legend-green{background:#20a779}.legend-red{background:#dc5568}.legend-yellow{background:#e8b53e}.attendance-legend small{color:#8b97a7;margin-left:auto;font-weight:600}.attendance-sheet-columns{color:#7a8799;text-transform:uppercase;letter-spacing:.08em;background:#f5f7fa;border-bottom:1px solid #e7ebf1;grid-template-columns:42px minmax(160px,1.1fr) minmax(230px,1.6fr) 74px;gap:10px;padding:8px 16px;font-size:9px;font-weight:900;display:grid}.attendance-sheet-list{flex:1;min-height:0;overflow:auto}.attendance-sheet-row{cursor:pointer;background:#fff;border-bottom:1px solid #edf0f4;grid-template-columns:42px minmax(160px,1.1fr) minmax(230px,1.6fr) 74px;align-items:center;gap:10px;min-height:68px;padding:9px 16px;transition:background .12s,border-color .12s;display:grid}.attendance-sheet-row:hover{background:#f8faff}.attendance-sheet-row.selected{background:#f1f6ff;border-left:2px solid #1865f2}.attendance-order{color:#8a97a8;text-align:center;font-size:12px;font-weight:900}.attendance-student-name{flex-direction:column;gap:4px;min-width:0;display:flex}.attendance-student-name strong{color:#213653;white-space:nowrap;text-overflow:ellipsis;font-size:12px;overflow:hidden}.attendance-student-name small{color:#8390a2;white-space:nowrap;text-overflow:ellipsis;font-size:9px;overflow:hidden}.attendance-progress-wrap{flex-direction:column;gap:5px;display:flex}.attendance-progress{background:#edf1f5;border:1px solid #e1e6ec;border-radius:1px;width:100%;height:11px;display:flex;overflow:hidden}.attendance-progress span{height:100%;display:block}.attendance-progress-present{background:#20a779}.attendance-progress-absent{background:#dc5568}.attendance-progress-late{background:#e8b53e}.attendance-progress-labels{gap:11px;font-size:9px;font-weight:900;display:flex}.green-text{color:#158565}.red-text{color:#c23e54}.yellow-text{color:#a87608}.attendance-state-button{background:#fff;border:1px solid;border-radius:2px;justify-content:center;justify-self:end;align-items:center;gap:3px;width:54px;height:42px;font-size:20px;font-weight:900;transition:all .12s;display:flex}.attendance-state-button:hover{transform:translateY(-1px)}.attendance-state-button.is-present{color:#168a67;background:#f1fbf7;border-color:#9bd8c4}.attendance-state-button.is-absent{color:#c3374d;background:#fff5f6;border-color:#efb0ba}.attendance-state-button.is-late{color:#9a6b00;background:#fff9e8;border-color:#e9c66b}.attendance-state-button small{font-size:8px}.attendance-sheet-editor{background:#fafbfd;border-top:1px solid #dfe5ed;padding:13px 17px 15px;box-shadow:0 -8px 18px #1a2d4a0d}.attendance-editor-title{justify-content:space-between;align-items:center;margin-bottom:9px;display:flex}.attendance-editor-title>div{flex-direction:column;display:flex}.attendance-editor-title strong{color:#20344f;font-size:13px}.attendance-editor-status{border:1px solid;margin-bottom:9px;padding:5px 8px;font-size:10px;display:inline-flex}.attendance-editor-status.is-present{color:#117b5d;background:#f0faf6;border-color:#a9dac9}.attendance-editor-status.is-absent{color:#b9364a;background:#fff5f6;border-color:#efb6be}.attendance-editor-fields{grid-template-columns:180px 1fr auto;align-items:end;gap:10px;display:grid}.attendance-editor-fields label{margin:0}.attendance-editor-fields textarea{min-height:58px;max-height:90px}.attendance-save{white-space:nowrap;height:39px}:root{--radius-xl:2px}.card,.stat,.btn,input,select,textarea,.modern-page-head,.portal-nav a,.nav-icon,.brand-mark,.workspace-card,.workspace-avatar,.topbar-avatar,.viewas-avatar,.sidebar-quote,.nav-badge,.badge,.role-badge,.alert,.alert-icon,.empty-mark,.viewas-role-card,.viewas-role-icon,.viewas-search,.viewas-note,.viewas-note>span,.viewas-user-card,.login-leaf,.login-feature-grid div,.login-card,.attendance-help,.attendance-student,.attendance-toggle,.attendance-status-card,.material-row,.deadline-card,.chart-empty,.hbar-track,.hbar-fill,.distribution-bar,.subject-tile,.course-card,.course-subnav,.schedule-slot,.notification-row,.month-board,.month-day,.month-event,.calendar-row,.event-detail-hero,.event-detail-type,.calendar-context-preview,.side-sheet,.attendance-sheet,.attendance-sheet-row,.attendance-state-button,.attendance-editor-status{border-radius:2px!important}.stat-spark,.status-dot{border-radius:50%!important}@media (width<=1180px){.attendance-sheet{width:64vw}.attendance-sheet-columns,.attendance-sheet-row{grid-template-columns:36px minmax(140px,1fr) minmax(190px,1.4fr) 64px}}@media (width<=760px){.attendance-sheet{width:100vw}.attendance-sheet-columns{display:none}.attendance-sheet-row{grid-template-columns:32px 1fr 58px;gap:8px}.attendance-progress-wrap{grid-column:2/4}.attendance-legend small{width:100%;margin-left:0}.attendance-editor-fields{grid-template-columns:1fr}.attendance-save{width:100%}}.grade-sheet-backdrop{-webkit-backdrop-filter:blur(1px);backdrop-filter:blur(1px);background:#08183047}.grade-sheet{background:#fff;border-left:1px solid #dfe5ee;flex-direction:column;width:50vw;height:100vh;animation:.2s ease-out attendanceSheetIn;display:flex;box-shadow:-16px 0 38px #0f233e29}.grade-sheet-head{border-bottom:1px solid #e5eaf1;justify-content:space-between;align-items:flex-start;gap:15px;min-height:88px;padding:18px 20px 15px;display:flex}.grade-sheet-head small,.grade-editor-title small{letter-spacing:.14em;color:#7d8ba0;font-size:9px;font-weight:900}.grade-sheet-head h2{color:#0b214a;letter-spacing:-.025em;margin:3px 0 4px;font-size:20px}.grade-sheet-head p{color:#718096;margin:0;font-size:11px}.grade-summary-strip{background:#fafbfd;border-bottom:1px solid #e7ebf1;grid-template-columns:repeat(5,1fr);display:grid}.grade-summary-strip>div{border-right:1px solid #e9edf2;flex-direction:column;gap:2px;padding:10px 13px;display:flex}.grade-summary-strip>div:last-child{border-right:0}.grade-summary-strip small{text-transform:uppercase;letter-spacing:.08em;color:#8793a4;font-size:8px;font-weight:900}.grade-summary-strip strong{color:#193454;font-size:13px}.grade-sheet-columns{color:#7a8799;text-transform:uppercase;letter-spacing:.08em;background:#f5f7fa;border-bottom:1px solid #e7ebf1;grid-template-columns:42px minmax(150px,1.15fr) minmax(170px,1.15fr) minmax(155px,1fr) 58px;gap:10px;padding:8px 16px;font-size:9px;font-weight:900;display:grid}.grade-sheet-list{flex:1;min-height:0;overflow:auto}.grade-sheet-row{cursor:pointer;background:#fff;border-bottom:1px solid #edf0f4;grid-template-columns:42px minmax(150px,1.15fr) minmax(170px,1.15fr) minmax(155px,1fr) 58px;align-items:center;gap:10px;min-height:70px;padding:9px 16px;transition:background .12s,border-color .12s;display:grid}.grade-sheet-row:hover{background:#f8faff}.grade-sheet-row.selected{background:#f1f6ff;border-left:2px solid #1865f2}.grade-order{color:#8a97a8;text-align:center;font-size:12px;font-weight:900}.grade-student-name{flex-direction:column;gap:4px;min-width:0;display:flex}.grade-student-name strong{color:#213653;white-space:nowrap;text-overflow:ellipsis;font-size:12px;overflow:hidden}.grade-student-name small,.grade-progress-wrap small,.grade-current-result small{color:#8390a2;font-size:9px}.grade-progress-wrap,.grade-current-result{flex-direction:column;gap:5px;display:flex}.grade-progress{background:#edf1f5;border:1px solid #e1e6ec;border-radius:1px;width:100%;height:10px;overflow:hidden}.grade-progress span{background:#2a7de1;height:100%;display:block}.grade-progress.current span{background:#20a779}.grade-value-button{border:1px solid;justify-self:end;width:42px;height:38px;font-size:15px;font-weight:900;border-radius:2px!important}.grade-value-button.is-pass{color:#13785d;background:#eefaf6;border-color:#a9dbc9}.grade-value-button.is-fail{color:#b93449;background:#fff3f4;border-color:#efb8c0}.grade-value-button.is-empty{color:#1f62be;background:#eef4ff;border-color:#bfd3f5}.grade-sheet-editor{background:#fafbfd;border-top:1px solid #dfe5ed;padding:13px 17px 15px;box-shadow:0 -8px 18px #1a2d4a0d}.grade-editor-title{justify-content:space-between;align-items:center;margin-bottom:10px;display:flex}.grade-editor-title>div{flex-direction:column;display:flex}.grade-editor-title strong{color:#20344f;font-size:13px}.grade-editor-fields{grid-template-columns:180px 160px 1fr;align-items:end;gap:10px;display:grid}.points-input-wrap{background:#fff;border:1px solid #dce3ec;align-items:center;display:flex}.points-input-wrap input{box-shadow:none!important;border:0!important}.points-input-wrap span{color:#7d8a9c;white-space:nowrap;padding:0 9px;font-size:11px}.grade-save{white-space:nowrap;align-self:end;height:39px}button{appearance:none;color:#205b9f;min-height:34px;box-shadow:none;background:#edf4ff;border:1px solid #c9d8ea;padding:7px 12px;font-size:11px;font-weight:800;line-height:1.15;transition:background .14s,border-color .14s,color .14s,transform .14s,box-shadow .14s;border-radius:2px!important}button:hover:not(:disabled){color:#124f96;background:#e2eeff;border-color:#9fbee9;transform:translateY(-1px)}button:active:not(:disabled){background:#d9e8fc;transform:translateY(0)}button:focus-visible{outline-offset:2px;outline:2px solid #75a7ee}button:disabled{opacity:.5;cursor:not-allowed;transform:none!important}.btn,.mini,.sort-head,.sheet-close,.logout-btn,.impersonation-return{border-radius:2px!important}.btn{color:#205b9f;background:#edf4ff;border-color:#c9d8ea}.btn.secondary,.mini.secondary{color:#48576b;background:#f2f4f7;border-color:#d5dbe4}.btn.primary{color:#fff;box-shadow:none;background:#1865f2;border-color:#1865f2}.btn.primary:hover:not(:disabled){color:#fff;background:#0f58d9;border-color:#0f58d9}.btn.success{color:#fff;background:#16855f;border-color:#16855f}.btn.success:hover:not(:disabled){color:#fff;background:#106d4e;border-color:#106d4e}.btn.warning{color:#5a3b00;background:#f5b942;border-color:#e1a72f}.btn.warning:hover:not(:disabled){color:#493000;background:#e9aa31;border-color:#d29824}.btn.danger{color:#fff;background:#d9485f;border-color:#d9485f}.btn.danger:hover:not(:disabled){color:#fff;background:#c63850;border-color:#c63850}.mini{color:#205b9f;background:#edf4ff;border-color:#c9d8ea;min-height:28px;padding:5px 9px;font-size:10px}.sort-head{color:#5b6b80;background:#eef3f8;border-color:#dce4ed;min-height:0;padding:4px 5px}.tabs button{color:#53667d;background:#eef3f8;border-color:#d7e0ea}.tabs button:hover{color:#244d7c;background:#e6eef8}.tabs button.active{color:#fff!important;background:#183f72!important;border-color:#183f72!important}.sheet-close{color:#526176;background:#f2f4f7;border-color:#d9dfe7;width:34px;height:34px;min-height:34px;padding:0;font-size:22px}.sheet-close:hover{color:#213653;background:#e8edf3}.list-row{color:#29405f;background:#fff;border-color:#dfe6ef}.list-row:hover,.list-row.selected{color:#173f72;background:#f3f7fc;border-color:#8eb3e6}.notification-row{color:#243a58;background:#fff}.notification-row:hover{background:#f5f8fc}.calendar-row-button{color:#243a58;background:#fff}.calendar-row-button:hover{background:#f5f8fc}.deadline-card{color:#243a58;background:#fff}.deadline-card:hover{background:#f4f8fd}.logout-btn{color:#596a7f;background:#f5f7fa;border-color:#e1e6ed}.logout-btn:hover{color:#b4364c;background:#fff0f2;border-color:#f1c7ce}.impersonation-return{color:#123667;background:#fff;border-color:#fff}.impersonation-return:hover{color:#0f4e9b;background:#eaf2ff;border-color:#d4e3f9}.attendance-state-button,.grade-value-button{padding:0}.month-event{border:0;min-height:0;padding:3px 5px}.calendar-row-button,.notification-row,.list-row,.deadline-card{min-height:unset}.sort-head{align-items:center;gap:3px;display:inline-flex}@media (width<=1180px){.grade-sheet{width:64vw}.grade-sheet-columns,.grade-sheet-row{grid-template-columns:36px minmax(135px,1fr) minmax(145px,1fr) minmax(130px,.9fr) 50px}}@media (width<=760px){.grade-sheet{width:100vw}.grade-summary-strip{grid-template-columns:repeat(2,1fr)}.grade-sheet-columns{display:none}.grade-sheet-row{grid-template-columns:32px 1fr 46px;gap:8px}.grade-progress-wrap,.grade-current-result{grid-column:2/4}.grade-editor-fields{grid-template-columns:1fr}.grade-save{width:100%}}.dashboard-stat-link{color:inherit;min-width:0;text-decoration:none;display:block}.dashboard-stat-link .stat{cursor:pointer;outline:1px solid #0000;height:100%}.dashboard-stat-link:hover .stat{background:#f4f8fe;outline-color:#8caee4;transform:translateY(-2px)}.course-filters{flex-wrap:wrap;justify-content:space-between;align-items:end;gap:18px;display:flex}.course-filters label{min-width:180px;max-width:300px}.course-program-buttons{flex-wrap:wrap;align-items:center;gap:7px;display:flex}.study-progress{grid-template-columns:185px 1fr 55px auto;align-items:center;gap:10px;padding:14px 0 2px;display:grid}.study-progress>div:first-child{flex-direction:column;gap:4px;display:flex}.study-progress small{color:#718096;font-size:11px}.study-progress-track{background:#e6ecf5;border:1px solid #d8e2ef;height:14px;overflow:hidden}.study-progress-track span{background:#168b71;height:100%;display:block}.study-progress strong{color:#0e6d58;font-weight:900}.group-select-row{text-align:left;background:#fff;border:1px solid #e1e8f0;justify-content:space-between;align-items:center;gap:12px;width:100%;margin:0 0 8px;padding:12px;display:flex}.group-select-row.selected{color:#1a518c;background:#eef5ff;border-color:#719de0}.group-select-row div{flex-direction:column;gap:5px;display:flex}.group-select-row strong{font-size:13px}.group-select-row small{color:#788598}.group-select-row span{white-space:nowrap;font-size:11px}.syllabus-item{background:#f6f9fd;border-left:2px solid #1b77bd;margin:5px 0;padding:10px 12px;font-size:12px}.legacy-group-row{border-bottom:1px solid #e5eaf0;grid-template-columns:1fr 220px auto;align-items:center;gap:10px;padding:8px 0;display:grid}.group-metadata{flex-wrap:wrap;align-items:end;gap:25px;margin-bottom:12px;display:flex}.group-metadata label{min-width:225px}.new-student-form{background:#f1f6ff;border:1px solid #d9e5f5;margin-bottom:17px;padding:15px}.group-teachers-grid{flex-direction:column;gap:7px;display:flex}.group-teacher-row{background:#fbfcfe;border:1px solid #e5eaf0;grid-template-columns:minmax(180px,1fr) minmax(165px,240px) auto;align-items:center;gap:10px;padding:10px;display:grid}.group-teacher-row div{flex-direction:column;gap:4px;display:flex}.group-teacher-row small{color:#8290a1}.absence-red{color:#c13548;font-weight:900}.student-detail-sheet{background:#fff;flex-direction:column;width:50vw;height:100vh;animation:.2s ease-out attendanceSheetIn;display:flex;overflow:hidden;box-shadow:-16px 0 38px #0f233e33}.student-detail-sheet .sheet-head{padding:18px 22px}.student-detail-sheet .sheet-head p{color:#7e8a99;margin:4px 0 0;font-size:11px}.student-sheet-body{flex:1;padding:18px 20px;overflow:auto}.student-sheet-stats{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin-bottom:12px;display:grid}.student-sheet-stats .stat{min-height:80px;padding:10px}.student-sheet-stats .stat-value{font-size:21px}.student-sheet-stats .stat-label{font-size:9px}.student-group-info{border-bottom:1px solid #e5eaf0;flex-direction:column;gap:4px;padding:8px 0;display:flex}.student-group-info small{color:#79889b;font-size:11px}.attendance-justified{color:#b33c50;flex-direction:row;align-items:center;gap:8px;font-size:11px;display:flex}.attendance-justified input{accent-color:#1966c5;width:16px;height:16px}.attendance-editor-total{color:#8f3346;background:#fff5f6;border-left:2px solid #df5265;grid-column:1/-1;padding:7px 10px;font-size:10px}.attendance-state-button.is-unmarked{color:#8996a5;background:#f1f3f6;border-color:#cdd5e0}@media (width<=1180px){.student-detail-sheet{width:65vw}.study-progress{grid-template-columns:140px 1fr 45px}.study-progress>small{grid-column:1/-1}}@media (width<=760px){.student-detail-sheet{width:100vw}.study-progress{grid-template-columns:1fr 80px}.study-progress-track{grid-area:2/1/auto/-1}.legacy-group-row,.group-teacher-row{grid-template-columns:1fr}.student-sheet-stats{grid-template-columns:repeat(2,minmax(0,1fr))}.group-metadata{display:block}}.group-select-row,.syllabus-item,.new-student-form,.group-teacher-row,.study-progress-track,.student-detail-sheet{border-radius:2px!important}.attendance-class-totals{color:#334e6c;background:#f5f8fc;border-top:1px solid #e8edf3;flex-wrap:wrap;align-items:center;gap:12px;padding:10px 17px;font-size:10px;display:flex}.attendance-class-totals b{color:#163961;font-size:11px}.attendance-class-totals span{border-left:1px solid #cad8ea;padding-left:9px}.attendance-class-totals strong{color:#bc3b52}@media (width<=760px){.attendance-class-totals{gap:7px}.attendance-class-totals span{border-left:0;width:100%;padding-left:0}}.course-period-form{border-top:1px solid #e8edf4;flex-wrap:wrap;align-items:end;gap:10px;margin-top:14px;padding-top:13px;display:flex}.course-period-form label{min-width:170px;max-width:225px}.course-period-form button{min-height:41px}.server-status{color:#68788d;background:#f7f9fc;border:1px solid #dfe5ed;align-items:center;gap:7px;margin:12px 0 2px;padding:8px 10px;font-size:10px;display:flex}.server-status span{background:#a7b0bc;width:7px;height:7px;border-radius:50%!important}.server-status.ok{color:#16755a;background:#f1faf6;border-color:#b9dfd0}.server-status.ok span{background:#1c9c74}.server-status.down{color:#b43b4f;background:#fff4f5;border-color:#efc2c9}.server-status.down span{background:#d9485f}.setup-guide{background:#fff;border:1px solid #dfe6ef;grid-template-columns:1fr auto 1fr auto 1fr auto 1fr;align-items:center;gap:10px;margin:0 0 20px;padding:14px;display:grid}.setup-guide>div{align-items:center;gap:9px;display:flex}.setup-guide b{color:#fff;background:#123f73;place-items:center;width:28px;height:28px;display:grid}.setup-guide span{color:#344b68;font-size:11px;font-weight:800}.setup-guide i{color:#9aa7b7;font-style:normal}.program-grid{grid-template-columns:repeat(3,1fr);gap:14px;display:grid}.program-card{background:#fff;border:1px solid #dfe6ef;flex-direction:column;gap:8px;min-height:210px;padding:20px;text-decoration:none;transition:all .15s;display:flex}.program-card:hover{border-color:#7da6d8;transform:translateY(-2px);box-shadow:0 12px 30px #19365814}.program-card>span{letter-spacing:.12em;color:#1b66bc;font-size:11px;font-weight:900}.program-card h2{color:#173452;margin:4px 0;font-size:18px;line-height:1.25}.program-card p{color:#728197;font-size:12px}.program-card div{color:#718096;margin-top:auto;font-size:11px}.program-card>strong{color:#185ca5;font-size:11px}.course-flow-context{background:#fff;border:1px solid #dfe6ef;justify-content:space-between;align-items:end;gap:16px;padding:13px 16px;display:flex}.course-flow-context>div{flex-direction:column;display:flex}.course-flow-context span{letter-spacing:.12em;color:#8491a3;font-size:9px;font-weight:900}.course-flow-context strong{color:#183957;font-size:14px}.course-flow-context label{width:210px}.course-flow-steps{background:#f8fafc;border:1px solid #dfe6ef;border-top:0;grid-template-columns:repeat(4,1fr);margin-bottom:18px;display:grid}.course-flow-steps a{color:#65758b;border-right:1px solid #e3e8ef;align-items:center;gap:8px;padding:11px 13px;font-size:11px;font-weight:800;text-decoration:none;display:flex}.course-flow-steps a:last-child{border-right:0}.course-flow-steps a b{color:#63748a;background:#e8edf3;place-items:center;width:24px;height:24px;display:grid}.course-flow-steps a.active{color:#145aab;background:#edf4ff}.course-flow-steps a.active b{color:#fff;background:#1767bd}.course-action-sheet{background:#fff;border-left:1px solid #dfe6ef;flex-direction:column;width:50vw;height:100vh;animation:.18s ease-out attendanceSheetIn;display:flex;box-shadow:-16px 0 38px #0f233e26}.course-action-body{padding:20px;overflow:auto}.course-action-sheet .sheet-head p{color:#728197;margin:4px 0 0;font-size:11px}.period-overview{grid-template-columns:1.1fr 2fr auto auto;align-items:center;gap:13px;display:grid}.period-overview>div{flex-direction:column;display:flex}.period-overview small{color:#7c899a;font-size:10px}.flow-group-list,.subject-flow-list,.teacher-assignment-list{flex-direction:column;gap:8px;display:flex}.flow-group-card{background:#fff;border:1px solid #e2e7ee;grid-template-columns:1.5fr .55fr .7fr;align-items:center;gap:12px;padding:12px;display:grid}.flow-group-card>div{flex-direction:column;display:flex}.flow-group-card small{color:#7a8798;font-size:10px}.flow-next{color:#66778b;border-top:1px solid #e5eaf0;justify-content:space-between;align-items:center;gap:12px;margin-top:16px;padding-top:14px;font-size:11px;display:flex}.subject-flow-row{border:1px solid #e2e7ee;grid-template-columns:34px 1fr;align-items:center;gap:9px;padding:11px;display:grid}.subject-flow-row>span{color:#53657a;background:#eef3f8;place-items:center;width:28px;height:28px;font-weight:900;display:grid}.subject-flow-row div{flex-direction:column;display:flex}.subject-flow-row small{color:#7d8999;font-size:10px}.sheet-mode-tabs{gap:8px;margin-bottom:18px;display:flex}.single-group-note,.teacher-fixed-context{background:#f4f8fd;border:1px solid #cfe0f5;align-items:center;gap:10px;margin-bottom:16px;padding:12px 15px;display:flex}.single-group-note span,.teacher-fixed-context span{letter-spacing:.1em;color:#7b899b;font-size:9px;font-weight:900}.single-group-note strong,.teacher-fixed-context strong{color:#173d67;font-size:13px}.single-group-note small,.teacher-fixed-context small{color:#728197;margin-left:auto;font-size:10px}.group-choice-buttons{flex-wrap:wrap;gap:8px;display:flex}.teacher-assignment-row{border-bottom:1px solid #edf0f4;grid-template-columns:1.4fr 1fr 90px;align-items:center;gap:10px;padding:10px 0;display:grid}.teacher-assignment-row>div{flex-direction:column;display:flex}.teacher-assignment-row small{color:#7b899b;font-size:10px}.cadet-period-line{background:#f7f9fc;border:1px solid #e2e7ee;align-items:center;gap:10px;margin-bottom:12px;padding:9px 11px;font-size:10px;display:flex}.cadet-period-line small{color:#728197}.teacher-course-choice{grid-template-columns:repeat(3,1fr);gap:10px;display:grid}.teacher-choice-card{text-align:left;color:#2b4564;background:#fff;border:1px solid #dfe6ef;flex-direction:column;align-items:flex-start;gap:5px;padding:14px;display:flex}.teacher-choice-card b{color:#1a63b2;font-size:13px}.teacher-choice-card span{font-size:11px;font-weight:800}.teacher-choice-card small{color:#7a8798;font-size:9px}.teacher-choice-card.selected{background:#eef5ff;border-color:#75a7e5}.teacher-subject-grid{grid-template-columns:repeat(3,1fr);gap:10px;display:grid}.teacher-subject-card{background:#fff;border:1px solid #dfe6ef;flex-direction:column;gap:5px;padding:14px;text-decoration:none;display:flex}.teacher-subject-card>span{color:#1a65b8;font-size:10px;font-weight:900}.teacher-subject-card h3{color:#1c3859;margin:0;font-size:14px}.teacher-subject-card p,.teacher-subject-card small{color:#738096;margin:0;font-size:10px}.teacher-subject-card b{color:#185ca5;margin-top:8px;font-size:10px}.cadet-quick-list{grid-template-columns:repeat(2,1fr);gap:6px;display:grid}.cadet-quick-row{border:1px solid #e4e9ef;grid-template-columns:28px 1fr auto;align-items:center;gap:8px;padding:8px;display:grid}.cadet-quick-row span{color:#8b97a7;font-size:10px}.cadet-quick-row strong{font-size:11px}.cadet-quick-row small{color:#7b899b;font-size:9px}@media (width<=1000px){.program-grid,.teacher-course-choice,.teacher-subject-grid,.setup-guide{grid-template-columns:1fr}.setup-guide i{display:none}.course-flow-steps{grid-template-columns:1fr 1fr}.course-action-sheet{width:70vw}.period-overview,.teacher-assignment-row{grid-template-columns:1fr}.single-group-note,.teacher-fixed-context{flex-direction:column;align-items:flex-start}.single-group-note small,.teacher-fixed-context small{margin-left:0}}@media (width<=700px){.course-action-sheet{width:100vw}.course-flow-context{flex-direction:column;align-items:stretch}.course-flow-context label{width:100%}.course-flow-steps,.cadet-quick-list{grid-template-columns:1fr}}.program-card-shell{color:inherit;flex-direction:column;gap:8px;text-decoration:none;display:flex}.program-card-shell>small{color:#64748b;font-weight:700}.program-card-actions{flex-wrap:wrap;gap:8px;margin-top:auto;display:flex}.setting-toggle-row{grid-template-columns:1fr auto;align-items:center;gap:20px;margin-bottom:18px;display:grid}.setting-toggle-row p{color:#667085;max-width:720px;margin:6px 0 0;font-size:12px}.switch-line{background:#f7f9fc;border:1px solid #d7e0ea;align-items:center;gap:9px;padding:9px 12px;font-weight:900;display:flex;border-radius:2px!important}.switch-line input{width:18px;height:18px}.subject-flow-link{color:inherit;align-items:center;text-decoration:none;grid-template-columns:40px 1fr auto!important}.subject-flow-link:hover{background:#f4f8fd;border-color:#a9c5e9}.subject-flow-link>b{color:#1b5fad;white-space:nowrap;font-size:11px}.dashboard-subject-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;display:grid}.dashboard-subject-card{color:#223955;background:#fff;border:1px solid #dde5ef;flex-direction:column;gap:5px;padding:13px;text-decoration:none;display:flex;border-radius:2px!important}.dashboard-subject-card:hover{background:#f4f8fd;border-color:#9fbee5;transform:translateY(-1px)}.dashboard-subject-card>span{letter-spacing:.12em;color:#5e7592;font-size:9px;font-weight:900}.dashboard-subject-card h3{margin:0;font-size:13px}.dashboard-subject-card p,.dashboard-subject-card small{color:#718096;margin:0;font-size:10px}.dashboard-subject-card b{color:#1760ad;margin-top:7px;font-size:10px}.subject-teacher-list{flex-direction:column;gap:8px;display:flex}.subject-teacher-list>div{border:1px solid #e1e7ef;flex-direction:column;gap:3px;padding:10px;display:flex;border-radius:2px!important}.subject-teacher-list small{color:#758397}.topic-list{flex-direction:column;gap:12px;display:flex}.topic-card{background:#fff;border:1px solid #dfe6ef;padding:14px;border-radius:2px!important}.topic-card-head{justify-content:space-between;align-items:flex-start;gap:16px;display:flex}.topic-card-head>div{min-width:0}.topic-card-head span{letter-spacing:.14em;color:#7d8a9c;font-size:8px;font-weight:900}.topic-card-head h3{color:#203753;margin:4px 0 5px;font-size:14px}.topic-card-head p{color:#5f6f82;margin:0 0 5px;font-size:11px}.topic-card-head small{color:#8a96a6;font-size:9px}.topic-material-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin-top:12px;display:grid}.topic-material-card{text-align:left;color:#253b58;background:#f8fafc;border:1px solid #dfe6ef;flex-direction:column;align-items:flex-start;gap:4px;min-height:76px;padding:10px;display:flex;border-radius:2px!important}.topic-material-card:hover{background:#eef5ff;border-color:#9ebee8}.topic-material-card strong{font-size:11px}.topic-material-card small{color:#758398;text-overflow:ellipsis;white-space:nowrap;max-width:100%;font-size:9px;overflow:hidden}.topic-material-card span{color:#1d61ac;margin-top:auto;font-size:9px;font-weight:900}.teacher-assignment-row.multi{grid-template-columns:minmax(220px,1fr) auto auto}.teacher-count-badge{color:#355c88;background:#eef4fb;border:1px solid #d7e4f3;padding:5px 7px;font-size:9px;font-weight:900;border-radius:2px!important}.teacher-checkbox-list{flex-direction:column;gap:7px;margin-bottom:14px;display:flex}.teacher-check-card{cursor:pointer;background:#fff;border:1px solid #dfe6ef;grid-template-columns:22px 1fr;align-items:center;gap:10px;padding:10px;display:grid;border-radius:2px!important}.teacher-check-card.selected{background:#f0f6ff;border-color:#8fb5e7}.teacher-check-card input{width:16px;height:16px}.teacher-check-card>div{flex-direction:column;gap:2px;display:flex}.teacher-check-card small{color:#7b8899;font-size:9px}.material-viewer-backdrop{background:#0714277a}.material-viewer-sheet{background:#fff;border-left:1px solid #dfe6ef;flex-direction:column;width:min(74vw,1180px);height:100vh;display:flex;box-shadow:-18px 0 46px #0c1f3933;border-radius:2px!important}.material-viewer-toolbar{background:#f8fafc;border-bottom:1px solid #e5eaf0;justify-content:flex-end;padding:9px 15px;display:flex}.material-viewer-body{background:#eef1f5;flex:1;min-height:0;padding:10px;overflow:auto}.preview-frame{background:#fff;border:0;width:100%;height:100%;min-height:720px}.preview-image{background:#fff;max-width:100%;max-height:calc(100vh - 150px);margin:0 auto;display:block}.preview-loading{text-align:center;color:#69778a;padding:30px;font-weight:800}@media (width<=1100px){.dashboard-subject-grid,.topic-material-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.material-viewer-sheet{width:86vw}}@media (width<=760px){.dashboard-subject-grid,.topic-material-grid,.setting-toggle-row,.teacher-assignment-row.multi{grid-template-columns:1fr}.material-viewer-sheet{width:100vw}}.password-warning-banner{color:#654600;background:#fff8df;border:1px solid #e7be5d;justify-content:space-between;align-items:center;gap:14px;margin:12px 22px 0;padding:10px 12px;display:flex;border-radius:2px!important}.password-warning-banner>div{flex-direction:column;gap:2px;display:flex}.password-warning-banner small{color:#80652b;font-size:10px}.password-form{max-width:520px}@media (width<=700px){.password-warning-banner{flex-direction:column;align-items:flex-start;margin:8px 12px 0}}.course-settings-inline{color:#2466b1;margin-top:5px;font-size:10px;font-weight:800;text-decoration:none;display:inline-flex}.course-settings-inline:hover{text-decoration:underline}.material-viewer-toolbar small{color:#7d8998;max-width:420px;margin-left:auto;font-size:9px;line-height:1.35}.material-viewer-body:fullscreen{background:#111;padding:0}:is(.material-viewer-body:fullscreen .preview-frame,.material-viewer-body:fullscreen .preview-image){object-fit:contain;width:100%;height:100%;max-height:none}@media (width<=760px){.material-viewer-toolbar small{width:100%;margin-left:0}.material-viewer-toolbar{flex-wrap:wrap}}.kolegj-monogram,.brand-mark{color:#16355f;letter-spacing:-.03em;background:#fff;border:1px solid #d6dee9;place-items:center;width:40px;height:40px;font-size:18px;font-weight:900;display:grid;box-shadow:none!important;border-radius:2px!important}.brand-mark{position:static!important}.brand-mark span{display:none!important}.login-story-simple{background:#17375f!important;justify-content:flex-start!important;padding:38px 52px!important}.login-story-simple .login-story-brand{align-items:center}.login-story-simple .login-story-brand>div{flex-direction:column;display:flex}.login-story-simple .login-story-brand small{color:#b9c7d9;margin-top:2px;font-size:11px}.login-story-copy,.login-feature-grid,.login-decor,.login-security,.sidebar-quote{display:none!important}.mobile-login-brand .kolegj-monogram{background:#fff}.login-card h2{margin-top:0}.flow-group-card{grid-template-columns:1.35fr .5fr .65fr auto}.subject-flow-editable{grid-template-columns:34px 1fr auto!important}.subject-flow-main{color:inherit;justify-content:space-between;align-items:center;gap:14px;min-width:0;text-decoration:none;display:flex}.subject-flow-main>div{min-width:0}.subject-flow-main b{color:#205b9f;white-space:nowrap;font-size:11px}.topic-actions{flex-wrap:wrap;justify-content:flex-end;gap:6px;display:flex}.lesson-manage-list{flex-direction:column;gap:8px;display:flex}.lesson-manage-row{grid-template-columns:1fr auto;align-items:stretch;gap:8px;display:grid}.lesson-main-button{text-align:left;color:#29405f;background:#fff;border:1px solid #dfe6ef;justify-content:space-between;align-items:center;gap:12px;width:100%;padding:10px 12px;display:flex}.lesson-main-button:hover{color:#173f72;background:#f3f7fc;border-color:#8eb3e6}.lesson-main-button strong{font-size:12px}.lesson-main-button .muted{font-size:10px}@media (width<=760px){.flow-group-card{grid-template-columns:1fr 1fr}.flow-group-card>div:first-child{grid-column:1/-1}.subject-flow-editable{grid-template-columns:30px 1fr!important}.subject-flow-editable>button{grid-column:2}.subject-flow-main{flex-direction:column;align-items:flex-start}.lesson-manage-row{grid-template-columns:1fr}}.login-story-simple{flex-direction:column;min-height:100vh;background:#173f73!important;padding:0!important;display:flex!important}.login-story-simple .login-story-brand{background:#173f73;border-bottom:1px solid #ffffff1f;align-items:center;min-height:92px;padding:24px 34px;display:flex}.login-blue-space{background:#173f73;flex:1;min-height:420px}.login-story-simple .kolegj-monogram{color:#fff!important;background:#173f73!important;border:1px solid #ffffff8c!important}.login-story-simple .login-story-brand strong{color:#fff}.portal-brand{background:#173f73;border:1px solid #173f73;min-height:72px;margin:14px 0 18px;border-radius:2px!important;padding:16px 15px!important}.portal-brand .brand-mark{color:#fff!important;background:#173f73!important;border:1px solid #ffffff8c!important}.mobile-login-brand{color:#fff;background:#173f73;border-radius:2px;padding:12px 14px}.mobile-login-brand .kolegj-monogram{color:#fff!important;background:#173f73!important;border-color:#ffffff8c!important}.mobile-login-brand strong{color:#fff}.cadet-extra-fields{background:#f7faff;border:1px solid #d9e4f2;border-radius:2px;gap:11px;padding:14px;display:grid}.form-section-title{letter-spacing:.1em;text-transform:uppercase;color:#315d90;padding-bottom:3px;font-size:10px;font-weight:900}.compact-profile-dl{grid-template-columns:145px 1fr}@media (width<=980px){.login-story-simple{display:none!important}}.brand-logo-image{object-fit:contain;background:0 0;flex:none;display:block}.brand-logo-image-login{width:76px;height:96px}.brand-logo-image-sidebar{width:44px;height:56px}.login-story-brand{align-items:center}.login-story-brand strong{max-width:320px;line-height:1.1}.mobile-login-brand{align-items:center;gap:10px;display:flex}.mobile-login-brand strong{line-height:1.15}.portal-brand{align-items:center}.portal-brand>div:last-child{min-width:0}.portal-brand strong{line-height:1.1}.portal-brand small{line-height:1.2}.brand-mark{display:none!important}@media (width<=980px){.brand-logo-image-sidebar{width:38px;height:48px}.login-card h2{font-size:24px}}:root{--kms-navy:#0d2742;--kms-blue:#1e5c89;--kms-red:#d61f2c;--kms-gold:#c7a34b;--kms-ink:#131922;--kms-soft:#f5f7fa}body,.portal-shell{background:var(--kms-soft)}.portal-sidebar{border-top:4px solid var(--kms-red);background:#101a27}.portal-brand{background:var(--kms-navy)!important;border-color:var(--kms-navy)!important;border-bottom:1px solid #ffffff1f!important}.portal-brand strong{letter-spacing:.01em;font-size:14px!important}.portal-nav a.active{border-left:3px solid var(--kms-red);padding-left:9px;color:var(--kms-navy)!important;background:#f4f7fb!important}.nav-badge{background:var(--kms-red)!important}.btn.primary{background:var(--kms-blue)!important;border-color:var(--kms-blue)!important;color:#fff!important}.btn.primary:hover{background:#174d75!important;border-color:#174d75!important}.btn.danger{background:#b91f2c!important;border-color:#b91f2c!important}input:focus,select:focus,textarea:focus{border-color:var(--kms-blue)!important;box-shadow:0 0 0 3px #1e5c891f!important}.modern-page-head{border-left:3px solid var(--kms-red);padding-left:17px}.institutional-topbar{border-bottom:1px solid #d8e0e8;height:74px;box-shadow:0 2px 10px #0d27420a}.topbar-institution{align-items:center;gap:11px;min-width:0;display:flex}.topbar-institution-logo{object-fit:contain;flex:none;width:30px;height:38px}.topbar-institution>div{flex-direction:column;min-width:0;display:flex}.topbar-institution strong{color:var(--kms-navy);white-space:nowrap;text-overflow:ellipsis;font-size:13px;line-height:1.15;overflow:hidden}.topbar-institution small{color:#788697;margin-top:3px;font-size:10px}.topbar-avatar{border:2px solid #e3c778;background:var(--kms-navy)!important;color:#fff!important}.login-story-simple{border-top:6px solid var(--kms-red);background:var(--kms-navy)!important}.login-story-simple .login-story-brand,.login-blue-space{background:var(--kms-navy)!important}.login-story-simple .login-story-brand{border-bottom:1px solid #ffffff1f}.login-story-simple .login-story-brand strong{max-width:330px;font-size:18px}.login-story-simple .login-story-brand small{color:#d5dfeb!important}.mobile-login-brand{border-top:3px solid var(--kms-red);background:var(--kms-navy)!important}.server-status.ok{border-left:3px solid var(--kms-gold)}@media (width<=760px){.topbar-institution-logo{display:none}.topbar-institution strong{max-width:230px;font-size:11px}.topbar-institution small{font-size:9px}}.portal-sidebar{background:#111c2e!important;border-top:0!important}.portal-brand{background:0 0!important;border:0!important;min-height:auto!important;margin:0!important;padding:22px 20px 16px!important}.portal-brand strong{color:#fff!important;font-size:13px!important}.portal-nav a.active{color:#164d89!important;background:#eaf2ff!important;border-left:0!important;padding-left:12px!important}.brand-logo-image-sidebar{width:42px;height:54px;filter:none!important}.modern-login{background:radial-gradient(circle at 50% 0,#edf3fa 0,#f8fafc 38%,#eef2f7 100%)!important;grid-template-columns:1fr!important;place-items:center!important;min-height:100vh!important;padding:40px 20px!important;display:grid!important}.login-story{display:none!important}.login-panel{background:0 0!important;place-items:center!important;width:100%!important;padding:0!important;display:grid!important}.login-card{background:#fff!important;border:1px solid #dce3ec!important;border-radius:4px!important;width:min(560px,100vw - 34px)!important;padding:48px 52px!important;box-shadow:0 24px 70px #111c2e24!important}.mobile-login-brand{text-align:center;color:#111c2e!important;background:0 0!important;border:0!important;flex-direction:column!important;justify-content:center!important;align-items:center!important;gap:12px!important;margin:0 0 22px!important;padding:0!important;display:flex!important}.mobile-login-brand strong{max-width:360px;font-size:17px;color:#111c2e!important;line-height:1.2!important}.brand-logo-image-mobile{width:88px!important;height:112px!important}.login-card h2{text-align:center;color:#172033!important;margin:0 0 22px!important;font-size:28px!important}.login-card .server-status{margin-bottom:18px}.login-submit{min-height:48px;font-size:14px}.teacher-direct-courses{flex-direction:column;gap:16px;display:flex}.teacher-course-groups{flex-direction:column;gap:18px;display:flex}.teacher-direct-group{flex-direction:column;gap:10px;display:flex}.teacher-direct-group+.teacher-direct-group{border-top:1px solid #e8edf3;padding-top:16px}.teacher-direct-group-head{justify-content:space-between;align-items:center;gap:12px;display:flex}.teacher-direct-group-head strong{color:#263b55;font-size:13px}.teacher-direct-group-head small,.teacher-single-group-context small{color:#77869a;font-size:10px}.teacher-single-group-context{align-items:center;gap:10px;padding-bottom:2px;display:flex}.teacher-single-group-context span{color:#52677f;font-size:11px;font-weight:900}.teacher-empty-assignment{justify-content:space-between;align-items:center;gap:18px;display:flex}.teacher-empty-assignment p{color:#5f6f82;margin:0}@media (width<=760px){.login-card{padding:34px 24px!important}.teacher-empty-assignment{flex-direction:column;align-items:flex-start}}.portal-sidebar{color:#22344c!important;background:#fff!important;border-right:1px solid #e2e8f0!important;box-shadow:8px 0 28px #182d4b09!important}.portal-brand{background:#fff!important;border:0!important;padding:20px 10px 16px!important}.portal-brand strong{color:#17324f!important}.portal-brand small{color:#7e8ca0!important}.brand-logo-image-sidebar{filter:none!important}.workspace-card{background:#f7f9fc!important;border-color:#e8edf4!important}.workspace-card strong{color:#203854!important}.nav-caption{color:#9aa6b6!important}.portal-nav a{color:#55677d!important}.portal-nav a:hover{color:#17324f!important;background:#f4f7fb!important}.portal-nav a.active{color:#195a8c!important;background:#edf4fb!important;box-shadow:inset 3px 0 #1e6a9e!important}.nav-icon{color:#6d7e91!important;background:#f1f5f9!important}.portal-nav a.active .nav-icon{color:#1e6a9e!important;background:#fff!important}.logout-btn{color:#65758a!important}.logout-btn:hover{color:#b4364c!important;background:#fff0f2!important}.single-group-inline{background:#fff;border:1px solid #dbe5f0;flex-direction:column;gap:2px;padding:10px 12px;display:flex}.single-group-inline span{text-transform:uppercase;letter-spacing:.1em;color:#8290a3;font-size:9px;font-weight:900}.single-group-inline strong{color:#203a58;font-size:13px}.single-group-inline small{color:#718197;font-size:10px}.inline-warning{color:#9c2f41;background:#fff5f6;border:1px solid #efcbd1;padding:10px 12px;font-size:11px;line-height:1.45}@media (width<=900px){.portal-sidebar{border-bottom:1px solid #e2e8f0!important;border-right:0!important}}.row-actions{justify-content:flex-end;align-items:center;gap:8px;display:flex}.icon-delete{cursor:pointer;color:#a51f1f;background:#fff;border:1px solid #e4b6b6;border-radius:2px;justify-content:center;align-items:center;width:34px;height:34px;font-size:16px;line-height:1;display:inline-flex}.icon-delete:hover{color:#8b1111;background:#fff1f1;border-color:#d77}.icon-delete:disabled{opacity:.45;cursor:not-allowed}.people-search-row{flex-wrap:wrap;align-items:center;gap:8px;display:flex}.people-search-row input{min-width:280px}.filter-tags-bar{flex-wrap:wrap;align-items:center;gap:8px;margin:0 0 14px;display:flex}.filter-tag{color:#506278;cursor:pointer;background:#f8fafc;border:1px solid #d8e1eb;border-radius:999px;align-items:center;gap:6px;min-height:32px;padding:6px 10px;font-size:11px;font-weight:800;display:inline-flex}.filter-tag:hover{background:#f1f5f9}.filter-tag.active{color:#165a8d;background:#e8f2fb;border-color:#8fb9db}.filter-tag.clear{color:#9d3030;background:#fff5f5;border-color:#ecc7c7}.select-tag{cursor:default}.select-tag select{color:inherit;font:inherit;background:0 0;border:0;outline:none;min-width:90px;padding:0 2px}.pagination-bar{color:#6b7b8d;border-top:1px solid #e7edf4;justify-content:space-between;align-items:center;gap:12px;margin-top:16px;padding-top:12px;font-size:11px;display:flex}.pagination-bar>div{flex-wrap:wrap;align-items:center;gap:5px;display:flex}.page-button{color:#43566c;cursor:pointer;background:#fff;border:1px solid #dbe3ec;border-radius:2px;width:32px;height:32px}.page-button.active{color:#fff;background:#173f63;border-color:#173f63}.page-gap{padding:0 3px}.field-label{color:#41546a;margin-bottom:6px;font-size:11px;font-weight:800;display:block}.lesson-type-toggle{border:1px solid #cfd9e4;border-radius:2px;grid-template-columns:1fr 1fr;max-width:360px;display:grid;overflow:hidden}.lesson-type-toggle button{color:#607187;cursor:pointer;background:#f7f9fc;border:0;padding:10px 16px;font-weight:900}.lesson-type-toggle button+button{border-left:1px solid #cfd9e4}.lesson-type-toggle button.active{color:#fff;background:#173f63}.lesson-type-badge{text-transform:uppercase;letter-spacing:.04em;color:#506278;background:#f7f9fc;border:1px solid #d7e0e9;padding:2px 7px;font-size:9px;font-weight:900;display:inline-flex}.lesson-type-badge.type-seminar{color:#694e96;background:#f4f1fb;border-color:#d8cdef}@media (width<=760px){.people-search-row input{width:100%;min-width:100%}.pagination-bar{flex-direction:column;align-items:flex-start}}.course-teachers-table-wrap{background:#fff;border:1px solid #e2e7ee;margin:0 0 18px;overflow:auto}.course-teachers-table{border-collapse:collapse;width:100%;min-width:680px}.course-teachers-table th,.course-teachers-table td{text-align:left;vertical-align:top;border-bottom:1px solid #edf0f4;padding:10px 12px}.course-teachers-table th{text-transform:uppercase;letter-spacing:.05em;color:#6c7b8f;background:#f8fafc;font-size:10px}.teacher-profile-link,.teacher-email-link,.subject-assignment-link,.inline-teacher-link{color:#1f5f91;text-decoration:none}.teacher-profile-link:hover,.teacher-email-link:hover,.subject-assignment-link:hover,.inline-teacher-link:hover{text-decoration:underline}.teacher-subject-links{flex-wrap:wrap;gap:6px;display:flex}.teacher-subject-link{color:#195f91;background:#f2f7fb;border:1px solid #cfe0ee;border-radius:999px;align-items:center;min-height:28px;padding:4px 9px;font-size:10px;font-weight:800;text-decoration:none;display:inline-flex}.teacher-subject-link:hover{background:#e6f1f9;border-color:#9fc4df}.teacher-subject-link.disabled{color:#7e8997;cursor:default;background:#f5f6f7;border-color:#dde1e6}.course-teachers-empty{color:#68798c;background:#f8fafc;border:1px dashed #d8e1eb;margin-bottom:14px;padding:10px 12px;font-size:11px}.schedule-toolbar{flex-wrap:wrap;align-items:center;gap:10px;display:flex}.course-chip-row{flex-wrap:wrap;gap:8px;margin-bottom:10px;display:flex}.filter-chip{border:1px solid var(--border,#d8dee8);cursor:pointer;background:#fff;border-radius:999px;padding:7px 12px}.filter-chip.active{color:#fff;background:#111827;border-color:#111827}.weekly-schedule-grid{grid-template-columns:repeat(5,minmax(190px,1fr));gap:12px;display:grid}.schedule-slot-head{justify-content:space-between;align-items:center;gap:8px;display:flex}.schedule-type{background:#eef2ff;border-radius:999px;padding:3px 7px;font-size:11px}.schedule-type.seminar{background:#ecfdf5}.exclusive-toggle{gap:6px;display:flex}.exclusive-toggle button{cursor:pointer;background:#fff;border:1px solid #d1d5db;border-radius:8px;padding:9px 14px}.exclusive-toggle button.active{color:#fff;background:#111827;border-color:#111827}.lesson-type-field{flex-direction:column;gap:6px;display:flex}.form-actions{align-items:end;gap:8px;display:flex}.access-tabs{gap:8px;margin:0 0 14px;display:flex}.access-tabs button{cursor:pointer;background:#fff;border:1px solid #d1d5db;border-radius:8px;padding:9px 14px}.access-tabs button.active{color:#fff;background:#111827}.access-matrix table{min-width:1200px}.access-matrix th{white-space:normal;min-width:130px}.matrix-cell{cursor:pointer;border:0;border-radius:7px;padding:6px 9px}.matrix-cell.allow{color:#166534;background:#dcfce7}.matrix-cell.deny{color:#991b1b;background:#fee2e2}.permission-list{gap:8px;margin-top:12px;display:grid}.permission-row{border:1px solid #e5e7eb;border-radius:10px;justify-content:space-between;gap:16px;padding:10px;display:flex}.permission-row small,.access-matrix td small{color:#6b7280;display:block}.role-theme-deputy_commander .portal-sidebar{border-right:1px solid #e5e7eb}@media (width<=1200px){.weekly-schedule-grid{grid-template-columns:repeat(2,minmax(220px,1fr))}}@media (width<=700px){.weekly-schedule-grid{grid-template-columns:1fr}.permission-row{flex-direction:column}}.day-add-button,.calendar-day-add{color:#235f9d;cursor:pointer;background:#fff;border:1px solid #d7e1ec;border-radius:50%;justify-content:center;align-items:center;width:28px;height:28px;font-size:20px;font-weight:800;line-height:22px;display:inline-flex}.day-add-button:hover,.calendar-day-add:hover{background:#edf5ff;border-color:#9fc2e7}.calendar-day-head{justify-content:space-between;align-items:center;gap:6px;margin-bottom:5px;display:flex}.calendar-day-head .day-number{margin-bottom:0}.weekly-schedule-grid .card-head{align-items:center}.weekly-schedule-grid .day-card{min-height:210px}.month-event.event-academic{color:#245f98;background:#eef5ff}.check-row{align-items:center;gap:8px;flex-direction:row!important;display:flex!important}.check-row input{width:auto}.schedule-conflict-card{border-left:4px solid}.schedule-conflict-list{gap:8px;margin:10px 0;display:grid}.schedule-conflict-item{border:1px solid var(--border,#d8dee8);background:var(--surface-soft,#fafbfc);border-radius:8px;grid-template-columns:minmax(180px,1fr) auto;gap:4px 12px;padding:10px 12px;display:grid}.schedule-conflict-item small{grid-column:1/-1}.schedule-actions{flex-wrap:wrap;gap:6px;margin-top:8px;display:flex}.schedule-entry-sheet-backdrop{z-index:120;-webkit-backdrop-filter:blur(1px);backdrop-filter:blur(1px);background:#0f172a61;justify-content:flex-end;align-items:stretch;display:flex;position:fixed;inset:0}.schedule-entry-sheet{background:#fff;border-left:1px solid #dfe6ef;flex-direction:column;width:50vw;height:100vh;animation:.18s ease-out scheduleSheetIn;display:flex;position:fixed;top:0;right:0;overflow:hidden;box-shadow:-18px 0 46px #0c1f3933}.schedule-entry-sheet-head{background:#fff;border-bottom:1px solid #e7ebf3;justify-content:space-between;align-items:center;gap:18px;padding:22px 24px;display:flex}.schedule-entry-sheet-head small{letter-spacing:.14em;color:#1865f2;font-size:9px;font-weight:900}.schedule-entry-sheet-head h2{color:#0b214a;margin:4px 0 0;font-size:23px}.schedule-entry-sheet-body{flex:1;padding:22px 24px 36px;overflow:auto}.schedule-entry-sheet .schedule-entry-form{grid-template-columns:repeat(2,minmax(0,1fr))}.schedule-entry-sheet input[readonly]{color:#667085;cursor:not-allowed;background:#f5f7fa}@keyframes scheduleSheetIn{0%{opacity:.4;transform:translate(22px)}to{opacity:1;transform:translate(0)}}@media (width<=900px){.schedule-entry-sheet{width:100vw}.schedule-entry-sheet .schedule-entry-form{grid-template-columns:1fr}.schedule-entry-sheet .span-2{grid-column:auto}}.schedule-day-date-button{color:inherit;font:inherit;font-weight:inherit;cursor:pointer;text-align:left;background:0 0;border:0;padding:0}.schedule-day-date-button:hover{color:#1865f2;text-underline-offset:3px;text-decoration:underline}.secretary-workspace{flex-direction:column;gap:16px;display:flex}.secretary-workspace .modern-page-head{margin-bottom:0}.secretary-course-context{color:#fff;background:linear-gradient(135deg,#142b46,#1f4e78);border:1px solid #214f79;border-radius:14px;justify-content:space-between;align-items:center;gap:22px;padding:18px 20px;display:flex;box-shadow:0 12px 34px #12304e1f}.secretary-course-context.single{color:#193a5b;box-shadow:none;background:linear-gradient(135deg,#f8fbff,#eef4fb);border-color:#d8e5f2;justify-content:flex-start}.secretary-course-context>div:first-child,.secretary-course-context-copy{flex-direction:column;gap:3px;min-width:220px;display:flex}.secretary-course-context span{letter-spacing:.14em;opacity:.75;font-size:9px;font-weight:900}.secretary-course-context strong{letter-spacing:-.02em;font-size:18px}.secretary-course-context small{opacity:.72;font-size:11px}.secretary-course-tabs{flex-wrap:wrap;justify-content:flex-end;gap:8px;display:flex}.secretary-course-tabs button{color:#eaf2fb;text-align:left;background:#ffffff14;border:1px solid #fff3;border-radius:10px;flex-direction:column;align-items:flex-start;gap:2px;min-width:118px;padding:10px 12px;transition:all .16s;display:flex}.secretary-course-tabs button:hover{background:#ffffff24;transform:translateY(-1px)}.secretary-course-tabs button.active{color:#193a5b;background:#fff;border-color:#fff;box-shadow:0 6px 18px #0000001f}.secretary-course-tabs button b{font-size:12px}.secretary-course-tabs button span{letter-spacing:0;opacity:.72;white-space:nowrap;text-overflow:ellipsis;max-width:150px;font-size:9px;overflow:hidden}.secretary-kpi-grid{grid-template-columns:repeat(5,minmax(0,1fr));gap:10px;display:grid}.secretary-kpi-grid.four{grid-template-columns:repeat(4,minmax(0,1fr))}.secretary-kpi-grid>div{background:#fff;border:1px solid #dfe7f0;border-radius:13px;min-height:92px;padding:16px 17px;position:relative;overflow:hidden;box-shadow:0 6px 20px #19375a0b}.secretary-kpi-grid>div:after{content:"";background:#eef5fc;border-radius:50%;width:76px;height:76px;position:absolute;bottom:-28px;right:-18px}.secretary-kpi-grid span{z-index:1;color:#718096;text-transform:uppercase;letter-spacing:.06em;font-size:10px;font-weight:800;display:block;position:relative}.secretary-kpi-grid strong{z-index:1;color:#183b5f;letter-spacing:-.04em;margin-top:7px;font-size:27px;display:block;position:relative}.secretary-panel-card{border-color:#dfe7f0!important;box-shadow:0 7px 24px #1837580b!important}.secretary-timeline{flex-direction:column;display:flex}.secretary-timeline-row{border-bottom:1px solid #edf1f5;grid-template-columns:74px 1fr;gap:14px;padding:12px 0;display:grid}.secretary-timeline-row:last-child{border-bottom:0}.secretary-timeline-row time{color:#1c5f9f;font-size:15px;font-weight:900}.secretary-timeline-row div{flex-direction:column;gap:3px;display:flex}.secretary-timeline-row strong{color:#203a58;font-size:13px}.secretary-timeline-row span{color:#78879a;font-size:10px}.secretary-list-toolbar{background:#fff;border:1px solid #e0e7ef;border-radius:12px;justify-content:space-between;align-items:center;gap:16px;padding:12px 14px;display:flex}.secretary-list-toolbar>div{flex-direction:column;display:flex}.secretary-list-toolbar strong{color:#213b59;font-size:13px}.secretary-list-toolbar span{color:#7a899d;font-size:10px}.secretary-list-toolbar input{background:#f8fafc;max-width:320px}.secretary-subject-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;display:grid}.secretary-subject-card{color:#233b57;background:#fff;border:1px solid #dfe7ef;border-radius:14px;flex-direction:column;gap:9px;min-height:230px;padding:17px;text-decoration:none;transition:all .17s;display:flex;box-shadow:0 5px 18px #19375809}.secretary-subject-card:hover{border-color:#92b7dc;transform:translateY(-2px);box-shadow:0 13px 30px #19477317}.secretary-subject-card-top,.secretary-card-foot{justify-content:space-between;align-items:center;gap:10px;display:flex}.secretary-subject-card-top span{color:#195e9e;letter-spacing:.07em;background:#eaf3fd;border-radius:999px;padding:4px 8px;font-size:9px;font-weight:900}.secretary-subject-card-top small{color:#8794a5;font-size:9px}.secretary-subject-card h3{color:#173857;margin:4px 0 0;font-size:17px}.secretary-subject-card p{color:#708096;min-height:34px;margin:0;font-size:11px;line-height:1.5}.secretary-card-metrics{grid-template-columns:repeat(3,1fr);gap:6px;margin-top:auto;display:grid}.secretary-card-metrics span{color:#708096;background:#f7f9fc;border:1px solid #edf1f5;border-radius:9px;padding:8px;font-size:9px}.secretary-card-metrics b{color:#274c70;font-size:14px;display:block}.secretary-card-foot{border-top:1px solid #edf1f5;padding-top:10px}.secretary-card-foot span{color:#718196;font-size:9px}.secretary-card-foot b{color:#1f65a8;font-size:10px}.secretary-detail-hero{background:linear-gradient(135deg,#f8fbff,#eef5fc);border:1px solid #dbe7f2;border-left:4px solid #2c6da8;border-radius:14px;padding:23px 25px}.secretary-detail-hero>a{color:#28659d;margin-bottom:12px;font-size:10px;font-weight:800;text-decoration:none;display:inline-block}.secretary-detail-hero>span{letter-spacing:.13em;color:#67809a;font-size:9px;font-weight:900;display:block}.secretary-detail-hero h1{color:#183a5b;margin:5px 0 7px;font-size:26px}.secretary-detail-hero p{color:#66788d;max-width:820px;margin:0;font-size:12px}.secretary-detail-grid{grid-template-columns:minmax(320px,.75fr) minmax(420px,1.25fr);gap:14px;display:grid}.secretary-assignment-list,.secretary-topic-list,.secretary-material-list{flex-direction:column;gap:8px;display:flex}.secretary-assignment-list>a{color:#263f5d;background:#fbfcfe;border:1px solid #e5ebf2;border-radius:10px;justify-content:space-between;align-items:center;gap:14px;padding:11px 12px;text-decoration:none;display:flex}.secretary-assignment-list>a:hover{background:#f2f7fc;border-color:#bad1e7}.secretary-assignment-list a>div{flex-direction:column;gap:3px;display:flex}.secretary-assignment-list span,.secretary-assignment-list small{color:#7c899a;font-size:9px}.secretary-topic-row{color:#213b58;background:#fff;border:1px solid #e1e8ef;border-radius:11px;grid-template-columns:1fr auto;gap:14px;padding:12px 13px;text-decoration:none;display:grid}.secretary-topic-row:hover{background:#f9fbfe;border-color:#a7c5e3}.secretary-topic-row>div:first-child{flex-direction:column;gap:3px;display:flex}.secretary-topic-row>div:first-child>span{color:#6d86a0;letter-spacing:.1em;font-size:8px;font-weight:900}.secretary-topic-row strong{font-size:12px}.secretary-topic-row small{color:#7f8d9e;font-size:9px}.secretary-topic-progress{text-align:right;grid-template-columns:auto auto;align-content:center;gap:2px 6px;display:grid}.secretary-topic-progress b{color:#1b609f;font-size:11px}.secretary-topic-progress span{color:#8794a4;font-size:8px}.secretary-session-list{flex-direction:column;display:flex}.secretary-session-list>div{border-bottom:1px solid #edf1f5;grid-template-columns:105px 1fr;gap:14px;padding:12px 0;display:grid}.secretary-session-list time{color:#28669f;flex-direction:column;font-size:10px;font-weight:900;display:flex}.secretary-session-list time small{color:#8491a2;margin-top:3px;font-size:9px}.secretary-session-list>div>div{flex-direction:column;gap:3px;display:flex}.secretary-session-list strong{font-size:11px}.secretary-session-list span,.secretary-session-list p{color:#7c8998;margin:0;font-size:9px}.secretary-material-list>div{background:#fafbfd;border:1px solid #e5ebf2;border-radius:10px;flex-direction:column;gap:3px;padding:11px 12px;display:flex}.secretary-material-list strong{font-size:11px}.secretary-material-list span,.secretary-material-list small{color:#7c8999;font-size:9px}.secretary-report-toolbar{background:#fff;border:1px solid #dfe7ef;border-radius:13px;grid-template-columns:repeat(4,minmax(140px,1fr)) auto;align-items:end;gap:9px;padding:14px;display:grid;box-shadow:0 5px 18px #19375809}.secretary-report-toolbar label{color:#64778e;font-size:9px}.secretary-report-toolbar select{background:#f8fafc;border-radius:9px;margin-top:4px;padding:8px 9px}.secretary-report-toolbar .btn{height:37px}.secretary-report-grid{grid-template-columns:1.5fr .7fr;gap:14px;display:grid}.modern-data-table td strong{color:#203c5b;display:block}.modern-data-table td small{color:#8894a3;margin-top:3px;font-size:8px;display:block}.modern-data-table a{color:#23649f;text-decoration:none}.modern-data-table tbody tr:hover{background:#f8fbfe}.secretary-grade-bars{flex-direction:column;gap:10px;display:flex}.secretary-grade-bars>div{grid-template-columns:55px 1fr 28px;align-items:center;gap:8px;display:grid}.secretary-grade-bars span{color:#6f7f91;font-size:9px}.secretary-grade-bars>div>div{background:#edf1f5;border-radius:999px;height:8px;overflow:hidden}.secretary-grade-bars i{background:linear-gradient(90deg,#2c6fab,#62a1d9);border-radius:999px;height:100%;display:block}.secretary-grade-bars b{color:#294a6b;text-align:right;font-size:10px}.secretary-topic-cards{flex-direction:column;gap:9px;display:flex}.secretary-topic-card{color:#213a57;background:#fff;border:1px solid #dfe7ef;border-radius:12px;grid-template-columns:1fr 170px;align-items:center;gap:20px;padding:14px 16px;text-decoration:none;transition:all .15s;display:grid}.secretary-topic-card:hover{background:#fbfdff;border-color:#9bbddd;transform:translate(2px)}.secretary-topic-card>div:first-child{flex-direction:column;gap:3px;display:flex}.secretary-topic-card>div:first-child>span{color:#2d6ba5;letter-spacing:.08em;font-size:8px;font-weight:900}.secretary-topic-card h3{margin:0;font-size:13px}.secretary-topic-card p{color:#718095;margin:0;font-size:10px}.secretary-topic-card small{color:#8a96a5;font-size:9px}.secretary-topic-card-side{text-align:right}.secretary-topic-card-side>b{color:#1c5f9d;font-size:18px;display:block}.secretary-topic-card-side>span{color:#7b8998;font-size:8px}.secretary-topic-card-side>div{background:#edf1f5;border-radius:999px;height:6px;margin:6px 0;overflow:hidden}.secretary-topic-card-side i{background:#2d72b5;border-radius:999px;height:100%;display:block}@media (width<=1100px){.secretary-subject-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.secretary-detail-grid,.secretary-report-grid{grid-template-columns:1fr}.secretary-report-toolbar{grid-template-columns:repeat(2,1fr)}.secretary-kpi-grid{grid-template-columns:repeat(3,1fr)}}@media (width<=720px){.secretary-course-context{flex-direction:column;align-items:flex-start}.secretary-course-tabs{justify-content:flex-start;width:100%}.secretary-course-tabs button{flex:1;min-width:120px}.secretary-subject-grid{grid-template-columns:1fr}.secretary-kpi-grid,.secretary-kpi-grid.four{grid-template-columns:repeat(2,1fr)}.secretary-list-toolbar{flex-direction:column;align-items:stretch}.secretary-list-toolbar input{max-width:none}.secretary-report-toolbar,.secretary-topic-card{grid-template-columns:1fr}.secretary-topic-card-side{text-align:left}}.stat-clickable{color:inherit;cursor:pointer;outline:0;text-decoration:none;display:block}.stat-button{width:100%;font:inherit;text-align:left;cursor:pointer}.stat-clickable:hover,.stat-clickable:focus-visible{background:#f8fbff;border-color:#9ab6d8;transform:translateY(-3px);box-shadow:0 16px 34px #203e611f}.stat-open{color:#2f69a7;letter-spacing:.02em;margin-top:9px;font-size:10px;font-weight:900;display:block;position:relative}.curriculum-subject-sheet{width:50vw}.curriculum-subject-sheet .sheet-mode-tabs{gap:8px;margin-bottom:18px;display:flex}.curriculum-subject-sheet .sheet-mode-tabs .btn{flex:1}.secretary-kpi-grid>a,.secretary-kpi-grid>button{text-align:left;min-height:92px;color:inherit;font:inherit;cursor:pointer;background:#fff;border:1px solid #dfe7f0;border-radius:13px;padding:16px 17px;text-decoration:none;transition:all .18s;position:relative;overflow:hidden;box-shadow:0 6px 20px #19375a0b}.secretary-kpi-grid>a:after,.secretary-kpi-grid>button:after{content:"";background:#eef5fc;border-radius:50%;width:76px;height:76px;position:absolute;bottom:-28px;right:-18px}.secretary-kpi-grid>a:hover,.secretary-kpi-grid>button:hover{border-color:#9bb6d4;transform:translateY(-2px);box-shadow:0 12px 26px #19375a17}.secretary-kpi-grid>a small,.secretary-kpi-grid>button small{z-index:1;color:#3970a7;margin-top:7px;font-size:10px;font-weight:800;display:block;position:relative}.secretary-session-card{background:#fff;border-radius:12px;grid-template-columns:130px 1fr;align-items:start;gap:16px;margin-bottom:10px;border:1px solid #e2e9f1!important;padding:15px!important;display:grid!important}.topic-absence-link{text-align:left;cursor:pointer;color:#70352f;background:#fff8f7;border:1px solid #f0c9c5;border-radius:10px;grid-template-columns:1fr auto;align-items:center;gap:2px 10px;width:100%;margin-top:10px;padding:10px 12px;display:grid}.topic-absence-link:hover{background:#fff1ef;border-color:#dda49e}.topic-absence-link span{letter-spacing:.07em;text-transform:uppercase;font-size:10px;font-weight:900}.topic-absence-link b{font-size:21px}.topic-absence-link small{color:#9a5b55;grid-column:1/-1}.topic-attendance-sheet{width:50vw}.attendance-drill-list{gap:8px;display:grid}.attendance-drill-card{color:#27364a;background:#fff;border:1px solid #e1e8ef;border-radius:11px;justify-content:space-between;align-items:center;gap:16px;padding:12px 13px;text-decoration:none;display:flex}.attendance-drill-card:hover{background:#f8fbff;border-color:#9cb9d8}.attendance-drill-card strong,.attendance-drill-card span,.attendance-drill-card small{display:block}.attendance-drill-card span,.attendance-drill-card small{color:#728197;margin-top:3px;font-size:11px}.attendance-drill-card.status-absent,.attendance-drill-card.status-excused{border-left:4px solid #c94b40}.attendance-drill-card.status-late{border-left:4px solid #d6a221}.attendance-drill-card.status-present{border-left:4px solid #2a9a69}@media (width<=900px){.curriculum-subject-sheet,.topic-attendance-sheet{width:78vw}}@media (width<=700px){.curriculum-subject-sheet,.topic-attendance-sheet{width:100vw}.secretary-session-card{grid-template-columns:1fr}}.schedule-import-sheet{width:min(82vw,1180px)}.schedule-import-controls{grid-template-columns:minmax(180px,.7fr) minmax(260px,1.3fr) auto auto;align-items:end;gap:12px;display:grid}.schedule-import-controls label{color:#64748b;font-size:10px}.schedule-import-controls input[type=file],.schedule-import-controls select{width:100%;margin-top:5px;display:block}.schedule-import-controls .check-row{align-items:center;gap:8px;padding-bottom:10px;display:flex}.schedule-import-controls .check-row input{width:auto;margin:0}.schedule-import-summary{grid-template-columns:repeat(6,minmax(110px,1fr));gap:9px;margin:14px 0;display:grid}.schedule-import-summary>div{background:#fff;border:1px solid #dfe7ef;border-radius:12px;padding:13px 14px;box-shadow:0 5px 18px #1a37580a}.schedule-import-summary small{color:#718096;text-transform:uppercase;letter-spacing:.06em;font-size:9px;display:block}.schedule-import-summary b{color:#1f3d5b;margin-top:5px;font-size:16px;display:block}.schedule-import-summary .add{border-left:4px solid #2a9a69}.schedule-import-summary .update{border-left:4px solid #d6a221}.schedule-import-summary .remove{border-left:4px solid #c94b40}.schedule-import-table{max-height:46vh;overflow:auto}.schedule-import-table table{min-width:960px}.schedule-import-table td small{color:#7b8795;margin-top:3px;font-size:9px;display:block}.schedule-import-table tr.import-warning{background:#fff8f7}.import-resolution{color:#44546a;background:#edf2f7;border-radius:999px;padding:4px 7px;font-size:8px;font-weight:900;display:inline-block}.import-resolution.resolved{color:#20714e;background:#e8f7f0}.import-resolution.generic{color:#356695;background:#eef4fb}.import-resolution.unresolved_subject,.import-resolution.unresolved_assignment,.import-resolution.ambiguous_assignment{color:#9d4038;background:#fff0ee}.sheet-sticky-actions{background:linear-gradient(#fff0,#fff 28%);justify-content:flex-end;gap:9px;padding:14px 0 2px;display:flex;position:sticky;bottom:0}.exclusive-toggle.multi-type{grid-template-columns:repeat(4,minmax(0,1fr));gap:6px;display:grid}.exclusive-toggle.multi-type button{white-space:normal;min-height:42px;line-height:1.15}.schedule-type.type-open_lecture{color:#5048a6;background:#eef1ff}.schedule-type.type-conference{color:#7145a0;background:#f3ecff}.schedule-type.type-exam{color:#a44e26;background:#fff0e8}.schedule-type.type-self_study{color:#347079;background:#edf6f8}.schedule-type.type-availability{color:#5f6873;background:#f1f3f5}.schedule-type.type-other{color:#5e5e5e;background:#f4f4f4}@media (width<=980px){.schedule-import-sheet{width:100vw}.schedule-import-controls{grid-template-columns:1fr 1fr}.schedule-import-summary{grid-template-columns:repeat(3,1fr)}}@media (width<=650px){.schedule-import-controls,.schedule-import-summary{grid-template-columns:1fr}.exclusive-toggle.multi-type{grid-template-columns:1fr 1fr}}.import-mapping-control{gap:5px;min-width:300px;margin-top:8px;display:grid}.import-mapping-control span{text-transform:uppercase;letter-spacing:.06em;color:var(--muted);font-size:11px;font-weight:800}.import-mapping-control select{min-width:280px}.alert.warning{color:#70520c;background:#fff8e5;border:1px solid #f1d48b}.schedule-import-course-grid{grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:10px;display:grid}.schedule-import-course-card{background:linear-gradient(#fff,#f8fbff);border:1px solid #dfe7ef;border-radius:12px;gap:6px;padding:13px 14px;display:grid;box-shadow:0 5px 18px #1a37580a}.schedule-import-course-card>div{justify-content:space-between;align-items:baseline;gap:10px;display:flex}.schedule-import-course-card strong{color:#173a5e;font-size:16px}.schedule-import-course-card small{color:#718096;font-size:10px}.schedule-import-course-card span{color:#44546a;font-size:11px;font-weight:800}.schedule-import-course-card.has-error{background:#fff8f7;border-color:#e5a8a1}.danger-text{font-weight:800;color:#a33d35!important}.schedule-type.type-presentation{color:#2e6691;background:#edf6ff}.schedule-type.type-practical,.schedule-type.type-practice{color:#39713a;background:#eef8ed}.schedule-type.type-ceremony{color:#8b5b20;background:#fff6e9}.schedule-type.type-administrative{color:#536171;background:#eef1f4}.schedule-type.type-planning_exercise{color:#6550a3;background:#f1ecff}.schedule-type.type-study_visit{color:#2c7771;background:#eaf8f7}.schedule-type.type-break,.schedule-type.type-holiday{color:#775d49;background:#f7f2ee}@media (width<=760px){.schedule-import-course-grid{grid-template-columns:1fr}}.schedule-toolbar .btn.active{color:#fff;background:#13283f;border-color:#13283f}.schedule-month-day{appearance:none;text-align:left;cursor:pointer;width:100%;color:inherit}.schedule-month-day:hover{background:#f1f6fb}.schedule-month-day.selected-week{background:#eaf3ff;box-shadow:inset 0 0 0 2px #2f70b3}.schedule-month-day small{color:#748399;margin-top:10px;font-size:8px;display:block}.schedule-month-day.selected-week small{color:#17588f;font-weight:700}.month-board,.calendar-main-card{width:100%;max-width:100%;overflow:hidden}.month-weekdays,.month-grid{grid-template-columns:repeat(7,minmax(0,1fr));width:100%;min-width:0}.month-day{min-width:0;min-height:128px;padding:8px}.month-event{text-align:left;white-space:nowrap;text-overflow:ellipsis;cursor:pointer;border:0;width:100%;max-width:100%;display:block;overflow:hidden}.schedule-cleanup-sheet{width:min(50vw,720px)}.cleanup-shortcuts{gap:8px;margin:14px 0;display:flex}.cleanup-preview{background:#f8fbff;border:1px solid #dce6f0;border-radius:10px;gap:7px;margin-top:16px;padding:14px;display:grid}.cleanup-preview strong{color:#173f63;font-size:18px}.cleanup-preview span,.cleanup-preview small{color:#62748a;display:block}.warning-box{color:#76570c;background:#fff8e6;border:1px solid #efcf87;border-radius:8px;padding:10px 12px}@media (width<=900px){.schedule-cleanup-sheet{width:78vw}.month-day{min-height:105px}}@media (width<=700px){.schedule-cleanup-sheet{width:100vw}.month-day{min-height:78px;padding:3px}.month-event{font-size:7px}.calendar-day-add{width:22px;height:22px;font-size:16px}}.calendar-day-date{cursor:pointer;color:inherit;font:inherit;background:0 0;border:0;border-radius:8px;justify-content:center;align-items:center;min-width:30px;min-height:30px;padding:2px 5px;display:inline-flex}.calendar-day-date:hover{color:#235f9d;background:#eef5ff}.calendar-day-date:focus-visible{outline-offset:2px;outline:2px solid #235f9d}.calendar-day-date .day-number{pointer-events:none}.course-calendar-tabs{flex-wrap:wrap;gap:8px;max-width:100%;margin:0 0 14px;display:flex;overflow:hidden}.course-calendar-tab{border:1px solid var(--border,#d8dee8);background:var(--viz-card,#fff);color:var(--text,#111827);cursor:pointer;border-radius:10px;min-height:40px;padding:9px 14px;font-weight:700;transition:background .15s,border-color .15s,color .15s}.course-calendar-tab.active{color:#fff;background:#111827;border-color:#111827}.course-calendar-tab:focus-visible{outline-offset:2px;outline:2px solid}@media (width<=640px){.course-calendar-tabs{grid-template-columns:repeat(2,minmax(0,1fr));display:grid}.course-calendar-tab{width:100%;padding:8px 10px}}.schedule-timetable{background:#fff;border:1px solid #dfe6ee;border-radius:10px;width:100%;min-width:0;overflow:hidden}.schedule-period-row{grid-template-columns:110px repeat(var(--schedule-day-count,5),minmax(0,1fr));border-top:1px solid #e8edf3;align-items:stretch;min-width:0;display:grid}.schedule-period-row:first-child{border-top:0}.schedule-header-row{background:#f7f9fc}.schedule-period-label{border-right:1px solid #e4eaf1;flex-direction:column;justify-content:center;gap:3px;min-width:0;padding:12px 10px;display:flex}.schedule-period-label strong{font-size:12px}.schedule-period-label small{color:#718096;font-size:10px}.schedule-day-header{border-right:1px solid #e4eaf1;justify-content:space-between;align-items:center;gap:6px;min-width:0;padding:10px;display:flex}.schedule-day-header:last-child{border-right:0}.schedule-day-date-button{text-align:left;color:#0b2447;cursor:pointer;background:0 0;border:0;min-width:0;padding:0;font-weight:800}.schedule-day-date-button small{color:#728096;margin-top:2px;font-size:10px;font-weight:600;display:block}.schedule-cell{border-right:1px solid #e8edf3;flex-direction:column;min-width:0;min-height:118px;padding:7px;display:flex;position:relative}.schedule-cell:last-child{border-right:0}.schedule-cell-main{text-align:left;cursor:pointer;background:#f6f9fd;border:0;border-left:3px solid #2f70b3;border-radius:6px;flex-direction:column;flex:1;gap:4px;width:100%;min-width:0;padding:8px;display:flex;overflow:hidden}.schedule-cell-main:hover{background:#eef5fd}.schedule-cell-top{justify-content:space-between;align-items:flex-start;gap:6px;min-width:0;display:flex}.schedule-cell-top strong{white-space:nowrap;font-size:11px}.schedule-cell-group{color:#607089;white-space:nowrap;text-overflow:ellipsis;min-width:0;font-size:10px;font-weight:800;overflow:hidden}.schedule-cell-time{color:#50627a;font-size:10px}.schedule-cell-title{-webkit-line-clamp:2;-webkit-box-orient:vertical;font-size:11px;font-weight:800;line-height:1.3;display:-webkit-box;overflow:hidden}.schedule-cell-meta{color:#748194;white-space:nowrap;text-overflow:ellipsis;font-size:10px;overflow:hidden}.schedule-cell-empty{color:#8793a3;border:1px dashed #d8e0e9;border-radius:6px;flex-direction:column;gap:4px;height:100%;min-height:96px;padding:8px;display:flex}.schedule-cell-empty strong{color:#5f6d7f;font-size:11px}.schedule-cell-empty small{font-size:10px}.schedule-cell-empty span{margin-top:auto;font-size:10px}.schedule-cell-actions{flex-wrap:wrap;gap:4px;margin-top:5px;display:flex}.schedule-type{white-space:nowrap;text-overflow:ellipsis;flex:none;max-width:46%;overflow:hidden}.schedule-detail-backdrop{z-index:1500;background:#0f172a47;position:fixed;inset:0}.schedule-detail-sheet{z-index:1501;background:#fff;width:min(46vw,640px);min-width:360px;height:100%;position:fixed;top:0;right:0;overflow:auto;box-shadow:-12px 0 30px #0f172a24}.schedule-detail-time{margin-bottom:12px;font-size:28px;font-weight:800}.schedule-detail-list{gap:0;margin-top:18px;display:grid}.schedule-detail-list>div{border-bottom:1px solid #edf1f5;grid-template-columns:130px 1fr;gap:12px;padding:12px 0;display:grid}.schedule-detail-list dt{color:#718096;text-transform:uppercase;font-size:11px;font-weight:800}.schedule-detail-list dd{white-space:pre-wrap;margin:0;font-size:13px;line-height:1.45}@media (width<=1100px){.schedule-period-row{grid-template-columns:88px repeat(var(--schedule-day-count,5),minmax(0,1fr))}.schedule-cell{padding:5px}.schedule-cell-main{padding:6px}.schedule-cell-meta{display:none}.schedule-type{max-width:52%;padding:2px 5px;font-size:9px}}@media (width<=760px){.schedule-timetable{overflow-x:auto}.schedule-period-row{min-width:900px}.schedule-detail-sheet{width:100%;min-width:0}.schedule-cell{min-height:104px}}.schedule-cell-stack{flex-direction:column;gap:5px;height:100%;min-height:0;display:flex;overflow:hidden}.schedule-cell-stack.multiple .schedule-cell-main{min-height:0;padding:5px 6px}.schedule-cell-stack.multiple .schedule-cell-title{-webkit-line-clamp:1}.schedule-cell-stack.multiple .schedule-cell-meta,.schedule-cell-stack.multiple .schedule-cell-time{display:none}
