:root{font-family:system-ui,Avenir,Helvetica,Arial,sans-serif;line-height:1.5;font-weight:400;color-scheme:light dark;color:#ffffffde;background-color:#242424;font-synthesis:none;text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}a{font-weight:500;color:#646cff;text-decoration:inherit}a:hover{color:#535bf2}:root.telegram-miniapp body{padding-top:var(--tg-safe-area-inset-top, 0px);padding-bottom:var(--tg-safe-area-inset-bottom, 0px);padding-left:var(--tg-safe-area-inset-left, 0px);padding-right:var(--tg-safe-area-inset-right, 0px)}html{height:100%;overflow-x:hidden}body{margin:0;display:flex;place-items:center;min-width:320px;min-height:100vh;min-height:100dvh;height:100%}body:has(.auth-card-page){display:block;place-items:unset;height:100%}body:has(.app-dashboard-layout){display:block;min-height:100vh;min-height:100dvh;height:100%;overflow:hidden}h1{font-size:3.2em;line-height:1.1}button{border-radius:8px;border:1px solid transparent;padding:.6em 1.2em;font-size:1em;font-weight:500;font-family:inherit;background-color:#1a1a1a;cursor:pointer;transition:border-color .25s}button:hover{border-color:#646cff}button:focus,button:focus-visible{outline:4px auto -webkit-focus-ring-color}@media(prefers-color-scheme:light){:root{color:#213547;background-color:#fff}a:hover{color:#747bff}button{background-color:#f9f9f9}}.ed-page{max-width:860px}.ed-absence-action{margin-bottom:1rem}.ed-absence-action__btn{display:inline-flex;align-items:center;gap:.5rem;padding:.625rem 1rem;font-size:.9375rem;font-weight:600;color:#fff;background:linear-gradient(135deg,#2563eb,#7c3aed);border:none;border-radius:10px;cursor:pointer;transition:transform .15s,box-shadow .15s;box-shadow:0 1px 3px #2563eb40}.ed-absence-action__btn:hover{transform:translateY(-1px);box-shadow:0 4px 12px #2563eb59}.ed-absence-action__btn:active{transform:translateY(0)}.ed-absence-action__btn svg{flex-shrink:0}.ed-back-link{display:inline-flex;align-items:center;gap:.35rem;font-size:.875rem;font-weight:500;color:#2563eb;text-decoration:none;margin-bottom:1rem;transition:color .15s}.ed-back-link:hover{color:#1d4ed8}.ed-hero{display:flex;align-items:flex-start;gap:1rem;padding:1.25rem 1.5rem;background:linear-gradient(135deg,#eff6ff,#f0fdf4);border-radius:12px;margin-bottom:1rem;border:1px solid #e0e7ff}.ed-hero-icon{flex-shrink:0;width:48px;height:48px;display:flex;align-items:center;justify-content:center;background:#2563eb;color:#fff;border-radius:10px}.ed-hero-text{display:flex;flex-direction:column;gap:.25rem;min-width:0}.ed-hero-title{font-size:1.35rem;font-weight:700;color:#1e293b;margin:0;line-height:1.3}.ed-hero-subtitle{font-size:.8125rem;font-weight:600;color:#475569;letter-spacing:.02em}.ed-hero-meta{font-size:.8125rem;color:#64748b}.ed-card{margin-bottom:1rem}.ed-section-header{display:flex;align-items:center;justify-content:space-between;gap:1rem;flex-wrap:wrap;margin-bottom:0}.ed-section-title{display:flex;align-items:center;gap:.5rem;color:#1e293b;margin:0}.ed-section-title svg{color:#2563eb;flex-shrink:0}.ed-section-action{flex-shrink:0}.ed-empty{font-size:.875rem;color:#94a3b8;margin:0}.ed-schedule-alerts,.ed-schedule-semester{margin-bottom:1rem}.ed-schedule-empty{padding:1rem;font-size:.875rem;color:#94a3b8;text-align:center;background:#f8fafc;border:1px solid #e2e8f0;border-radius:10px}.ed-info-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(140px,1fr));gap:.75rem}.ed-info-tile{display:flex;flex-direction:column;gap:.2rem;padding:.75rem;background:#f8fafc;border-radius:8px;border:1px solid #e2e8f0}.ed-info-tile-label{font-size:.75rem;font-weight:600;color:#64748b;text-transform:uppercase;letter-spacing:.04em}.ed-info-tile-value{font-size:1rem;font-weight:600;color:#1e293b}.ed-content-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:1rem}.ed-material-list{display:flex;flex-direction:column;gap:.5rem}.ed-material-row{display:flex;align-items:center;gap:.75rem;padding:.625rem .75rem;background:#f8fafc;border-radius:8px;border:1px solid #e2e8f0;transition:border-color .15s}.ed-material-row:hover{border-color:#cbd5e1}.ed-material-icon{flex-shrink:0;width:32px;height:32px;display:flex;align-items:center;justify-content:center;background:#fef3c7;color:#d97706;border-radius:6px}.ed-material-info{flex:1;display:flex;flex-direction:column;gap:.1rem;min-width:0}.ed-material-title{font-size:.9375rem;font-weight:600;color:#1e293b}.ed-material-desc{font-size:.8125rem;color:#64748b;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.ed-material-file-meta{font-size:.75rem;color:#94a3b8}.ed-material-download{flex-shrink:0;display:inline-flex;align-items:center;justify-content:center;gap:.35rem;min-width:32px;height:32px;padding:0 .5rem;background:none;border:1px solid #e2e8f0;border-radius:6px;color:#2563eb;cursor:pointer;font-size:.8125rem;font-weight:500;transition:background .15s,border-color .15s}.ed-material-download svg{flex-shrink:0;color:currentColor}.ed-material-download:hover{background:#eff6ff;border-color:#93c5fd}.ed-material-download-text{white-space:nowrap}.ed-stats-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(180px,1fr));gap:.75rem}.ed-stat-card{display:flex;flex-direction:column;align-items:center;gap:.35rem;padding:1.25rem 1rem;border-radius:10px;text-align:center;border:1px solid #e2e8f0}.ed-stat-value{font-size:1.5rem;font-weight:700;line-height:1.2}.ed-stat-label{font-size:.8125rem;font-weight:500;color:#64748b}.ed-stat-card--green{background:#f0fdf4;border-color:#bbf7d0}.ed-stat-card--green .ed-stat-value{color:#15803d}.ed-stat-card--amber{background:#fffbeb;border-color:#fde68a}.ed-stat-card--amber .ed-stat-value{color:#b45309}.ed-stat-card--red{background:#fef2f2;border-color:#fecaca}.ed-stat-card--red .ed-stat-value{color:#b91c1c}.ed-stat-card--blue{background:#eff6ff;border-color:#bfdbfe}.ed-stat-card--blue .ed-stat-value{color:#1d4ed8}.ed-stat-card--neutral{background:#f8fafc;border-color:#e2e8f0}.ed-stat-card--neutral .ed-stat-value{color:#475569}.ed-stat-card--clickable{cursor:pointer;transition:filter .15s,box-shadow .15s}.ed-stat-card--clickable:hover{filter:brightness(.98);box-shadow:0 2px 8px #0000000f}.ed-stat-card .ed-stat-label{display:inline-flex;align-items:center;gap:.35rem}.ed-stat-card .ed-stat-icon{flex-shrink:0;opacity:.85}.ed-file-row{display:flex;align-items:center;gap:.75rem;padding:.5rem .75rem;background:#f8fafc;border-radius:8px;border:1px solid #e2e8f0;transition:border-color .15s}.ed-file-row:hover{border-color:#cbd5e1}.ed-file-row-icon{flex-shrink:0;width:28px;height:28px;display:flex;align-items:center;justify-content:center;background:#e0e7ff;color:#3b82f6;border-radius:6px}.ed-file-row-info{flex:1;min-width:0}.ed-file-row-title{font-size:.875rem;font-weight:600;color:#1e293b}.ed-file-row-meta{font-size:.75rem;color:#94a3b8}.ed-teachers-list{display:flex;flex-direction:column;gap:.5rem}.ed-teacher-card{display:flex;align-items:center;gap:.75rem;padding:.625rem .875rem;background:#f8fafc;border-radius:8px;border:1px solid #e2e8f0}.ed-teacher-avatar{flex-shrink:0;width:36px;height:36px;display:flex;align-items:center;justify-content:center;background:#e0e7ff;color:#3b82f6;border-radius:50%}.ed-teacher-info{display:flex;flex-direction:column;gap:.1rem;min-width:0}.ed-teacher-name{font-size:.9375rem;font-weight:600;color:#1e293b}.ed-teacher-role{font-size:.8125rem;color:#2563eb;font-weight:500}.ed-teacher-position{font-size:.75rem;color:#94a3b8}.ed-slots-list{display:flex;flex-wrap:wrap;gap:.5rem}.ed-slot-chip{display:inline-flex;align-items:center;gap:.4rem;padding:.5rem .75rem;background:#f0f9ff;border:1px solid #bae6fd;border-radius:8px;font-size:.875rem;color:#0c4a6e}.ed-slot-day{font-weight:600;color:#0369a1}.ed-slot-time{font-weight:500}.ed-slot-type{font-size:.75rem;padding:.1rem .4rem;background:#e0f2fe;border-radius:4px;font-weight:500;color:#0369a1}.ed-chip-list{display:flex;flex-wrap:wrap;gap:.5rem}.ed-chip{display:inline-flex;align-items:center;padding:.5rem 1rem;border:2px solid #e2e8f0;border-radius:10px;background:#fff;font-size:.9375rem;font-weight:500;color:#475569;cursor:pointer;transition:border-color .15s,background .15s,color .15s}.ed-chip:hover{border-color:#cbd5e1;background:#f8fafc;color:#1e293b}.ed-chip--active{border-color:#2563eb;background:#eff6ff;color:#1d4ed8}.ed-data-table-wrapper{overflow-x:auto;border:1px solid #e2e8f0;border-radius:12px;background:#fff}.ed-data-table{width:100%;border-collapse:collapse;font-size:.875rem}.ed-data-table th{text-align:left;padding:.75rem 1rem;font-weight:600;color:#475569;background:#f8fafc;border-bottom:1px solid #e2e8f0}.ed-data-table th:first-child{border-top-left-radius:12px}.ed-data-table td{padding:.75rem 1rem;border-bottom:1px solid #f1f5f9;color:#1e293b}.ed-data-table tbody tr:last-child td{border-bottom:none}.ed-data-table tbody tr:hover{background:#f8fafc}.ed-data-table .ed-cell-mono{font-family:ui-monospace,monospace;font-size:.8125rem}.ed-data-table .ed-cell-empty{text-align:center;padding:2rem;color:#64748b}.ed-table-stat-btn{appearance:none;border:none;padding:.25rem .6rem;margin:-.25rem -.6rem;font:inherit;font-weight:600;font-size:.875rem;cursor:pointer;border-radius:8px;background:#f1f5f9;color:#475569;transition:background .15s,color .15s}.ed-table-stat-btn:hover{background:#e2e8f0}.ed-table-stat-btn--green{background:#dcfce7;color:#166534}.ed-table-stat-btn--amber{background:#fef9c3;color:#854d0e}.ed-table-stat-btn--red{background:#fee2e2;color:#991b1b}.ed-table-stat-btn--blue{background:#dbeafe;color:#1d4ed8}.ed-table-stat-btn--green:hover,.ed-table-stat-btn--amber:hover,.ed-table-stat-btn--red:hover,.ed-table-stat-btn--blue:hover{filter:brightness(.96)}.ed-table-stat-percent{margin-left:.15rem;font-weight:500;opacity:.9}.ed-leader-badge{display:inline-flex;align-items:center;gap:.35rem;padding:.25rem .5rem;border-radius:6px;font-size:.75rem;font-weight:600}.ed-leader-badge--headman{background:#dbeafe;color:#1d4ed8}.ed-leader-badge--deputy{background:#e0e7ff;color:#4338ca}.ed-lesson-tabs{display:flex;gap:.25rem;margin-bottom:1rem;padding-bottom:.75rem;border-bottom:1px solid #e2e8f0}.ed-lesson-tabs__btn{display:inline-flex;align-items:center;gap:.5rem;padding:.5rem 1rem;border:none;border-radius:8px;font-size:.9375rem;font-weight:600;color:#64748b;background:transparent;cursor:pointer;transition:color .15s,background .15s}.ed-lesson-tabs__btn:hover{color:#1e40af;background:#f1f5f9}.ed-lesson-tabs__btn--active{color:#1e40af;background:#eff6ff}.ed-lesson-tabs-content{min-height:120px}.ed-attendance-table{width:100%;border-collapse:collapse;font-size:.9375rem}.ed-attendance-table th{padding:.75rem .5rem;font-weight:600;color:#475569;text-align:left;border-bottom:2px solid #e2e8f0}.ed-attendance-table td{padding:.75rem .5rem;border-bottom:1px solid #e2e8f0}.ed-attendance-table tbody tr:last-child td{border-bottom:none}.ed-attendance-notice-btn{padding:.25rem .5rem;font-size:.875rem;border-radius:6px;cursor:pointer;border:1px solid #e2e8f0;background:#f8fafc;color:#2563eb;font-weight:500;transition:background .15s,border-color .15s,color .15s}.ed-attendance-notice-btn:hover{background:#f1f5f9;border-color:#cbd5e1;color:#1d4ed8}.ed-attendance-notice-btn--absent{background:#fef2f2;border-color:#fecaca;color:#b91c1c}.ed-attendance-notice-btn--absent:hover{background:#fee2e2;border-color:#fca5a5;color:#991b1b}.ed-attendance-notice-btn--late{background:#fffbeb;border-color:#fde68a;color:#b45309}.ed-attendance-notice-btn--late:hover{background:#fef3c7;border-color:#fcd34d;color:#92400e}.ed-attendance-table .form-control{border:1px solid #e2e8f0;border-radius:6px;font-size:.875rem}@media(max-width:480px){.ed-material-download-text{display:none}}@media(max-width:600px){.ed-hero{flex-direction:column;align-items:stretch}.ed-info-grid{grid-template-columns:repeat(2,1fr)}.ed-stats-grid,.ed-content-grid{grid-template-columns:1fr}}.ed-hw-dialog.department-modal .department-modal-body{max-height:min(85vh,640px);overflow-y:auto}.ed-hw-dialog__body{padding:0}.ed-hw-dialog__hero{display:flex;align-items:flex-start;gap:1rem;padding:1rem 1.25rem;background:linear-gradient(135deg,#eff6ff,#f0fdf4);border-radius:12px;margin-bottom:1rem;border:1px solid #e0e7ff}.ed-hw-dialog__hero-icon{flex-shrink:0;width:44px;height:44px;display:flex;align-items:center;justify-content:center;background:#2563eb;color:#fff;border-radius:10px}.ed-hw-dialog__hero-text{display:flex;flex-direction:column;gap:.2rem;min-width:0}.ed-hw-dialog__hero-subject{font-size:1.1rem;font-weight:700;color:#1e293b}.ed-hw-dialog__hero-meta{font-size:.8125rem;color:#64748b}.ed-hw-dialog__list{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:.75rem}.ed-hw-dialog__card{padding:1rem 1.25rem;border-radius:10px;border:1px solid #e2e8f0;background:#f8fafc;transition:border-color .15s}.ed-hw-dialog__card--submitted{border-left:4px solid #16a34a;background:#f0fdf4;border-color:#bbf7d0}.ed-hw-dialog__card--not-submitted{border-left:4px solid #dc2626;background:#fef2f2;border-color:#fecaca}.ed-hw-dialog__card-header{display:flex;align-items:flex-start;justify-content:space-between;gap:.75rem;margin-bottom:.35rem}.ed-hw-dialog__card-title{font-size:1rem;font-weight:700;color:#1e293b;margin:0;line-height:1.3}.ed-hw-dialog__max-points{flex-shrink:0;font-size:.8125rem;font-weight:600;color:#475569}.ed-hw-dialog__description{font-size:.875rem;color:#64748b;margin:0 0 .5rem;line-height:1.45}.ed-hw-dialog__meta-row,.ed-hw-dialog__link-row,.ed-hw-dialog__status,.ed-hw-dialog__grade,.ed-hw-dialog__comment,.ed-hw-dialog__files{display:flex;align-items:flex-start;gap:.5rem;font-size:.8125rem;margin-top:.4rem}.ed-hw-dialog__meta-row svg,.ed-hw-dialog__status svg,.ed-hw-dialog__grade svg,.ed-hw-dialog__comment svg,.ed-hw-dialog__files svg{flex-shrink:0;color:#64748b}.ed-hw-dialog__link{display:inline-flex;align-items:center;gap:.35rem;color:#2563eb;font-weight:500;text-decoration:none;transition:color .15s}.ed-hw-dialog__link:hover{color:#1d4ed8}.ed-hw-dialog__status--ok{color:#15803d}.ed-hw-dialog__status--ok svg{color:#16a34a}.ed-hw-dialog__status--missing{color:#b91c1c}.ed-hw-dialog__status--missing svg{color:#dc2626}.ed-hw-dialog__grade-points{font-weight:600;color:#1d4ed8}.ed-hw-dialog__grade-type{color:#64748b;margin-left:.25rem}.ed-hw-dialog__graded-at{color:#64748b;margin-left:auto}.ed-hw-dialog__comment{margin-top:.5rem;padding:.5rem .75rem;background:#f8fafc;border-radius:8px;border:1px solid #e2e8f0}.ed-hw-dialog__comment-inner{display:flex;flex-direction:column;gap:.2rem;min-width:0}.ed-hw-dialog__comment-label{font-weight:600;color:#475569}.ed-hw-dialog__comment-text{margin:0;font-size:.875rem;color:#1e293b;line-height:1.45}.ed-hw-dialog__files-inner{display:flex;flex-direction:column;gap:.2rem;min-width:0}.ed-hw-dialog__files-label{font-weight:600;color:#475569}.ed-hw-dialog__files-list{margin:0;padding-left:1.25rem;font-size:.8125rem;color:#64748b}.ed-attendance-dialog.department-modal .department-modal-body{max-height:min(85vh,640px);overflow-y:auto}.ed-attendance-dialog__body{padding:0}.ed-attendance-dialog__hero{display:flex;align-items:flex-start;gap:1rem;padding:1rem 1.25rem;background:linear-gradient(135deg,#eff6ff,#f0fdf4);border-radius:12px;margin-bottom:1rem;border:1px solid #e0e7ff}.ed-attendance-dialog__hero-icon{flex-shrink:0;width:44px;height:44px;display:flex;align-items:center;justify-content:center;background:#2563eb;color:#fff;border-radius:10px}.ed-attendance-dialog__hero-text{display:flex;flex-direction:column;gap:.2rem;min-width:0}.ed-attendance-dialog__hero-subject{font-size:1.1rem;font-weight:700;color:#1e293b}.ed-attendance-dialog__hero-meta{font-size:.8125rem;color:#64748b}.ed-attendance-dialog__list{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:.75rem}.ed-attendance-dialog__card{padding:1rem 1.25rem;border-radius:10px;border:1px solid #e2e8f0;background:#f8fafc;border-left-width:4px;transition:border-color .15s}.ed-attendance-dialog__card--present{border-left-color:#16a34a;background:#f0fdf4;border-color:#bbf7d0}.ed-attendance-dialog__card--absent{border-left-color:#dc2626;background:#fef2f2;border-color:#fecaca}.ed-attendance-dialog__card--late{border-left-color:#ca8a04;background:#fffbeb;border-color:#fde68a}.ed-attendance-dialog__card--unmarked{border-left-color:#94a3b8;background:#f8fafc;border-color:#e2e8f0}.ed-attendance-dialog__card-main{display:flex;flex-direction:column;gap:.35rem}.ed-attendance-dialog__card-header{display:flex;align-items:center;justify-content:space-between;gap:.75rem;flex-wrap:wrap}.ed-attendance-dialog__card-datetime{display:inline-flex;align-items:center;gap:.4rem;font-size:.9375rem;font-weight:600;color:#1e293b}.ed-attendance-dialog__card-datetime svg{flex-shrink:0;color:#64748b}.ed-attendance-dialog__badge{flex-shrink:0;font-size:.75rem;font-weight:600;padding:.25rem .5rem;border-radius:6px;text-transform:uppercase;letter-spacing:.03em}.ed-attendance-dialog__badge--present{background:#dcfce7;color:#15803d}.ed-attendance-dialog__badge--absent{background:#fee2e2;color:#b91c1c}.ed-attendance-dialog__badge--late{background:#fef3c7;color:#b45309}.ed-attendance-dialog__badge--unmarked{background:#f1f5f9;color:#64748b}.ed-attendance-dialog__card-topic{font-size:.875rem;color:#64748b;margin:0;line-height:1.4}.ed-attendance-dialog__card-actions{display:flex;align-items:center;flex-wrap:wrap;gap:.75rem;margin-top:.25rem}.ed-attendance-dialog__link{display:inline-flex;align-items:center;gap:.35rem;color:#2563eb;font-size:.875rem;font-weight:500;text-decoration:none;transition:color .15s}.ed-attendance-dialog__link:hover{color:#1d4ed8}.ed-attendance-dialog__link svg{flex-shrink:0}.ed-attendance-dialog__toggle{display:inline-flex;align-items:center;gap:.35rem;padding:.25rem .5rem;background:#f1f5f9;border:1px solid #e2e8f0;border-radius:6px;font-size:.8125rem;color:#475569;cursor:pointer;transition:background .15s,border-color .15s}.ed-attendance-dialog__toggle:hover{background:#e2e8f0;border-color:#cbd5e1}.ed-attendance-dialog__toggle svg{flex-shrink:0}.ed-attendance-dialog__notices{margin-top:.75rem;padding-top:.75rem;border-top:1px solid #e2e8f0;display:flex;flex-direction:column;gap:.5rem}.ed-attendance-dialog__notice{padding:.625rem .75rem;background:#f8fafc;border-radius:8px;border:1px solid #e2e8f0}.ed-attendance-dialog__notice-header{display:flex;align-items:center;gap:.5rem;flex-wrap:wrap;margin-bottom:.25rem}.ed-attendance-dialog__notice-header>svg{flex-shrink:0;color:#64748b}.ed-attendance-dialog__notice-type{font-size:.8125rem;font-weight:600;color:#475569}.ed-attendance-dialog__notice-status{font-size:.75rem;font-weight:500;padding:.1rem .35rem;border-radius:4px}.ed-attendance-dialog__notice-status--approved{background:#dcfce7;color:#15803d}.ed-attendance-dialog__notice-status--rejected{background:#fee2e2;color:#b91c1c}.ed-attendance-dialog__notice-status--pending,.ed-attendance-dialog__notice-status--submitted{background:#fef3c7;color:#b45309}.ed-attendance-dialog__notice-status--canceled{background:#f1f5f9;color:#64748b}.ed-attendance-dialog__notice-reason{font-size:.875rem;color:#1e293b;margin:0 0 .35rem;line-height:1.45}.ed-attendance-dialog__notice-meta{display:flex;flex-wrap:wrap;gap:.75rem;font-size:.75rem;color:#94a3b8}.ed-grade-dialog.department-modal .department-modal-body{max-height:min(85vh,640px);overflow-y:auto}.ed-grade-dialog__body{padding:0}.ed-grade-dialog__hero{display:flex;align-items:flex-start;gap:1rem;padding:1rem 1.25rem;background:linear-gradient(135deg,#eff6ff,#fef3c7);border-radius:12px;margin-bottom:1rem;border:1px solid #e0e7ff}.ed-grade-dialog__hero-icon{flex-shrink:0;width:44px;height:44px;display:flex;align-items:center;justify-content:center;background:linear-gradient(135deg,#2563eb,#7c3aed);color:#fff;border-radius:10px}.ed-grade-dialog__hero-text{display:flex;flex-direction:column;gap:.2rem;min-width:0}.ed-grade-dialog__hero-subject{font-size:1.1rem;font-weight:700;color:#1e293b}.ed-grade-dialog__hero-meta{font-size:.8125rem;color:#64748b}.ed-grade-dialog__list{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:.75rem}.ed-grade-dialog__card{padding:1rem 1.25rem;border-radius:10px;border:1px solid #e2e8f0;background:#f8fafc;border-left-width:4px;transition:border-color .15s}.ed-grade-dialog__card--lesson{border-left-color:#2563eb;background:#eff6ff;border-color:#bfdbfe}.ed-grade-dialog__card--homework{border-left-color:#16a34a;background:#f0fdf4;border-color:#bbf7d0}.ed-grade-dialog__card-header{display:flex;align-items:center;gap:.5rem;flex-wrap:wrap;margin-bottom:.35rem}.ed-grade-dialog__points{font-size:1.125rem;font-weight:700;color:#1e293b}.ed-grade-dialog__type{font-size:.75rem;font-weight:600;padding:.2rem .5rem;background:#e2e8f0;color:#475569;border-radius:6px;text-transform:uppercase;letter-spacing:.03em}.ed-grade-dialog__source{display:flex;align-items:center;gap:.4rem;font-size:.875rem;color:#475569;flex-wrap:wrap}.ed-grade-dialog__source svg{flex-shrink:0;color:#64748b}.ed-grade-dialog__source-label{font-weight:600}.ed-grade-dialog__homework-title{color:#1e293b}.ed-grade-dialog__homework-info{margin-top:.5rem;padding-top:.5rem;border-top:1px solid rgba(0,0,0,.06)}.ed-grade-dialog__homework-desc{font-size:.8125rem;color:#64748b;margin:0 0 .25rem;line-height:1.45}.ed-grade-dialog__homework-max{font-size:.75rem;font-weight:600;color:#475569}.ed-grade-dialog__meta-row,.ed-grade-dialog__link-row,.ed-grade-dialog__comment,.ed-grade-dialog__graded{display:flex;align-items:flex-start;gap:.5rem;font-size:.8125rem;margin-top:.4rem}.ed-grade-dialog__meta-row svg,.ed-grade-dialog__graded svg{flex-shrink:0;color:#64748b}.ed-grade-dialog__link{display:inline-flex;align-items:center;gap:.35rem;color:#2563eb;font-weight:500;text-decoration:none;transition:color .15s}.ed-grade-dialog__link:hover{color:#1d4ed8}.ed-grade-dialog__link svg{flex-shrink:0}.ed-grade-dialog__comment{margin-top:.5rem;padding:.5rem .75rem;background:#f8fafc;border-radius:8px;border:1px solid #e2e8f0}.ed-grade-dialog__comment svg{flex-shrink:0;color:#64748b}.ed-grade-dialog__comment-inner{display:flex;flex-direction:column;gap:.2rem;min-width:0}.ed-grade-dialog__comment-label{font-weight:600;color:#475569}.ed-grade-dialog__comment-text{margin:0;font-size:.875rem;color:#1e293b;line-height:1.45}.ed-grade-dialog__graded{align-items:center;flex-wrap:wrap;color:#64748b}.ed-grade-dialog__graded-at{margin-left:auto;color:#94a3b8}.ed-absence-request-dialog.department-modal .department-modal-body{max-width:480px;max-height:min(90vh,560px);overflow-y:auto}.ed-absence-request-dialog__body{padding:0}.ed-absence-request-dialog__hero{display:flex;align-items:flex-start;gap:1rem;padding:1rem 1.25rem;background:linear-gradient(135deg,#eff6ff,#fef3c7);border-radius:12px;margin-bottom:1.25rem;border:1px solid #e0e7ff}.ed-absence-request-dialog__hero-icon{flex-shrink:0;width:44px;height:44px;display:flex;align-items:center;justify-content:center;background:linear-gradient(135deg,#2563eb,#ea580c);color:#fff;border-radius:10px}.ed-absence-request-dialog__hero-text{display:flex;flex-direction:column;gap:.25rem;min-width:0}.ed-absence-request-dialog__hero-subject{font-size:1.1rem;font-weight:700;color:#1e293b}.ed-absence-request-dialog__hero-meta{display:inline-flex;align-items:center;gap:.35rem;font-size:.8125rem;color:#64748b}.ed-absence-request-dialog__hero-meta svg{flex-shrink:0;color:#94a3b8}.ed-absence-request-dialog__form{display:flex;flex-direction:column;gap:1.25rem}.ed-absence-request-dialog__type-row{display:flex;flex-direction:column;gap:.5rem}.ed-absence-request-dialog__type-label{font-size:.875rem;font-weight:600;color:#374151}.ed-absence-request-dialog__type-options{display:grid;grid-template-columns:1fr 1fr;gap:.75rem}.ed-absence-request-dialog__type-option{display:flex;flex-direction:column;align-items:flex-start;gap:.25rem;padding:.875rem 1rem;text-align:left;background:#f8fafc;border:2px solid #e2e8f0;border-radius:10px;cursor:pointer;transition:border-color .2s,background .2s,box-shadow .2s}.ed-absence-request-dialog__type-option:hover{background:#f1f5f9;border-color:#cbd5e1}.ed-absence-request-dialog__type-option--active{background:#eff6ff;border-color:#2563eb;box-shadow:0 0 0 1px #2563eb}.ed-absence-request-dialog__type-option--active:hover{background:#dbeafe;border-color:#1d4ed8}.ed-absence-request-dialog__type-option-label{font-size:.9375rem;font-weight:600;color:#1e293b}.ed-absence-request-dialog__type-option-desc{font-size:.75rem;color:#64748b;line-height:1.35}.ed-absence-request-dialog__reason{width:100%;padding:.625rem .75rem;font-size:.9375rem;line-height:1.5;color:#1e293b;background:#fff;border:1px solid #e2e8f0;border-radius:8px;resize:vertical;min-height:96px;transition:border-color .15s}.ed-absence-request-dialog__reason:focus{outline:none;border-color:#2563eb;box-shadow:0 0 0 2px #2563eb33}.ed-absence-request-dialog__reason::placeholder{color:#94a3b8}.ed-absence-request-dialog__reason-footer{margin-top:.35rem;text-align:right;font-size:.75rem;color:#94a3b8}.ed-absence-request-dialog__count--over{color:#dc2626;font-weight:600}.ed-absence-request-dialog__actions{display:flex;flex-wrap:wrap;gap:.75rem;justify-content:flex-end;padding-top:.5rem;border-top:1px solid #e2e8f0}.ed-absence-request-dialog__btn-cancel{min-width:0}.ed-absence-request-dialog__btn-submit{display:inline-flex;align-items:center;gap:.5rem;min-width:0}.ed-absence-request-dialog__spinner{animation:ed-spin .8s linear infinite}@keyframes ed-spin{to{transform:rotate(360deg)}}.ed-absence-request-dialog__success{display:flex;align-items:center;justify-content:center;gap:.75rem;padding:1.5rem;background:linear-gradient(135deg,#f0fdf4,#dcfce7);border:1px solid #bbf7d0;border-radius:12px;font-size:1rem;font-weight:600;color:#15803d}.ed-absence-request-dialog__success svg{flex-shrink:0;color:#16a34a}.ed-submission-section{margin-bottom:1rem}.ed-submission-list{display:flex;flex-direction:column;gap:1.25rem}.ed-submission-card{padding:1rem 1.25rem;border-radius:10px;border:1px solid #e2e8f0;background:#f8fafc;border-left-width:4px;border-left-color:#94a3b8;transition:border-color .15s}.ed-submission-card--submitted{border-left-color:#16a34a;background:#f0fdf4;border-color:#bbf7d0}.ed-submission-card__header{display:flex;align-items:center;justify-content:space-between;gap:.75rem;margin-bottom:.75rem}.ed-submission-card__title{font-size:1rem;font-weight:700;color:#1e293b;margin:0;line-height:1.3}.ed-submission-card__points{flex-shrink:0;font-size:.8125rem;font-weight:600;color:#475569}.ed-submission-card__error{padding:.5rem .75rem;margin-bottom:.75rem;font-size:.875rem;color:#b91c1c;background:#fef2f2;border:1px solid #fecaca;border-radius:8px}.ed-submission-form{display:flex;flex-direction:column;gap:1rem}.ed-submission-form__field{display:flex;flex-direction:column;gap:.35rem}.ed-submission-form__label{font-size:.875rem;font-weight:600;color:#374151}.ed-submission-form__textarea{width:100%;padding:.625rem .75rem;font-size:.9375rem;line-height:1.5;color:#1e293b;background:#fff;border:1px solid #e2e8f0;border-radius:8px;resize:vertical;min-height:80px;transition:border-color .15s}.ed-submission-form__textarea:focus{outline:none;border-color:#2563eb;box-shadow:0 0 0 2px #2563eb33}.ed-submission-form__textarea::placeholder{color:#94a3b8}.ed-submission-form__actions{display:flex;flex-wrap:wrap;gap:.75rem;align-items:center;padding-top:.25rem}.ed-submission-form__btn{display:inline-flex;align-items:center;gap:.5rem;padding:.5rem 1rem;font-size:.9375rem;font-weight:600;border:none;border-radius:8px;cursor:pointer;transition:background .15s,border-color .15s}.ed-submission-form__btn:disabled{opacity:.7;cursor:not-allowed}.ed-submission-form__btn--primary{color:#fff;background:linear-gradient(135deg,#2563eb,#7c3aed);box-shadow:0 1px 3px #2563eb40}.ed-submission-form__btn--primary:hover:not(:disabled){filter:brightness(1.05);box-shadow:0 4px 12px #2563eb59}.ed-submission-form__btn--secondary{color:#475569;background:#f1f5f9;border:1px solid #e2e8f0}.ed-submission-form__btn--secondary:hover:not(:disabled){background:#e2e8f0;border-color:#cbd5e1}.ed-submission-form__btn--danger{color:#fff;background:#dc2626;border:1px solid #b91c1c}.ed-submission-form__btn--danger:hover:not(:disabled){background:#b91c1c;filter:brightness(1.05)}.ed-submission-form__spinner{display:inline-block;width:1rem;height:1rem;border:2px solid rgba(255,255,255,.4);border-top-color:#fff;border-radius:50%;animation:ed-spin .8s linear infinite}.ed-submission-view__meta{display:flex;flex-direction:column;gap:.25rem;margin-bottom:.5rem}.ed-submission-view__label{font-size:.8125rem;font-weight:600;color:#475569}.ed-submission-view__date{font-size:.875rem;color:#64748b}.ed-submission-view__description{font-size:.875rem;color:#1e293b;margin:0 0 .5rem;line-height:1.45;white-space:pre-wrap}.ed-submission-view__files{margin-top:.5rem}.ed-submission-view__files-label{font-size:.8125rem;font-weight:600;color:#475569;display:block;margin-bottom:.35rem}.ed-submission-view__files-list{margin:0;padding-left:1.25rem;list-style:disc}.ed-submission-view__file-link{display:inline-flex;align-items:center;gap:.35rem;padding:0;margin:.25rem 0;font-size:.875rem;color:#2563eb;font-weight:500;background:none;border:none;cursor:pointer;text-align:left;transition:color .15s}.ed-submission-view__file-link:hover{color:#1d4ed8;text-decoration:underline}.ed-submission-view__file-link svg{flex-shrink:0;color:currentColor}.ed-submission-view__file-size{font-weight:400;color:#64748b}.ed-submission-view__actions{display:flex;flex-wrap:wrap;gap:.75rem;margin-top:1rem;padding-top:.75rem;border-top:1px solid #e2e8f0}.ed-absence-notices-view-dialog .department-modal-body{max-height:min(80vh,520px);overflow-y:auto}.ed-absence-notices-view-dialog__body{display:flex;flex-direction:column;gap:1rem}.ed-absence-notices-view-dialog__empty{margin:0;color:#64748b;font-size:.9375rem}.ed-absence-notices-view-dialog__list{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:1.25rem}.ed-absence-notices-view-dialog__item{padding:1rem;background:#f8fafc;border:1px solid #e2e8f0;border-radius:8px;display:flex;flex-direction:column;gap:.5rem}.ed-absence-notices-view-dialog__item--withdrawn{background:#f1f5f9;border-color:#cbd5e1;opacity:.92}.ed-absence-notices-view-dialog__withdrawn-banner{padding:.5rem .75rem;margin:-1rem -1rem .5rem;background:#e2e8f0;color:#475569;font-size:.8125rem;font-weight:600;border-radius:7px 7px 0 0;border:1px solid #cbd5e1;border-bottom:none}.ed-absence-notices-view-dialog__item-header{display:flex;flex-wrap:wrap;align-items:center;gap:.5rem 1rem}.ed-absence-notices-view-dialog__type{font-weight:600;font-size:.9375rem}.ed-absence-notices-view-dialog__type--absent{color:#b91c1c}.ed-absence-notices-view-dialog__type--late{color:#b45309}.ed-absence-notices-view-dialog__status{font-size:.875rem;color:#475569}.ed-absence-notices-view-dialog__reason{margin-top:.25rem}.ed-absence-notices-view-dialog__reason-label{font-size:.75rem;font-weight:600;color:#64748b;text-transform:uppercase;letter-spacing:.04em}.ed-absence-notices-view-dialog__reason-text{margin:.25rem 0 0;font-size:.875rem;color:#1e293b;white-space:pre-wrap;word-break:break-word}.ed-absence-notices-view-dialog__files{margin-top:.25rem}.ed-absence-notices-view-dialog__files-label{font-size:.75rem;font-weight:600;color:#64748b;text-transform:uppercase;letter-spacing:.04em}.ed-absence-notices-view-dialog__files-list{margin-top:.5rem;display:flex;flex-direction:column;gap:.35rem}.ed-absence-notices-view-dialog__actions{display:flex;justify-content:flex-end;padding-top:.5rem;border-top:1px solid #e2e8f0}.schedule-grid{--schedule-grid-time-col-width: 78px;display:flex;flex-direction:column;width:100%;background:#fff;border:1px solid #e2e8f0;border-radius:12px;overflow:hidden;box-shadow:0 1px 3px #0000000d}.schedule-grid__header{display:grid;grid-template-columns:var(--schedule-grid-time-col-width) repeat(7,1fr);position:sticky;top:0;z-index:3;background:#f8fafc;border-bottom:1px solid #e2e8f0}.schedule-grid__time-header,.schedule-grid__day-header{padding:.5rem .4rem;font-size:.8125rem;font-weight:600;color:#475569}.schedule-grid__time-header{border-right:1px solid #e2e8f0}.schedule-grid__day-header{text-align:center}.schedule-grid__day-header[data-weekend=true]{background:#f8fafccc}.schedule-grid__body{overflow-y:auto;overflow-x:hidden;flex:1;min-height:0}.schedule-grid__grid{display:grid;grid-template-columns:var(--schedule-grid-time-col-width) repeat(7,1fr);min-width:100%}.schedule-grid__time-col{position:relative;border-right:1px solid #e2e8f0;background:#fafbfc}.schedule-grid__time-axis{position:relative;height:100%}.schedule-grid__time-label{position:absolute;left:0;right:0;transform:translateY(-.4rem);padding:0 .4rem;font-size:.75rem;font-weight:500;color:#94a3b8;line-height:1.2;pointer-events:none}.schedule-grid__day-col{position:relative;background:#fff;min-height:100%}.schedule-grid__day-col[data-weekend=true]{background:#fafbfc}.schedule-grid__grid-lines{position:absolute;inset:0;pointer-events:none;z-index:0}.schedule-grid__grid-line{position:absolute;left:0;right:0;height:0;border-top:1px solid #f1f5f9;box-sizing:border-box}.schedule-grid__slots{position:absolute;inset:0;z-index:1;pointer-events:none}.schedule-grid__slots>*{pointer-events:auto}.schedule-grid__slot{position:absolute;border-radius:6px;overflow:hidden;border:1px solid #e2e8f0;border-left:3px solid #2563eb;background:#f0f9ff;box-sizing:border-box;cursor:default;padding:0}.schedule-grid__slot--clickable{cursor:pointer}.schedule-grid__slot:hover{background:#e0f2fe;border-color:#bae6fd;box-shadow:0 1px 2px #0000000d}.schedule-grid__slot--overlap{background:#fffbeb;border-left-color:#eab308}.schedule-grid__slot--overlap:hover{background:#fef3c7}.schedule-grid__slot--cancelled{background:#f1f5f9;border-left-color:#94a3b8;opacity:.9}.schedule-grid__slot--cancelled .schedule-grid__slot-inner,.schedule-grid__slot--cancelled .schedule-grid__slot-title{text-decoration:line-through}.schedule-grid__slot--done{opacity:.82;background:#f8fafc;border-left-color:#94a3b8}.schedule-grid__slot-inner{position:relative;padding:.35rem 2.25rem .35rem .5rem;height:100%;display:flex;flex-direction:column;justify-content:flex-start;gap:.15rem;font-size:.8125rem;color:#0f172a;box-sizing:border-box;overflow:hidden;min-height:0}.schedule-grid__slot-time{font-weight:600;font-size:.75rem;color:#475569;flex-shrink:0}.schedule-grid__slot-title{font-weight:600;font-size:.8125rem;line-height:1.25;display:-webkit-box;-webkit-line-clamp:2;line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;word-break:break-word}.schedule-grid__slot-subtitle{font-size:.6875rem;color:#64748b;line-height:1.2;display:-webkit-box;-webkit-line-clamp:1;line-clamp:1;-webkit-box-orient:vertical;overflow:hidden}.schedule-grid__slot-subtitle+.schedule-grid__slot-subtitle{margin-top:0}.schedule-grid__slot-chip-wrap{position:absolute;top:.2rem;right:.35rem;display:flex;align-items:center;gap:.2rem;flex-shrink:0}.schedule-grid__slot-chip{font-size:.625rem;font-weight:500;padding:.1rem .35rem;border-radius:4px;background:#fffffff2;color:#64748b;border:1px solid #e2e8f0}.schedule-grid__slot--cancelled .schedule-grid__slot-badge{background:#94a3b8;color:#fff;font-size:.5625rem;padding:.1rem .3rem}.schedule-grid__slot--overlap .schedule-grid__slot-chip{color:#a16207;border-color:#fde68a}.mobile-schedule-grid{display:flex;flex-direction:column;gap:.75rem;min-height:200px}.mobile-schedule-grid__week-nav{display:flex;align-items:center;justify-content:space-between;gap:.5rem;flex-wrap:wrap}.mobile-schedule-grid__week-label{font-size:.8125rem;font-weight:600;color:#0f172a;flex:1;min-width:0;text-align:center}.mobile-schedule-grid__day-tabs{display:flex;gap:.25rem;overflow-x:auto;-webkit-overflow-scrolling:touch;padding-bottom:.25rem;scrollbar-width:none}.mobile-schedule-grid__day-tabs::-webkit-scrollbar{display:none}.mobile-schedule-grid__day-tab{flex:0 0 auto;min-width:2.75rem;padding:.45rem .35rem;border-radius:10px;border:1px solid #e2e8f0;background:#fff;font-size:.6875rem;font-weight:600;color:#64748b;cursor:pointer;font-family:inherit;-webkit-tap-highlight-color:transparent;min-height:44px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:.1rem}.mobile-schedule-grid__day-tab--active{background:#eff6ff;border-color:#93c5fd;color:#1e40af}.mobile-schedule-grid__day-date{font-size:.625rem;font-weight:500;opacity:.85}.mobile-schedule-grid__day-nav{display:flex;justify-content:space-between;align-items:center;gap:.5rem}.mobile-schedule-grid__day-nav button{min-height:44px;padding:.5rem .85rem;border-radius:8px;border:1px solid #e2e8f0;background:#fff;font-size:.8125rem;font-weight:500;color:#334155;cursor:pointer;font-family:inherit}.mobile-schedule-grid__list{display:flex;flex-direction:column;gap:.5rem}.mobile-schedule-grid__empty{padding:2rem 1rem;text-align:center;color:#64748b;font-size:.875rem;background:#f8fafc;border-radius:12px;border:1px dashed #e2e8f0}.mobile-schedule-grid__card{border-radius:12px;border:1px solid #e2e8f0;background:#fff;padding:.75rem .85rem;text-align:left;cursor:pointer;font-family:inherit;width:100%;box-sizing:border-box;-webkit-tap-highlight-color:transparent;transition:background .12s ease,border-color .12s ease}.mobile-schedule-grid__card:active{background:#f8fafc}.mobile-schedule-grid__card--cancelled{opacity:.72;border-style:dashed}.mobile-schedule-grid__card--done{border-color:#bbf7d0;background:#f0fdf4}.mobile-schedule-grid__card-top{display:flex;flex-wrap:wrap;align-items:center;gap:.35rem;margin-bottom:.35rem}.mobile-schedule-grid__chip{font-size:.625rem;font-weight:600;padding:.2rem .45rem;border-radius:6px;background:#f1f5f9;color:#475569}.mobile-schedule-grid__time{font-size:.75rem;font-weight:600;color:#0369a1}.mobile-schedule-grid__title{display:block;font-size:.9375rem;font-weight:600;color:#0f172a;line-height:1.3}.mobile-schedule-grid__sub{display:block;font-size:.75rem;color:#64748b;margin-top:.25rem;line-height:1.35}.lesson-modal .department-modal-body{min-width:320px;max-width:560px}.lesson-modal-view{display:flex;flex-direction:column;gap:1rem}.lesson-modal-badges{display:flex;flex-wrap:wrap;gap:.35rem}.lesson-modal-badge{font-size:.6875rem;font-weight:500;padding:.2rem .5rem;border-radius:4px;background:#f1f5f9;color:#475569;border:1px solid #e2e8f0}.lesson-modal-badge--status{background:#f0f9ff;border-color:#bae6fd;color:#0369a1}.lesson-modal-badge--type{background:#f8fafc;color:#64748b}.lesson-modal-dl{display:grid;grid-template-columns:auto 1fr;gap:.35rem 1.25rem;font-size:.875rem;margin:0}.lesson-modal-dl dt{color:#64748b;font-weight:500;font-size:.8125rem}.lesson-modal-dl dd{margin:0;color:#0f172a}.lesson-modal-details-muted{font-size:.75rem;color:#94a3b8;margin-top:.25rem}.lesson-modal-actions{display:flex;flex-wrap:wrap;gap:.5rem;justify-content:flex-end;margin-top:.5rem;padding-top:1rem;border-top:1px solid #e2e8f0}.lesson-modal-form-row{display:grid;grid-template-columns:1fr 1fr;gap:1rem}@media(max-width:480px){.lesson-modal-form-row{grid-template-columns:1fr}}.teacher-lesson-modal .department-modal-body,.student-lesson-modal .department-modal-body{min-width:320px;max-width:560px}.ed-attachment-list{display:flex;flex-direction:column;gap:.85rem}.ed-attachment-list__empty{margin:0;color:#64748b;font-size:.9rem}.ed-attachment-card{position:relative;overflow:hidden;border-radius:22px;padding:1rem 1rem .9rem;border:1px solid #dbe4ff;background:radial-gradient(circle at top right,rgba(37,99,235,.12),transparent 32%),linear-gradient(135deg,#fff,#f8fbff);box-shadow:0 16px 34px #0f172a14}.ed-attachment-card--processing{border-color:#bfdbfe}.ed-attachment-card--ready{border-color:#bbf7d0;background:radial-gradient(circle at top right,rgba(34,197,94,.14),transparent 32%),linear-gradient(135deg,#fff,#f7fff9)}.ed-attachment-card--failed{border-color:#fecaca;background:radial-gradient(circle at top right,rgba(239,68,68,.12),transparent 32%),linear-gradient(135deg,#fff,#fff7f7)}.ed-attachment-card__header{display:grid;grid-template-columns:auto 1fr auto;gap:.9rem;align-items:start}.ed-attachment-card__icon-wrap{width:2.6rem;height:2.6rem;border-radius:16px;display:inline-flex;align-items:center;justify-content:center;background:#ffffffe6;border:1px solid rgba(148,163,184,.16);color:#2563eb}.ed-attachment-card__spinner{animation:ed-attachment-spin 1.15s linear infinite}.ed-attachment-card__meta{min-width:0}.ed-attachment-card__title-row{display:flex;flex-wrap:wrap;gap:.65rem;align-items:center}.ed-attachment-card__title{margin:0;color:#0f172a;font-size:.97rem;font-weight:700;word-break:break-word}.ed-attachment-card__badge{display:inline-flex;align-items:center;gap:.35rem;padding:.34rem .7rem;border-radius:999px;font-size:.72rem;font-weight:700;letter-spacing:.01em}.ed-attachment-card__badge svg{width:.85rem;height:.85rem}.ed-attachment-card__badge--processing{background:#2563eb1a;color:#1d4ed8}.ed-attachment-card__badge--ready{background:#22c55e1f;color:#15803d}.ed-attachment-card__badge--failed{background:#ef44441f;color:#b91c1c}.ed-attachment-card__details{margin-top:.45rem;display:flex;flex-wrap:wrap;gap:.5rem;align-items:center;color:#64748b;font-size:.8rem}.ed-attachment-card__separator{width:.28rem;height:.28rem;border-radius:50%;background:#cbd5e1}.ed-attachment-card__actions{display:inline-flex;gap:.45rem;align-items:center}.ed-attachment-card__action-btn{padding:.42rem .58rem;min-width:auto}.ed-attachment-card__action-btn svg{width:.95rem;height:.95rem}.ed-attachment-card__action-btn--danger{color:#dc2626}.ed-attachment-card__progress-shell{margin-top:.95rem;height:.55rem;border-radius:999px;background:#e2e8f0e6;overflow:hidden}.ed-attachment-card__progress{position:relative;height:100%;border-radius:inherit;transition:width .32s ease}.ed-attachment-card__progress--processing{background:linear-gradient(90deg,#2563eb,#0ea5e9,#38bdf8)}.ed-attachment-card__progress--processing:after{content:"";position:absolute;inset:0;background:linear-gradient(110deg,transparent 0%,rgba(255,255,255,.45) 50%,transparent 100%);transform:translate(-100%);animation:ed-attachment-shimmer 1.8s linear infinite}.ed-attachment-card__progress--ready{background:linear-gradient(90deg,#16a34a,#22c55e)}.ed-attachment-card__progress--failed{background:linear-gradient(90deg,#ef4444,#f87171)}.ed-attachment-card__footer{margin-top:.7rem}.ed-attachment-card__hint{color:#475569;font-size:.82rem}.ed-attachment-card__hint--ready{color:#15803d;font-weight:600}.ed-attachment-card__hint--failed{color:#b91c1c;font-weight:600}@keyframes ed-attachment-shimmer{to{transform:translate(100%)}}@keyframes ed-attachment-spin{to{transform:rotate(360deg)}}@media(max-width:720px){.ed-attachment-card{padding:.95rem;border-radius:18px}.ed-attachment-card__header{grid-template-columns:auto 1fr}.ed-attachment-card__actions{grid-column:1 / -1;justify-content:flex-end}}.notification-bell{position:relative;flex-shrink:0;min-width:40px;min-height:40px}.notification-bell-trigger{position:relative;display:flex;align-items:center;justify-content:center;width:40px;height:40px;min-width:40px;min-height:40px;border:none;border-radius:10px;background:transparent;cursor:pointer;color:#4a5568;transition:background .15s ease,color .15s ease}.notification-bell-trigger:hover{background:#f3f4f6;color:#1a202c}.notification-bell-trigger[aria-expanded=true]{background:#ebf5ff;color:#3b82f6}.notification-bell-trigger svg{width:22px;height:22px;flex-shrink:0}.notification-bell-badge{position:absolute;top:4px;right:4px;min-width:18px;height:18px;padding:0 5px;border-radius:9px;background:#ef4444;color:#fff;font-size:.65rem;font-weight:700;line-height:18px;text-align:center;pointer-events:none;box-shadow:0 0 0 2px #fff}.notification-panel{position:absolute;top:calc(100% + .6rem);right:-60px;width:400px;max-height:520px;background:#fff;border-radius:14px;box-shadow:0 12px 40px #0000001f,0 2px 8px #0000000f;display:flex;flex-direction:column;z-index:1000;overflow:hidden;animation:notif-panel-in .18s ease-out}@keyframes notif-panel-in{0%{opacity:0;transform:translateY(-6px) scale(.97)}to{opacity:1;transform:translateY(0) scale(1)}}.notification-panel-header{display:flex;align-items:center;justify-content:space-between;padding:1rem 1.25rem .75rem;border-bottom:1px solid #F3F4F6}.notification-panel-header h3{margin:0;font-size:1rem;font-weight:700;color:#111827}.notification-panel-mark-all{border:none;background:none;color:#3b82f6;font-size:.8rem;font-weight:600;cursor:pointer;padding:.25rem .5rem;border-radius:6px;transition:background .15s}.notification-panel-mark-all:hover{background:#ebf5ff}.notification-panel-mark-all:disabled{color:#9ca3af;cursor:default}.notification-panel-mark-all:disabled:hover{background:none}.notification-panel-tabs{display:flex;padding:0 1.25rem;gap:0;border-bottom:1px solid #F3F4F6}.notification-panel-tab{flex:1;padding:.6rem 0;border:none;background:none;font-size:.82rem;font-weight:600;color:#6b7280;cursor:pointer;border-bottom:2px solid transparent;transition:color .15s,border-color .15s;text-align:center}.notification-panel-tab:hover{color:#374151}.notification-panel-tab--active{color:#3b82f6;border-bottom-color:#3b82f6}.notification-panel-body{flex:1;overflow-y:auto;overscroll-behavior:contain}.notification-panel-empty{display:flex;flex-direction:column;align-items:center;justify-content:center;padding:3rem 1.5rem;color:#9ca3af}.notification-panel-empty svg{width:48px;height:48px;margin-bottom:.75rem;opacity:.4}.notification-panel-empty span{font-size:.875rem;font-weight:500}.notification-panel-loading{display:flex;align-items:center;justify-content:center;padding:2rem 1rem;color:#9ca3af;font-size:.85rem}.notification-item{display:flex;gap:.75rem;padding:.875rem 1.25rem;text-decoration:none;color:inherit;cursor:pointer;transition:background .12s;border-bottom:1px solid #F9FAFB;position:relative}.notification-item:hover{background:#f9fafb}.notification-item--unread{background:#f0f7ff}.notification-item--unread:hover{background:#e3effd}.notification-item-icon{flex-shrink:0;width:38px;height:38px;border-radius:10px;display:flex;align-items:center;justify-content:center}.notification-item-icon svg{width:18px;height:18px}.notification-item-icon--absence{background:#fef3c7;color:#d97706}.notification-item-icon--attendance{background:#d1fae5;color:#059669}.notification-item-icon--submission{background:#e0e7ff;color:#4f46e5}.notification-item-icon--schedule{background:#dbeafe;color:#2563eb}.notification-item-icon--default{background:#ebf5ff;color:#3b82f6}.notification-item-content{flex:1;min-width:0}.notification-item-text{font-size:.84rem;line-height:1.4;color:#374151;margin:0;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}.notification-item-text strong{font-weight:600;color:#111827}.notification-item-meta{display:flex;align-items:center;gap:.5rem;margin-top:.3rem}.notification-item-time{font-size:.75rem;color:#9ca3af}.notification-item-link{font-size:.75rem;color:#3b82f6;font-weight:600;text-decoration:none}.notification-item-link:hover{text-decoration:underline}.notification-item-dot{position:absolute;top:50%;right:12px;transform:translateY(-50%);width:8px;height:8px;border-radius:50%;background:#3b82f6}.notification-panel-load-more{display:flex;justify-content:center;padding:.75rem;border-top:1px solid #F3F4F6}.notification-panel-load-more button{border:none;background:none;color:#3b82f6;font-size:.82rem;font-weight:600;cursor:pointer;padding:.4rem 1rem;border-radius:6px;transition:background .15s}.notification-panel-load-more button:hover{background:#ebf5ff}@media(max-width:480px){.notification-panel{width:calc(100vw - 1.5rem);right:-10px;max-height:70vh}}#root:has(.dashboard-selector-page){max-width:none;margin:0;padding:0;width:100%;min-height:100vh;min-height:100dvh;text-align:left}body:has(.dashboard-selector-page){display:block;place-items:unset;min-height:100vh;min-height:100dvh;height:100%}.dashboard-selector-page{position:relative;min-height:100vh;min-height:100dvh;overflow:hidden;background:linear-gradient(135deg,#fffffffa,#f5f9fffa 46%,#fffffffa);color:#1a1f36}.dashboard-selector-page:before{content:"";position:absolute;inset:0;background-image:radial-gradient(circle at 2px 2px,rgba(0,71,171,.12) 1px,transparent 0);background-size:42px 42px;opacity:.4;pointer-events:none}.dashboard-selector-page-glow{position:absolute;width:26rem;height:26rem;border-radius:999px;background:#60a5fa2e;filter:blur(80px);pointer-events:none}.dashboard-selector-page-glow--top{top:-10rem;right:-8rem}.dashboard-selector-page-glow--bottom{left:-10rem;bottom:-12rem;background:#bfdbfe47}.dashboard-selector-shell{position:relative;z-index:1;display:flex;min-height:100vh;min-height:100dvh;flex-direction:column}.dashboard-selector-container{width:min(1120px,calc(100% - 2rem));margin:0 auto}.dashboard-selector-header{border-bottom:1px solid rgba(209,213,219,.85);background:#ffffffc7;-webkit-backdrop-filter:blur(18px);backdrop-filter:blur(18px)}.dashboard-selector-header-inner{display:flex;align-items:center;justify-content:space-between;gap:1rem;min-height:4.5rem;padding:.75rem 0}.dashboard-selector-brand{display:flex;align-items:center;gap:.9rem;min-width:0}.dashboard-selector-brand-logo{display:flex;width:3rem;height:3rem;align-items:center;justify-content:center;border-radius:1rem;background:linear-gradient(135deg,#eff6ff,#dbeafe);box-shadow:inset 0 0 0 1px #93c5fd8c}.dashboard-selector-brand-logo img{width:2.1rem;height:2.1rem;object-fit:contain}.dashboard-selector-brand-text{display:flex;min-width:0;flex-direction:column}.dashboard-selector-brand-title{font-size:1rem;font-weight:700;color:#0f172a}.dashboard-selector-brand-subtitle{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:.8125rem;color:#64748b}.dashboard-selector-header-actions{display:flex;align-items:center;gap:.75rem}.dashboard-selector-header-lang{position:static}.dashboard-selector-header-lang select{min-width:7.5rem;border-color:#d1d5dbe6;border-radius:999px;background-color:#ffffffeb;color:#475569;font-size:.875rem}.dashboard-selector-header .app-dashboard-header-user-menu-trigger{padding:.3rem .6rem .3rem .35rem;border:1px solid rgba(209,213,219,.82);background:#ffffffeb;box-shadow:0 10px 30px #0f172a0a}.dashboard-selector-header .app-dashboard-header-user-menu-trigger:hover{background:#f8fafcfa}.dashboard-selector-header .app-dashboard-header-avatar{background:linear-gradient(135deg,#0047ab,#2563eb);color:#fff}.dashboard-selector-main{flex:1;padding:3rem 0 4rem}.dashboard-selector-hero{display:flex;max-width:42rem;margin:0 auto 2.5rem;flex-direction:column;align-items:center;text-align:center}.dashboard-selector-hero-eyebrow{display:inline-flex;align-items:center;gap:.5rem;padding:.4rem .85rem;border-radius:999px;background:#e3f2fde6;color:#0047ab;font-size:.875rem;font-weight:600;margin-bottom:1rem}.dashboard-selector-hero-eyebrow svg{width:1rem;height:1rem}.dashboard-selector-hero-title{margin:0;font-size:clamp(2rem,4vw,3.25rem);line-height:1.05;letter-spacing:-.04em;color:#0f172a}.dashboard-selector-hero-description{max-width:36rem;margin:1rem 0 0;font-size:1.05rem;line-height:1.75;color:#64748b}.dashboard-selector-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:1.25rem}.dashboard-selector-card{display:flex;min-height:20rem;flex-direction:column;padding:1.5rem;border:1px solid rgba(209,213,219,.85);border-radius:1.5rem;background:#fffffff0;box-shadow:0 20px 45px #0f172a14,inset 0 1px #fffc;color:inherit;transition:transform .2s ease,border-color .2s ease,box-shadow .2s ease}.dashboard-selector-card:hover{transform:translateY(-6px);border-color:#3b82f68c;box-shadow:0 28px 60px #0f172a1f,inset 0 1px #ffffffe6}.dashboard-selector-card-badge{display:inline-flex;width:fit-content;margin-bottom:1rem;padding:.35rem .7rem;border-radius:999px;background:#f1f5f9f5;color:#475569;font-size:.75rem;font-weight:700;letter-spacing:.04em;text-transform:uppercase}.dashboard-selector-card-icon{display:flex;width:4.5rem;height:4.5rem;align-items:center;justify-content:center;border-radius:999px;margin-bottom:1.5rem}.dashboard-selector-card-icon svg{width:2rem;height:2rem}.dashboard-selector-card--admin .dashboard-selector-card-icon{background:linear-gradient(135deg,#e0ecff,#c7dcff);color:#0b4fbd}.dashboard-selector-card--teacher .dashboard-selector-card-icon{background:linear-gradient(135deg,#e8f3ff,#d7ecff);color:#0369a1}.dashboard-selector-card--student .dashboard-selector-card-icon{background:linear-gradient(135deg,#ecfeff,#dbeafe);color:#1d4ed8}.dashboard-selector-card-title{margin:0 0 .75rem;font-size:1.3rem;font-weight:700;line-height:1.25;color:#0f172a}.dashboard-selector-card-description{flex:1;margin:0 0 1.5rem;color:#64748b;line-height:1.7}.dashboard-selector-card-cta{display:inline-flex;align-items:center;gap:.5rem;color:#0047ab;font-weight:700}.dashboard-selector-card-cta svg{width:1rem;height:1rem}.dashboard-selector-footer{margin:1.5rem 0 0;text-align:center;color:#64748b;font-size:.95rem}.dashboard-selector-status{max-width:34rem;margin:0 auto;padding:2rem;border:1px solid rgba(209,213,219,.9);border-radius:1.5rem;background:#fffffff0;box-shadow:0 24px 50px #0f172a14;text-align:center}.dashboard-selector-status-icon-wrap{display:inline-flex;width:4rem;height:4rem;align-items:center;justify-content:center;margin-bottom:1rem;border-radius:999px;background:#e3f2fde6;color:#0047ab}.dashboard-selector-status-icon{width:1.75rem;height:1.75rem}.dashboard-selector-status-icon--spin{animation:dashboard-selector-spin 1.15s linear infinite}.dashboard-selector-status-title{margin:0;font-size:1.375rem;color:#0f172a}.dashboard-selector-status-description{margin:.75rem 0 0;color:#64748b;line-height:1.75}@keyframes dashboard-selector-spin{0%{transform:rotate(0)}to{transform:rotate(360deg)}}@media(max-width:1024px){.dashboard-selector-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:720px){.dashboard-selector-header-inner{flex-direction:column;align-items:stretch}.dashboard-selector-header-actions{justify-content:space-between}.dashboard-selector-grid{grid-template-columns:1fr}.dashboard-selector-main{padding-top:2rem}}@media(max-width:520px){.dashboard-selector-container{width:min(100%,calc(100% - 1.25rem))}.dashboard-selector-brand-subtitle{white-space:normal}.dashboard-selector-header-actions{flex-direction:column;align-items:stretch}.dashboard-selector-header-lang select{min-width:0}.dashboard-selector-header .app-dashboard-header-user-menu-trigger{width:100%;justify-content:space-between}}#root{max-width:1280px;margin:0 auto;padding:2rem;text-align:center}#root:has(.auth-card-page){max-width:none;margin:0;padding:0;width:100%;min-height:100vh;min-height:100dvh;height:100%;text-align:left}.logo{height:6em;padding:1.5em;will-change:filter;transition:filter .3s}.logo:hover{filter:drop-shadow(0 0 2em #646cffaa)}.logo.react:hover{filter:drop-shadow(0 0 2em #61dafbaa)}@keyframes logo-spin{0%{transform:rotate(0)}to{transform:rotate(360deg)}}@media(prefers-reduced-motion:no-preference){a:nth-of-type(2) .logo{animation:logo-spin infinite 20s linear}}.card{padding:2em}.read-the-docs{color:#888}input[type=text],input[type=email],input[type=password],input[type=number],input[type=date],input[type=datetime-local],input[type=time],input[type=tel],input[type=url],textarea,select{width:100%;padding:.5rem .75rem;border:1px solid #e2e8f0;border-radius:8px;font-size:.9375rem;font-family:inherit;box-sizing:border-box;color:#1e293b;background-color:#fff;transition:border-color .15s ease,box-shadow .15s ease}input[type=text]:focus,input[type=email]:focus,input[type=password]:focus,input[type=number]:focus,input[type=date]:focus,input[type=datetime-local]:focus,input[type=time]:focus,input[type=tel]:focus,input[type=url]:focus,textarea:focus,select:focus{outline:none;border-color:#2563eb;box-shadow:0 0 0 3px #2563eb26}input[type=text]:disabled,input[type=email]:disabled,input[type=password]:disabled,input[type=number]:disabled,input[type=date]:disabled,input[type=datetime-local]:disabled,input[type=time]:disabled,input[type=tel]:disabled,input[type=url]:disabled,textarea:disabled,select:disabled{background-color:#f8fafc;color:#64748b;cursor:not-allowed;opacity:.7}input[type=text]::placeholder,input[type=email]::placeholder,input[type=password]::placeholder,input[type=number]::placeholder,input[type=tel]::placeholder,input[type=url]::placeholder,textarea::placeholder{color:#94a3b8}input[type=text]:read-only,input[type=email]:read-only,input[type=password]:read-only,input[type=number]:read-only,input[type=date]:read-only,input[type=datetime-local]:read-only,input[type=time]:read-only,textarea:read-only{background-color:#f7fafc;color:#64748b;cursor:default}textarea{min-height:100px;resize:vertical;line-height:1.5}select{cursor:pointer;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%2364748b' d='M6 9L1 4h10z'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right .75rem center;background-size:12px;padding-right:2.5rem;appearance:none}input[type=date]::-webkit-calendar-picker-indicator,input[type=datetime-local]::-webkit-calendar-picker-indicator{cursor:pointer;opacity:.7;filter:brightness(0) saturate(100%) invert(45%) sepia(8%) saturate(1000%) hue-rotate(180deg) brightness(95%) contrast(90%)}input[type=date]::-webkit-calendar-picker-indicator:hover,input[type=datetime-local]::-webkit-calendar-picker-indicator:hover{opacity:1}.department-modal input[type=text],.department-modal input[type=email],.department-modal input[type=password],.department-modal input[type=number],.department-modal input[type=date],.department-modal input[type=datetime-local],.department-modal input[type=time],.department-modal textarea,.department-modal select,.department-form input[type=text],.department-form input[type=email],.department-form input[type=password],.department-form input[type=number],.department-form input[type=date],.department-form input[type=datetime-local],.department-form input[type=time],.department-form textarea,.department-form select,.form-group input[type=text],.form-group input[type=email],.form-group input[type=password],.form-group input[type=number],.form-group input[type=date],.form-group input[type=datetime-local],.form-group input[type=time],.form-group textarea,.form-group select{width:100%}.auth-card-page{min-height:100vh;min-height:100dvh;display:flex;align-items:center;justify-content:center;padding:1rem;padding:max(1rem,env(safe-area-inset-top)) max(1rem,env(safe-area-inset-right)) max(1rem,env(safe-area-inset-bottom)) max(1rem,env(safe-area-inset-left));box-sizing:border-box;background:#1e40af;background:linear-gradient(135deg,#1e40af,#2563eb,#3b82f6);overflow:auto;position:relative}.auth-card{width:100%;max-width:420px;max-height:calc(100dvh - 2rem);max-height:calc(100dvh - (2*max(1rem,env(safe-area-inset-top))));display:flex;flex-direction:column;background:#fff;border-radius:16px;box-shadow:0 8px 32px #0000001f,0 2px 8px #00000014;overflow:hidden;text-align:left;flex-shrink:0;position:relative;z-index:1}.auth-card-body{padding:1.25rem 1.25rem 1.5rem;overflow-y:auto;-webkit-overflow-scrolling:touch;flex:1;min-height:0}.auth-card-header{position:relative;padding:1.5rem 1.25rem 0;text-align:center;flex-shrink:0}.auth-card-icon{display:inline-flex;align-items:center;justify-content:center;width:56px;height:56px;border-radius:50%;background:#1e40af;color:#fff;font-size:1.75rem;line-height:1;margin-bottom:.75rem}img.auth-card-icon{background:none;object-fit:contain}.auth-card-icon--success{background:#059669}.auth-card-title{font-size:1.35rem;font-weight:700;color:#1a202c;margin:0 0 .25rem;letter-spacing:-.02em;line-height:1.3}.auth-card-subtitle{font-size:.9375rem;color:#6b7280;margin:0 0 1rem;font-weight:400}.auth-card-lang{position:absolute;top:.75rem;right:.75rem;left:auto}.auth-card-lang select{padding:.4rem 1.75rem .4rem .6rem;font-size:.875rem;border:1px solid #4a5568;border-radius:8px;background:#2d3748 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='%23e2e8f0' viewBox='0 0 16 16'%3E%3Cpath d='M8 11L3 6h10l-5 5z'/%3E%3C/svg%3E") no-repeat right .5rem center;background-color:#2d3748;color:#fff;cursor:pointer;appearance:none;-webkit-appearance:none;min-width:0;max-width:100%}.auth-card-lang select:hover{background-color:#374151}.auth-card-lang select:focus{outline:none;border-color:#1e40af;box-shadow:0 0 0 2px #1e40af4d}@media(min-width:480px){.auth-card-page{padding:1.5rem;padding:max(1.5rem,env(safe-area-inset-top)) max(1.5rem,env(safe-area-inset-right)) max(1.5rem,env(safe-area-inset-bottom)) max(1.5rem,env(safe-area-inset-left))}.auth-card{max-height:none}.auth-card-header{padding:2rem 1.75rem 0}.auth-card-icon{width:64px;height:64px;font-size:2rem;margin-bottom:1rem}.auth-card-title{font-size:1.5rem}.auth-card-lang{top:1rem;right:1rem}.auth-card-body{padding:1.5rem 1.75rem 2rem}}@media(max-height:500px)and (orientation:portrait){.auth-card-page{align-items:flex-start;padding-top:.5rem;padding-top:max(.5rem,env(safe-area-inset-top))}.auth-card{max-height:none}.auth-card-header{padding-top:1rem}.auth-card-icon{width:48px;height:48px;font-size:1.5rem;margin-bottom:.5rem}.auth-card-title{font-size:1.2rem}}@media(min-width:768px){.auth-card{max-width:440px}}.auth-card-text{font-size:.9375rem;color:#4a5568;margin:0 0 1rem;line-height:1.5}.auth-card-email-label{margin-bottom:1.25rem}.auth-card-highlight{font-size:1rem;font-weight:600;color:#1a202c;margin:0 0 .5rem}.auth-card-email{font-size:.9375rem;color:#1e40af;font-weight:500;margin:.5rem 0 0}.auth-card-error{font-size:.9375rem;color:#dc2626;margin:0 0 1rem;line-height:1.4}.auth-card-link{display:inline-block;font-size:.9375rem;font-weight:500;color:#1e40af;text-decoration:none;margin-top:.5rem}.auth-card-link:hover{text-decoration:underline}.auth-card-form{margin-top:.5rem}.auth-card-forgot{display:block;font-size:.875rem;color:#1e40af;text-decoration:none;margin:.5rem 0 0;padding-top:.25rem}.auth-card-forgot:hover{text-decoration:underline}.auth-card-demo{margin-top:1.5rem;padding:1rem 1.25rem;background:#f9fafb;border:1px solid #E5E7EB;border-radius:10px;font-size:.875rem}.auth-card-demo-title{font-weight:600;color:#374151;margin:0 0 .5rem}.auth-card-demo-list{margin:0;padding-left:1.25rem;color:#6b7280;line-height:1.6}.auth-card-demo-list li{margin-bottom:.25rem}.auth-card-demo-note{margin:.5rem 0 0;font-size:.8125rem;color:#6b7280}.auth-card-footer{margin-top:1.5rem;text-align:center;font-size:.875rem;color:#6b7280}.auth-card-footer a{color:#1e40af;text-decoration:none}.auth-card-footer a:hover{text-decoration:underline}.auth-card-field{margin-bottom:1.25rem}.auth-card-field label{display:block;font-size:.875rem;font-weight:500;color:#374151;margin-bottom:.35rem}.auth-card-input{width:100%;padding:.5rem .75rem;border:1px solid #e2e8f0;border-radius:8px;font-size:.9375rem;box-sizing:border-box;color:#1a202c;background:#fff}.auth-card-input::placeholder{color:#9ca3af}.auth-card-input:focus{outline:none;border-color:#1e40af;box-shadow:0 0 0 3px #1e40af33}.auth-card-field-error{display:block;font-size:.8125rem;color:#dc2626;margin-top:.25rem}.auth-card-btn{display:inline-block;padding:.6rem 1.25rem;font-size:.9375rem;font-weight:600;border-radius:8px;border:1px solid #e2e8f0;background:#fff;color:#4a5568;cursor:pointer;transition:background .15s,border-color .15s,color .15s}.auth-card-btn:hover:not(:disabled){background:#f7fafc;border-color:#cbd5e0}.auth-card-btn:disabled{opacity:.7;cursor:not-allowed}.auth-card-btn--primary{width:100%;margin-top:.5rem;background:#1e40af;border-color:#1e40af;color:#fff}.auth-card-btn--primary:hover:not(:disabled){background:#1e3a8a;border-color:#1e3a8a}.auth-card--info .auth-card-body{border-top:3px solid #059669}.login-page-header{display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:.5rem;margin-bottom:1rem}.login-page-header h1{margin:0}.login-page-lang[role=group]{display:flex;gap:.25rem;flex-wrap:wrap}.login-page-lang button{padding:.35rem .6rem;font-size:.85rem;border:1px solid #2563eb;background:transparent;color:#2563eb;border-radius:6px;cursor:pointer}.login-page-lang button:hover{background:#2563eb14}.login-page-lang button.lang-active{background:#2563eb;color:#fff}.dashboard-selector-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:1rem;margin-top:1rem}.dashboard-selector-card{display:flex;flex-direction:column;align-items:center;padding:2rem 1.5rem;border:2px solid #e2e8f0;border-radius:12px;text-decoration:none;color:#1a202c;transition:all .2s ease;background:#fff}.dashboard-selector-card:hover{border-color:#2563eb;background:#f8faff;transform:translateY(-2px);box-shadow:0 4px 12px #2563eb26}.dashboard-selector-card-icon{font-size:3rem;margin-bottom:1rem;line-height:1}.dashboard-selector-card-title{font-size:1rem;font-weight:600;text-align:center;color:#1a202c}@media(max-width:640px){.dashboard-selector-grid{grid-template-columns:1fr}}.auth-card-body .auth-card-links{margin-top:1.25rem;text-align:center;font-size:.875rem;color:#4a5568}.auth-card-links a{color:#1e40af;text-decoration:none;margin:0 .5rem}.auth-card-links a:hover{text-decoration:underline}.app-dashboard-header-lang select{padding:.35rem .5rem;font-size:.875rem;border:1px solid #e2e8f0;border-radius:4px;background:#fff;cursor:pointer}#root:has(.app-dashboard-layout){max-width:none;padding:0;margin:0;text-align:left;width:100%;min-height:100vh;min-height:100dvh;height:100%;box-sizing:border-box}.app-dashboard-layout{display:flex;width:100%;min-height:100vh;min-height:100dvh;height:100%;max-height:100vh;max-height:100dvh;background:#f9fafb;box-sizing:border-box}.app-dashboard-sidebar{width:220px;min-width:220px;background:#fff;color:#1f2937;display:flex;flex-direction:column;border-right:1px solid #E5E7EB;box-shadow:1px 0 3px #0000000d}.app-dashboard-sidebar-brand{padding:1.25rem 1rem;border-bottom:1px solid #E5E7EB;display:flex;flex-direction:column;gap:.25rem;background:#fff}.app-dashboard-sidebar-brand-logo-wrapper{display:flex;align-items:center;gap:.75rem;margin-bottom:.25rem}.app-dashboard-sidebar-logo{font-size:1.5rem;display:block;margin-bottom:.25rem}img.app-dashboard-sidebar-logo{width:40px;height:40px;object-fit:contain;flex-shrink:0;background:#2563eb;border-radius:8px;padding:8px}.app-dashboard-sidebar-title{font-weight:600;font-size:1rem;display:block;color:#1f2937;line-height:1.2}.app-dashboard-sidebar-subtitle{font-size:.75rem;color:#6b7280;display:block;line-height:1.2;margin-left:0}.app-dashboard-sidebar-nav{flex:1;padding:.75rem 0}.app-dashboard-sidebar-link{display:flex;align-items:center;gap:.75rem;padding:.6rem 1rem;color:#6b7280;text-decoration:none;font-size:.9rem;transition:background .15s,color .15s;background:#fff}.app-dashboard-sidebar-link:hover{background:#f9fafb;color:#1f2937}.app-dashboard-sidebar-link--active{background:#eff6ff;color:#1e40af;border-radius:6px;margin:0 .5rem;padding-left:.75rem;padding-right:.75rem}.app-dashboard-sidebar-link-icon{width:18px;height:18px;flex-shrink:0;stroke-width:2}.app-dashboard-sidebar-link--active .app-dashboard-sidebar-link-icon{color:#1e40af}.app-dashboard-sidebar-footer{padding:.75rem 1rem;font-size:.7rem;color:#9ca3af}.app-dashboard-body{flex:1;display:flex;flex-direction:column;min-width:0;min-height:0;background:#f9fafb;color:#1f2937;overflow:hidden}.app-dashboard-header{display:flex;align-items:center;justify-content:space-between;padding:.75rem 1.5rem;border-bottom:1px solid #E5E7EB;background:#fff;gap:1rem;flex-wrap:wrap;box-shadow:0 1px 3px #0000000d}.app-dashboard-header-left{display:flex;align-items:center;gap:.75rem}.app-dashboard-header-section{font-weight:600;font-size:1rem;color:#1f2937}.app-dashboard-header-create{display:inline-flex;align-items:center;gap:.5rem;padding:.5rem .85rem;background:#1e40af;color:#fff;border-radius:6px;text-decoration:none;font-size:.875rem;font-weight:500;transition:background .15s}.app-dashboard-header-create:hover{background:#1e3a8a}.app-dashboard-header-create-icon{font-size:1.1rem;line-height:1;font-weight:600}.app-dashboard-header-right{display:flex;align-items:center;gap:.75rem}.app-dashboard-header-search{padding:.4rem .75rem .4rem 2rem;border:1px solid #E5E7EB;border-radius:6px;font-size:.875rem;min-width:200px;background:#fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%239ca3af' viewBox='0 0 16 16'%3E%3Cpath d='M11.742 10.344a6.5 6.5 0 1 0-1.397 1.398h-.001c.03.04.062.078.098.115l3.85 3.85a1 1 0 0 0 1.415-1.414l-3.85-3.85a1.007 1.007 0 0 0-.115-.1zM12 6.5a5.5 5.5 0 1 1-11 0 5.5 5.5 0 0 1 11 0z'/%3E%3C/svg%3E") no-repeat .5rem center;color:#1f2937}.app-dashboard-header-search::placeholder{color:#9ca3af}.app-dashboard-header-lang{font-size:.8rem;color:#4a5568;padding:.25rem .5rem}.app-dashboard-header-user{display:flex;align-items:center;gap:.5rem;font-size:.875rem;color:#2d3748}.app-dashboard-header-profile-link{display:flex;align-items:center;gap:.5rem;text-decoration:none;color:inherit;padding:.25rem .5rem;border-radius:8px;transition:background-color .15s ease}.app-dashboard-header-profile-link:hover{background:#f1f5f9}.app-dashboard-header-user-name{font-size:.875rem;font-weight:500;color:#1f2937;max-width:140px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.app-dashboard-header-avatar{width:28px;height:28px;border-radius:50%;background:#e2e8f0;color:#4a5568;display:flex;align-items:center;justify-content:center;font-size:.8rem;font-weight:600;flex-shrink:0}.app-dashboard-header-profile-link:hover .app-dashboard-header-avatar{background:#cbd5e1;color:#334155}.app-dashboard-header-user-menu{position:relative}.app-dashboard-header-user-menu-trigger{display:flex;align-items:center;gap:.5rem;padding:.25rem .5rem;border-radius:8px;background:transparent;border:none;cursor:pointer;font-size:.875rem;color:#1f2937;transition:background-color .15s ease}.app-dashboard-header-user-menu-trigger:hover{background:#f9fafb}.app-dashboard-header-user-menu-arrow{font-size:.6rem;color:#718096;transition:transform .15s ease;margin-left:.25rem}.app-dashboard-header-user-menu-trigger[aria-expanded=true] .app-dashboard-header-user-menu-arrow{transform:rotate(180deg)}.app-dashboard-header-user-menu-dropdown{position:absolute;top:calc(100% + .5rem);right:0;min-width:200px;background:#fff;border:1px solid #E5E7EB;border-radius:8px;box-shadow:0 4px 12px #0000001a;z-index:1000;overflow:hidden}.app-dashboard-header-user-menu-summary{padding:.85rem 1rem .75rem;border-bottom:1px solid #E5E7EB;background:#fff}.app-dashboard-header-user-menu-summary-name{margin:0;font-size:.875rem;font-weight:600;color:#1f2937}.app-dashboard-header-user-menu-summary-email{margin:.2rem 0 0;font-size:.8125rem;color:#64748b;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.app-dashboard-header-user-menu-item{display:block;width:100%;padding:.75rem 1rem;text-align:left;text-decoration:none;color:#1f2937;font-size:.875rem;background:transparent;border:none;cursor:pointer;transition:background-color .15s ease}.app-dashboard-header-user-menu-item:hover{background:#f9fafb}.app-dashboard-header-user-menu-item--logout{color:#ef4444;border-top:1px solid #E5E7EB}.app-dashboard-header-user-menu-item--logout:hover{background:#fee;color:#c53030}.app-dashboard-main{flex:1;min-height:0;padding:1.5rem;overflow:auto;-webkit-overflow-scrolling:touch;color:#1f2937;background:#f9fafb}.app-dashboard-main dl,.app-dashboard-main dd{color:#2d3748}.app-dashboard-main select{color:#1a202c;background-color:#fff}.department-page{max-width:1200px;margin:0 auto;text-align:left}.department-page-title{font-size:1.5rem;font-weight:700;color:#1a202c;margin:0 0 .25rem;letter-spacing:-.02em}.department-page-subtitle{font-size:.875rem;color:#718096;margin:0 0 1.25rem}.department-page-toolbar{display:flex;align-items:center;justify-content:space-between;gap:1rem;margin-bottom:1rem;flex-wrap:wrap}.department-page-search-wrap{display:flex;align-items:center;gap:.75rem;flex:1;min-width:200px}.department-page-search{padding:.5rem .75rem .5rem 2.25rem;border:1px solid #e2e8f0;border-radius:6px;font-size:.875rem;flex:1;max-width:320px;background:#fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%239ca3af' viewBox='0 0 16 16'%3E%3Cpath d='M11.742 10.344a6.5 6.5 0 1 0-1.397 1.398h-.001c.03.04.062.078.098.115l3.85 3.85a1 1 0 0 0 1.415-1.414l-3.85-3.85a1.007 1.007 0 0 0-.115-.1zM12 6.5a5.5 5.5 0 1 1-11 0 5.5 5.5 0 0 1 11 0z'/%3E%3C/svg%3E") no-repeat .6rem center;color:#1a202c}.department-page-search::placeholder{color:#718096}.department-page-create{display:inline-flex;align-items:center;gap:.35rem;padding:.5rem 1rem;background:#2563eb;color:#fff;border:none;border-radius:6px;font-size:.875rem;font-weight:500;cursor:pointer;text-decoration:none;transition:background .15s}.department-page-create:hover{background:#1d4ed8}.department-page-load-more{margin-top:1rem;text-align:center}.department-page-load-more-btn{padding:.5rem 1.25rem;font-size:.875rem;font-weight:500;color:#2563eb;background:#fff;border:1px solid #2563eb;border-radius:6px;cursor:pointer;transition:background .15s,color .15s}.department-page-load-more-btn:hover:not(:disabled){background:#eff6ff}.department-page-load-more-btn:disabled{opacity:.7;cursor:not-allowed}.department-table-wrap{border:1px solid #E5E7EB;border-radius:12px;overflow:hidden;background:#fff;box-shadow:0 1px 3px #00000014}.implementation-slots-table-wrap{overflow-x:auto;overflow-y:hidden}.implementation-generate-all-wrap .btn-primary{padding:.5rem 1rem;border-radius:6px;font-size:.875rem;font-weight:500;border:none;cursor:pointer;transition:background-color .15s ease}.implementation-generate-all-wrap .btn-primary:not(:disabled){background:#2563eb;color:#fff}.implementation-generate-all-wrap .btn-primary:not(:disabled):hover{background:#1d4ed8}.implementation-generate-all-wrap .btn-primary:disabled{background:#e2e8f0;color:#94a3b8;cursor:not-allowed}.department-table{width:100%;border-collapse:collapse;font-size:.875rem}.department-table th{text-align:left;padding:.75rem 1rem;background:#f7fafc;color:#4a5568;font-weight:600;border-bottom:1px solid #e2e8f0}.department-table td{padding:.75rem 1rem;border-bottom:1px solid #e2e8f0;color:#2d3748}.department-table tbody tr:hover{background:#f7fafc}.department-table-row-clickable{cursor:pointer}.department-table-actions{display:flex;gap:.5rem}.department-table-btn{padding:.35rem;border:none;background:transparent;color:#718096;cursor:pointer;border-radius:4px;transition:color .15s,background .15s}.department-table-btn:hover{color:#2563eb;background:#eff6ff}.department-table-btn--danger{color:#b91c1c;background:#fee2e2}.department-table-btn--danger:hover{color:#991b1b;background:#fecaca}.department-table-btn--success{color:#166534;background:#dcfce7}.department-table-btn--success:hover{color:#14532d;background:#bbf7d0}.department-empty{text-align:center;padding:3rem 1.5rem;color:#718096}.department-empty p{margin:0 0 1rem;font-size:1rem}.department-form-page{max-width:560px;margin:0 auto;text-align:left}.department-form-title{font-size:1.25rem;font-weight:600;color:#1a202c;margin:0 0 1rem}.entity-view-page{max-width:900px;margin:0 auto;text-align:left}.entity-view-page.department-form-page{max-width:900px}.entity-view-header{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:1rem;margin-bottom:1.5rem}.entity-view-title{font-size:1.5rem;font-weight:700;color:#1a202c;margin:0;letter-spacing:-.02em}.entity-view-actions{display:flex;flex-wrap:wrap;align-items:center;gap:.75rem}.entity-view-card{background:#fff;border-radius:12px;border:1px solid #E5E7EB;box-shadow:0 1px 3px #00000014;padding:1.5rem 1.75rem;margin-bottom:1.5rem}.entity-view-card:last-of-type{margin-bottom:0}.entity-view-card-title{font-size:1rem;font-weight:600;color:#374151;margin:0 0 1rem;padding-bottom:.75rem;border-bottom:1px solid #f3f4f6}.lesson-details-grid{display:grid;grid-template-columns:1fr 1fr;gap:1.5rem;align-items:start}@media(max-width:768px){.lesson-details-grid{grid-template-columns:1fr}}.entity-view-dl{display:grid;grid-template-columns:minmax(140px,auto) 1fr;gap:.5rem 1.5rem;margin:0;align-items:baseline}.entity-view-dl dt{font-size:.8125rem;font-weight:600;color:#6b7280;margin:0;padding:.35rem 0}.entity-view-dl dd{margin:0;padding:.35rem 0;font-size:.9375rem;color:#1f2937;word-break:break-word}.entity-view-dl dd:empty:after{content:"—";color:#9ca3af}@media(min-width:640px){.entity-view-dl--two-cols{grid-template-columns:minmax(140px,auto) 1fr minmax(140px,auto) 1fr}}.department-form .form-group{margin-bottom:1rem}.department-form label{display:block;font-size:.875rem;font-weight:500;color:#374151;margin-bottom:.35rem}.department-form input,.department-form textarea,.department-form select{width:100%;padding:.5rem .75rem;border:1px solid #e2e8f0;border-radius:6px;font-size:.875rem;box-sizing:border-box;color:#1a202c;background-color:#fff}.department-form input::placeholder,.department-form textarea::placeholder{color:#718096}.department-form select{cursor:pointer;background:#fff;appearance:auto}.department-form input:read-only{background:#f7fafc;color:#718096}.department-form textarea{min-height:100px;resize:vertical}.department-form .field-error{font-size:.8rem;color:#dc2626;margin-top:.25rem}.department-form .form-check{display:flex;align-items:center;gap:.5rem;cursor:pointer;font-weight:500}.department-form .form-check input[type=checkbox]{width:auto;margin:0}.department-form-actions{display:flex;gap:.75rem;margin-top:1.5rem}.department-form-actions .btn-primary{padding:.5rem 1rem;background:#2563eb;color:#fff;border:none;border-radius:6px;font-size:.875rem;font-weight:500;cursor:pointer}.department-form-actions .btn-primary:hover{background:#1d4ed8}.department-form-actions .btn-secondary{padding:.5rem 1rem;background:#fff;color:#4a5568;border:1px solid #e2e8f0;border-radius:6px;font-size:.875rem;cursor:pointer;text-decoration:none}.department-form-actions .btn-secondary:hover{background:#f7fafc}.department-form-actions .btn-cancel{padding:.5rem 1rem;background:#fff;color:#4a5568;border:1px solid #e2e8f0;border-radius:6px;font-size:.875rem;font-weight:500;cursor:pointer}.department-form-actions .btn-cancel:hover{background:#f7fafc}.department-form-actions .btn-action-fixed,.department-form-actions .btn-primary.btn-action-fixed,.department-form-actions .btn-cancel.btn-action-fixed{min-width:6.5rem}.entity-view-actions-hint{font-size:.875rem;color:#64748b}.entity-view-actions .btn-primary,.entity-view-actions .btn-delete{padding:.5rem 1rem;border-radius:6px;font-size:.875rem;font-weight:500;cursor:pointer;min-width:6.5rem}.entity-view-actions .btn-primary{background:#2563eb;color:#fff;border:none}.entity-view-actions .btn-primary:hover{background:#1d4ed8}.entity-view-actions .btn-delete{background:#dc2626;color:#fff;border:none}.entity-view-actions .btn-delete:hover{background:#b91c1c}.entity-view-actions .btn-action-fixed{min-width:6.5rem}.account-view-sections{display:flex;flex-direction:column;gap:1.5rem}.account-profile-section{padding:1.25rem 1.5rem;border-radius:10px;border:1px solid #E5E7EB;background:#fff;box-shadow:0 1px 3px #00000014}.account-profile-section--account{border-left:4px solid #64748b}.account-profile-section--teacher{border-left:4px solid #0d9488;background:linear-gradient(to right,#0d94880a,#fff)}.account-profile-section--student{border-left:4px solid #2563eb;background:linear-gradient(to right,#2563eb0a,#fff)}.account-profile-section-title{margin:0 0 .75rem;font-size:1.0625rem;font-weight:600;color:#1e293b;letter-spacing:.01em}.account-profile-section--teacher .account-profile-section-title{color:#0f766e}.account-profile-section--student .account-profile-section-title{color:#1e40af}.account-profile-section-subtitle{margin:0 0 1rem;font-size:.8125rem;color:#64748b}.account-view-readonly{display:flex;flex-direction:column;gap:0}.account-view-row{display:flex;flex-direction:row;align-items:baseline;gap:.75rem;padding:.4rem 0;border-bottom:1px solid #f1f5f9}.account-view-row:last-child{border-bottom:none;padding-bottom:0}.account-view-label{flex-shrink:0;min-width:10rem;font-size:.8125rem;font-weight:600;color:#64748b;letter-spacing:.01em}.account-view-value{flex:1;min-width:0;font-size:.9375rem;color:#1e293b;line-height:1.45;word-break:break-word}.account-view-value:empty:after{content:"—";color:#94a3b8}.account-view-value--chips,.account-view-value:has(.account-view-role-chip){display:flex;flex-wrap:wrap;gap:.35rem;align-items:center}.account-view-role-chip{display:inline-block;padding:.25rem .6rem;border-radius:6px;font-size:.8125rem;font-weight:500;background:#eff6ff;color:#1e40af;border:1px solid #bfdbfe}.account-list-roles{display:inline-flex;flex-wrap:wrap;gap:.35rem;align-items:center}.entity-view-card .department-form .form-group{margin-bottom:1rem}.entity-view-card .department-form label{display:block;font-size:.875rem;font-weight:500;color:#374151;margin-bottom:.35rem}.entity-view-card .department-form input,.entity-view-card .department-form textarea,.entity-view-card .department-form select{width:100%;padding:.5rem .75rem;border:1px solid #e2e8f0;border-radius:6px;font-size:.875rem;color:#1a202c;background:#fff}.entity-view-card .department-form input:focus,.entity-view-card .department-form textarea:focus{outline:none;border-color:#2563eb;box-shadow:0 0 0 2px #2563eb26}.entity-view-card .department-form input::placeholder{color:#94a3b8}.department-modal-overlay{position:fixed;inset:0;background:#00000080;display:flex;align-items:center;justify-content:center;z-index:1000;padding:1.5rem;box-sizing:border-box;overflow-y:auto}.department-modal{background:#fff;border-radius:12px;padding:1.5rem 1.75rem;max-width:400px;width:90%;max-height:calc(100vh - 3rem);overflow-y:auto;margin:auto;box-shadow:0 10px 40px #0000001f}.department-modal--form{max-width:420px;padding:1.5rem 2rem;box-shadow:0 20px 50px #00000026;border:1px solid #e2e8f0}.department-modal-title,.department-modal h3{margin:0 0 1rem;font-size:1.125rem;font-weight:600;color:#1a202c;letter-spacing:-.01em}.department-modal-body{margin:0}.department-modal--form .department-modal-body{margin-top:.25rem}.department-modal--form .department-modal-body .form-group{margin-bottom:1rem}.department-modal--form .department-modal-body .form-group:last-of-type{margin-bottom:1.25rem}.department-modal--form .department-modal-body .form-group label{display:block;font-size:.875rem;font-weight:500;color:#374151;margin-bottom:.35rem}.department-modal--form .department-modal-body .form-group select,.department-modal--form .department-modal-body .form-group input[type=date]{width:100%;padding:.5rem .6rem;font-size:.875rem;border:1px solid #e2e8f0;border-radius:6px;background:#fff;color:#1a202c}.department-modal--form .department-modal-body .form-group input[type=date]::-webkit-calendar-picker-indicator{opacity:.6}.department-modal--form .department-modal-body .form-group select:focus,.department-modal--form .department-modal-body .form-group input[type=date]:focus{outline:none;border-color:#2563eb;box-shadow:0 0 0 2px #2563eb26}.department-modal h3{margin:0 0 .75rem;font-size:1.1rem;color:#1a202c}.department-modal p{margin:0 0 1.25rem;font-size:.875rem;color:#4a5568}.department-modal-actions{display:flex;justify-content:flex-end;gap:.75rem}.department-modal-actions button{padding:.5rem 1rem;border-radius:6px;font-size:.875rem;cursor:pointer}.student-grade-history-modal.department-modal{max-width:520px}.student-grade-history-modal__body{min-width:0}.student-grade-history-modal__summary{display:flex;align-items:center;gap:.5rem;padding:.75rem 1rem;background:linear-gradient(135deg,#f0f9ff,#e0f2fe);border-radius:8px;margin-bottom:1.25rem;font-weight:600;color:#0c4a6e;font-size:.9375rem}.student-grade-history-modal__loading,.student-grade-history-modal__empty{color:#64748b;font-size:.875rem;margin:0;padding:1rem 0}.student-grade-history-modal__list{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:1rem}.student-grade-history-modal__item{padding:1rem;background:#f8fafc;border-radius:8px;border-left:3px solid #3b82f6;display:flex;flex-direction:column;gap:.5rem}.student-grade-history-modal__item-header{display:flex;flex-wrap:wrap;align-items:center;gap:.5rem .75rem}.student-grade-history-modal__points{font-weight:600;color:#1e293b;font-size:1rem}.student-grade-history-modal__type{font-size:.75rem;padding:.2rem .5rem;background:#e2e8f0;color:#475569;border-radius:4px}.student-grade-history-modal__source{display:inline-flex;align-items:center;gap:.35rem;font-size:.8125rem;color:#64748b}.student-grade-history-modal__homework-title{color:#475569;font-style:italic}.student-grade-history-modal__meta,.student-grade-history-modal__graded{display:flex;align-items:center;gap:.4rem;font-size:.8125rem;color:#64748b}.student-grade-history-modal__link-wrap{margin-top:.25rem}.student-grade-history-modal__link{display:inline-flex;align-items:center;gap:.35rem;font-size:.875rem;color:#2563eb;text-decoration:none;font-weight:500}.student-grade-history-modal__link:hover{text-decoration:underline}.student-grade-history-modal__comment{margin-top:.25rem;padding:.5rem .75rem;background:#fff;border-radius:6px;border:1px solid #e2e8f0;display:flex;flex-direction:column;gap:.25rem}.student-grade-history-modal__comment .student-grade-history-modal__comment-label{display:inline-flex;align-items:center;gap:.35rem;font-size:.75rem;font-weight:600;color:#64748b;text-transform:uppercase;letter-spacing:.02em}.student-grade-history-modal__comment-text{margin:0;font-size:.875rem;color:#334155;line-height:1.45;white-space:pre-wrap}.student-grade-history-modal__graded-at{margin-left:auto;font-size:.75rem;color:#94a3b8}.student-homework-history-modal.department-modal{max-width:560px;max-height:90vh;display:flex;flex-direction:column}.student-homework-history-modal__body{min-width:0;overflow-y:auto}.student-homework-history-modal__summary{display:flex;align-items:center;gap:.5rem;padding:.75rem 1rem;background:linear-gradient(135deg,#f0fdf4,#dcfce7);border-radius:8px;margin-bottom:1.25rem;font-weight:600;color:#14532d;font-size:.9375rem}.student-homework-history-modal__loading,.student-homework-history-modal__empty{color:#64748b;font-size:.875rem;margin:0;padding:1rem 0}.student-homework-history-modal__list{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:1.25rem}.student-homework-history-modal__item{padding:1.25rem;background:#f8fafc;border-radius:10px;border-left:4px solid #059669;display:flex;flex-direction:column;gap:.5rem;box-shadow:0 1px 3px #0000000d}.student-homework-history-modal__item--not-submitted{border-left-color:#dc2626;background:#fef2f2}.student-homework-history-modal__item-header{display:flex;flex-wrap:wrap;align-items:center;gap:.5rem .75rem}.student-homework-history-modal__homework-title{margin:0;font-size:1rem;font-weight:600;color:#0f172a;flex:1 1 auto}.student-homework-history-modal__max-points{font-size:.75rem;padding:.2rem .5rem;background:#e2e8f0;color:#475569;border-radius:4px}.student-homework-history-modal__description{margin:0;font-size:.875rem;color:#475569;line-height:1.5;white-space:pre-wrap}.student-homework-history-modal__meta,.student-homework-history-modal__submission,.student-homework-history-modal__grade{display:flex;align-items:center;gap:.4rem;font-size:.8125rem;color:#64748b}.student-homework-history-modal__link-wrap{margin-top:.25rem}.student-homework-history-modal__link{display:inline-flex;align-items:center;gap:.35rem;font-size:.875rem;color:#059669;text-decoration:none;font-weight:500}.student-homework-history-modal__link:hover{text-decoration:underline}.student-homework-history-modal__not-submitted{color:#b91c1c;font-style:italic;font-weight:500}.student-homework-history-modal__item--not-submitted .student-homework-history-modal__not-submitted{color:#991b1b}.student-homework-history-modal__grade-points{font-weight:600;color:#0f172a}.student-homework-history-modal__grade-type{font-size:.75rem;padding:.2rem .5rem;background:#e2e8f0;color:#475569;border-radius:4px}.student-homework-history-modal__graded-at{margin-left:auto;font-size:.75rem;color:#94a3b8}.student-homework-history-modal__comment{margin-top:.25rem;padding:.5rem .75rem;background:#fff;border-radius:6px;border:1px solid #e2e8f0;display:flex;flex-direction:column;gap:.25rem}.student-homework-history-modal__comment .student-homework-history-modal__comment-label{display:inline-flex;align-items:center;gap:.35rem;font-size:.75rem;font-weight:600;color:#64748b;text-transform:uppercase;letter-spacing:.02em}.student-homework-history-modal__comment-text{margin:0;font-size:.875rem;color:#334155;line-height:1.45;white-space:pre-wrap}.student-homework-history-modal__files{display:flex;flex-direction:column;gap:.25rem;font-size:.8125rem;color:#64748b}.student-homework-history-modal__files-label{display:inline-flex;align-items:center;gap:.35rem;font-weight:500}.student-homework-history-modal__files-list{margin:0;padding-left:1.25rem;list-style:disc}.student-attendance-history-modal.department-modal{max-width:560px;max-height:90vh;display:flex;flex-direction:column}.student-attendance-history-modal__body{min-width:0;overflow-y:auto}.student-attendance-history-modal__summary{padding:1rem 1.25rem;background:linear-gradient(135deg,#f0fdf4,#dcfce7);border-radius:10px;margin-bottom:1.25rem;border:1px solid #bbf7d0}.student-attendance-history-modal__summary-row{display:flex;align-items:center;gap:.5rem;font-weight:600;color:#14532d;font-size:.9375rem;margin-bottom:.5rem}.student-attendance-history-modal__summary-stats{display:flex;gap:1rem;font-size:.8125rem;color:#166534}.student-attendance-history-modal__loading,.student-attendance-history-modal__empty{color:#64748b;font-size:.875rem;margin:0;padding:1rem 0}.student-attendance-history-modal__list{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:.75rem}.student-attendance-history-modal__item{padding:1rem 1.25rem;background:#fafafa;border-radius:8px;border-left:4px solid #94a3b8;display:flex;flex-direction:column;gap:.75rem}.student-attendance-history-modal__item.border-present{border-left-color:#22c55e;background:#f0fdf4}.student-attendance-history-modal__item.border-absent{border-left-color:#ef4444;background:#fef2f2}.student-attendance-history-modal__item.border-late{border-left-color:#f59e0b;background:#fffbeb}.student-attendance-history-modal__item.border-unmarked{border-left-color:#94a3b8}.student-attendance-history-modal__item-main{display:flex;flex-direction:column;gap:.35rem}.student-attendance-history-modal__item-header{display:flex;flex-wrap:wrap;align-items:center;gap:.5rem .75rem}.student-attendance-history-modal__item-datetime{display:inline-flex;align-items:center;gap:.35rem;font-size:.9375rem;font-weight:500;color:#1e293b}.student-attendance-history-modal__status{font-size:.75rem;padding:.2rem .5rem;border-radius:6px;font-weight:500}.student-attendance-history-modal__status.status-present{background:#dcfce7;color:#166534}.student-attendance-history-modal__status.status-absent,.student-attendance-history-modal__status.status-excused{background:#fee2e2;color:#b91c1c}.student-attendance-history-modal__status.status-late{background:#fef3c7;color:#b45309}.student-attendance-history-modal__status.status-unmarked{background:#e2e8f0;color:#64748b}.student-attendance-history-modal__item-topic{margin:0;font-size:.875rem;color:#475569;line-height:1.4}.student-attendance-history-modal__item-actions{display:flex;flex-wrap:wrap;align-items:center;gap:.5rem 1rem;margin-top:.25rem}.student-attendance-history-modal__link{display:inline-flex;align-items:center;gap:.35rem;font-size:.875rem;color:#2563eb;text-decoration:none;font-weight:500}.student-attendance-history-modal__link:hover{text-decoration:underline}.student-attendance-history-modal__toggle{display:inline-flex;align-items:center;gap:.25rem;padding:.25rem .5rem;font-size:.8125rem;color:#64748b;background:#f1f5f9;border:1px solid #e2e8f0;border-radius:6px;cursor:pointer}.student-attendance-history-modal__toggle:hover{background:#e2e8f0;color:#475569}.student-attendance-history-modal__notices{padding-top:.5rem;border-top:1px solid #e2e8f0;display:flex;flex-direction:column;gap:.5rem}.student-attendance-history-modal__notice{padding:.75rem 1rem;background:#fff;border-radius:6px;border:1px solid #e2e8f0}.student-attendance-history-modal__notice-header{display:flex;align-items:center;gap:.5rem;margin-bottom:.35rem}.student-attendance-history-modal__notice-type{font-size:.8125rem;font-weight:600;color:#334155}.student-attendance-history-modal__notice-status{font-size:.6875rem;padding:.15rem .4rem;border-radius:4px;text-transform:uppercase;letter-spacing:.02em}.student-attendance-history-modal__notice-status.status-approved{background:#dcfce7;color:#166534}.student-attendance-history-modal__notice-status.status-rejected{background:#fee2e2;color:#b91c1c}.student-attendance-history-modal__notice-status.status-submitted,.student-attendance-history-modal__notice-status.status-acknowledged,.student-attendance-history-modal__notice-status.status-attached{background:#e0f2fe;color:#0369a1}.student-attendance-history-modal__notice-status.status-canceled{background:#f1f5f9;color:#64748b}.student-attendance-history-modal__notice-reason{margin:0 0 .35rem;font-size:.875rem;color:#475569;line-height:1.45;white-space:pre-wrap}.student-attendance-history-modal__notice-meta{display:flex;flex-wrap:wrap;gap:.5rem 1rem;font-size:.75rem;color:#94a3b8}.department-modal-actions .btn-cancel{background:#fff;border:1px solid #e2e8f0;color:#4a5568}.department-modal-actions .btn-cancel:hover{background:#f7fafc}.department-modal-actions .btn-delete{background:#dc2626;color:#fff;border:none}.department-modal-actions .btn-delete:hover{background:#b91c1c}.department-modal-actions .btn-primary{background:#2563eb;color:#fff;border:none}.department-modal-actions .btn-primary:hover:not(:disabled){background:#1d4ed8}.btn-action-sm{padding:.25rem .5rem;font-size:.8125rem;border-radius:4px;border:1px solid #e2e8f0;background:#fff;color:#4a5568;cursor:pointer;transition:color .15s,background .15s,border-color .15s}.btn-action-sm:hover{background:#f8fafc;color:#1e40af;border-color:#c7d2fe}.department-table-btn.btn-action-sm{padding:.25rem .5rem;font-size:.8125rem}.department-table-btn--danger.btn-action-sm:hover{color:#dc2626;background:#fef2f2}.department-alert{padding:.75rem 1rem;border-radius:6px;margin-bottom:1rem;font-size:.875rem}.department-alert--error{background:#fef2f2;color:#b91c1c;border:1px solid #fecaca}.department-alert--success{background:#f0fdf4;color:#166534;border:1px solid #bbf7d0}.department-alert--info{background:#eff6ff;color:#1e40af;border:1px solid #bfdbfe}.invitation-page .department-page-toolbar{flex-wrap:wrap;gap:.75rem}.invitation-filter-status{padding:.5rem .75rem;border:1px solid #e2e8f0;border-radius:6px;font-size:.875rem;background:#fff;min-width:120px}.invitation-status-badge{display:inline-block;padding:.2rem .5rem;border-radius:4px;font-size:.75rem;font-weight:500}.invitation-status-badge--pending{background:#fef3c7;color:#92400e}.invitation-status-badge--sending{background:#dbeafe;color:#1e40af}.invitation-status-badge--sent{background:#d1fae5;color:#065f46}.invitation-status-badge--failed{background:#fee2e2;color:#b91c1c}.invitation-status-badge--accepted{background:#d1fae5;color:#065f46}.invitation-status-badge--expired,.invitation-status-badge--cancelled{background:#f3f4f6;color:#6b7280}.invitation-status-badge--disabled{background:#fef2f2;color:#b91c1c}.absence-status-badge{display:inline-flex;align-items:center;gap:.25rem;padding:.25rem .5rem;border-radius:6px;font-size:.8125rem;font-weight:500}.absence-status-badge--approved{background:#dcfce7;color:#166534}.absence-status-badge--pending{background:#fef3c7;color:#92400e}.absence-status-badge--rejected{background:#fee2e2;color:#b91c1c}.absence-status-badge--submitted{background:#fef3c7;color:#92400e}.absence-status-badge--canceled{background:#f3f4f6;color:#6b7280}.absence-type-badge--absent{background:#fee2e2;color:#b91c1c}.absence-type-badge--late{background:#fef9c3;color:#a16207}.absence-status-icon{width:.875rem;height:.875rem;flex-shrink:0}.absence-reason-cell{max-width:280px}.absence-reason-text{display:block;word-break:break-word}.absence-reason-toggle{display:inline-flex;align-items:center;gap:.25rem;margin-top:.25rem;padding:0;font-size:.8125rem;color:var(--ed-primary, #2563eb);background:none;border:none;cursor:pointer}.absence-reason-toggle:hover{text-decoration:underline}.absence-reason-toggle-icon{width:.875rem;height:.875rem}.absence-requests-filters-card{background:#fff;border:1px solid #e5e7eb;border-radius:12px;padding:1rem 1.25rem;margin-bottom:1.25rem;box-shadow:0 1px 2px #0000000a}.absence-requests-filters-inner{display:flex;flex-wrap:wrap;align-items:center;gap:.75rem}.absence-requests-filter-field{position:relative;display:flex;align-items:center}.absence-requests-filter-field--select,.absence-requests-filter-field--date{min-width:0}.absence-requests-filter-field--select{min-width:140px}.absence-requests-select{width:100%;min-width:140px;height:2.5rem;padding:0 2rem 0 .75rem;border:1px solid #e5e7eb;border-radius:8px;background:#fff;font-size:.9375rem;color:#1e293b;cursor:pointer;appearance:none;-webkit-appearance:none}.absence-requests-select:hover{border-color:#d1d5db}.absence-requests-select:focus{outline:none;border-color:#3b82f6;box-shadow:0 0 0 2px #3b82f626}.absence-requests-select-icon{position:absolute;right:.75rem;top:50%;transform:translateY(-50%);width:1.125rem;height:1.125rem;color:#6b7280;pointer-events:none}.absence-requests-filter-field--date{min-width:10.5rem}.absence-requests-date-input{width:100%;min-width:10.5rem;height:2.5rem;padding:0 2.5rem 0 .75rem;border:1px solid #e5e7eb;border-radius:8px;background:#fff;font-size:.9375rem;color:#1e293b;-webkit-appearance:none;-moz-appearance:none;appearance:none}.absence-requests-date-input:hover{border-color:#d1d5db}.absence-requests-date-input:focus{outline:none;border-color:#3b82f6;box-shadow:0 0 0 2px #3b82f626}.absence-requests-date-input::-webkit-calendar-picker-indicator{opacity:0;position:absolute;right:0;width:0;height:0;margin:0;padding:0;cursor:default;pointer-events:none}.absence-requests-date-input::-webkit-date-and-time-value{margin:0}.absence-requests-date-trigger{position:absolute;right:0;top:0;bottom:0;width:2.5rem;display:flex;align-items:center;justify-content:center;border:none;background:transparent;color:#6b7280;cursor:pointer;border-radius:0 8px 8px 0}.absence-requests-date-trigger:hover{color:#374151}.absence-requests-date-trigger:focus{outline:none;color:#3b82f6}.absence-requests-date-icon{width:1.125rem;height:1.125rem;flex-shrink:0}.absence-requests-student-link{color:#2563eb;text-decoration:none;font-weight:500}.absence-requests-student-link:hover{text-decoration:underline}.student-absence-time{font-size:.8125rem;color:#64748b;font-weight:400}.department-table-btn-link{display:inline-flex;align-items:center;justify-content:center;padding:.35rem .5rem;font-size:.875rem;color:#475569;background:transparent;border:none;border-radius:6px;text-decoration:none;cursor:pointer}.department-table-btn-link:hover{color:#2563eb;background:#eff6ff}.absence-review-modal .department-modal-body{min-width:20rem;max-width:28rem}.absence-review-modal-content{display:flex;flex-direction:column;gap:1rem}.absence-review-dl{display:grid;grid-template-columns:auto 1fr;gap:.25rem 1rem;margin:0;font-size:.9375rem}.absence-review-dl dt{margin:0;font-weight:600;color:#64748b}.absence-review-dl dd{margin:0}.absence-review-teacher-comment{margin:0 0 .25rem;white-space:pre-wrap}.absence-review-responded-at{margin:0;font-size:.8125rem;color:#64748b}.absence-review-comment-input{width:100%;min-height:4rem;padding:.5rem .75rem;border:1px solid #e2e8f0;border-radius:8px;font-family:inherit;font-size:.9375rem;resize:vertical}.absence-review-actions{display:flex;flex-wrap:wrap;gap:.5rem;padding-top:.5rem;border-top:1px solid #e2e8f0}.student-absence-create-subtitle{margin:0 0 .75rem;color:#64748b;font-size:.9375rem}.student-absence-create-form{display:flex;flex-direction:column;gap:1rem}.student-absence-create-label{font-size:.875rem;font-weight:600;color:#334155}.student-absence-create-mode{display:flex;flex-direction:column;gap:.5rem}.student-absence-create-mode-options{display:flex;flex-wrap:wrap;gap:.5rem}.student-absence-chip{border:1px solid #cbd5e1;border-radius:9999px;background:#f8fafc;color:#0f172a;padding:.4rem .85rem;font-size:.875rem;cursor:pointer}.student-absence-chip:hover{border-color:#93c5fd;background:#eff6ff}.student-absence-chip--active{background:#2563eb;border-color:#2563eb;color:#fff}.student-absence-create-dates{display:grid;grid-template-columns:auto minmax(10rem,12rem) auto minmax(10rem,12rem);gap:.5rem;align-items:center}.student-absence-create-dates label{font-size:.875rem;color:#334155}.student-absence-create-dates input{height:2.375rem;border:1px solid #cbd5e1;border-radius:8px;padding:0 .75rem}.student-absence-create-lessons{border:1px solid #e2e8f0;border-radius:12px;padding:.75rem;background:#f8fafc;display:flex;flex-direction:column;gap:.75rem}.student-absence-create-lessons-header{display:flex;justify-content:space-between;align-items:center;gap:.75rem}.student-absence-create-lessons-actions{display:flex;flex-wrap:wrap;gap:.5rem}.student-absence-create-hint{margin:0;font-size:.8125rem;color:#64748b}.student-absence-create-day{border-top:1px solid #e2e8f0;padding-top:.5rem}.student-absence-create-day:first-of-type{border-top:0;padding-top:0}.student-absence-create-day-title{font-size:.875rem;font-weight:600;color:#334155;margin-bottom:.35rem}.student-absence-create-day-items{display:flex;flex-direction:column;gap:.3rem}.student-absence-create-lesson-item{display:inline-flex;align-items:center;gap:.5rem;color:#1e293b;font-size:.875rem}.student-absence-create-submit{display:flex;justify-content:flex-end}.student-absence-create-submit .btn-primary{display:inline-flex;align-items:center;gap:.5rem}.student-absence-conflicts{margin-top:.75rem}.student-absence-conflicts__title{font-weight:600;margin-bottom:.4rem}.student-absence-conflicts__list{margin:0;padding-left:1rem;display:flex;flex-direction:column;gap:.25rem}.student-absence-conflicts__status{margin-left:.5rem;color:#64748b;font-size:.8125rem}.student-absence-lessons-list{display:flex;flex-direction:column;gap:.2rem}.student-absence-actions-cell{display:flex;flex-direction:column;gap:.2rem;align-items:flex-start}.student-absence-action-btn{display:inline-flex;align-items:center;gap:.35rem;border:1px solid #bfdbfe;background:#eff6ff;color:#1d4ed8;border-radius:8px;padding:.35rem .6rem;font-size:.8125rem;font-weight:600;cursor:pointer;transition:all .15s ease}.student-absence-action-btn:hover{background:#dbeafe;border-color:#93c5fd;color:#1e40af}.student-absence-action-muted{color:#64748b;font-size:.8125rem}.student-absence-edit-modal.department-modal--form{width:min(680px,calc(100vw - 2rem))}.student-absence-edit-form{display:flex;flex-direction:column;gap:1rem}.student-absence-edit-meta{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:.75rem}.student-absence-edit-meta>div{border:1px solid #e2e8f0;background:#f8fafc;border-radius:10px;padding:.7rem .85rem}.student-absence-edit-meta__label{display:block;font-size:.75rem;font-weight:700;letter-spacing:.03em;text-transform:uppercase;color:#64748b;margin-bottom:.2rem}.student-absence-edit-meta p{margin:0;color:#0f172a;font-weight:500}.student-absence-edit-actions{display:flex;justify-content:flex-end;flex-wrap:wrap;gap:.5rem}.student-absence-edit-actions .btn-danger{display:inline-flex;align-items:center;gap:.35rem;background:#dc2626;color:#fff;border:none;border-radius:8px;padding:.55rem .95rem;font-weight:600;cursor:pointer}.student-absence-edit-actions .btn-danger:hover:not(:disabled){background:#b91c1c}.student-absence-edit-actions .btn-danger:disabled{opacity:.65;cursor:not-allowed}.invitation-no-permission{font-size:.875rem;color:#6b7280;padding:.5rem .75rem;background:#f9fafb;border-radius:6px;cursor:not-allowed;display:inline-block}.invitation-action-disabled{display:inline-flex;align-items:center;justify-content:center;padding:.35rem;color:#9ca3af;cursor:not-allowed;opacity:.7}.invitation-user-link{color:#2563eb;text-decoration:underline;font-weight:500}.invitation-user-link:hover{color:#1d4ed8}.invitation-view-dl{margin:0 0 1.5rem}.invitation-view-dl dt{font-weight:600;margin-top:.75rem;color:#4a5568;font-size:.875rem}.invitation-view-dl dd{margin:.25rem 0 0;color:#2d3748}.invitation-create-fieldset{border:1px solid #e2e8f0;border-radius:8px;padding:1rem;margin:1rem 0;background:#f8fafc}.invitation-create-fieldset legend{font-weight:600;color:#1a202c;padding:0 .5rem}.invitation-roles-hint{font-size:.8rem;color:#6b7280;margin:.25rem 0 .5rem;line-height:1.4}.invitation-roles-chips{display:flex;flex-wrap:wrap;gap:.5rem;margin-bottom:.5rem}.invitation-role-chip{display:inline-flex;align-items:center;gap:.35rem;padding:.35rem .5rem .35rem .65rem;background:linear-gradient(135deg,#eff6ff,#dbeafe);border:1px solid #93c5fd;border-radius:999px;font-size:.875rem;color:#1e40af;font-weight:500}.invitation-role-chip-label{white-space:nowrap}.invitation-role-chip-remove{display:inline-flex;align-items:center;justify-content:center;width:1.25rem;height:1.25rem;padding:0;border:none;border-radius:50%;background:#1e40af26;color:#1e40af;font-size:1.1rem;line-height:1;cursor:pointer;transition:background .15s,color .15s}.invitation-role-chip-remove:hover{background:#1e40af;color:#fff}.invitation-add-role-wrap{position:relative;display:inline-block;overflow:visible}.invitation-add-role-btn{display:inline-flex;align-items:center;gap:.35rem;padding:.5rem .85rem;border:1px dashed #94a3b8;border-radius:8px;background:#f8fafc;color:#475569;font-size:.875rem;cursor:pointer;transition:border-color .15s,background .15s,color .15s}.invitation-add-role-btn:hover{border-color:#2563eb;background:#eff6ff;color:#1e40af}.invitation-create-page .form-group:has(.invitation-roles-chips){overflow:visible}.invitation-add-role-list{position:absolute;top:100%;left:0;margin:.25rem 0 0;padding:.35rem;min-width:180px;background:#fff;border:1px solid #e2e8f0;border-radius:8px;box-shadow:0 4px 12px #0000001a;list-style:none;z-index:1000}.invitation-add-role-list li{margin:0}.invitation-add-role-item{display:block;width:100%;padding:.5rem .75rem;border:none;border-radius:6px;background:transparent;color:#1a202c;font-size:.875rem;text-align:left;cursor:pointer;transition:background .15s}.invitation-add-role-item:hover{background:#eff6ff;color:#1e40af}.account-roles-checkboxes{display:flex;flex-wrap:wrap;gap:.5rem 1rem;margin-top:.35rem}.account-role-checkbox{display:inline-flex;align-items:center;gap:.35rem;cursor:pointer;font-size:.875rem;color:#374151}.account-role-checkbox input{margin:0;cursor:pointer}.profile-page{max-width:960px;margin:0 auto;text-align:left;padding:0 0 2rem}.app-dashboard-main .profile-page-bg{background:#f9fafb;margin:-1.5rem;padding:1.5rem;min-height:calc(100vh - 120px);min-height:calc(100dvh - 120px)}.profile-page-bg .profile-page{padding-bottom:2rem}.profile-header{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:.75rem;margin-bottom:1.5rem}.profile-title{margin:0;font-size:1.5rem;font-weight:600;color:#1e293b}.profile-loading{margin:0;color:#64748b;font-size:.9375rem}.profile-layout{display:grid;grid-template-columns:320px 1fr;gap:1.5rem;align-items:start}@media(max-width:768px){.profile-layout{grid-template-columns:1fr}}.profile-column-left{display:flex;flex-direction:column;gap:1.5rem}.profile-column-right{min-width:0}.profile-summary{padding:1.25rem 1.5rem;background:#fff;border-radius:10px;border:1px solid #E5E7EB;box-shadow:0 1px 3px #00000014}.profile-avatar{width:72px;height:72px;border-radius:50%;background:#2563eb;color:#fff;display:flex;align-items:center;justify-content:center;font-size:1.75rem;font-weight:600;margin-bottom:1rem}.profile-avatar--teacher{background:linear-gradient(135deg,#0d9488,#0f766e);box-shadow:0 2px 8px #0d948859}.profile-avatar--student{background:linear-gradient(135deg,#2563eb,#1e40af);box-shadow:0 2px 8px #2563eb59}.profile-summary-name{margin:0 0 .25rem;font-size:1.25rem;font-weight:600;color:#1e293b}.profile-summary-email{margin:0 0 .75rem;font-size:.875rem;color:#64748b}.profile-summary-roles{display:flex;flex-wrap:wrap;gap:.35rem;margin-bottom:.75rem}.profile-role-tag{display:inline-block;padding:.25rem .6rem;border-radius:6px;font-size:.75rem;font-weight:500;background:#e2e8f0;color:#475569}.profile-summary-meta{margin:0;font-size:.8125rem;color:#64748b}.profile-summary-meta-label{display:inline-block;margin-right:.35rem}.profile-section{padding:1.25rem 1.5rem;background:#fff;border-radius:10px;border:1px solid #E5E7EB;box-shadow:0 1px 3px #00000014}.profile-section--teacher-info{border-left:4px solid #0d9488;background:linear-gradient(to right,#0d94880a,#fff)}.profile-section--student-info{border-left:4px solid #2563eb;background:linear-gradient(to right,#2563eb0a,#fff)}.profile-section-title--teacher{color:#0f766e}.profile-section-title--student{color:#1e40af}.profile-section-title{margin:0 0 .5rem;font-size:1rem;font-weight:600;color:#1e293b}.profile-section-title--with-icon{display:flex;align-items:center;gap:.5rem}.profile-section-title-icon{width:1.25rem;height:1.25rem;background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%2364748b'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M9 12l2 2 4-4m5.618-4.016A11.955 11.955 0 0112 2.944a11.955 11.955 0 01-8.618 3.04A12.02 12.02 0 003 9c0 5.591 3.824 10.29 9 11.622 5.176-1.332 9-6.03 9-11.622 0-1.042-.133-2.052-.382-3.016z'/%3E%3C/svg%3E") no-repeat center;background-size:contain}.profile-section-hint{margin:0 0 1rem;font-size:.8125rem;color:#64748b}.profile-permissions-list{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:.5rem}.profile-permission{display:flex;align-items:center;justify-content:space-between;gap:1rem;padding:.75rem 1rem;border-radius:8px;border:none}.profile-permission--staff{background:#ecfdf5;color:#065f46}.profile-permission--moderator{background:#f5f3ff;color:#5b21b6}.profile-permission--admin{background:#eff6ff;color:#1e40af}.profile-permission--superadmin{background:#e0e7ff;color:#3730a3}.profile-permission-content{flex:1;min-width:0}.profile-permission-name{display:block;font-size:.9375rem;font-weight:600;margin-bottom:.2rem}.profile-permission-desc{margin:0;font-size:.8125rem;opacity:.9;line-height:1.4}.profile-permission-badge{flex-shrink:0;padding:.2rem .5rem;border-radius:6px;font-size:.75rem;font-weight:600}.profile-permission--staff .profile-permission-badge{background:#10b981;color:#fff}.profile-permission--moderator .profile-permission-badge{background:#8b5cf6;color:#fff}.profile-permission--admin .profile-permission-badge{background:#2563eb;color:#fff}.profile-permission--superadmin .profile-permission-badge{background:#4f46e5;color:#fff}.profile-fields{display:flex;flex-direction:column;gap:0}.profile-field{display:flex;flex-direction:row;align-items:center;gap:.75rem;padding:.5rem 0;border-bottom:1px solid #f1f5f9;min-height:2.25rem}.profile-field:last-child{border-bottom:none}.profile-field-label{flex-shrink:0;min-width:8rem;font-size:.8125rem;font-weight:600;color:#64748b}.profile-field-value{flex:1;min-width:0;font-size:.9375rem;color:#1e293b;cursor:pointer;padding:.2rem .4rem;margin:-.2rem -.4rem;border-radius:6px;transition:background .15s}.profile-field-value:empty:after{content:"—";color:#94a3b8}.profile-field--editable .profile-field-value:hover{background:#f1f5f9}.profile-field-value--readonly{cursor:default}.profile-field-value--readonly:hover{background:transparent}.profile-field-value:has(.account-view-role-chip){display:flex;flex-wrap:wrap;gap:.35rem;align-items:center}.profile-field--editable .profile-field-value:focus{outline:none;background:#eff6ff;box-shadow:0 0 0 2px #2563eb40}.profile-field-edit{flex:1;min-width:0;display:flex;flex-direction:column;gap:.25rem}.profile-field-input{width:100%;padding:.4rem .6rem;border:1px solid #2563eb;border-radius:6px;font-size:.9375rem;color:#1e293b;background:#fff;box-shadow:0 0 0 2px #2563eb26}.profile-field-input:focus{outline:none;border-color:#1d4ed8;box-shadow:0 0 0 2px #2563eb33}.profile-field-hint{font-size:.75rem;color:#64748b}.profile-saving{margin:1rem 0 0;font-size:.8125rem;color:#64748b}.curriculum-subjects-page{max-width:1400px}.curriculum-subjects-header{margin-bottom:1.5rem}.curriculum-subjects-breadcrumb{display:flex;align-items:center;flex-wrap:wrap;gap:.35rem;font-size:.8125rem;color:#64748b;margin-bottom:.75rem}.curriculum-subjects-breadcrumb a{color:#2563eb;text-decoration:none}.curriculum-subjects-breadcrumb a:hover{text-decoration:underline}.breadcrumb-separator{color:#94a3b8}.breadcrumb-current{color:#1e293b;font-weight:500}.curriculum-subjects-stats{display:grid;grid-template-columns:repeat(auto-fit,minmax(140px,1fr));gap:1rem;margin-bottom:1.5rem}.stat-card{background:#fff;border:1px solid #E5E7EB;border-radius:12px;padding:1rem 1.25rem;text-align:center;transition:box-shadow .2s,border-color .2s;box-shadow:0 1px 3px #00000014}.stat-card:hover{border-color:#d1d5db;box-shadow:0 4px 12px #0000001a}.stat-value{font-size:1.75rem;font-weight:700;color:#1e40af;line-height:1.2}.stat-label{font-size:.8125rem;color:#64748b;margin-top:.25rem}.curriculum-subjects-toolbar{flex-wrap:wrap;gap:1rem}.toolbar-filters{display:flex;flex-wrap:wrap;gap:.75rem;flex:1;min-width:0}.toolbar-actions{display:flex;gap:.75rem;flex-wrap:wrap}.semester-filter-select{padding:.5rem .75rem;border:1px solid #e2e8f0;border-radius:8px;font-size:.875rem;color:#1e293b;background:#fff;cursor:pointer;min-width:140px}.semester-filter-select:focus{outline:none;border-color:#2563eb;box-shadow:0 0 0 3px #2563eb26}.curriculum-subjects-empty{padding:3rem 2rem;text-align:center}.curriculum-subjects-empty .empty-icon{font-size:3rem;margin-bottom:1rem}.curriculum-subjects-empty h3{font-size:1.125rem;font-weight:600;color:#1e293b;margin:0 0 .5rem}.curriculum-subjects-empty p{color:#64748b;margin:0 0 1.5rem}.curriculum-subjects-list{display:flex;flex-direction:column;gap:2rem}.semester-section{background:#fff;border:1px solid #E5E7EB;border-radius:12px;overflow:hidden;box-shadow:0 1px 3px #00000014}.semester-title{display:flex;align-items:center;gap:.75rem;padding:1rem 1.25rem;margin:0;font-size:1rem;font-weight:600;color:#1e293b;background:#f8fafc;border-bottom:1px solid #e2e8f0}.semester-badge{display:inline-flex;align-items:center;justify-content:center;min-height:2rem;padding:.35rem .75rem;background:linear-gradient(135deg,#1e40af,#2563eb);color:#fff;border-radius:8px;font-size:.875rem;font-weight:700;white-space:nowrap;box-sizing:border-box}.semester-count{margin-left:auto;font-size:.8125rem;font-weight:400;color:#64748b}.semester-section .department-table-wrap{margin:0;border:none;border-radius:0}.curriculum-subjects-table{border:none}.code-cell{width:100px}.subject-code{font-family:SFMono-Regular,Consolas,Liberation Mono,Menlo,monospace;font-size:.8125rem;font-weight:600;color:#475569;background:#f1f5f9;padding:.25rem .5rem;border-radius:4px}.name-cell{min-width:200px}.subject-name-primary{font-weight:500;color:#1e293b}.subject-name-secondary{font-size:.8125rem;color:#64748b;margin-top:.125rem}.numeric-cell{text-align:center;width:80px}.credits-badge{display:inline-block;background:#eff6ff;color:#1e40af;padding:.2rem .5rem;border-radius:4px;font-weight:600;font-size:.8125rem}.assessment-type-badge{display:inline-block;background:#f0fdf4;color:#166534;padding:.2rem .5rem;border-radius:4px;font-size:.8125rem;white-space:nowrap}.department-table-btn--primary{background:#eff6ff}.department-table-btn--primary:hover{background:#dbeafe}.curriculum-subject-form-page{max-width:900px}.curriculum-subject-form{display:flex;flex-direction:column;gap:1.5rem}.form-section{background:#fff;border:1px solid #E5E7EB;border-radius:12px;padding:1.25rem 1.5rem;box-shadow:0 1px 3px #00000014}.form-section-title{font-size:1rem;font-weight:600;color:#1e293b;margin:0 0 1rem;padding-bottom:.75rem;border-bottom:1px solid #f1f5f9}.form-row{display:grid;gap:1rem}.form-row--2{grid-template-columns:repeat(2,1fr)}.form-row--3{grid-template-columns:repeat(3,1fr)}.form-row--4{grid-template-columns:repeat(4,1fr)}@media(max-width:768px){.form-row--2,.form-row--3,.form-row--4{grid-template-columns:1fr}}@media(min-width:769px)and (max-width:1024px){.form-row--4{grid-template-columns:repeat(2,1fr)}}.form-label{display:block;font-size:.8125rem;font-weight:500;color:#475569;margin-bottom:.35rem}.form-label .required{color:#dc2626}.department-form-select{width:100%;padding:.5rem .75rem;border:1px solid #e2e8f0;border-radius:8px;font-size:.9375rem;color:#1e293b;background:#fff;cursor:pointer}.department-form-select:focus{outline:none;border-color:#2563eb;box-shadow:0 0 0 3px #2563eb26}.department-form-input{width:100%;padding:.5rem .75rem;border:1px solid #e2e8f0;border-radius:8px;font-size:.9375rem;color:#1e293b;background:#fff}.department-form-input:focus{outline:none;border-color:#2563eb;box-shadow:0 0 0 3px #2563eb26}.department-form-input:disabled{background:#f8fafc;color:#64748b;cursor:not-allowed}.selected-subject-preview{margin-top:1rem;padding:1rem;background:#f8fafc;border:1px solid #e2e8f0;border-radius:8px}.selected-subject-preview .preview-title{font-size:.75rem;font-weight:600;color:#64748b;text-transform:uppercase;letter-spacing:.05em;margin-bottom:.5rem}.selected-subject-preview .preview-content{font-size:.9375rem;color:#1e293b}.selected-subject-preview .preview-content .secondary{color:#64748b}.selected-subject-preview .preview-description{margin-top:.5rem;font-size:.8125rem;color:#64748b;line-height:1.5}.curriculum-subject-info-card{background:#fff;border:1px solid #E5E7EB;border-radius:12px;margin-bottom:1.5rem;overflow:hidden;box-shadow:0 1px 3px #00000014}.curriculum-subject-info-card .info-card-header{display:flex;align-items:center;justify-content:space-between;padding:1rem 1.25rem;background:#f8fafc;border-bottom:1px solid #e2e8f0}.curriculum-subject-info-card .info-card-header h2{font-size:1rem;font-weight:600;color:#1e293b;margin:0}.curriculum-subject-info-card .info-card-content{padding:1rem 1.25rem}.curriculum-subject-info-card .info-row{display:flex;align-items:center;gap:1rem;padding:.5rem 0;border-bottom:1px solid #f1f5f9}.curriculum-subject-info-card .info-row:last-child{border-bottom:none}.curriculum-subject-info-card .info-label{flex-shrink:0;width:140px;font-size:.8125rem;font-weight:500;color:#64748b}.curriculum-subject-info-card .info-value{flex:1;font-size:.9375rem;color:#1e293b}.curriculum-subject-info-card .info-value .secondary{color:#64748b}.btn-link{font-size:.8125rem;color:#2563eb;text-decoration:none;font-weight:500}.btn-link:hover{text-decoration:underline}.btn-primary{padding:.5rem 1rem;font-size:.875rem;font-weight:500;border-radius:6px;border:none;cursor:pointer;background:#2563eb;color:#fff;transition:background-color .15s ease,border-color .15s ease}.btn-primary:hover:not(:disabled){background:#1d4ed8}.btn-primary:disabled{background:#e2e8f0;color:#94a3b8;cursor:not-allowed}.btn-secondary{padding:.5rem 1rem;font-size:.875rem;font-weight:500;border-radius:6px;border:1px solid #e2e8f0;background:#fff;color:#475569;cursor:pointer;transition:background-color .15s ease,border-color .15s ease;text-decoration:none}.btn-secondary:hover{background:#f8fafc;border-color:#cbd5e1}a.btn-secondary{display:inline-flex;align-items:center}.btn-delete{padding:.5rem 1rem;font-size:.875rem;font-weight:500;border-radius:6px;border:none;cursor:pointer;background:#dc2626;color:#fff;transition:background-color .15s ease}.btn-delete:hover:not(:disabled){background:#b91c1c}.btn-delete:disabled{background:#fecaca;color:#94a3b8;cursor:not-allowed}.subject-usages-section{margin-top:1.5rem}.entity-view-card-subtitle{font-size:.875rem;color:#64748b;margin:.25rem 0 1rem}.teacher-subjects-page-header{margin-bottom:1.25rem}.teacher-subjects-semester-row{display:flex;flex-wrap:wrap;align-items:center;gap:.75rem;margin-top:.75rem}.teacher-subjects-semester-row label{font-size:.875rem;font-weight:500;color:#374151}.teacher-subjects-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(280px,1fr));gap:1.25rem;margin-top:1.5rem}.teacher-subject-card{background:#fff;border:1px solid #e5e7eb;border-radius:12px;padding:1.25rem;box-shadow:0 1px 3px #00000014;transition:box-shadow .2s,border-color .2s}.teacher-subject-card:hover{border-color:#d1d5db;box-shadow:0 4px 12px #0000001a}.teacher-subject-card-title{font-size:1.0625rem;font-weight:600;color:#1e293b;margin:0 0 .35rem;line-height:1.35}.teacher-subject-card-code{font-size:.8125rem;color:#64748b;margin:0 0 1rem}.teacher-subject-card-row{display:flex;align-items:flex-start;gap:.5rem;font-size:.875rem;margin-bottom:.5rem}.teacher-subject-card-row:last-child{margin-bottom:0}.teacher-subject-card-label{flex-shrink:0;color:#64748b;font-weight:500}.teacher-subject-card-value{color:#334155;word-break:break-word}.subject-card-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(300px,1fr));gap:1.5rem;margin-top:1.5rem}.subject-card{background:#fff;border:1px solid #e5e7eb;border-radius:14px;padding:1.375rem 1.5rem;box-shadow:0 1px 3px #0000000f;transition:box-shadow .2s ease,border-color .2s ease,transform .2s ease}a.subject-card{cursor:pointer}.subject-card:hover{border-color:#c7d2fe;box-shadow:0 8px 24px #6366f11f;transform:translateY(-2px)}.subject-card-title{font-size:1.125rem;font-weight:600;color:#1e293b;margin:0 0 .35rem;line-height:1.4;letter-spacing:-.01em}.subject-card-code{font-size:.8125rem;color:#64748b;margin:0 0 1rem;font-weight:500}.subject-card-row{display:flex;align-items:center;gap:.5rem;font-size:.875rem;margin-bottom:.5rem}.subject-card-row:last-child{margin-bottom:0}.subject-card-row-icon{flex-shrink:0;display:inline-flex;align-items:center;justify-content:center;width:1.125rem;height:1.125rem;color:#64748b}.subject-card-row-icon svg{width:1rem;height:1rem}.subject-card-label{flex-shrink:0;color:#64748b;font-weight:500}.subject-card-value{color:#334155;word-break:break-word}.student-subjects-page{margin-top:1rem}.student-subjects-page-header{margin-bottom:.5rem}.student-subjects-page-title{font-size:1.25rem;font-weight:600;color:#1e293b;letter-spacing:-.02em}.student-subjects-page-subtitle{margin-top:.25rem;color:#64748b;font-size:.9375rem}.student-subjects-page-alert{margin-bottom:1rem}.student-subjects-page-loading{color:#64748b;font-size:.875rem}.student-subjects-page-empty{padding:2.5rem 0;text-align:center;color:#64748b;font-size:.9375rem}.student-subjects-semester-row{display:flex;flex-wrap:wrap;align-items:center;gap:.75rem;margin-top:.75rem}.student-subjects-semester-row label{font-size:.875rem;font-weight:500;color:#374151}.teacher-student-groups-filters{display:flex;flex-wrap:wrap;align-items:center;gap:1rem 1.5rem;margin-bottom:1rem}.teacher-student-groups-filters .teacher-subjects-semester-row{margin-bottom:0}.teacher-student-groups-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(300px,1fr));gap:1.25rem;margin-top:1.5rem}.teacher-student-group-card{background:#fff;border:1px solid #e5e7eb;border-radius:12px;padding:1.25rem;box-shadow:0 1px 3px #00000014;transition:box-shadow .2s,border-color .2s}.teacher-student-group-card:hover{border-color:#c7d2fe;box-shadow:0 4px 12px #6366f11f}.teacher-student-group-card-header{display:flex;align-items:flex-start;justify-content:space-between;gap:.75rem;margin-bottom:1rem}.teacher-student-group-card-title{font-size:1.0625rem;font-weight:600;color:#1e293b;margin:0;line-height:1.35;flex:1;min-width:0}.teacher-student-group-card-count{flex-shrink:0;display:inline-flex;align-items:center;justify-content:center;min-width:1.75rem;height:1.75rem;padding:0 .4rem;font-size:.8125rem;font-weight:600;color:#64748b;background:#f1f5f9;border-radius:50%}.teacher-student-group-card-row{display:flex;align-items:flex-start;gap:.5rem;font-size:.875rem;margin-bottom:.5rem}.teacher-student-group-card-row:last-child{margin-bottom:0}.teacher-student-group-card-label{flex-shrink:0;color:#64748b;font-weight:500}.teacher-student-group-card-value{color:#334155;word-break:break-word}.schedule-tab-toolbar{display:flex;flex-wrap:wrap;align-items:center;gap:.75rem 1rem;margin-bottom:1rem}.schedule-tab-toolbar input[type=date]{width:150px;max-width:160px;padding:.4rem .6rem;font-size:.8125rem;border:1px solid #e2e8f0;border-radius:6px;background:#fff;color:#334155}.schedule-tab-toolbar input[type=date]:focus{outline:none;border-color:#2563eb;box-shadow:0 0 0 2px #2563eb26}.schedule-tab-week-range{font-size:.8125rem;color:#64748b}.schedule-tab-toolbar-buttons{display:flex;align-items:center;gap:.5rem}.schedule-tab-toolbar .btn-schedule-primary{padding:.4rem .85rem;font-size:.8125rem;font-weight:500;border-radius:6px;border:none;cursor:pointer;background:#2563eb;color:#fff;transition:background-color .15s ease}.schedule-tab-toolbar .btn-schedule-primary:hover{background:#1d4ed8}.schedule-tab-toolbar .btn-schedule-secondary{padding:.4rem .85rem;font-size:.8125rem;font-weight:500;border-radius:6px;border:1px solid #e2e8f0;background:#fff;color:#475569;cursor:pointer;transition:background-color .15s ease,border-color .15s ease}.schedule-tab-toolbar .btn-schedule-secondary:hover{background:#f8fafc;border-color:#cbd5e1}.schedule-tab-semester{margin-bottom:1rem;padding:.5rem .75rem;font-size:.8125rem;background:#f8fafc;border:1px solid #e2e8f0;border-radius:8px}.schedule-tab-semester strong{font-weight:600;color:#374151}.schedule-tab-semester .schedule-tab-semester-muted{color:#64748b;font-weight:400}.schedule-tab-empty{padding:1rem;font-size:.875rem;color:#64748b;text-align:center;background:#f8fafc;border:1px solid #e2e8f0;border-radius:8px}.subject-usages-empty{padding:2rem;text-align:center}.subject-usages-empty .empty-icon{font-size:2.5rem;margin-bottom:.75rem}.subject-usages-empty p{margin:0;color:#64748b}.subject-usages-empty .hint{font-size:.8125rem;margin-top:.5rem}.subject-usages-table{font-size:.875rem}.usage-program-link{color:#2563eb;text-decoration:none;font-weight:500}.usage-program-link:hover{text-decoration:underline}.subject-usages-actions{margin-top:1rem;padding-top:1rem;border-top:1px solid #f1f5f9}@media(max-width:640px){.curriculum-subjects-stats{grid-template-columns:repeat(2,1fr)}.stat-value{font-size:1.5rem}.semester-title{flex-wrap:wrap}.semester-count{width:100%;margin-left:0;margin-top:.25rem}.toolbar-filters{flex-direction:column}.semester-filter-select{width:100%}}@media(max-width:480px){.curriculum-subjects-stats{grid-template-columns:1fr}}.academic-summary-section{margin-bottom:2rem}.academic-summary-heading{font-size:1rem;font-weight:600;color:#475569;margin:0 0 .75rem}.academic-summary-cards{display:grid;grid-template-columns:repeat(auto-fill,minmax(280px,1fr));gap:1rem}.academic-summary-card{background:#fff;border:1px solid #E5E7EB;border-radius:12px;padding:1.25rem 1.5rem;display:flex;flex-direction:column;gap:.25rem;box-shadow:0 1px 3px #00000014}.academic-summary-label{font-size:.8125rem;font-weight:500;color:#64748b}.academic-summary-value{font-size:1.25rem;font-weight:600;color:#1e293b}.academic-summary-meta{font-size:.875rem;color:#64748b}.academic-summary-muted{font-size:.9375rem;color:#94a3b8;font-style:italic}.academic-years-section{margin-top:1.5rem}.academic-years-section .department-page-title{font-size:1.125rem;margin-bottom:.25rem}.academic-years-section .department-page-subtitle{margin-bottom:1rem}.academic-semesters-subtitle{font-size:.875rem;color:#64748b;margin:0 0 1rem}.academic-view-message{margin-bottom:1rem}.academic-year-info{margin:1rem 0 1.5rem;display:flex;flex-wrap:wrap;gap:1rem 2rem}.academic-year-info-row{display:flex;align-items:baseline;gap:.5rem}.academic-year-info-label{font-size:.875rem;color:#64748b;font-weight:500}.academic-year-info-value{font-size:.9375rem;color:#1e293b}.academic-semesters-heading{font-size:1rem;font-weight:600;color:#1e293b;margin:0 0 .25rem}.academic-semesters-toolbar{margin-bottom:1rem}.academic-semester-modal.department-modal--form{max-width:480px;width:100%;padding:1.5rem 2rem;margin:auto;max-height:calc(100vh - 3rem);overflow-y:auto}.academic-semester-modal .department-modal-title{font-size:1.25rem;font-weight:600;color:#1e293b;margin:0 0 1.25rem;padding-bottom:.75rem;border-bottom:1px solid #e2e8f0}.academic-semester-modal .department-modal-body .department-form{display:flex;flex-direction:column;gap:0}.academic-semester-modal .department-modal-body .form-group{margin-bottom:1rem}.academic-semester-modal .department-modal-body .form-group:last-of-type{margin-bottom:1.25rem}.academic-semester-modal .department-modal-body .form-row--2{display:grid;grid-template-columns:1fr 1fr;gap:.75rem;margin-bottom:1rem}.academic-semester-modal .department-form-actions{margin-top:1.25rem;padding-top:1rem;border-top:1px solid #f1f5f9;justify-content:flex-end;gap:.75rem}.buildings-section{margin-top:2.5rem;padding-top:1.5rem;border-top:1px solid #e2e8f0}.building-view-message{margin-bottom:1rem}.building-rooms-toolbar{display:flex;flex-wrap:wrap;gap:.5rem;margin-bottom:1rem}.building-rooms-empty{padding:1.5rem;text-align:center;color:#64748b}.building-room-modal .department-form,.building-room-bulk-modal .department-form{min-width:20rem}.building-bulk-textarea{width:100%;min-height:8rem;padding:.75rem;font-family:inherit;font-size:.9375rem;border:1px solid #e2e8f0;border-radius:8px;resize:vertical}.building-bulk-textarea:focus{outline:none;border-color:#3b82f6;box-shadow:0 0 0 2px #3b82f633}.timeslots-page-header{display:flex;flex-wrap:wrap;align-items:flex-start;justify-content:space-between;gap:1rem;margin-bottom:1.5rem}.timeslots-page-header .department-page-back{white-space:nowrap}.timeslot-bulk-hint{margin-bottom:1rem;font-size:.875rem;color:#64748b}.timeslot-bulk-row{display:grid;grid-template-columns:1fr 1fr auto;gap:.75rem;align-items:end;margin-bottom:1rem}.timeslot-bulk-row .form-group{margin-bottom:0}.timeslot-bulk-row-actions{display:flex;align-items:center;padding-bottom:.5rem}.timeslots-section{margin-top:2.5rem}.timeslots-section-subtitle{margin-bottom:1rem}.timeslots-toolbar{display:flex;flex-wrap:wrap;gap:.75rem;margin-bottom:1.5rem}.timeslots-by-day{display:grid;grid-template-columns:repeat(auto-fill,minmax(200px,1fr));gap:1.25rem}.timeslots-day-card{background:#fff;border:1px solid #E5E7EB;border-radius:12px;padding:1rem 1.25rem;transition:box-shadow .15s ease;box-shadow:0 1px 3px #00000014}.timeslots-day-card:hover{box-shadow:0 2px 8px #0000000f}.timeslots-day-title{margin:0 0 .75rem;font-size:1rem;font-weight:600;color:#334155;border-bottom:1px solid #e2e8f0;padding-bottom:.5rem}.timeslots-day-empty{margin:0;font-size:.875rem;color:#94a3b8}.timeslots-day-list{list-style:none;margin:0;padding:0}.timeslots-day-list li{margin-bottom:.5rem}.timeslots-day-list li:last-child{margin-bottom:0}.timeslots-slot-button{display:block;width:100%;padding:.5rem .75rem;text-align:left;font-size:.875rem;color:#334155;background:#fff;border:1px solid #e2e8f0;border-radius:8px;cursor:pointer;transition:background-color .15s ease,border-color .15s ease}.timeslots-slot-button:hover{background:#f1f5f9;border-color:#cbd5e1}.timeslots-slot-button:focus-visible{outline:2px solid #3b82f6;outline-offset:2px}.timeslots-slot-button--selected{background:#eff6ff;border-color:#3b82f6;color:#1d4ed8}.timeslots-slot-button--selected:hover{background:#dbeafe;border-color:#2563eb}.timeslots-slot-time{font-variant-numeric:tabular-nums}.timeslot-detail-modal .department-modal-body{padding-bottom:.5rem}.timeslot-detail-body{margin-bottom:1rem}.timeslot-detail-dl{margin:0;display:grid;grid-template-columns:auto 1fr;gap:.5rem 1.5rem;font-size:.9375rem}.timeslot-detail-dl dt{margin:0;color:#64748b;font-weight:500}.timeslot-detail-dl dd{margin:0;color:#334155}.timeslot-detail-hint{margin:1rem 0 0;font-size:.8125rem;color:#64748b}.timeslot-detail-actions{display:flex;justify-content:flex-end;gap:.75rem;margin-top:1rem;padding-top:1rem;border-top:1px solid #e2e8f0}.app-drawer-overlay{position:fixed;inset:0;background:#0006;z-index:1000;display:flex;justify-content:flex-end;animation:app-drawer-overlay-in .2s ease-out}.app-drawer-panel{background:#fff;box-shadow:-4px 0 24px #0000001f;display:flex;flex-direction:column;max-height:100vh;animation:app-drawer-panel-in .25s ease-out}.app-drawer-header{display:flex;align-items:center;justify-content:space-between;padding:1rem 1.25rem;border-bottom:1px solid #e2e8f0;flex-shrink:0}.app-drawer-title{margin:0;font-size:1.125rem;font-weight:600;color:#1a202c}.app-drawer-close{width:2rem;height:2rem;padding:0;border:none;background:transparent;font-size:1.5rem;line-height:1;color:#64748b;cursor:pointer;border-radius:6px}.app-drawer-close:hover{background:#f1f5f9;color:#334155}.app-drawer-body{flex:1;overflow-y:auto;padding:1rem 1.25rem}@keyframes app-drawer-overlay-in{0%{opacity:0}to{opacity:1}}@keyframes app-drawer-panel-in{0%{transform:translate(100%)}to{transform:translate(0)}}.ssi-page{max-width:860px}.ssi-back-link{display:inline-flex;align-items:center;gap:.35rem;font-size:.875rem;font-weight:500;color:#2563eb;text-decoration:none;margin-bottom:1rem;transition:color .15s}.ssi-back-link:hover{color:#1d4ed8}.ssi-hero{display:flex;align-items:flex-start;gap:1rem;padding:1.25rem 1.5rem;background:linear-gradient(135deg,#eff6ff,#f0fdf4);border-radius:12px;margin-bottom:1rem;border:1px solid #e0e7ff}.ssi-hero-icon{flex-shrink:0;width:48px;height:48px;display:flex;align-items:center;justify-content:center;background:#2563eb;color:#fff;border-radius:10px}.ssi-hero-text{display:flex;flex-direction:column;gap:.25rem;min-width:0}.ssi-hero-title{font-size:1.35rem;font-weight:700;color:#1e293b;margin:0;line-height:1.3}.ssi-hero-code{font-size:.8125rem;font-weight:600;color:#475569;letter-spacing:.02em}.ssi-hero-department{font-size:.8125rem;color:#64748b}.ssi-card{margin-bottom:1rem}.ssi-section-title{display:flex;align-items:center;gap:.5rem;color:#1e293b}.ssi-section-title svg{color:#2563eb;flex-shrink:0}.ssi-empty{font-size:.875rem;color:#94a3b8;margin:0}.ssi-info-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(140px,1fr));gap:.75rem}.ssi-info-tile{display:flex;flex-direction:column;gap:.2rem;padding:.75rem;background:#f8fafc;border-radius:8px;border:1px solid #e2e8f0}.ssi-info-tile-label{font-size:.75rem;font-weight:600;color:#64748b;text-transform:uppercase;letter-spacing:.04em}.ssi-info-tile-value{font-size:1rem;font-weight:600;color:#1e293b}.ssi-teachers-list{display:flex;flex-direction:column;gap:.5rem}.ssi-teacher-card{display:flex;align-items:center;gap:.75rem;padding:.625rem .875rem;background:#f8fafc;border-radius:8px;border:1px solid #e2e8f0}.ssi-teacher-avatar{flex-shrink:0;width:36px;height:36px;display:flex;align-items:center;justify-content:center;background:#e0e7ff;color:#3b82f6;border-radius:50%}.ssi-teacher-info{display:flex;flex-direction:column;gap:.1rem;min-width:0}.ssi-teacher-name{font-size:.9375rem;font-weight:600;color:#1e293b}.ssi-teacher-role{font-size:.8125rem;color:#2563eb;font-weight:500}.ssi-teacher-position{font-size:.75rem;color:#94a3b8}.ssi-slots-list{display:flex;flex-wrap:wrap;gap:.5rem}.ssi-slot-chip{display:inline-flex;align-items:center;gap:.4rem;padding:.5rem .75rem;background:#f0f9ff;border:1px solid #bae6fd;border-radius:8px;font-size:.875rem;color:#0c4a6e}.ssi-slot-day{font-weight:600;color:#0369a1}.ssi-slot-time{font-weight:500}.ssi-slot-type{font-size:.75rem;padding:.1rem .4rem;background:#e0f2fe;border-radius:4px;font-weight:500;color:#0369a1}.ssi-materials-list{display:flex;flex-direction:column;gap:.5rem}.ssi-material-row{display:flex;align-items:center;gap:.75rem;padding:.625rem .75rem;background:#f8fafc;border-radius:8px;border:1px solid #e2e8f0;transition:border-color .15s}.ssi-material-row:hover{border-color:#cbd5e1}.ssi-material-icon{flex-shrink:0;width:32px;height:32px;display:flex;align-items:center;justify-content:center;background:#fef3c7;color:#d97706;border-radius:6px}.ssi-material-info{flex:1;display:flex;flex-direction:column;gap:.1rem;min-width:0}.ssi-material-title{font-size:.9375rem;font-weight:600;color:#1e293b}.ssi-material-desc{font-size:.8125rem;color:#64748b;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.ssi-material-file-name{font-size:.75rem;color:#94a3b8}.ssi-material-download{flex-shrink:0;display:inline-flex;align-items:center;justify-content:center;gap:.35rem;min-width:32px;height:32px;padding:0 .5rem;background:none;border:1px solid #e2e8f0;border-radius:6px;color:#2563eb;cursor:pointer;font-size:.8125rem;font-weight:500;transition:background .15s,border-color .15s}.ssi-material-download svg{flex-shrink:0;color:currentColor}.ssi-material-download:hover{background:#eff6ff;border-color:#93c5fd}.ssi-material-download-text{white-space:nowrap}@media(max-width:480px){.ssi-material-download-text{display:none}}.ssi-stats-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(180px,1fr));gap:.75rem}.ssi-stat-card{display:flex;flex-direction:column;align-items:center;gap:.35rem;padding:1.25rem 1rem;border-radius:10px;text-align:center;border:1px solid #e2e8f0}.ssi-stat-value{font-size:1.5rem;font-weight:700;line-height:1.2}.ssi-stat-label{font-size:.8125rem;font-weight:500;color:#64748b}.ssi-stat-card--green{background:#f0fdf4;border-color:#bbf7d0}.ssi-stat-card--green .ssi-stat-value{color:#15803d}.ssi-stat-card--amber{background:#fffbeb;border-color:#fde68a}.ssi-stat-card--amber .ssi-stat-value{color:#b45309}.ssi-stat-card--red{background:#fef2f2;border-color:#fecaca}.ssi-stat-card--red .ssi-stat-value{color:#b91c1c}.ssi-stat-card--blue{background:#eff6ff;border-color:#bfdbfe}.ssi-stat-card--blue .ssi-stat-value{color:#1d4ed8}.ssi-stat-card--neutral{background:#f8fafc;border-color:#e2e8f0}.ssi-stat-card--neutral .ssi-stat-value{color:#475569}@media(max-width:600px){.ssi-hero{flex-direction:column;align-items:stretch}.ssi-info-grid{grid-template-columns:repeat(2,1fr)}.ssi-stats-grid{grid-template-columns:1fr}}
