/* Calendar captions and the administrator's work-fund editor. */
.schedule-info{
 background:#eef5fc;color:#244d68;border:1px solid #d6e4f3;border-radius:8px;
 padding:10px 12px;margin:8px 0;font-size:13px;font-weight:650;overflow-wrap:anywhere;
}
.schedule-info[hidden]{display:none}
body.rd-interface :is(.calendar-day,.calendar-week-chip) .calendar-work-badge{
 display:inline-block;width:max-content;max-width:100%;border-radius:5px;
 background:#edf5fb;color:#2b5976;padding:2px 5px;font-size:10px;font-weight:700;
 white-space:normal;overflow-wrap:anywhere;
}
body.rd-interface :is(.calendar-day,.calendar-week-chip) .calendar-work-badge.is-closed{
 background:#fff0d8;color:#7f4d0c;
}
.calendar-work-assignments{
 margin:8px 0 13px;padding-left:21px;display:grid;gap:5px;color:#37566d;font-size:13px;
}
body.rd-interface .work-schedule-dialog{
 width:min(760px,calc(100% - 24px));max-height:calc(100dvh - 24px);
 padding:20px;border:1px solid #d7e1ea;border-radius:14px;
 color:var(--rd-ink);background:#fff;box-shadow:0 14px 50px #112b4340;overflow:auto;
}
.work-schedule-dialog::backdrop{background:#152a3a88}
.work-schedule-head{
 display:flex;justify-content:space-between;align-items:flex-start;gap:12px;
 padding-bottom:15px;border-bottom:1px solid #e2e8ef;
}
body.rd-interface .work-schedule-head h2{font-size:23px;margin:0}
.work-schedule-head p{margin:4px 0 0;color:#516b7c;font-size:13px}
.work-schedule-form{margin-top:15px}
.work-schedule-fields{
 display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:11px;
}
.work-schedule-wide{grid-column:1/-1}
body.rd-interface .work-schedule-fields label{
 display:grid;gap:5px;align-content:start;color:#385366;font-size:13px;font-weight:650;
}
body.rd-interface .work-schedule-fields label[hidden]{display:none}
body.rd-interface .work-schedule-fields :is(input,select){
 width:100%;min-height:44px;box-sizing:border-box;font-size:16px;
}
.work-schedule-help{margin:10px 0;color:#516b7c;font-size:13px}
.work-schedule-actions{display:flex;justify-content:flex-end;margin-top:12px}
body.rd-interface .work-schedule-dialog button{min-height:44px;font-size:13px}
.work-schedule-status{min-height:1.5em;color:#146049;font-size:13px;font-weight:650}
.work-schedule-status.is-error{color:#a43a31}
.work-schedule-list{margin-top:15px;padding:12px 0;border-top:1px solid #e2e8ef}
.work-schedule-row{
 display:flex;align-items:center;justify-content:space-between;gap:10px;
 padding:8px 0;border-bottom:1px solid #e9eef3;
}
.work-schedule-row>div{min-width:0;overflow-wrap:anywhere}
.work-schedule-row strong,.work-schedule-row span{display:block}
.work-schedule-row span{font-size:13px;color:#516b7c}
.work-schedule-history{border:1px solid #e2e8ef;padding:9px 11px}
.work-schedule-audit-entry{margin:5px 0;padding:6px 9px;border:1px solid #e2e8ef}
.work-schedule-audit-entry:open>summary{margin-bottom:5px}
.work-schedule-audit-entry p,.work-schedule-audit-entry ul{margin:5px 0;overflow-wrap:anywhere}
.work-schedule-audit-entry li{font-size:13px}
@media(max-width:560px){
 body.rd-interface .work-schedule-dialog{padding:14px}
 .work-schedule-fields{grid-template-columns:minmax(0,1fr)}
 .work-schedule-actions>button{width:100%}
 body.rd-interface .calendar-day .calendar-work-badge{font-size:9px;padding:2px}
}
