/* CALENDAR six-week fit: fix grid child 100%-height overflow (header + 100% != 100%). */
@media(min-width:761px){
.oneScreenRoot10150[data-screen="calendar"] .calendarUI36{
 display:grid!important;grid-template-rows:44px minmax(0,1fr)!important;
 height:100%!important;max-height:100%!important;min-height:0!important;overflow:hidden!important;
}
.oneScreenRoot10150[data-screen="calendar"] .calendarWorkspace10156{
 height:auto!important;max-height:none!important;min-height:0!important;
 align-self:stretch!important;overflow:hidden!important;
}
.oneScreenRoot10150[data-screen="calendar"] .calendarMain10156{
 height:auto!important;min-height:0!important;align-self:stretch!important;
 grid-template-rows:minmax(0,1fr)!important;overflow:hidden!important;
}
.oneScreenRoot10150[data-screen="calendar"] .monthCalendar520{
 box-sizing:border-box!important;height:auto!important;max-height:none!important;
 min-height:0!important;align-self:stretch!important;margin:0!important;
 display:grid!important;grid-template-rows:36px 16px minmax(0,1fr)!important;
 padding:5px!important;overflow:hidden!important;
}
.oneScreenRoot10150[data-screen="calendar"] .monthGrid520{
 height:auto!important;max-height:none!important;min-height:0!important;align-self:stretch!important;
 grid-template-rows:repeat(6,minmax(0,1fr))!important;grid-auto-rows:minmax(0,1fr)!important;
 overflow:hidden!important;gap:2px!important;
}
.oneScreenRoot10150[data-screen="calendar"] .monthGrid520>.monthDay520,
.oneScreenRoot10150[data-screen="calendar"] .monthGrid520>.monthBlank520{
 height:auto!important;min-height:0!important;max-height:none!important;overflow:hidden!important;
 padding:3px!important;box-sizing:border-box!important;
}
.oneScreenRoot10150[data-screen="calendar"] .calendarControl10156{
 height:auto!important;max-height:none!important;min-height:0!important;
 align-self:stretch!important;overflow-y:auto!important;overflow-x:hidden!important;
}
}

/* Contract archive action belongs to the Calendar header, not above the calendar. */
@media(min-width:761px){
.oneScreenRoot10150[data-screen="calendar"] .calendarHead10156{display:flex!important;align-items:center!important;gap:10px!important;}
.oneScreenRoot10150[data-screen="calendar"] .calendarHead10156 nav{display:flex!important;align-items:center!important;gap:6px!important;min-width:0!important;}
.oneScreenRoot10150[data-screen="calendar"] .calendarHead10156 .contractArchiveBtnP18{height:32px!important;min-height:32px!important;margin:0!important;padding:0 9px!important;white-space:nowrap!important;font-size:10px!important;}
.oneScreenRoot10150[data-screen="calendar"] .calendarUI36{min-height:0!important;box-sizing:border-box!important;}
.oneScreenRoot10150[data-screen="calendar"] .monthGrid520{height:auto!important;min-height:0!important;}
}
