/* BCM Batch 86 — room header polish, lower-latency calls, prepare-room testing, phone Schedule scrolling */

/* Notification bell in a Room header should have the same filled control surface as call buttons. */
[class*="_headerActions_"] > button[aria-label^="Notifications"]{
  background:var(--surface,#fff)!important;
  border:0!important;
  border-radius:8px!important;
  width:34px!important;height:34px!important;min-width:34px!important;min-height:34px!important;
}
[class*="_headerActions_"] > button[aria-label^="Notifications"]:hover{background:var(--muted,#eef2ef)!important}
@media(max-width:720px){[class*="_headerActions_"] > button[aria-label^="Notifications"]{width:38px!important;height:38px!important;min-width:38px!important;min-height:38px!important}}

/* The prepare room can have 3–4 tools now; keep them compact and scrollable instead of clipping. */
.app-call-prepare-tools{min-width:0;max-width:100%;overflow-x:auto;overscroll-behavior-x:contain;scrollbar-width:none;padding-bottom:1px}
.app-call-prepare-tools::-webkit-scrollbar{display:none}
.app-call-prepare-tools .app-call-control{flex:0 0 auto}

/* Schedule on phones owns a real vertical touch scroller. Historical contain/hidden rules could trap it. */
@media(max-width:620px){
  .bcm-calendar-host:has(.bcm-calendar-hybrid[data-calendar-view="agenda"]){min-height:0!important;overflow:hidden!important}
  .bcm-calendar-hybrid[data-calendar-view="agenda"] .bcm-cal-layout{min-height:0!important;height:100%!important;overflow:hidden!important}
  .bcm-calendar-hybrid[data-calendar-view="agenda"] .bcm-cal-main{
    min-height:0!important;height:100%!important;overflow-x:hidden!important;overflow-y:auto!important;
    -webkit-overflow-scrolling:touch!important;touch-action:pan-y!important;overscroll-behavior-y:auto!important;
    scroll-padding-bottom:max(120px,calc(env(safe-area-inset-bottom,0px) + 88px))!important;
  }
  .bcm-calendar-hybrid[data-calendar-view="agenda"] .bcm-cal-body{min-height:0!important;height:auto!important;overflow:visible!important}
  .bcm-calendar-hybrid[data-calendar-view="agenda"] .bcm-agenda-shell{min-height:max-content!important;height:auto!important;padding-bottom:max(120px,calc(env(safe-area-inset-bottom,0px) + 88px))!important}
}
