#exams,#examList,#examCalendarPanel{min-width:0;max-width:100%;box-sizing:border-box}#examList{display:grid;grid-template-columns:minmax(0,1fr);padding:16px;gap:9px}#examList .exam-row{min-width:0;grid-template-columns:54px minmax(0,1fr) auto;gap:14px;cursor:pointer;padding:14px;border-left:4px solid #d34c51}#examList .exam-row:hover{background:#f6f9fc;border-color:#becddb;border-left-color:#d34c51}#examList .exam-row:focus-visible{outline:2px solid #6e8ea8;outline-offset:2px}#examList .exam-main{display:grid;grid-template-columns:minmax(0,1fr) minmax(150px,220px);min-width:0;align-items:center;gap:16px}#examList .exam-main>div{min-width:0}#examList .exam-main h3{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;margin:6px 0;font-size:16px}#examList .exam-main p{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;line-height:1.6}#examList .exam-meta{overflow-wrap:anywhere;gap:5px}#examList .exam-actions{align-items:center;flex-wrap:wrap}#examCalendarPanel{padding:22px;margin-top:20px;overflow:hidden}#examCalendarPanel .panel-heading{gap:16px;flex-wrap:wrap}#examCalendarPanel .calendar-toolbar{flex-wrap:wrap}.exam-calendar-scroll{max-width:100%;overflow:auto;border:1px solid #dce4eb;border-radius:12px}#examCalendar{min-width:770px;width:100%;box-sizing:border-box;border:0;overflow:visible;grid-template-columns:repeat(7,minmax(0,1fr));background:#dce4eb}#examCalendar .exam-calendar-day{min-width:0;min-height:150px;padding:10px;background:white}#examCalendar .exam-calendar-day>button{background:#fff;border:1px solid #e1e7ec;border-left:4px solid #d34c51;white-space:normal;overflow-wrap:anywhere;padding:9px;line-height:1.4}#examCalendar .calendar-card-people{display:flex;gap:4px;flex-wrap:wrap;margin-top:6px}
#openStudentArchive{font-size:12px;min-height:40px}#students>.page-heading{flex-wrap:wrap;gap:12px}
#studentArchive{width:min(1120px,95vw);max-width:95vw;max-height:90vh;padding:0;border:1px solid #dce4eb;border-radius:20px;background:#f7f9fb;color:#2f4151;box-shadow:0 24px 90px #10263840}#studentArchive[open]{display:flex;flex-direction:column}#studentArchive::backdrop{background:#14263888;backdrop-filter:blur(4px)}#studentArchive header{display:flex;justify-content:space-between;gap:20px;padding:24px;background:white;border-bottom:1px solid #dce4eb}#studentArchive h2{margin:6px 0 10px;font-size:23px}#studentArchive header p{font-size:13px;line-height:1.5;margin:0;color:#718495}#studentArchive [data-archive-close]{align-self:start;border:1px solid #dce4eb;border-radius:50%;width:36px;height:36px;background:#fff;font-size:24px;cursor:pointer}#studentArchive .archive-toolbar{display:flex;justify-content:space-between;align-items:center;padding:14px 24px;font-size:13px}#studentArchive .archive-scroll{overflow:auto;min-height:0;margin:0 24px;background:#fff;border:1px solid #e1e7ed;border-radius:10px}#studentArchive table{width:100%;border-collapse:collapse;min-width:720px}#studentArchive td,#studentArchive th{padding:12px;text-align:left;font-size:12px;border-bottom:1px solid #e6ebf0;overflow-wrap:anywhere;max-width:280px}#studentArchive th{background:#edf3f7;color:#60798f}#studentArchive input[type=checkbox]{width:17px;height:17px;accent-color:#6e8ea8}#studentArchive footer{padding:18px 24px}#studentArchive footer>div{display:flex;gap:10px;flex-wrap:wrap}#studentArchive footer small{display:block;font-size:11px;color:#7e8e9b;margin-top:12px}#studentArchive [data-archive-status]{font-size:12px;color:#567d98;margin:0 0 10px}#studentArchive .error{color:#b34343}#studentArchive button:disabled{opacity:.45;cursor:default}
@media(max-width:850px){#examList .exam-row{grid-template-columns:48px minmax(0,1fr)}#examList .exam-main{grid-template-columns:minmax(0,1fr)}#examList .exam-meta{text-align:left}#examList .exam-actions{grid-column:2}#examCalendarPanel{padding:16px}#examList .exam-main h3{white-space:normal;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical}}
@media(max-width:600px){#studentArchive{width:100vw;max-width:100vw;max-height:100dvh;border-radius:0}#studentArchive header,#studentArchive footer{padding:18px}#studentArchive h2{font-size:20px}#studentArchive .archive-scroll{margin:0 18px}#studentArchive footer>div button{width:100%}#examList{padding:10px}#examList .exam-row{padding:11px;gap:10px}}
#examCalendarPanel .calendar-toolbar{display:flex;flex-direction:row;align-items:center;gap:6px}#examCalendarPanel .calendar-toolbar>button{flex:0 0 auto;width:auto;min-width:36px}#examCalendarPanel .calendar-toolbar>.segmented{flex:0 0 auto}#examCalendar .exam-calendar-day>button>b{display:-webkit-box;-webkit-line-clamp:4;-webkit-box-orient:vertical;overflow:hidden}@media(max-width:600px){#examCalendarPanel .calendar-toolbar{justify-content:flex-start;width:100%}#examCalendarPanel .panel-heading{margin-bottom:16px}#examCalendarPanel .calendar-toolbar>.segmented{margin:0}}
