.schedule-nav{display:flex;gap:7px;overflow:auto;margin:0 0 22px;padding:0 0 4px}.schedule-nav a{flex:none;padding:9px 13px;border-radius:9px;background:#e8eef6;color:#425b79;font-size:13px;font-weight:600}.schedule-nav a.current,.schedule-nav a:hover{background:#1765aa;color:#fff}.schedule-columns{display:grid;grid-template-columns:minmax(230px,300px) minmax(0,1fr);gap:16px}.schedule-list{display:grid;gap:8px}.schedule-list a{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:11px 12px;border:1px solid #e1e8f1;border-radius:10px;background:#fff;font-size:13px}.schedule-list a.current{border-color:#3e87c6;background:#eff7ff;color:#17558e}.schedule-list small{color:#7c8ca0}.schedule-form-row{display:flex;gap:9px;align-items:end;flex-wrap:wrap}.schedule-form-row label{flex:1 1 160px}.schedule-form-row button{min-height:40px}.schedule-mini{color:#6c819a;font-size:12px}.schedule-code{display:inline-block;border-radius:6px;background:#e8f1fb;color:#17558e;padding:3px 6px;font-size:11px;font-weight:800;letter-spacing:.03em}.schedule-table{width:100%;border-collapse:separate;border-spacing:5px;min-width:830px}.schedule-table th{padding:9px 5px;text-align:center;color:#4b617c;font-size:12px}.schedule-table th:first-child{width:94px}.schedule-table td{padding:0;vertical-align:top}.schedule-table .hour{background:#edf3f9;border-radius:10px;padding:12px 6px;text-align:center;font-size:12px;font-weight:700;color:#45627f}.schedule-table .hour small{display:block;font-weight:500;color:#8293a5;margin-top:3px}.slot{min-height:122px;padding:8px;background:#f8fafc;border:1px solid #e3ebf3;border-radius:11px}.slot.filled{background:#eff7ff;border-color:#a9d0ef}.slot strong{display:block;font-size:13px;color:#174e82}.slot .teacher{display:block;color:#526f8c;font-size:12px;margin:2px 0 8px}.slot form select{font-size:11px;padding:6px 7px;margin:0 0 5px}.slot form button{font-size:11px;padding:5px 8px;width:100%}.schedule-summary{display:flex;gap:8px;flex-wrap:wrap;margin:10px 0}.schedule-summary span{background:#edf4fc;border-radius:20px;padding:7px 10px;font-size:12px;color:#235a8d}.schedule-summary span.over{background:#fff1ee;color:#a43b29}.schedule-mobile-hint{display:none}@media(max-width:760px){.schedule-columns{grid-template-columns:1fr}.schedule-mobile-hint{display:block;font-size:12px;color:#73859a}.schedule-table{min-width:750px}.slot{min-height:130px}}@media print{.schedule-nav,.slot form,.schedule-mobile-hint{display:none!important}.schedule-table{min-width:0;border-spacing:2px}.slot{min-height:65px;padding:5px;background:#fff}.schedule-table .hour{padding:6px;background:#fff}.schedule-summary{display:none}}

.class-assignment-form{margin-top:15px}.class-quick-submit{margin-top:14px}.class-quick-submit label{max-width:185px}.class-quick-submit button:disabled{opacity:.5;cursor:not-allowed}@media(max-width:760px){.class-quick-submit label{max-width:none}}

.class-badges{display:flex;gap:5px;justify-content:flex-end;flex-wrap:wrap}.class-badges em{font-style:normal;font-weight:700;font-size:11px;padding:4px 7px;border-radius:20px;background:#e5f1fc;color:#1d5d92;white-space:nowrap}.schedule-list a.current .class-badges em{background:#d5e9fb}.class-totals{display:flex;gap:8px;flex-wrap:wrap;margin-top:13px;padding-top:12px;border-top:1px solid #e9eef4}.class-totals span{display:inline-flex;align-items:center;gap:7px;padding:7px 10px;border-radius:20px;background:#e8f2fc;color:#2d5d88;font-size:12px}.class-totals b{font-size:13px;color:#164b7d}

.block-indicator{display:block;font-size:10px;font-weight:750;color:#7b4a14;margin:-4px 0 5px}
.schedule-page .section{margin:11px 0 7px;gap:8px}.schedule-page .section h2{font-size:16px;margin-bottom:3px}.schedule-page .section p{font-size:12px;margin:2px 0}.schedule-page .panel{padding:10px;margin-bottom:8px;border-radius:11px}.schedule-page .schedule-form-row{gap:7px}.schedule-page .schedule-form-row label{font-size:12px}.schedule-page .schedule-form-row select{padding:7px 8px;margin-top:3px}.schedule-page .schedule-form-row button{min-height:34px;padding:7px 11px}.schedule-page .schedule-summary{gap:5px;margin:6px 0}.schedule-page .schedule-summary span{padding:4px 7px;font-size:11px}.schedule-page .schedule-mobile-hint{margin:4px 0}.schedule-page .schedule-table{border-spacing:2px;min-width:700px}.schedule-page .schedule-table th{padding:5px 3px;font-size:11px}.schedule-page .schedule-table th:first-child{width:70px}.schedule-page .schedule-table .hour{padding:6px 3px;border-radius:7px;font-size:11px}.schedule-page .schedule-table .hour small{font-size:10px;margin-top:1px}.schedule-page .slot{min-height:96px;padding:5px;border-radius:7px}.schedule-page .slot strong{font-size:12px}.schedule-page .slot .teacher{font-size:10px;margin:1px 0 4px}.schedule-page .slot form select{padding:4px 5px;margin:0 0 3px;font-size:10px;border-radius:6px}.schedule-page .slot form button{padding:4px 6px;font-size:10px;border-radius:6px}.schedule-page .block-indicator{margin:1px 0 3px;font-size:9px}.schedule-toast{position:fixed;right:18px;bottom:18px;z-index:2000;max-width:min(420px,calc(100vw - 36px));padding:11px 15px;border-radius:10px;background:#146c43;color:#fff;box-shadow:0 8px 25px #142c3d35;font-size:13px;font-weight:600;opacity:0;transform:translateY(10px);pointer-events:none;transition:opacity .2s,transform .2s}.schedule-toast.visible{opacity:1;transform:translateY(0)}.schedule-modal[hidden]{display:none}.schedule-modal{position:fixed;inset:0;z-index:2001;display:grid;place-items:center;padding:18px;background:#0e223985}.schedule-modal-card{width:min(400px,100%);padding:22px;border-radius:16px;background:#fff;text-align:center;box-shadow:0 18px 50px #0919274d}.schedule-modal-icon{display:grid;place-items:center;width:38px;height:38px;margin:0 auto 10px;border-radius:50%;background:#fff0e9;color:#b64d25;font-size:22px;font-weight:800}.schedule-modal-card h3{margin:0 0 7px;color:#263d55;font-size:17px}.schedule-modal-card p{margin:0 0 17px;color:#52667c;font-size:13px;line-height:1.45}.schedule-modal-card button{min-width:90px;padding:8px 13px}@media(max-width:760px){.schedule-page .schedule-table{min-width:680px}.schedule-page .slot{min-height:101px}}@media print{.schedule-toast,.schedule-modal{display:none!important}.schedule-page .schedule-table{min-width:0}.schedule-page .slot{min-height:55px}}
.schedule-heading-actions{display:flex;align-items:center;gap:7px;flex-wrap:wrap}.schedule-heading-actions form{margin:0}.schedule-heading-actions button,.schedule-heading-actions .button{padding:7px 10px;font-size:12px}.schedule-heading-actions button:disabled{opacity:.6;cursor:wait}@media(max-width:760px){.schedule-heading-actions{justify-content:flex-start}.schedule-heading-actions button,.schedule-heading-actions .button{padding:6px 8px;font-size:11px}}
.schedule-page .slot form select,.schedule-page .slot form select option{font-size:12px;font-weight:650}
.teacher-page .teacher-table{min-width:700px}.teacher-page .teacher-table th{vertical-align:top}.teacher-day-actions{display:flex;justify-content:center;gap:3px;flex-wrap:wrap;margin-top:5px}.teacher-day-actions form{margin:0}.teacher-day-actions button{padding:4px 6px;border-radius:6px;font-size:10px;white-space:nowrap}.teacher-slot{min-height:86px}.teacher-slot.teacher-closed{background:#fff2ed;border-color:#e9b6a6}.teacher-slot.teacher-closed strong{color:#a4432e}.teacher-slot:not(.filled):not(.teacher-closed) strong{color:#35715a}.teacher-slot form{margin-top:7px}.teacher-slot form button{font-size:11px}.teacher-slot-link{display:inline-block;color:#246399;font-size:11px;font-weight:650}.teacher-slot-link:hover{text-decoration:underline}@media(max-width:760px){.teacher-page .teacher-table{min-width:700px}.teacher-slot{min-height:94px}}@media print{.teacher-day-actions,.teacher-slot form,.teacher-slot-link{display:none!important}.teacher-slot{min-height:55px}}
main.wrap:has(> .teacher-page){padding-top:14px;padding-bottom:24px}.schedule-nav:has(+ .teacher-page){margin-bottom:6px}.teacher-page .section{margin:6px 0 4px;gap:6px}.teacher-page .section p{margin:1px 0}.teacher-page .panel{padding:6px;margin-bottom:5px}.teacher-page .schedule-form-row{gap:5px}.teacher-page .schedule-form-row select{margin-top:2px;padding:5px 7px}.teacher-page .schedule-form-row button{padding:6px 9px}.teacher-page .schedule-mobile-hint{margin:2px 0}.teacher-page .teacher-table{border-spacing:1px}.teacher-page .teacher-table th{padding:3px 2px}.teacher-page .teacher-table .hour{padding:4px 2px}.teacher-page .teacher-slot{padding:3px}.teacher-page .teacher-slot .teacher{margin:1px 0 2px}.teacher-page .teacher-slot form{margin-top:3px}.teacher-page .teacher-day-actions{gap:2px;margin-top:2px}.teacher-page .teacher-day-actions button{padding:3px 5px}.teacher-page .teacher-slot form button{padding:3px 5px}@media(max-width:760px){main.wrap:has(> .teacher-page){padding-top:10px;padding-bottom:18px}}
@media print{@page{size:A4 landscape;margin:7mm}.top,.schedule-nav,.footer,.schedule-page>.section:first-child,.schedule-page>.schedule-filters,.schedule-page .schedule-heading-actions,.teacher-day-actions,.schedule-mobile-hint{display:none!important}main.wrap:has(> .schedule-page){max-width:none;padding:0}.schedule-page .panel.table-wrap{padding:0;border:0;overflow:visible}.schedule-page .schedule-table{width:100%;min-width:0}.teacher-page .teacher-slot{min-height:55px}}
