.classroom-head{display:flex;justify-content:space-between;align-items:end;margin:1.5rem 0 1rem}.classroom-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(120px,1fr));gap:.85rem}.student-avatar-card{display:grid;justify-items:center;gap:.35rem;border:1px solid #d8e5e1;border-radius:18px;background:#fff;padding:1rem;cursor:pointer;color:#173f39}.student-avatar-card:hover,.student-avatar-card:focus-visible{border-color:#17695b;box-shadow:0 8px 22px rgba(18,76,67,.1)}.student-avatar-card img,.student-avatar-card>i{width:64px;height:64px;border-radius:50%;object-fit:cover}.student-avatar-card>i,.parent-links i{display:grid;place-items:center;background:#dcece6;color:#17695b;font-style:normal;font-size:1.5rem;font-weight:900}.student-avatar-card small{color:#60756f}.student-manage-dialog{width:min(920px,calc(100% - 2rem));max-height:88vh;border:0;border-radius:24px;padding:0;color:#173f39}.student-manage-dialog::backdrop{background:rgba(7,33,29,.7)}.student-dialog-head{position:sticky;top:0;z-index:2;display:flex;justify-content:space-between;align-items:center;background:#173f39;color:#fff;padding:1.2rem 1.5rem}.student-dialog-head h2{margin:.25rem 0}.student-dialog-head button{border:0;background:transparent;color:#fff;font-size:2rem;cursor:pointer}.student-dialog-body{display:grid;grid-template-columns:1fr 1fr;gap:1rem;padding:1.4rem}.student-dialog-body>section,.student-dialog-body>.button{grid-column:1/-1}.parent-links{display:flex;flex-wrap:wrap;gap:.7rem}.parent-links span{display:flex;align-items:center;gap:.5rem;border:1px solid #d8e5e1;border-radius:999px;padding:.45rem .8rem}.parent-links img,.parent-links i{width:34px;height:34px;border-radius:50%;object-fit:cover}.student-manage-dialog textarea{width:100%}@media(max-width:700px){.student-dialog-body{grid-template-columns:1fr}.classroom-head{align-items:flex-start;flex-direction:column;gap:.4rem}}
.student-dialog-body button:disabled{cursor:not-allowed;opacity:.5}
.teacher-timetable-form{grid-template-columns:repeat(5,minmax(115px,1fr)) minmax(180px,1.2fr) auto}.teacher-timetable-form .timetable-copy-check{display:flex;align-items:center;gap:.55rem;align-self:center;margin-top:1.15rem}.teacher-timetable-form .timetable-copy-check input{width:1.15rem;height:1.15rem;margin:0;flex:0 0 auto}@media(max-width:1000px){.teacher-timetable-form{grid-template-columns:1fr 1fr}}@media(max-width:560px){.teacher-timetable-form{grid-template-columns:1fr}}

.class-member-avatar-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(145px,1fr));gap:1rem;margin:1.25rem 0}.class-member-avatar{display:grid;justify-items:center;align-content:start;gap:.4rem;min-height:170px;border:1px solid #d8e5e1;border-radius:18px;background:#f8fbfa;padding:1rem;text-align:center;color:#173f39}.class-member-avatar.is-student{background:#fff;cursor:pointer}.class-member-avatar.is-student:hover,.class-member-avatar.is-student:focus-visible{border-color:#17695b;box-shadow:0 10px 25px rgba(18,76,67,.13);transform:translateY(-2px)}.class-member-avatar img,.class-member-avatar>i{width:76px;height:76px;border-radius:50%;object-fit:cover}.class-member-avatar>i{display:grid;place-items:center;background:#dcece6;color:#17695b;font-style:normal;font-size:1.8rem;font-weight:900}.class-member-avatar b,.class-member-avatar small{display:block}.class-member-avatar small{color:#60756f}.class-settings-link{margin-top:.5rem}.student-profile-summary{display:flex!important;align-items:center;gap:1rem;background:#edf5f1;border-radius:18px;padding:1rem}.student-profile-summary img,.student-profile-summary>i{width:92px;height:92px;flex:0 0 92px;border-radius:50%;object-fit:cover}.student-profile-summary>i{display:grid;place-items:center;background:#dcece6;color:#17695b;font-style:normal;font-size:2rem;font-weight:900}.student-profile-summary h3,.student-profile-summary p{margin:.2rem 0}.student-grade-history{grid-column:1/-1;border:1px solid #d8e5e1;border-radius:15px;padding:1rem}.student-grade-history>summary{display:inline-flex;cursor:pointer;list-style:none}.student-grade-history>summary::-webkit-details-marker{display:none}.grade-history-list{display:grid;gap:.5rem;margin-top:1rem}.grade-history-list article{display:flex;justify-content:space-between;align-items:center;gap:1rem;border-top:1px solid #d8e5e1;padding:.7rem .2rem}.grade-history-list b,.grade-history-list small{display:block}.grade-history-list small{color:#60756f}.grade-history-list strong{font-size:1.3rem;color:#17695b}@media(max-width:560px){.student-profile-summary{align-items:flex-start;flex-direction:column}.class-member-avatar-grid{grid-template-columns:1fr 1fr}}

.parent-links button{display:flex;align-items:center;gap:.55rem;border:1px solid #d8e5e1;border-radius:999px;background:#fff;padding:.45rem .8rem;color:#173f39;cursor:pointer}.parent-links button:hover,.parent-links button:focus-visible{border-color:#17695b;background:#edf5f1}.parent-links button b,.parent-links button small{display:block;text-align:left}.parent-links button small{font-size:.72rem;color:#60756f}.parent-contact-panel{margin-top:1rem;border:2px solid #17695b;border-radius:16px;background:#edf5f1;padding:1rem}.parent-contact-panel[hidden]{display:none}.parent-contact-panel>div{display:flex;justify-content:space-between;align-items:center}.parent-contact-panel h4{margin:0}.parent-contact-panel [data-close-parent]{border:0;background:transparent;color:#173f39;font-size:1.5rem;cursor:pointer}.parent-contact-panel .school-form{margin-top:.75rem}.parent-contact-panel .form-help{margin-bottom:0}

.class-schedule [data-schedule-status]{min-height:1.4rem;font-weight:800;color:#17695b}.class-schedule-head-actions{display:flex;gap:.55rem;flex-wrap:wrap}.class-schedule-form{display:grid;grid-template-columns:repeat(4,minmax(120px,1fr));gap:.8rem;padding:1rem;margin-bottom:1rem;border-radius:14px;background:#eef6f3}.class-schedule-form[hidden]{display:none}.class-schedule-form label{display:grid;gap:.35rem;font-weight:800}.class-schedule-form>div{display:flex;align-items:end;gap:.5rem}.class-schedule-days{display:grid;grid-template-columns:repeat(5,minmax(150px,1fr));gap:.75rem}.class-schedule-days>section{padding:.8rem;border:1px solid #d8e5e1;border-radius:12px}.class-schedule-days article{display:grid;gap:.55rem;padding:.65rem 0;border-top:1px solid #e2ece8}.class-schedule-days article:first-child{border-top:0}.class-schedule-days article small{display:block;color:#60756f}.class-schedule-entry-actions{display:none!important;gap:.4rem}.class-schedule.is-editing .class-schedule-entry-actions{display:flex!important}.class-schedule-days article button{border:1px solid #cadbd5;border-radius:7px;background:#fff;color:#17695b;padding:.35rem .5rem;cursor:pointer}.class-schedule-days [data-schedule-delete]{color:#8a2d2d}@media(max-width:950px){.class-schedule-days{grid-template-columns:1fr 1fr}.class-schedule-form{grid-template-columns:1fr 1fr}}@media(max-width:560px){.class-schedule-days,.class-schedule-form{grid-template-columns:1fr}}
