.teaching-open{margin:12px 0;min-height:44px}.teaching-dialog{width:min(1180px,calc(100% - 32px));max-width:1180px;max-height:calc(var(--visible-screen-height,100dvh) - 24px);padding:24px;border:1px solid #adc6b5;border-radius:24px;background:#f5f8f3;color:#15201a;overflow:auto;box-sizing:border-box;box-shadow:0 24px 80px #14302055;font-family:'Outfit Escuela','Outfit',sans-serif}.teaching-dialog::backdrop{background:#102a2099}.teaching-dialog-header,.teaching-dialog-footer,.teaching-section-heading{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:12px}.teaching-dialog-header{position:sticky;top:-24px;background:#f5f8f3;z-index:2;padding:12px 0}.teaching-dialog-header h2{margin:0;font-size:25px}.teaching-dialog-header button{min-width:44px;min-height:44px;font-size:24px}.teaching-dialog-footer{margin-top:22px;border-top:1px solid #d1dfd5;padding-top:18px}.teaching-notebook-body{display:grid;gap:20px;min-width:0}.teaching-notebook-body :is(section,form,label){min-width:0}.teaching-class-meta h3{margin:0}.teaching-class-meta p{line-height:1.6}.teaching-subject{display:grid;gap:8px;font-weight:600}.teaching-subject select,.teaching-dialog :is(input,select,textarea){font:inherit;box-sizing:border-box;max-width:100%;min-width:0;min-height:44px;border:1px solid #bacbbf;border-radius:12px;background:#fffef9;padding:12px}.teaching-dialog textarea{width:100%;resize:vertical;line-height:1.55}.teaching-dialog label{display:grid;gap:8px}.teaching-plan-card,.teaching-work-card,.teaching-history-card,.teaching-reports-card{border:1px solid #d1dfd5;border-radius:20px;padding:20px;box-shadow:inset 0 1px white,0 8px 18px -12px #14302055}.teaching-plan-card{background:linear-gradient(#e7f5ee,#f7fcf9)}.teaching-work-card{background:linear-gradient(#e8f0ff,#fafcff)}.teaching-history-card{background:linear-gradient(#fff3dc,#fffdf8)}.teaching-reports-card{background:#fff}.teaching-notebook-body h3{margin-top:0;font-size:21px}.teaching-report{margin:14px 0;padding:16px;background:#f6f5fc;border:1px solid #dfddec;border-radius:15px}.teaching-report header{display:flex;justify-content:space-between;gap:10px;flex-wrap:wrap}.teaching-report header span{color:#4a5a50;font-size:15px}.teaching-text{margin:14px 0}.teaching-text p{white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.6;margin:6px 0}.teaching-history-item{border:1px solid #dccfae;border-radius:13px;background:#fffef9;padding:14px;margin:12px 0}.teaching-history-item summary{cursor:pointer;font-weight:600;line-height:1.6}.teaching-form-error{color:#982e2e;white-space:pre-wrap}.teaching-student-history{margin:20px 0}.teaching-assignment{border:1px solid #c5d7c8;padding:14px;border-radius:13px}.teaching-dialog button{min-height:44px;touch-action:manipulation}.teaching-dialog button:focus-visible{outline:3px solid #b98651;outline-offset:3px}
@media(max-width:820px){.teaching-dialog{width:calc(100% - 12px);max-height:calc(var(--visible-screen-height,100dvh) - 12px);padding:16px 12px;border-radius:18px}.teaching-dialog-header{top:-16px}.teaching-dialog-header h2{font-size:21px;flex:1}.teaching-plan-card,.teaching-work-card,.teaching-history-card,.teaching-reports-card{padding:15px 12px}.teaching-dialog :is(input,select,textarea){font-size:16px}.teaching-dialog-footer button{flex:1 1 42%}.teaching-dialog .formgrid{grid-template-columns:minmax(0,1fr)}.teaching-notebook-body{gap:14px}}

.teaching-memory-card{padding:20px;border:1px solid #d5c5e6;border-radius:20px;background:linear-gradient(#efe5fa,#fbf8fe);box-shadow:inset 0 1px white,0 8px 18px -12px #38204455}.teaching-memory-item{padding:16px;margin:14px 0;background:#fffdfd;border:1px solid #ded1e8;border-radius:15px}.teaching-memory-check{display:flex!important;align-items:center;gap:10px}.teaching-memory-check input{width:22px;min-height:22px!important;flex:none}.teaching-memory-card h4{font-size:19px}@media(max-width:820px){.teaching-memory-card{padding:15px 12px}}
.teaching-day-panel{margin:24px 0;padding:24px;border:1px solid #ccdccc;border-radius:24px;background:linear-gradient(135deg,#fafdf7,#f1f5ed);box-shadow:inset 0 1px white,0 8px 24px -16px #264c3966}.teaching-day-panel h2{margin:0;font-size:25px}.teaching-day-actions{display:flex;flex-wrap:wrap;gap:10px}.teaching-day-classes{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,380px),1fr));gap:18px;margin-top:18px}.teaching-day-class{padding:20px;border:1px solid #d6d9cd;border-radius:20px;background:#fffefb;min-width:0;box-shadow:0 7px 18px -12px #27433166}.teaching-day-class h3{margin:0;color:#355c48;font-size:19px}.teaching-day-class h4{font-size:20px;margin:12px 0}.teaching-day-class p{overflow-wrap:anywhere;line-height:1.55}.teaching-day-class .teaching-plan-card,.teaching-day-class .teaching-reports-card{padding:16px;margin:14px 0}.teaching-day-class summary{cursor:pointer;font-weight:600}.teaching-day-panel button{min-height:44px}.teaching-day-class .teaching-open{width:100%;white-space:normal}@media(max-width:820px){.teaching-day-panel{padding:18px 12px}.teaching-day-panel h2{font-size:23px}.teaching-day-class{padding:16px 12px}.teaching-day-actions{width:100%}.teaching-day-actions button{flex:1}.teaching-day-panel .teaching-section-heading{align-items:flex-start}}
