/* 4.805: account actions and calendar controls only. */
html body #main .instructors-table .instructor-actions{grid-template-columns:repeat(2,minmax(0,1fr))!important;grid-template-areas:"edit ledger" "message invite"!important;grid-auto-rows:minmax(44px,1fr);gap:8px!important}
html body #main .instructors-table .instructor-actions>button{font-family:inherit!important;font-size:13px!important;font-weight:600;line-height:1.4;min-height:44px!important;height:auto!important}
html body #dialog.instructor-modal403 .instructor-recovery805{display:flex;align-items:center;justify-content:center;gap:8px;margin:12px 0 0;min-height:44px;padding:10px 14px;background:#edf3fa;color:#173c60;border:1px solid #c7d6e8;font:600 14px/1.4 "RL67 UI",Arial,sans-serif}
html body #dialog.instructor-modal403 .instructor-recovery805 svg{width:20px;height:20px;flex:0 0 20px}
html body #main .calendar-controls801{grid-template-columns:auto minmax(180px,220px) minmax(280px,1fr);font-family:"RL67 UI",Arial,sans-serif}
html body #main .calendar-controls801 :is(button,input,.calendar-range801>strong){font-family:inherit!important;font-size:14px!important;font-weight:600!important;line-height:1.4!important}
html body #main .calendar-controls801 :is(.calendar-choice801>span,.calendar-range801>span){font-family:inherit!important;font-size:12px!important;font-weight:400!important;line-height:1.4!important}
html body #main .calendar-navigation801{grid-template-columns:44px minmax(0,1fr) 44px}
html body #main .calendar-current805{grid-column:1/-1;display:flex;align-items:center;justify-content:flex-end;flex-wrap:wrap;gap:8px;width:100%;margin:0}
html body #main .calendar-current805 button{min-width:125px;min-height:44px;margin:0!important;background:#fff;color:#173c60;border:1px solid #bdcfe2;white-space:normal}
html body #main .calendar-current805 button.selected{background:#245d9c!important;color:#fff!important;border-color:#245d9c!important}
html body #main .calendar54-header{white-space:normal;overflow-wrap:normal;line-height:1.4;min-height:60px;box-sizing:border-box;display:flex;align-items:center;justify-content:center}
@media (max-width:1200px){html body #main .calendar-controls801{grid-template-columns:minmax(240px,1fr) minmax(180px,1fr)}}
@media (max-width:700px){
 html body #main .calendar-controls801{grid-template-columns:minmax(0,1fr)}
 html body #main .calendar-controls801 :is(button,input,.calendar-range801>strong){font-size:16px!important}
 html body #main .calendar-current805{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px}
 html body #main .calendar-current805 button{min-width:0;min-height:56px!important;height:auto!important;max-height:none!important;padding:8px 5px!important;font-size:16px!important}
 html body #main .calendar54-header{min-height:52px}
}
/* 4.808: centered captions and one shared control baseline on wide screens. */
html body #main .calendar-choice801>span,
html body #main .calendar-range801>span{display:block;width:100%;text-align:center}
html body #main .calendar-choice801 input{text-align:center}
html body #main .calendar-choice801 input::-webkit-date-and-time-value{text-align:center}
@media (min-width:1400px){
 html body #main .calendar-controls801{
  grid-template-columns:auto minmax(160px,190px) minmax(285px,1fr) auto;
  align-items:end!important;gap:12px!important;
 }
 html body #main .calendar-navigation801{
  grid-column:auto;grid-template-columns:44px minmax(0,max-content) 44px;
  gap:18px;align-items:end;justify-content:center;
 }
 html body #main .calendar-current805{
  grid-column:auto;width:auto;flex-wrap:nowrap;align-items:end;gap:8px;
 }
 html body #main .calendar-current805 button{
  min-width:0;height:44px!important;min-height:44px!important;max-height:44px!important;
  box-sizing:border-box;white-space:nowrap;padding:8px 10px!important;
 }
}
@media (min-width:701px) and (max-width:1399px){
 html body #main .calendar-navigation801{
  grid-template-columns:44px minmax(0,max-content) 44px;
  column-gap:18px;justify-content:center;
 }
}
/* 4.810: readable captions and consistent navigation icons. */
html body #main .calendar-controls801 :is(.calendar-choice801>span,.calendar-range801>span){
 font-size:13px!important;font-weight:500!important;color:#435d76;
}
html body #main .calendar-navigation801>button:is(#calendar-prev,#calendar-next){
 display:flex;align-items:center;justify-content:center;width:44px;
 height:44px!important;min-height:44px!important;max-height:44px!important;
 box-sizing:border-box;
}
html body #main .calendar-navigation801 .calendar-chevron810{
 display:block;width:18px!important;height:18px!important;flex:0 0 18px;
 margin:0!important;pointer-events:none;
}
/* 4.834: jeden przełącznik widoku i oddzielne skróty okresu. */
html body #main .calendar-controls801 .calendar-view801{display:flex;gap:0!important}
html body #main .calendar-controls801 :is(.calendar-view801,.calendar-current805)>button{box-sizing:border-box!important;height:44px!important;min-height:44px!important;max-height:44px!important;margin:0!important;padding:8px 12px!important;border:1px solid #bdcfe2!important;font:600 14px/1.4 "RL67 UI",Arial,sans-serif!important}
html body #main .calendar-controls801 .calendar-view801>button{border-radius:0!important}
html body #main .calendar-controls801 .calendar-view801>button+button{margin-left:-1px!important}
html body #main .calendar-controls801 .calendar-view801>button:first-child{border-radius:5px 0 0 5px!important}
html body #main .calendar-controls801 .calendar-view801>button:last-child{border-radius:0 5px 5px 0!important}
html body #main .calendar-controls801 .calendar-current805{gap:8px!important}
html body #main .calendar-controls801 .calendar-current805>button{border-radius:5px!important}
html body #main .calendar-controls801 :is(.calendar-view801,.calendar-current805)>button.selected{background:#245d9c!important;color:#fff!important;border-color:#245d9c!important;position:relative;z-index:1}
@media(max-width:700px){html body #main .calendar-controls801 :is(.calendar-view801,.calendar-current805)>button{height:56px!important;min-height:56px!important;max-height:56px!important;white-space:normal!important;padding:8px 5px!important}}
