/* BCM Batch 82 — private-chat colour, whiteboard toolbar/wheel, mobile call actions */

/* Private-chat calendar colour uses the same compact personal-colour language as Room calendars. */
.bcm-direct-calendar-type-head .bcm-room-calendar-category-title{
  display:grid!important;
  grid-template-columns:minmax(0,1fr)!important;
  gap:7px!important;
  align-items:start!important;
  justify-items:start!important;
  width:100%!important;
  min-width:0!important;
}
.bcm-direct-calendar-type-head .bcm-room-calendar-category-title h4{
  width:100%!important;
  max-width:none!important;
  overflow:visible!important;
  text-overflow:clip!important;
  white-space:normal!important;
  line-height:1.25!important;
}
.bcm-direct-calendar-type-head button.bcm-direct-calendar-colour{
  justify-self:start!important;
  width:auto!important;
  min-width:0!important;
  height:30px!important;
  min-height:30px!important;
  padding:0 9px!important;
  border:1px solid var(--border,#cbd8ca)!important;
  border-radius:999px!important;
  background:var(--background,#fff)!important;
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  gap:6px!important;
  color:var(--foreground,#24372c)!important;
  font:inherit!important;
  font-size:10px!important;
  font-weight:750!important;
  line-height:1!important;
  box-shadow:none!important;
  margin:0!important;
}
.bcm-direct-calendar-type-head button.bcm-direct-calendar-colour i{
  display:block!important;
  width:14px!important;
  height:14px!important;
  min-width:14px!important;
  border-radius:50%!important;
  background:var(--dot,#416c54)!important;
  box-shadow:0 0 0 1px color-mix(in srgb,var(--dot,#416c54) 72%,var(--border,#cbd8ca))!important;
}
.bcm-direct-calendar-type-head button.bcm-direct-calendar-colour span{display:inline!important;white-space:nowrap!important}
.bcm-direct-calendar-colour-note{margin:5px 4px 12px 0!important;max-width:none!important}

/* Selected-image tools stay grouped instead of spreading across the whole laptop toolbar. */
.bcm-whiteboard-image-actions{
  display:flex!important;
  align-items:center!important;
  justify-content:flex-start!important;
  gap:8px!important;
  flex-wrap:wrap!important;
  width:100%!important;
}
.bcm-whiteboard-image-actions>button{
  flex:0 0 auto!important;
  width:auto!important;
  margin:0!important;
}

/* The Calls tab should have an obvious way to start a call, especially on phones. */
.app-call-start-panel{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
  margin:12px 0 16px;
  padding:14px 16px;
  border:1px solid var(--border,#cbd8ca);
  border-radius:16px;
  background:color-mix(in srgb,var(--primary,#4b6f58) 5%,var(--background,#fff));
}
.app-call-start-panel>div:first-child{min-width:0}
.app-call-start-panel h3{margin:0 0 4px;font-size:16px;color:var(--foreground,#24372c)}
.app-call-start-panel p{margin:0;max-width:560px;font-size:12px;line-height:1.45;color:var(--muted-foreground,#65746a)}
.app-call-start-actions{display:flex;align-items:center;gap:8px;flex:0 0 auto}
.app-call-start-actions button{
  min-height:40px;
  padding:0 13px;
  border:1px solid var(--border,#cbd8ca);
  border-radius:999px;
  background:var(--background,#fff);
  color:var(--foreground,#24372c);
  font:inherit;
  font-weight:700;
  cursor:pointer;
}
.app-call-start-actions button:hover{background:color-mix(in srgb,var(--primary,#4b6f58) 8%,var(--background,#fff))}
.app-call-start-actions button:disabled{opacity:.55;cursor:wait}
.app-call-start-error{margin-top:8px!important}
.app-chat-call-history-panel{min-height:180px!important;padding-bottom:18px!important}

@media(max-width:760px){
  .bcm-direct-calendar-type-head button.bcm-direct-calendar-colour{height:28px!important;min-height:28px!important;padding:0 8px!important}
  .app-call-start-panel{display:grid;gap:12px;margin:10px 12px 14px;padding:13px}
  .app-call-start-actions{display:grid;grid-template-columns:1fr 1fr;width:100%}
  .app-call-start-actions button{width:100%;min-height:44px;padding:0 10px}
  .app-chat-call-history-panel{padding:0 10px 20px!important;min-height:240px!important}
}
