/* Studio CRM 10.37.48 — ações nativas visíveis e funcionais no painel da Agenda */
.agenda-v31-details.drawer-open{position:relative!important}
.agenda-v31-details.drawer-open .agenda-event-primary-actions,
.agenda-v31-details.drawer-open .agenda-more-wrap{display:none!important}

.agenda-v31-details.drawer-open .agenda-detail-actions-compact.agenda-native-actions-bar,
.agenda-v31-details.drawer-open .agenda-detail-actions-compact[data-merged-actions="1"]{
  display:flex!important;
  position:absolute!important;
  top:var(--agenda-actions-top,128px)!important;
  right:12px!important;
  z-index:75!important;
  width:auto!important;
  margin:0!important;
  padding:0!important;
  gap:5px!important;
  align-items:center!important;
  flex-wrap:nowrap!important;
  background:transparent!important;
  border:0!important;
  box-shadow:none!important;
}
.agenda-v31-details.drawer-open .agenda-detail-actions-compact.agenda-native-actions-bar > button,
.agenda-v31-details.drawer-open .agenda-detail-actions-compact.agenda-native-actions-bar > a{
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  min-height:29px!important;
  height:29px!important;
  padding:0 8px!important;
  border:1px solid #cbd8e6!important;
  border-radius:7px!important;
  background:#fff!important;
  color:#24364b!important;
  font-size:7.2px!important;
  font-weight:750!important;
  line-height:1!important;
  text-decoration:none!important;
  white-space:nowrap!important;
  cursor:pointer!important;
  box-shadow:0 1px 2px rgba(15,23,42,.05)!important;
}
.agenda-v31-details.drawer-open .agenda-detail-actions-compact.agenda-native-actions-bar > button:hover,
.agenda-v31-details.drawer-open .agenda-detail-actions-compact.agenda-native-actions-bar > a:hover{
  background:#f6f9fc!important;
  border-color:#9fb8d2!important;
}
.agenda-v31-details.drawer-open .agenda-detail-actions-compact.agenda-native-actions-bar .agenda-action-edit{
  border-color:#9dc4ee!important;background:#f5faff!important;color:#245a8d!important;
}
.agenda-v31-details.drawer-open .agenda-detail-actions-compact.agenda-native-actions-bar .agenda-action-google{
  border-color:#b7cfef!important;background:#f7fbff!important;color:#1f5d9a!important;
}
.agenda-v31-details.drawer-open .agenda-detail-actions-compact.agenda-native-actions-bar .agenda-action-complete{
  border-color:#a9dcc1!important;background:#f3fcf7!important;color:#176b42!important;
}
.agenda-v31-details.drawer-open .agenda-detail-actions-compact.agenda-native-actions-bar .agenda-action-delete{
  border-color:#efb8b5!important;background:#fff7f6!important;color:#b42318!important;
}

/* Reserva espaço no cartão para que as ações não cubram metadados. */
.agenda-v31-details.drawer-open .premium-appointment-card .appointment-content{
  padding-bottom:48px!important;
}

@media(max-width:980px){
  .agenda-v31-details.drawer-open .agenda-detail-actions-compact.agenda-native-actions-bar,
  .agenda-v31-details.drawer-open .agenda-detail-actions-compact[data-merged-actions="1"]{
    right:8px!important;
    gap:3px!important;
  }
  .agenda-v31-details.drawer-open .agenda-detail-actions-compact.agenda-native-actions-bar > button,
  .agenda-v31-details.drawer-open .agenda-detail-actions-compact.agenda-native-actions-bar > a{
    padding:0 6px!important;font-size:6.8px!important;
  }
}
