/* Occupancy fills from the bottom; keep each event marker upright. */
#szm-brand-typography .staff-calendar-workspace .staff-half-bar{transform:scaleY(-1)}
#szm-brand-typography .staff-calendar-workspace .staff-half-bar>:is(i,.staff-half-letter,.staff-overflow){transform:scaleY(-1)}
@media(max-width:800px),(max-width:1280px) and (hover:none) and (pointer:coarse){
 #szm-brand-typography .staff-main:has(.szm-calendar-capacity-workspace)>.staff-mobile-menu{position:fixed!important;top:4px!important;left:4px!important;width:36px!important;min-width:36px!important;max-width:36px!important;margin:0!important;z-index:45!important}
 #szm-brand-typography :is(.staff-app,.szm-native-workspace) .szm-calendar-capacity-workspace{position:fixed!important;inset:48px 4px max(4px,env(safe-area-inset-bottom))!important;width:auto!important;height:auto!important;min-height:0!important;margin:0!important;padding:0!important;display:flex!important;flex-direction:column!important;gap:0!important}
 #szm-brand-typography :is(.staff-app,.szm-native-workspace) .szm-calendar-capacity-workspace>.szm-calendar-one-line{position:fixed!important;top:4px!important;left:44px!important;right:4px!important;width:auto!important;margin:0!important;z-index:44!important;grid-template-columns:minmax(0,1.1fr) minmax(0,1.15fr) minmax(0,.85fr)!important}
 #szm-brand-typography :is(.staff-app,.szm-native-workspace) .szm-calendar-capacity-workspace>.staff-calendar-card{flex:1 1 0!important;min-height:0!important;height:100%!important;max-height:none!important;display:flex!important;flex-direction:column!important;margin:0!important;overflow:auto!important}
 #szm-brand-typography :is(.staff-app,.szm-native-workspace) .szm-calendar-capacity-workspace .staff-mobile-month{flex:1 1 0!important;min-height:0!important;display:flex!important;flex-direction:column!important;padding:6px!important;overflow:hidden!important}
 #szm-brand-typography :is(.staff-app,.szm-native-workspace) .szm-calendar-capacity-workspace .staff-mobile-days{flex:1 1 0!important;min-height:0!important;grid-auto-rows:minmax(0,1fr)!important;gap:4px!important}
 #szm-brand-typography :is(.staff-app,.szm-native-workspace) .szm-calendar-capacity-workspace .staff-mobile-day{height:auto!important;min-height:0!important;max-height:none!important;overflow:hidden!important}
 #szm-brand-typography :is(.staff-app,.szm-native-workspace) .szm-calendar-capacity-workspace .staff-mobile-day .staff-half-pair{height:auto!important;min-height:0!important}
 #szm-brand-typography :is(.staff-app,.szm-native-workspace) .szm-calendar-capacity-workspace .staff-mobile-day .staff-half-bar{height:100%!important;min-height:0!important}
 #szm-brand-typography .staff-main:not(:has(>.staff-mobile-menu)) .szm-calendar-capacity-workspace>.szm-calendar-one-line{left:4px!important}
 #szm-brand-typography .staff-main:has(.szm-calendar-capacity-workspace)>.staff-footer,
 #szm-brand-typography .szm-calendar-capacity-workspace :is(.szm-calendar-footer-legend,.staff-mobile-key){display:none!important}
}



/* Center absence/report-work letters independently of occupancy grid rows. */
#szm-brand-typography .staff-calendar-workspace .staff-half-bar>.staff-half-letter{position:absolute;inset:0;display:grid;place-items:center;margin:0;line-height:1}
