.timetable td{vertical-align:top}
.timetable .lesson{min-height:92px;height:auto}
.timetable .lesson+.lesson{margin-top:7px}
.timetable .lesson small{display:block;font-size:13px;line-height:1.35;margin-top:5px;white-space:normal}
.timetable .lesson .lesson-room{font-size:12px;opacity:.8}
.timetable .lesson.teacher-lesson,.schedule-mobile .lesson.teacher-lesson{background:hsl(var(--teacher-hue) 68% 88%);box-shadow:inset 4px 0 0 hsl(var(--teacher-hue) 58% 48%)}
.schedule-legend .teacher-key i{background:hsl(var(--teacher-hue) 68% 70%);border:1px solid hsl(var(--teacher-hue) 58% 45%)}
.schedule-actions>a{font-size:14px;font-weight:700;text-decoration:underline;text-underline-offset:4px}
.schedule-mobile{display:none}
.schedule-print-header{display:none}
@media(max-width:700px){
 .timetable-scroll{display:none}.schedule-mobile{display:grid;gap:18px}
 .schedule-day{padding:22px 18px!important;background:white;border:1px solid var(--line);border-radius:20px}
 .schedule-day h3{margin:0 0 18px;font-size:23px}.schedule-day p{font-size:15px}
 .schedule-mobile-row{display:grid;grid-template-columns:88px minmax(0,1fr);gap:12px;margin-top:10px}
 .schedule-mobile-row>div:first-child{padding-top:12px}.schedule-mobile-row small{display:block;font-size:12px;line-height:1.4;margin-top:5px}
 .schedule-mobile .lesson{height:auto;min-height:0;padding:13px;display:block}.schedule-mobile .lesson+.lesson{margin-top:7px}
 .schedule-mobile .lesson small{font-size:13px}.schedule-actions{flex-wrap:wrap}
}
@media print{
 @page{size:A4 landscape;margin:7mm}
 html,body{background:#fff!important;color:#052f2a!important;-webkit-print-color-adjust:exact;print-color-adjust:exact}
 body{margin:0!important}.timetable-app,.timetable-app>.wrap{padding:0!important;margin:0!important;width:100%!important;max-width:none!important}
 .schedule-print-header{display:grid;grid-template-columns:1fr auto 1fr;align-items:end;gap:12px;padding:0 0 3mm;border-bottom:1px solid #052f2a;margin:0 0 3mm}
 .schedule-print-header>div strong{display:block;color:#00cdb5;font-size:17pt;line-height:.75;letter-spacing:-1.2pt}.schedule-print-header>div span{display:block;color:#00a993;font-size:5.5pt;letter-spacing:1.8pt;margin-top:3px}
 .schedule-print-header p{margin:0;font-size:12pt;font-weight:700}.schedule-print-header aside{text-align:right}.schedule-print-header aside small{display:block;text-transform:uppercase;letter-spacing:1.1pt;font-size:6pt}.schedule-print-header aside b{display:block;font-size:12pt;margin-top:1px}
 .schedule-mobile{display:none!important}.timetable-scroll{display:block!important;overflow:visible!important}
 .schedule-toolbar,.schedule-actions,.schedule-picker,.schedule-legend,.schedule-status,.schedule-heading,.timetable-hero,.schedule-management,.footer{display:none!important}
 .timetable{width:100%;table-layout:fixed;border-collapse:collapse}.timetable thead{display:table-header-group}.timetable .lesson{min-height:0;padding:3.2mm;background:#f5f1e8!important;color:#052f2a!important;border-radius:2mm}
 .timetable thead th{height:8mm!important;font-size:7pt!important}.timetable thead th:first-child{width:25mm!important}
 .timetable .lesson{padding:1.4mm 1mm!important;border-radius:1.5mm!important;font-size:7pt!important;line-height:1.05!important}.timetable .lesson.teacher-lesson{background:hsl(var(--teacher-hue) 62% 89%)!important;box-shadow:inset 1.2mm 0 0 hsl(var(--teacher-hue) 55% 46%)!important}
 .timetable .lesson+.lesson{margin-top:1mm!important}.timetable .lesson small{font-size:6pt!important;line-height:1.05!important;margin-top:.7mm!important}.timetable .lesson .lesson-room{font-size:5.5pt!important}
 .timetable th,.timetable td{padding:.8mm!important;border-color:#b9c6c2!important}.timetable tr{break-inside:avoid;page-break-inside:avoid}
 .timetable tbody th{font-size:7pt!important}.timetable tbody th b{font-size:8pt!important}.timetable tbody th span{font-size:6pt!important}.timetable td{height:auto}.timetable .empty{background:#fff!important;color:#9ba7a4!important}
}
