.weekly-schedule{min-width:0}.schedule-heading,.schedule-toolbar,.schedule-group-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;flex-wrap:wrap}.schedule-heading h2{margin-bottom:8px}.schedule-toolbar{background:#f1f5fa;border:1px solid #dbe4ef;border-radius:16px;padding:18px;margin:20px 0}.schedule-toolbar label{display:grid;gap:8px;min-width:200px;max-width:100%;font-weight:600}.schedule-toolbar select{width:100%;font-size:16px}.schedule-toolbar p{margin:0}.schedule-group-heading{margin:24px 0 12px}.schedule-group-heading h3,.schedule-group-heading p{margin:0 0 6px}.schedule-tip,.schedule-legend{font-size:14px;color:#526176;line-height:1.6}.schedule-day-links{display:flex;gap:8px;flex-wrap:wrap;margin:16px 0}.schedule-day-links a{display:grid;place-items:center;min-width:44px;min-height:44px;color:#325d83;text-decoration:none;background:#eaf1f8;border-radius:12px;font-weight:600}.schedule-week-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}.schedule-day-table{min-width:0;border:1px solid #d4dfeb;border-radius:16px;overflow:hidden;background:#fff;scroll-margin-top:100px}.schedule-day-table header{position:static!important;display:flex!important;align-items:center!important;justify-content:space-between!important;gap:8px!important;background:#eaf0f8!important;box-shadow:none!important;padding:16px!important;min-height:0!important;height:auto!important;border:0!important;color:#263d58!important}.schedule-day-table header h3{font-size:17px;margin:0!important;color:inherit!important}.schedule-day-table header span{font-size:13px;white-space:nowrap}.schedule-day-table table{border-collapse:collapse;table-layout:fixed;width:100%;margin:0}.schedule-day-table th,.schedule-day-table td{padding:0;border:0;border-top:1px solid #e0e7ef;vertical-align:middle;text-align:left}.schedule-day-table thead th{background:#f7f9fc;font-size:12px;font-weight:500;color:#526176;height:36px}.schedule-day-table tr>th:first-child{width:34px;text-align:center;border-right:1px solid #e0e7ef;font-size:13px}.schedule-day-table tbody th{background:#f2f5f9;font-weight:600}.schedule-columns,.schedule-cell{display:grid;grid-template-columns:minmax(0,1fr) 42px;width:100%;gap:8px;align-items:center}.schedule-columns{padding:0 10px;box-sizing:border-box}.schedule-columns>span:last-child{text-align:center}.schedule-cell{box-sizing:border-box;min-height:100px;text-align:left;padding:12px 10px;margin:0;border:0;border-radius:0;background:transparent;color:#263d58;font:inherit;line-height:1.4;box-shadow:none;white-space:normal}.schedule-cell button{max-width:100%}.schedule-cell:where(button){cursor:pointer}.schedule-cell:where(button):hover{background:#eef5fc;transform:none}.schedule-cell:where(button):focus-visible{outline:3px solid #6394c2;outline-offset:-3px}.schedule-lesson{display:grid;gap:6px;min-width:0;overflow-wrap:anywhere}.schedule-lesson strong{font-size:14px;font-weight:600}.schedule-teacher{font-size:13px;color:#526176;font-style:italic}.schedule-lesson small{font-size:12px;color:#526176}.schedule-room{text-align:center;font-size:13px;overflow-wrap:anywhere}.schedule-unfilled,.schedule-free{color:#69768a;font-size:13px}.schedule-unfilled small{display:block;font-size:11px;margin-top:5px}.schedule-free{color:#526b63}.schedule-sunday{margin-top:20px}.schedule-sunday summary{padding:12px;cursor:pointer}.schedule-sunday .schedule-day-table{max-width:600px;margin-top:12px}.schedule-dialog{width:min(520px,calc(100vw - 32px));max-width:520px;max-height:calc(100dvh - 32px);overflow-y:auto;box-sizing:border-box;border:1px solid #d4dfeb;border-radius:20px;padding:24px;background:#fff;color:#263d58}.schedule-dialog::backdrop{background:#182a415c}.schedule-dialog h2{font-size:21px;margin:0 0 8px}.schedule-dialog>p{font-size:14px;color:#526176}.schedule-dialog fieldset{border:0;padding:0;margin:0;min-width:0}.schedule-fields{display:grid;gap:16px;margin:20px 0}.schedule-fields[hidden]{display:none}.schedule-dialog label{display:grid;gap:8px;font-size:14px;font-weight:500}.schedule-dialog input,.schedule-dialog textarea{box-sizing:border-box;width:100%;min-width:0;font-size:16px}.schedule-dialog textarea{min-height:80px}.schedule-dialog summary{cursor:pointer;font-size:14px;padding:8px 0}.schedule-time-fields{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin:12px 0}.schedule-status-choice{display:flex;flex-wrap:wrap;gap:12px;margin:20px 0}.schedule-status-choice label{display:flex;align-items:center;gap:8px;min-height:44px;padding:0 12px;background:#edf3f9;border-radius:12px;cursor:pointer}.schedule-status-choice input{width:18px;height:18px;margin:0}.schedule-dialog .actions button{min-height:44px}.schedule-error{color:#993d40!important;background:#fff0f1;padding:12px;border-radius:10px}.schedule-sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap;border:0}
@media(min-width:1500px){.schedule-week-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:700px){.schedule-week-grid{grid-template-columns:minmax(0,1fr);gap:16px}.schedule-toolbar{padding:14px;align-items:stretch;gap:14px}.schedule-toolbar label{width:100%;min-width:0}.schedule-toolbar p{font-size:13px}.schedule-heading{gap:8px}.schedule-heading h2{font-size:24px}.schedule-heading .section-lead{font-size:14px}.schedule-group-heading h3{font-size:18px}.schedule-cell{min-height:88px}.schedule-dialog{padding:20px 16px}.schedule-dialog .actions{display:flex;flex-wrap:wrap}.schedule-dialog .actions button{flex:1}.schedule-day-table header{padding:14px!important}.schedule-lesson strong{font-size:14px}.schedule-legend{font-size:13px}}
