.student-portal{color:#202c36;box-sizing:border-box;background:#f7f4f6;min-height:100dvh;padding:24px;font-family:Jino,KJino,Tahoma,sans-serif}.student-portal>header,.student-portal>section,.student-portal>form,.student-portal>p{max-width:620px;margin:0 auto 20px}.student-portal>header{color:#fff;box-sizing:border-box;background:#7f1023;border-radius:22px;padding:24px}.student-portal h1{margin:0;font-size:24px}.student-portal h2{font-size:20px}.student-portal form,.student-welcome{box-sizing:border-box;background:#fff;border:1px solid #e7d9df;border-radius:20px;padding:24px}.student-portal label{gap:8px;margin:18px 0;display:grid}.student-portal input{font:inherit;box-sizing:border-box;border:1px solid #cdbbc1;border-radius:10px;width:100%;min-height:46px;padding:12px}.student-portal button{font:inherit;color:#fff;cursor:pointer;background:#7f1023;border:0;border-radius:10px;min-height:46px;padding:12px 22px}.student-portal button:disabled{opacity:.5}.student-portal [role=alert]{color:#8e1230}.student-portal dt{font-weight:700}.student-portal dd{margin:0 0 12px}.student-portal :focus-visible{outline-offset:3px;outline:3px solid #bd8541}@media (width<=500px){.student-portal{padding:14px}.student-portal>header,.student-portal form,.student-welcome{padding:18px}}.student-record-tabs{flex-wrap:wrap;gap:10px;margin-bottom:16px;display:flex}.student-welcome table{border-collapse:collapse;width:100%}.student-welcome td,.student-welcome th{border:1px solid #ddd;padding:8px}.student-portal>header,.student-portal>section,.student-portal>form,.student-portal>p{max-width:1040px}.student-portal>form{max-width:520px}.student-brand{align-items:center;gap:16px;display:flex}.student-brand img{object-fit:contain;background:#fff;border-radius:18px;width:70px;height:70px;padding:5px}.student-card-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;margin:20px 0;display:grid}.student-card-grid button{color:#7f1023;overflow-wrap:anywhere;background:#fff8fa;border:1px solid #e7cbd3;border-radius:18px;flex-direction:column;justify-content:center;align-items:center;gap:10px;min-height:110px;padding:18px 8px;display:flex}.student-card-grid button[aria-pressed=true]{color:#fff;background:#7f1023}.student-card-grid span{font-size:30px}.student-card-grid strong{font-size:15px}.student-panel{border-top:1px solid #e7d9df;padding-top:18px}.student-welcome>dl{grid-template-columns:auto 1fr;gap:8px 18px;display:grid}.student-panel textarea{font:inherit;box-sizing:border-box;width:100%;min-height:120px}.student-panel select{font:inherit;max-width:100%;padding:10px}@media (width<=700px){.student-card-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.student-card-grid button{min-height:90px;padding:12px 5px}.student-card-grid strong{font-size:12px}.student-brand img{width:50px;height:50px}.student-brand h1{font-size:20px}}@media (width<=340px){.student-card-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}.student-portal{background:linear-gradient(150deg,#f5f0f3,#fff 70%);padding:30px 18px 50px}.student-brand{min-height:120px;box-shadow:0 12px 35px #7f102316;border-radius:26px!important}.student-welcome{box-shadow:0 16px 48px #35202c10;border:0!important;border-radius:28px!important;padding:24px!important}.student-identity{color:#fff;background:radial-gradient(circle at 0 5%,#ffffff24 0 30%,#0000 30.3%),linear-gradient(120deg,#68162a,#a92948);border:2px solid #fff5;border-radius:24px;flex-direction:row-reverse;align-items:flex-start;gap:24px;padding:26px;display:flex;position:relative;overflow:hidden;box-shadow:0 12px 25px #6c142740}.student-identity>div{flex:1;min-width:0}.student-identity h2{margin:0 0 18px;font-size:23px;line-height:1.8}.student-identity aside{text-align:center;flex:0 0 90px}.student-identity svg{filter:drop-shadow(0 4px 9px #330a1533);width:90px;height:90px}.student-online{color:#e0fbd7;margin-top:8px;font-size:12px;display:block}.student-identity dl{grid-template-columns:auto 1fr;gap:0;margin:0;font-size:16px;display:grid}.student-identity dt,.student-identity dd{border-bottom:1px solid #ffffff20;margin:0;padding:12px 0}.student-identity dt{color:#f0bccb}.student-identity dd{text-align:center;overflow-wrap:anywhere}.student-card-grid{gap:20px;margin:28px 0}.student-card-grid button{color:#1b2430;background:#fff5fc;border:0;border-radius:24px;min-height:150px;transition:transform .15s,box-shadow .15s;box-shadow:0 12px 20px #29303c18}.student-card-grid button:hover{transform:translateY(-3px);box-shadow:0 15px 26px #29303c24}.student-card-grid button:nth-child(2){background:#effbff}.student-card-grid button:nth-child(3){background:#f0fff2}.student-card-grid button:nth-child(4){background:#eff8ff}.student-card-grid button:nth-child(5){background:#fff2f4}.student-card-grid button:nth-child(6){background:#fffced}.student-card-grid button:nth-child(7){background:#fff6ef}.student-card-grid button:nth-child(8){background:#f7f2ff}.student-card-grid .student-icon{background:linear-gradient(140deg,#d7eeff,#f5c8e8);border-radius:24px;place-items:center;width:70px;height:70px;font-size:38px;display:grid;box-shadow:inset 0 2px 6px #ffffff90,0 8px 15px #35405516}.student-card-grid .student-icon-timetable,.student-card-grid .student-icon-homework{background:linear-gradient(140deg,#ffe9ab,#f9cea6)}.student-card-grid .student-icon-seating{background:linear-gradient(140deg,#d8f2bc,#b6e6d0)}.student-card-grid .student-icon-absences,.student-card-grid .student-icon-notices{background:linear-gradient(140deg,#ffe2dc,#f9b4ca)}.student-card-grid strong{line-height:1.65}.student-panel{border:0;padding:8px 0 20px}.student-panel>h2{color:#7f1023;outline:none;margin:22px 0;font-size:24px}.student-panel .student-record-tabs{display:none}.student-panel article{background:#fffcfd;border:1px solid #e8dde1;border-radius:16px;margin:14px 0;padding:16px}.student-panel table{font-size:14px}.student-panel td,.student-panel th{padding:12px 8px}.student-panel>section{overflow-x:auto}.student-logout{margin:28px 0 0 auto;display:block;box-shadow:0 8px 18px #7f102326}.student-panel [role=status],.student-panel [role=alert]{background:#fff5e2;border-radius:14px;padding:18px;line-height:1.9}@media (width<=700px){.student-portal{padding:20px 12px 35px}.student-welcome{padding:14px!important}.student-identity{gap:14px;padding:18px 14px}.student-identity aside{flex-basis:64px}.student-identity svg{width:64px;height:64px}.student-identity h2{font-size:18px}.student-identity dl{font-size:14px}.student-card-grid{gap:12px;margin:24px 0}.student-card-grid button{border-radius:21px;min-height:130px;padding:14px 6px}.student-card-grid .student-icon{border-radius:19px;width:57px;height:57px;font-size:32px}.student-card-grid strong{font-size:12px}.student-panel>h2{font-size:21px}}@media (prefers-reduced-motion:reduce){.student-card-grid button{transition:none}}.student-identity{gap:16px;padding:18px 20px}.student-identity h2{margin-bottom:10px;font-size:20px}.student-identity dt,.student-identity dd{padding:7px 0}.student-identity aside{flex-basis:72px}.student-identity svg{width:72px;height:72px}@media (width<=700px){.student-brand{min-height:82px;border-radius:22px!important;padding:16px 18px!important}.student-brand p{margin:5px 0 0;font-size:14px}.student-brand img{width:44px;height:44px}.student-portal>header{margin-bottom:16px}.student-identity{border-radius:20px;padding:15px 13px;display:block}.student-identity aside{width:54px;position:absolute;top:14px;left:13px}.student-identity svg{width:54px;height:54px}.student-online{margin-top:3px;font-size:10px}.student-identity h2{align-items:center;min-height:62px;margin:0 0 8px;padding-left:68px;font-size:16px;line-height:1.65;display:flex}.student-identity dl{border-top:1px solid #fff2;grid-template-columns:repeat(3,minmax(0,1fr));column-gap:8px;padding-top:8px;font-size:13px;display:grid}.student-identity dt{text-align:center;border:0;grid-row:1;padding:3px 0;font-size:10px}.student-identity dd{border:0;grid-row:2;padding:4px 0;font-size:14px;line-height:1.5}.student-identity dt:first-of-type,.student-identity dd:first-of-type{grid-column:1}.student-identity dt:nth-of-type(2),.student-identity dd:nth-of-type(2){grid-column:2}.student-identity dt:nth-of-type(3),.student-identity dd:nth-of-type(3){grid-column:3}.student-card-grid{margin-top:18px}}.student-brand .student-logout{box-shadow:none;white-space:nowrap;background:#ffffff18;border:1px solid #fff6;align-items:center;gap:6px;margin:0 auto 0 0;display:flex}.student-brand>div{min-width:0}.student-brand .student-logout>span:first-child{font:24px Arial}@media (width<=700px){.student-portal.is-authenticated:not(:has(.student-panel)){height:100dvh;min-height:100dvh;padding:10px 10px max(10px,env(safe-area-inset-bottom));flex-direction:column;gap:10px;display:flex}.student-portal.is-authenticated>.student-brand{flex:none;gap:10px;width:100%;min-height:64px;border-radius:19px!important;margin:0!important;padding:10px 12px!important}.student-brand h1{font-size:17px}.student-brand p{margin-top:3px;font-size:11px}.student-brand img{border-radius:12px;width:36px;height:36px;padding:3px}.student-brand .student-logout{gap:4px;min-height:40px;padding:6px;font-size:10px}.student-brand .student-logout>span:first-child{font-size:19px}.student-portal.is-authenticated:not(:has(.student-panel))>.student-welcome{flex-direction:column;flex:1;width:100%;min-height:0;display:flex;border-radius:22px!important;margin:0!important;padding:12px!important}.student-identity{border-radius:17px;flex:none;padding:11px 12px}.student-identity aside{width:44px;top:10px;left:12px}.student-identity svg{width:44px;height:44px}.student-online{margin-top:0;font-size:9px}.student-identity h2{min-height:48px;margin-bottom:5px;padding-left:57px;font-size:14px;line-height:1.6}.student-identity dl{column-gap:5px;padding-top:5px}.student-identity dt{padding:2px 0;font-size:9px}.student-identity dd{padding:2px 0;font-size:12px}.student-portal.is-authenticated .student-card-grid{flex:1;grid-template-rows:repeat(3,minmax(0,1fr));grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;min-height:0;margin:14px 0 0}.student-portal.is-authenticated .student-card-grid button{border-radius:19px;gap:7px;min-height:0;padding:8px 4px;box-shadow:0 7px 14px #29303c13}.student-portal.is-authenticated .student-card-grid .student-icon{border-radius:17px;width:clamp(34px,7dvh,54px);height:clamp(34px,7dvh,54px);font-size:clamp(25px,4.7dvh,36px)}.student-portal.is-authenticated .student-card-grid strong{font-size:11px;line-height:1.5}.student-portal.is-authenticated:has(.student-panel){min-height:100dvh;padding:10px}.student-portal.is-authenticated:has(.student-panel)>.student-welcome{margin-top:10px}}@media (height<=650px) and (width<=700px){.student-portal.is-authenticated .student-card-grid{gap:7px;margin-top:8px}.student-portal.is-authenticated .student-card-grid button{gap:4px;padding:5px 3px}.student-identity h2{min-height:40px}.student-identity aside{width:36px}.student-identity svg{width:36px;height:36px}.student-online{display:none}.student-portal.is-authenticated .student-card-grid strong{font-size:10px}}.student-download{margin:12px 0}.student-download button{color:#fff;background:#7f1023;min-height:44px}.student-exam-table{background:#fff;border:1px solid #e8d9de;border-radius:16px;margin:20px 0;padding:16px}.student-exam-table h3{color:#7f1023;margin:0}.homework-gallery{gap:14px;margin:15px 0;display:grid}.student-panel .homework-image-button{box-sizing:border-box;color:#7f1023;text-align:center;background:#fff;border:1px solid #dac6ce;border-radius:14px;width:100%;height:auto;padding:8px;display:block;overflow:hidden}.homework-image-button img{object-fit:contain;border-radius:9px;width:100%;max-width:100%;display:block;height:auto!important}.homework-image-button span{margin:10px 0 4px;font-size:13px;display:block}.homework-image-dialog{box-sizing:border-box;color:#202c36;background:#fff;border:0;border-radius:16px;width:min(96vw,1200px);max-width:96vw;height:94dvh;max-height:94dvh;padding:12px}.homework-image-dialog::backdrop{background:#151019cc}.homework-image-tools{flex-wrap:wrap;align-items:center;gap:8px;padding-bottom:12px;display:flex}.homework-image-tools a{font:inherit;color:#fff;background:#7f1023;border-radius:10px;padding:12px;text-decoration:none}.homework-image-viewport{direction:ltr;background:#f1eef0;height:calc(100% - 110px);overflow:auto}.homework-image-viewport img{object-fit:contain;display:block}@media (width<=500px){.homework-image-tools button,.homework-image-tools a{min-height:40px;padding:8px;font-size:12px}.homework-image-dialog{padding:8px}}.student-portal.is-authenticated:has(.student-panel) .student-identity{display:none}.student-exam-table table{table-layout:fixed}.student-exam-table th{color:#fff;background:#7f1023}.student-exam-table td{text-align:center;overflow-wrap:anywhere}.student-exam-table td bdi{white-space:normal}.student-exam-table tr:nth-child(2n){background:#fcf4f6}.student-paper-viewport{direction:rtl;width:100%;margin-top:16px;overflow:auto}.student-evaluation .meeting-paper{background:#fff;border-radius:0;margin:0}.student-evaluation .meeting-paper header{padding:1mm 0 3mm}.student-evaluation .meeting-paper h2{color:#10284a;margin:0;font-size:16pt}.student-evaluation .meeting-paper th,.student-evaluation .meeting-paper td{padding:1.1mm 1.3mm}.student-evaluation .meeting-paper.meeting-dense th,.student-evaluation .meeting-paper.meeting-dense td{padding:.7mm 1.1mm}.student-evaluation .meeting-paper table{border-collapse:separate;font-size:11pt}.student-evaluation .meeting-paper.meeting-dense table{font-size:10.5pt}.homework-feed{background:#eef1f5;border-radius:18px;margin:0 -8px;padding:10px 10px 20px}.homework-subject-tabs{scrollbar-width:thin;align-items:center;gap:9px;padding:7px 1px 16px;display:flex;overflow-x:auto}.student-panel .homework-subject-tabs button{color:#202c36;background:#f4f6f9;border:1px solid #cbd0d8;border-radius:14px;flex:none;align-items:center;gap:8px;min-height:44px;padding:9px 16px;display:flex;position:relative}.student-panel .homework-subject-tabs button[aria-pressed=true]{color:#fff;background:#7f1023;border-color:#7f1023}.homework-unread{color:#fff;box-sizing:content-box;background:#ed4262;border:2px solid #fff;border-radius:50%;place-items:center;min-width:21px;height:21px;font-size:12px;display:grid}.student-panel .homework-feed-card{background:#fff;border:0;border-right:5px solid #7f1023;border-radius:22px;margin:12px 0 20px;padding:18px 14px;box-shadow:0 8px 18px #242e4010}.homework-feed-card>header{border-bottom:1px solid #e3e5e9;align-items:center;gap:10px;padding-bottom:14px;display:flex}.homework-feed-card>header>div{flex:1;min-width:0}.homework-feed-card>header strong{font-size:15px;line-height:1.8}.homework-feed-card>header small{color:#707780;margin-top:4px;font-size:11px;line-height:1.9;display:block}.homework-teacher-avatar{color:#7f1023;background:#f5e5e9;border-radius:50%;flex:none;place-items:center;width:36px;height:36px;font-size:21px;display:grid}.homework-subject-pill{color:#fff;overflow-wrap:anywhere;background:#7f1023;border-radius:30px;flex:none;max-width:30%;padding:5px 10px;font-size:11px}.student-panel .homework-open{color:#7f1023;text-align:right;background:#faf2f5;justify-content:space-between;width:100%;margin-top:16px;display:flex}.homework-body p{white-space:pre-wrap;color:#7f1023;overflow-wrap:anywhere;font-size:18px;line-height:2}.student-panel .homework-collapse{color:#7f1023;background:#f2edf0;padding:8px 14px;font-size:12px}.homework-feed-card .homework-image-button{position:relative}.homework-feed-card .homework-image-button span{font-size:12px}.student-panel-homework>h2{color:#fff;background:#7f1023;border-radius:15px;margin:14px 0;padding:18px}.student-panel-timetable{z-index:50;box-sizing:border-box;width:100%;max-width:1040px;height:100dvh;padding:12px max(10px,env(safe-area-inset-right)) max(10px,env(safe-area-inset-bottom));background:#f8f5f7;flex-direction:column;gap:8px;margin:auto;display:flex;position:fixed;inset:0;overflow:hidden}.student-panel-timetable>button{align-self:flex-start;min-height:38px;padding:6px 14px;font-size:13px}.student-panel-timetable>h2{flex:none;margin:0;padding:0;font-size:20px;line-height:1.5}.student-panel-timetable>section{flex-direction:column;flex:1;gap:8px;min-height:0;display:flex;overflow:visible!important}.student-panel-timetable .student-download{flex:none;margin:0}.student-panel-timetable .student-download button{min-height:36px;padding:6px 12px;font-size:12px}.student-fitted-timetable{background:#fff;border:1px solid #decbd2;border-radius:14px;flex:1;min-height:0;overflow:hidden}.student-fitted-timetable table{table-layout:fixed;border-collapse:collapse;border-spacing:0;width:100%;height:100%;font-size:12px}.student-fitted-timetable thead{height:42px}.student-fitted-timetable th,.student-fitted-timetable td{box-sizing:border-box;text-align:center;vertical-align:middle;overflow-wrap:anywhere;border:1px solid #dfd7dc;padding:4px 3px;line-height:1.5}.student-fitted-timetable thead th{color:#fff;background:#7f1023;font-size:12px}.student-fitted-timetable th:first-child{width:17%}.student-fitted-timetable tbody th{color:#7f1023;background:#f8eaf0;font-size:11px}.student-fitted-timetable td strong{color:#7f1023;font-size:13px;font-weight:700;display:block}.student-fitted-timetable small{color:#616671;margin-top:3px;font-size:9px;line-height:1.6;display:block}.student-fitted-timetable tbody tr:nth-child(2n) td{background:#fdf9fb}@media (width<=500px){.student-panel-timetable{padding:8px 6px max(8px,env(safe-area-inset-bottom));gap:6px}.student-panel-timetable>h2{font-size:17px}.student-fitted-timetable thead th{font-size:9px}.student-fitted-timetable td strong{font-size:11px}.student-fitted-timetable tbody th{font-size:10px}.student-fitted-timetable small{font-size:8px}.student-fitted-timetable th,.student-fitted-timetable td{padding:3px 2px}.student-exam-table{padding:9px}.student-exam-table th,.student-exam-table td{padding:10px 3px;font-size:11px}}@media (height<=500px){.student-panel-timetable{gap:3px}.student-panel-timetable>h2{font-size:14px}.student-panel-timetable>section{gap:3px}.student-fitted-timetable thead{height:28px}.student-fitted-timetable th,.student-fitted-timetable td{padding:1px;line-height:1.2}.student-fitted-timetable small{margin:0;font-size:8px}.student-fitted-timetable td strong{font-size:10px}.student-panel-timetable>button,.student-panel-timetable .student-download button{min-height:28px;padding:3px 10px}}:is(html:has(.student-panel-timetable),body:has(.student-panel-timetable)){overflow:hidden}.student-evaluation .meeting-paper th,.student-evaluation .meeting-paper td{border-top:0;border-bottom:.22mm solid #cbb987;border-left:.22mm solid #cbb987;border-right:0}.student-evaluation .meeting-paper th:last-child,.student-evaluation .meeting-paper td:last-child{border-left:.35mm solid #bc984d}.student-evaluation .meeting-paper tbody tr:last-child td{border-bottom:.35mm solid #bc984d}.student-evaluation .meeting-paper table{border:.35mm solid #bc984d;line-height:1.12}.student-evaluation .meeting-paper.meeting-dense table{line-height:1}.student-evaluation .meeting-paper th{color:#fff;background:#102e55;font-size:10pt}.student-evaluation .meeting-paper td{color:#10284a}.student-identity h2.student-greeting{box-sizing:border-box;flex-direction:column;justify-content:center;align-items:flex-start;gap:2px;height:36px;min-height:36px;display:flex}.student-greeting-label{font-size:12px;font-weight:400;line-height:1;display:block}.student-greeting-name{font-size:inherit;line-height:1.1;display:block}@media (width<=700px){.student-identity h2.student-greeting{height:48px;min-height:48px}.student-greeting-label{font-size:11px}.student-greeting-name{line-height:1.2}}@media (height<=650px) and (width<=700px){.student-identity h2.student-greeting{height:40px;min-height:40px}}.student-brand>.notification-root{flex:none}.student-portal .notification-bell{color:#fff;background:#ffffff18;border:1px solid #fff6;border-radius:12px;width:40px;height:40px;min-height:40px;padding:5px}.student-portal .notification-bell>span{font-size:21px}.student-portal .notification-bell b{background:#e93a5e}.student-portal .notification-popover{z-index:100;color:#202c36}.student-portal .notification-popover button{color:#202c36;background:#fff;min-height:0;padding:12px;font-size:12px}.student-portal .notification-popover .notification-list button.unread{background:#fff0f4}.student-portal .notification-popover h2{font-size:16px}.student-portal .notification-root.student .notification-popover{max-height:75dvh;position:fixed;top:85px;left:auto;right:12px}.student-portal .student-notification-toast{z-index:200;color:#fff;background:#7f1023;border:2px solid #fff;width:auto;padding:15px;line-height:1.7;position:fixed;top:90px;left:12px;right:12px;box-shadow:0 8px 25px #30101d44}@media (width<=700px){.student-portal.is-authenticated>.student-brand{gap:7px}.student-brand .student-logout{margin-left:0}.student-brand>div:not(.notification-root){flex:1}.student-portal .notification-root.student .notification-popover{width:auto;inset:82px 10px auto}}.student-card-grid>button{position:relative}.student-card-grid .student-card-badge{color:#fff;box-sizing:border-box;background:#e32e55;border:2px solid #fff;border-radius:30px;place-items:center;min-width:23px;height:23px;padding:0 4px;font:700 12px/1 Tahoma,sans-serif;display:grid;position:absolute;top:8px;left:8px;box-shadow:0 3px 9px #9f173b33}.student-portal.is-suspended{min-height:100dvh;height:auto!important}.student-portal>.student-hold{box-sizing:border-box;text-align:center;color:#33323a;background:#fff;border:1px solid #e5ccd3;border-top:5px solid #7f1023;border-radius:24px;width:100%;max-width:620px;margin:16px auto 0;padding:28px 22px;box-shadow:0 14px 36px #7f102316}.student-hold-icon{background:#fff2df;border-radius:50%;place-items:center;width:65px;height:65px;margin:0 auto 12px;font-size:32px;display:grid}.student-hold .student-hold-label{color:#85652d;margin:8px 0;font-size:12px}.student-hold h2{color:#7f1023;margin:10px 0;font-size:24px;line-height:1.8}.student-hold h3{margin:10px 0;font-size:17px;line-height:1.8}.student-hold p{margin:10px 0;font-size:15px;line-height:2.1}.student-hold strong{color:#7f1023}.student-hold small{color:#73717b;margin-top:16px;font-size:12px;line-height:1.9;display:block}.student-hold button{margin-top:20px}@media (width<=500px){.student-portal>.student-hold{margin-top:10px;padding:20px 16px}.student-hold h2{font-size:20px}.student-hold h3{font-size:15px}.student-hold p{font-size:13px}.student-hold small{font-size:11px}.student-card-grid .student-card-badge{min-width:21px;height:21px;font-size:11px;top:6px;left:6px}}.student-panel-homework .homework-gallery--compact,.teacher-homework .homework-gallery--compact{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;min-width:0;margin:12px 0 0;display:grid}.student-panel-homework .homework-gallery--compact.is-single,.teacher-homework .homework-gallery--compact.is-single{grid-template-columns:minmax(0,1fr);width:min(100%,260px)}.student-panel-homework .homework-gallery--compact>.homework-image-button,.teacher-homework .homework-gallery--compact>.homework-image-button{background:#f4f1f4;border:1px solid #e1cbd3;border-radius:12px;width:100%;min-width:0;min-height:0;margin:0;padding:4px;display:block;position:relative;overflow:hidden}.student-panel-homework .homework-gallery--compact>.homework-image-button img,.teacher-homework .homework-gallery--compact>.homework-image-button img{object-fit:contain;aspect-ratio:auto;border-radius:8px;width:100%;max-height:150px;display:block;height:clamp(110px,28vw,150px)!important}.student-panel-homework .homework-gallery--compact>.homework-image-button span,.teacher-homework .homework-gallery--compact>.homework-image-button span{clip-path:none;color:#7f1023;background:#fffe;border-radius:6px;width:auto;max-width:calc(100% - 8px);height:auto;margin:0;padding:3px 5px;font-size:11px;line-height:1.4;display:block;position:absolute;inset:auto 4px 4px auto;overflow:hidden}.homework-document-list{gap:7px;min-width:0;margin:12px 0 0;display:grid}.homework-document-row{background:#faf8fa;border:1px solid #e5dce1;border-radius:10px;align-items:center;gap:9px;min-width:0;padding:8px;display:flex}.homework-document-kind{color:#fff;background:#2563eb;border-radius:7px;flex:none;place-items:center;width:35px;height:38px;font:700 12px Arial;display:grid}.homework-document-kind.is-pdf{background:#b91c3c}.homework-document-copy{flex:1;gap:2px;min-width:0;font-size:14px;display:grid}.homework-document-copy bdi{overflow-wrap:anywhere}.homework-document-copy small{color:#6a6670;font:12px Arial}.student-panel .homework-document-list button,.teacher-homework .homework-document-list button{color:#7f1023;cursor:pointer;background:#fff;border:1px solid #e3d3da;border-radius:8px;flex:none;place-items:center;width:36px;height:36px;min-height:36px;margin:0;padding:6px;display:grid}.homework-document-list button svg{width:19px;height:19px}.homework-document-status{color:#8e1730;margin:4px 0;font-size:14px;line-height:1.7}.student-panel-homework .homework-gallery--compact>.homework-image-button span,.teacher-homework .homework-gallery--compact>.homework-image-button span{box-sizing:border-box;color:#fff;background:#7f1023;border-radius:50%;place-items:center;width:26px;height:26px;padding:3px;display:grid}.homework-gallery--compact>.homework-image-button span svg{width:18px;height:18px}.student-panel-homework .homework-gallery--compact>.homework-image-button.has-error span,.teacher-homework .homework-gallery--compact>.homework-image-button.has-error span{color:#7f1023;background:#fff0f4;border-radius:7px;width:auto;max-width:none;height:auto;padding:6px;font-size:12px;line-height:1.6;position:static}
