.student-department-card{background:#fff;border:1px solid var(--line);border-radius:19px;overflow:hidden}
.student-department-card>summary{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:17px;cursor:pointer;color:var(--navy);font:21px Georgia,serif}
.student-department-card>summary b{display:grid;place-items:center;min-width:32px;height:32px;border-radius:50%;background:#f5eddc;color:#80601e;font:800 13px system-ui}
.student-groups-list{display:grid;gap:12px;padding:0 14px 14px}
.student-group-card{border:1px solid #dfe3ec;border-radius:15px;padding:14px;background:#fff}
.student-group-card.unassigned-group{border-color:#dfbd61;background:#fffaf0}
.print-group-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:12px}
.print-group-heading span{color:#9b7324;font-size:10px;font-weight:800;text-transform:uppercase;letter-spacing:.06em}
.print-group-heading h3{margin:4px 0;color:var(--navy);font:400 1em Inter,ui-sans-serif,system-ui,sans-serif}
.print-group-heading p{margin:0;color:var(--muted);font-size:12px}
.students-table-wrap{overflow-x:auto;margin-top:13px}
.students-table{width:100%;border-collapse:collapse;table-layout:fixed;min-width:1040px;font-size:12px}
.students-table th,.students-table td{padding:9px 8px;border:1px solid #e2e5eb;text-align:left;vertical-align:middle;}
.students-table th{background:#f4f6f9;color:#566071;font-size:10px;text-transform:uppercase}
.students-table td:first-child{width:36px;text-align:center}
.students-table td b{display:block;color:var(--navy)}
.students-table td small{display:block;color:var(--muted);margin-top:3px}
.empty-table-cell{text-align:center!important;color:var(--muted);padding:18px!important}
.student-editor{margin-top:10px;border:1px solid #e3e6ec;border-radius:12px;padding:11px;background:#fafbfc}.student-editor>summary{cursor:pointer;color:#80601e;font-size:12px;font-weight:800}.student-editor .management-form{margin-top:12px}
@page{size:landscape;margin:10mm}
@media print{body.printing-student-group .app-shell{width:auto;max-width:none;min-height:0;margin:0;padding:0;box-shadow:none}body.printing-student-group main{width:auto;min-height:0}body.printing-student-group .view,body.printing-student-group .director-view{max-width:none;margin:0;padding:0}body.printing-student-group .view.active{min-height:0}body.printing-student-group .director-panel{display:block}body.printing-student-group .topbar,body.printing-student-group .bottom-nav,body.printing-student-group .modal,body.printing-student-group .toast{display:none!important}body.printing-student-group .director-view>:not(#directorPanel){display:none!important}body.printing-student-group #directorPanel>*:not(:has(.print-target)){display:none!important}body.printing-student-group #directorPanel details.student-department-card>summary{display:none!important}body.printing-student-group #directorPanel .student-groups-list>*:not(.print-target){display:none!important}body.printing-student-group .print-target{border:0;box-shadow:none;padding:0}body.printing-student-group .no-print{display:none!important}body.printing-student-group .students-table-wrap{overflow:visible}body.printing-student-group .students-table{min-width:0;font-size:8pt}body.printing-student-group .students-table th,body.printing-student-group .students-table td{padding:6px 5px}body.printing-student-group .print-group-heading h3{font-size:18pt}}
@media(max-width:390px){.print-group-heading{display:block}.print-group-heading button{margin-top:10px}}
/* students-fit-v36: узкие колонки, таблицы влезают в карточку; остаток делят адрес и особенности */
.students-table th:nth-child(1),.students-table td:nth-child(1){width:38px;text-align:center}
.students-table th:nth-child(2),.students-table td:nth-child(2){width:150px}
.students-table th:nth-child(3),.students-table td:nth-child(3){width:60px}
.students-table th:nth-child(4),.students-table td:nth-child(4){width:74px}
.students-table th:nth-child(5),.students-table td:nth-child(5){width:62px}
.students-table th:nth-child(7),.students-table td:nth-child(7){width:136px}
.students-table th:nth-child(8),.students-table td:nth-child(8){width:112px}
.students-table th:nth-child(9),.students-table td:nth-child(9){width:86px}
.students-table th:nth-child(11),.students-table td:nth-child(11){width:82px}
.students-table td{overflow-wrap:anywhere}
.students-table th:nth-child(6),.students-table td:nth-child(6){width:110px}
.students-table th:nth-child(10),.students-table td:nth-child(10){width:120px}
.students-table th:nth-child(5),.students-table td:nth-child(5),.students-table th:nth-child(8),.students-table td:nth-child(8){white-space:nowrap}
.students-table tbody tr[data-student-row]{cursor:pointer}
.students-table tbody tr[data-student-row]:hover td{background:#f4f6f9}
#studentModalBody h2{margin:0 0 4px}
#studentModalBody>p{margin:0 0 4px;color:var(--muted);font-size:13px}
@media print{body.printing-student-group .students-table{table-layout:auto}body.printing-student-group .students-table th,body.printing-student-group .students-table td{width:auto}}
