.teacher-workflow-tabs{display:flex;gap:.5rem;align-items:center;margin:0 0 1rem;flex-wrap:wrap}.teacher-workflow-tabs button{border:1px solid #cbd5e1;background:#fff;color:#334155;border-radius:999px;padding:.62rem 1rem;font-weight:700}.teacher-workflow-tabs button.active{background:#10233f;color:#fff;border-color:#10233f}.teacher-template-plan-root{margin-bottom:1rem}.teacher-modern-dashboard{display:grid;gap:.75rem}.teacher-modern-hint{display:flex;gap:.6rem 1rem;align-items:baseline;flex-wrap:wrap;padding:.7rem .85rem;background:#f8fafc;border:1px solid #e2e8f0;border-radius:12px}.teacher-modern-hint span,.teacher-modern-note,.teacher-plan-toolbar p{color:#64748b;font-size:.9rem}.teacher-week-scroll{overflow-x:auto;padding-bottom:.35rem}.teacher-week-grid{display:grid;min-width:max-content;border:1px solid #dbe3ee;border-radius:14px;overflow:hidden;background:#fff}.teacher-week-corner,.teacher-week-day-head{position:sticky;top:0;z-index:3;background:#f8fafc;border-bottom:1px solid #dbe3ee;min-height:66px;padding:.55rem}.teacher-week-corner{left:0;z-index:4;display:flex;align-items:center;justify-content:center;font-size:.76rem;color:#64748b}.teacher-week-day-head{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:.1rem;border-left:1px solid #e2e8f0}.teacher-week-day-head small{font-size:.75rem;color:#64748b}.teacher-day-add{margin-top:.25rem;padding:.2rem .5rem!important;font-size:.72rem!important;border-radius:8px!important}.teacher-week-add{margin-top:.3rem;width:30px;height:30px;border:0;border-radius:9px;background:#c72532;color:#fff;font-size:1.2rem;font-weight:900;line-height:1;display:grid;place-items:center;padding:0;box-shadow:0 2px 5px rgba(15,23,42,.12)}.teacher-week-add:hover,.teacher-week-add:focus-visible{background:#a91e29;outline:2px solid #c72532;outline-offset:2px}.teacher-time-axis{position:relative;min-width:58px;background:#f8fafc;border-right:1px solid #dbe3ee}.teacher-time-axis span{position:absolute;left:0;width:100%;transform:translateY(-.5em);text-align:center;font-size:.7rem;color:#64748b}.teacher-day-timeline{position:relative;min-width:150px;border-left:1px solid #eef2f7;background:repeating-linear-gradient(to bottom,#fff 0,#fff 83px,#edf2f7 84px)}.teacher-day-empty{position:absolute;top:12px;left:8px;color:#94a3b8;font-size:.78rem}.teacher-timeline-card{position:absolute;overflow:hidden;text-align:left;border:1px solid #bfdbfe;border-left:4px solid #2563eb;border-radius:9px;background:#eff6ff;color:#172033;padding:.28rem .4rem;display:flex;flex-direction:column;gap:0;line-height:1.15;box-shadow:0 1px 3px rgba(15,23,42,.08);cursor:pointer;min-height:32px}.teacher-slot-released{background:#f1f5f9!important;color:#64748b!important;border-color:#cbd5e1!important;border-left-color:#94a3b8!important;border-style:dashed!important;opacity:.86}.teacher-slot-released:hover,.teacher-slot-released:focus-visible{background:#e2e8f0!important;color:#475569!important;outline-color:#94a3b8!important}.teacher-slot-released .teacher-release-status{display:block;font-size:.68rem;line-height:1.04;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.teacher-slot-released .teacher-release-note{display:block;font-size:.62rem!important;line-height:1.04;font-weight:800;color:#64748b;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.teacher-timeline-card:hover,.teacher-timeline-card:focus-visible{transform:none!important;position:absolute!important}.teacher-slot-release-info{margin:.65rem 0 0;padding:.65rem .75rem;border-radius:10px;background:#f1f5f9;color:#475569;border:1px dashed #cbd5e1;font-size:.86rem}.teacher-draggable-lesson{cursor:grab;user-select:none}.teacher-draggable-lesson:active{cursor:grabbing}.teacher-dragging{opacity:.42;cursor:grabbing!important}.teacher-day-timeline.teacher-drop-active{background-color:#f0f9ff}.teacher-drop-indicator{position:absolute;left:4px;right:4px;height:3px;background:#c72532;border-radius:999px;z-index:12;pointer-events:none;box-shadow:0 0 0 2px rgba(255,255,255,.9)}.teacher-drop-indicator span{position:absolute;right:2px;top:-24px;background:#10233f;color:#fff;border-radius:7px;padding:.16rem .35rem;font-size:.68rem;font-weight:800;white-space:nowrap}.teacher-timeline-card:hover,.teacher-timeline-card:focus-visible{z-index:5;outline:2px solid #2563eb;outline-offset:1px}.teacher-timeline-card b{font-size:.74rem}.teacher-timeline-card strong{font-size:.82rem;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.teacher-timeline-card span,.teacher-timeline-card small{font-size:.7rem;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.teacher-template-card{border-color:#c7d2fe;border-left-color:#4f46e5;background:#eef2ff}.teacher-lesson-actions-sheet{max-width:520px}.teacher-lesson-summary{display:grid;gap:.3rem;padding:1rem;border:1px solid #e2e8f0;border-radius:14px;background:#f8fafc}.teacher-lesson-summary span{color:#475569}.teacher-lesson-actions{display:grid;gap:.65rem;margin-top:1rem}.teacher-modern-note{margin:.85rem 0 0}.teacher-plan-panel{display:grid;gap:1rem}.teacher-plan-toolbar{display:flex;justify-content:space-between;gap:1rem;align-items:flex-start;flex-wrap:wrap}.teacher-plan-toolbar h2{margin:0 0 .25rem}.teacher-plan-toolbar p{margin:0;max-width:780px}.teacher-plan-generator{display:flex;gap:.7rem;align-items:end;flex-wrap:wrap;padding:.8rem;border:1px solid #e2e8f0;background:#f8fafc;border-radius:12px}.teacher-plan-generator label{display:grid;gap:.3rem;font-weight:700}.teacher-plan-notice{margin:0;padding:.75rem .9rem;border-radius:10px;background:#ecfdf5;color:#166534}.teacher-plan-notice.error{background:#fef2f2;color:#991b1b}.teacher-plan-empty{display:grid;gap:.7rem;justify-items:start;padding:1.2rem;border:1px dashed #cbd5e1;border-radius:14px;background:#f8fafc}.teacher-plan-editor{max-width:680px}.teacher-plan-form{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.85rem}.teacher-plan-form label{display:grid;gap:.3rem;font-weight:700}.teacher-plan-form input,.teacher-plan-form select{width:100%}.teacher-plan-online{display:flex!important;grid-column:1/-1;grid-template-columns:auto 1fr!important;align-items:center;justify-content:start}.teacher-plan-online input{width:auto}.teacher-plan-form-actions{grid-column:1/-1;display:flex;gap:.55rem;flex-wrap:wrap}.teacher-plan-form-note{grid-column:1/-1;margin:0;color:#b91c1c}.journal-lesson-focus{outline:3px solid #60a5fa;outline-offset:3px;animation:teacherJournalPulse 1.1s ease 1}@keyframes teacherJournalPulse{0%,100%{box-shadow:0 0 0 0 rgba(37,99,235,0)}50%{box-shadow:0 0 0 8px rgba(37,99,235,.15)}}@media(max-width:760px){.teacher-draggable-lesson{cursor:pointer}.teacher-week-add{width:32px;height:32px}.teacher-plan-form{grid-template-columns:1fr}.teacher-plan-online,.teacher-plan-form-actions,.teacher-plan-form-note{grid-column:1}.teacher-week-day-head,.teacher-day-timeline{min-width:138px}.teacher-plan-toolbar>button{width:100%}}
