*{box-sizing:border-box}body{margin:0;font-family:Inter,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;background:#f4f6f9;color:#1f2937}.app-shell{min-height:100vh}.brand{height:64px;display:flex;align-items:center;padding:0 20px;font-size:18px;font-weight:700;border-bottom:1px solid #e5e7eb}.topbar{height:64px;padding:0 24px;background:#fff;border-bottom:1px solid #e5e7eb;display:flex;justify-content:flex-end;align-items:center;gap:16px}.content{padding:24px}.wide{width:100%}.login-page{min-height:100vh;display:grid;place-items:center;background:#e9eef6}.login-card{width:min(420px,calc(100vw - 32px));border-radius:8px}.page-header,.schedule-title-row{display:flex;align-items:center;justify-content:space-between;gap:16px}.schedule-title-row .ant-typography{margin:0}.schedule-filters{justify-content:flex-end}.schedule-nav{position:relative;display:flex;align-items:center;justify-content:center;gap:8px}.schedule-footer{display:flex;justify-content:flex-end}.week-label{position:absolute;right:0;font-weight:600;color:#374151}.discipline-form{background:#fff;border:1px solid #d8dee8;border-radius:8px;padding:12px}.practice-form-grid{display:grid;grid-template-columns:repeat(2,minmax(180px,1fr));gap:12px 16px;align-items:end}.practice-comment{grid-column:1 / -1}.practice-actions{grid-column:1 / -1;display:flex;justify-content:flex-end}.group-form-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px 16px}.group-form-grid .ant-form-item:first-child:nth-last-child(5){grid-column:1 / -1}.group-name-field{grid-column:1 / 4}.group-course-field{grid-column:4 / 5}.group-date-start{grid-column:1 / 3}.group-date-end{grid-column:3 / 5}.group-date-start,.group-date-end{min-width:0}.curriculum-form-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px 16px}.curriculum-name{grid-column:1 / 4}.curriculum-type-hours{grid-column:1 / 3}.curriculum-type-option{grid-column:3 / 5;align-self:end}.curriculum-note{grid-column:1 / -1}.schedule-workspace{display:grid;grid-template-columns:300px minmax(760px,1fr);gap:16px;align-items:start}.unscheduled-panel{min-height:640px;background:#fff;border:1px solid #d8dee8;border-radius:8px;padding:14px;display:flex;flex-direction:column;gap:8px}.unscheduled-panel-head{display:flex;justify-content:stretch;margin-bottom:2px}.unscheduled-panel-head .ant-btn{width:100%}.teacher-picker-panel{min-height:640px;background:#fff;border:1px solid #d8dee8;border-radius:8px;padding:14px;display:flex;flex-direction:column;gap:12px}.teacher-picker-panel .ant-select{width:100%}.teacher-list{display:flex;flex-direction:column;gap:6px;overflow:auto}.teacher-list-item{width:100%;border:1px solid #d8dee8;background:#f8fafc;border-radius:6px;padding:9px 10px;text-align:left;color:#1f2937;cursor:pointer;font:inherit}.teacher-list-item:hover{border-color:#8aa8df;background:#eef4ff}.teacher-list-item.active{border-color:#2454a6;background:#dfeaff;font-weight:700}.unscheduled-panel.over,.schedule-cell.over{outline:2px solid #2454a6;outline-offset:-2px}.unscheduled-group{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px;align-items:stretch}.unscheduled-hours{min-width:52px;border:1px solid #d8dee8;background:#eef2f7;border-radius:6px;display:flex;align-items:center;justify-content:center;font-weight:700;color:#334155;font-size:13px}.schedule-grid{display:grid;grid-template-columns:72px repeat(6,minmax(112px,1fr));background:#d8dee8;border:1px solid #d8dee8;gap:1px;overflow:auto}.grid-head,.slot-label{background:#eef2f7;min-height:42px;display:flex;align-items:center;justify-content:center;font-weight:700}.schedule-cell{background:#fff;min-height:112px;padding:6px;display:flex;flex-direction:column;gap:6px}.schedule-cell.practice-day{position:relative;background:#fff2e8}.practice-mark{position:absolute;top:0;right:0;bottom:0;left:0;display:grid;place-items:center;font-size:34px;font-weight:800;color:#d46b08;opacity:.8;pointer-events:none}.schedule-cell.outside-semester{position:relative;background:#f1f5f9}.outside-semester-mark{position:absolute;top:0;right:0;bottom:0;left:0;display:grid;place-items:center;padding:8px;text-align:center;font-size:12px;font-weight:700;color:#64748b;pointer-events:none}.schedule-cell.two-subgroups{display:grid;grid-template-columns:1fr 1fr;gap:4px}.lesson-chip{position:relative;border:1px solid #b7c3d6;background:#f8fafc;border-radius:6px;padding:8px;min-height:58px;cursor:grab;display:flex;flex-direction:column;gap:4px;font-size:13px;box-shadow:0 1px 2px #0f172a14}.lesson-chip-head{display:flex;align-items:flex-start;justify-content:space-between;gap:6px}.lesson-chip b{line-height:1.2}.lesson-chip span{color:#526071}.teacher-schedule-lesson{cursor:default}.lesson-overlay-card{width:220px;pointer-events:none;box-shadow:0 12px 28px #0f172a38}@media (max-width: 980px){.schedule-workspace{grid-template-columns:1fr}.unscheduled-panel,.teacher-picker-panel{min-height:220px}.page-header,.schedule-title-row{align-items:flex-start;flex-direction:column}.schedule-filters{justify-content:flex-start;width:100%}.schedule-nav{justify-content:flex-start;flex-wrap:wrap}.week-label{position:static;width:100%;text-align:right}.practice-form-grid,.group-form-grid{grid-template-columns:1fr}.group-form-grid .ant-form-item:first-child:nth-last-child(5){grid-column:auto}.group-name-field,.group-course-field,.group-date-start,.group-date-end{grid-column:auto}.curriculum-form-grid{grid-template-columns:1fr}.curriculum-name,.curriculum-type-hours,.curriculum-type-option,.curriculum-note{grid-column:auto}}
