.portal-update-notice{position:fixed;right:20px;bottom:20px;z-index:10000;display:flex;align-items:center;gap:16px;max-width:calc(100vw - 32px);padding:12px 14px;border:1px solid #8ccdc5;border-radius:14px;background:#f1fcf9;color:#10283b;box-shadow:0 12px 34px #092a3130}
.portal-update-notice strong{font-size:14px}
.planning-day-controls{display:grid;gap:7px;padding:9px;border-bottom:1px solid #dce8e7;background:#f7fbfa}
.planning-day-controls small{color:#476075;font-size:11px}
.planning-day-controls .button-row{display:flex;gap:5px;flex-wrap:wrap}
.planning-day-controls .button{font-size:11px;padding:5px 7px;white-space:normal;text-align:left}
.planning-day-warning{display:block;padding:7px;border-radius:7px;background:#fff2d8;color:#775014;font-size:11px;line-height:1.35}
.planning-day-change{width:100%}
.teacher-onboarding{margin:18px 0}
.teacher-onboarding-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,270px),1fr));gap:12px}
.teacher-onboarding-person{border:1px solid #dce8e7;border-radius:11px;padding:14px;background:#f8fbfa}
.teacher-onboarding-person h3{margin:0 0 12px;font-size:16px}
.teacher-onboarding-person ul{padding:0;margin:0 0 12px;list-style:none}
.teacher-onboarding-person li{display:flex;justify-content:space-between;gap:8px;padding:6px 0;border-bottom:1px solid #e3eded;font-size:12px}
.teacher-onboarding-person strong.ready{color:#087d70}.teacher-onboarding-person strong.pending{color:#986615}
.student-preparation{margin:16px 0}.student-preparation-list{display:grid;gap:12px;margin-top:16px}
.student-preparation-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}
.student-preparation-grid>div{display:flex;flex-direction:column;align-items:flex-start;gap:8px;min-width:0;padding:12px;border:1px solid #dce8e7;border-radius:10px;background:#f8fbfa}
.student-preparation-grid small{color:#52657a}.student-preparation-grid strong{overflow-wrap:anywhere}.student-preparation-grid p{font-size:13px;margin:0;overflow-wrap:anywhere}
@media(max-width:760px){.portal-update-notice{left:16px;right:16px;bottom:16px;justify-content:space-between}.student-preparation-grid{grid-template-columns:1fr}}
/* Staff days have three children: date, day actions, and the full-width shift list. */
.teacher-week-card .week-day-column{grid-template-columns:minmax(160px,.25fr) minmax(0,1fr);grid-template-areas:"date controls" "shifts shifts";align-items:stretch}
.teacher-week-card .week-day-head{grid-area:date;min-width:0;border-bottom:1px solid var(--line);padding:14px 16px;gap:6px;justify-content:center}
.teacher-week-card .week-day-head strong{font-size:15px;line-height:1.4}
.teacher-week-card .planning-day-controls{grid-area:controls;display:flex;flex-wrap:wrap;gap:8px;min-width:0;padding:12px 16px;align-items:center;align-content:center}
.teacher-week-card .planning-day-controls>small{flex:1 1 200px}
.teacher-week-card .planning-day-controls>.button-row{margin:0 0 0 auto}
.teacher-week-card .planning-day-controls>.planning-day-change{width:auto;flex:1 1 260px;min-width:0;overflow-wrap:anywhere}
.teacher-week-card .planning-day-controls>.planning-day-warning{flex-basis:100%}
.teacher-week-card .week-day-slots{grid-area:shifts;min-width:0;grid-template-columns:repeat(auto-fit,minmax(min(100%,260px),1fr));gap:12px;padding:14px}
.teacher-week-card .planning-staff-slot{min-width:0;width:100%;padding:14px 16px;gap:6px;text-align:left;overflow-wrap:anywhere}
.teacher-week-card .planning-staff-slot strong{font-size:16px;line-height:1.35}
.teacher-week-card .planning-staff-slot .room-slot-time{font-size:15px;font-weight:800}
.teacher-week-card .planning-staff-slot small{font-size:12px;line-height:1.45}
.teacher-week-card .planning-staff-slot .admin-actions{display:flex;flex-wrap:wrap;gap:8px;margin-top:6px}
.teacher-week-card .planning-staff-slot .admin-actions .button{min-height:38px}
.teacher-week-card .week-day-empty{padding:10px 2px;min-height:0}
.teacher-week-card .week-day-slots>.empty{margin:0;padding:10px 4px;text-align:left;font-size:13px}
@media(max-width:760px){
 .teacher-week-card .week-day-column{grid-template-columns:minmax(0,1fr);grid-template-areas:"date" "controls" "shifts"}
 .teacher-week-card .week-day-head{border-right:0;align-items:center;justify-content:space-between;flex-direction:row;flex-wrap:wrap;padding:12px}
 .teacher-week-card .planning-day-controls{padding:10px 12px}
 .teacher-week-card .week-day-slots{padding:12px;gap:10px}
 .teacher-week-card .planning-staff-slot .admin-actions .button{min-height:44px}
}
.dialog-open .portal-update-notice{display:none}
