/* Vchat Core 0.67.04 — responsive controls for the Agenda booking editor ONLY.
   Safely scoped to the standalone booking form in the Agenda modal.
   Does not change CRM, Inbox, Meta channels, other modals or form handlers. */
#vchat-frontend-app.vchat-frontend-app #vchat-modal.vchat-agenda-modal-active.is-open:has(.vchat-booking-standalone-form) #vchat-modal-body .vchat-booking-standalone-form,
#vchat-frontend-app.vchat-frontend-app #vchat-modal.vchat-agenda-modal-active.is-open:has(.vchat-booking-standalone-form) #vchat-modal-body .vchat-booking-standalone-form *{
  box-sizing:border-box!important;
}
#vchat-frontend-app.vchat-frontend-app #vchat-modal.vchat-agenda-modal-active.is-open:has(.vchat-booking-standalone-form) #vchat-modal-body .vchat-booking-standalone-form{
  width:100%!important;
  max-width:100%!important;
  min-width:0!important;
  margin:0!important;
  padding:0!important;
  overflow:visible!important;
}
#vchat-frontend-app.vchat-frontend-app #vchat-modal.vchat-agenda-modal-active.is-open:has(.vchat-booking-standalone-form) #vchat-modal-body .vchat-booking-standalone-form>.vchat-form-grid{
  display:grid!important;
  grid-template-columns:repeat(2,minmax(0,1fr))!important;
  column-gap:14px!important;
  row-gap:15px!important;
  width:100%!important;
  max-width:100%!important;
  min-width:0!important;
  margin:0!important;
  align-items:start!important;
}
#vchat-frontend-app.vchat-frontend-app #vchat-modal.vchat-agenda-modal-active.is-open:has(.vchat-booking-standalone-form) #vchat-modal-body .vchat-booking-standalone-form>.vchat-form-grid>label{
  display:flex!important;
  flex-direction:column!important;
  justify-content:flex-start!important;
  align-items:stretch!important;
  gap:7px!important;
  min-width:0!important;
  max-width:100%!important;
  width:100%!important;
  margin:0!important;
  padding:0!important;
  text-align:left!important;
  font:750 12px/1.4 Inter,system-ui,sans-serif!important;
  color:#34304e!important;
}
#vchat-frontend-app.vchat-frontend-app #vchat-modal.vchat-agenda-modal-active.is-open:has(.vchat-booking-standalone-form) #vchat-modal-body .vchat-booking-standalone-form>.vchat-form-grid>label.vchat-field-full{
  grid-column:1/-1!important;
}
#vchat-frontend-app.vchat-frontend-app #vchat-modal.vchat-agenda-modal-active.is-open:has(.vchat-booking-standalone-form) #vchat-modal-body .vchat-booking-standalone-form>.vchat-form-grid>label>:is(select,input:not([type="radio"]),textarea){
  display:block!important;
  flex:0 1 auto!important;
  width:100%!important;
  max-width:100%!important;
  min-width:0!important;
  margin:0!important;
  border-radius:12px!important;
  border:1px solid #dad5ed!important;
  background-color:#fff!important;
  color:#25213e!important;
  box-shadow:none!important;
  font:550 14px/1.4 Inter,system-ui,sans-serif!important;
}
#vchat-frontend-app.vchat-frontend-app #vchat-modal.vchat-agenda-modal-active.is-open:has(.vchat-booking-standalone-form) #vchat-modal-body .vchat-booking-standalone-form>.vchat-form-grid>label>select{
  height:46px!important;
  min-height:46px!important;
  padding:10px 38px 10px 13px!important;
  white-space:nowrap!important;
  overflow:hidden!important;
  text-overflow:ellipsis!important;
  appearance:none!important;
  -webkit-appearance:none!important;
  background-image:linear-gradient(45deg,transparent 50%,#6857db 50%),linear-gradient(135deg,#6857db 50%,transparent 50%)!important;
  background-position:calc(100% - 20px) 50%,calc(100% - 15px) 50%!important;
  background-size:5px 5px,5px 5px!important;
  background-repeat:no-repeat!important;
  cursor:pointer!important;
}
#vchat-frontend-app.vchat-frontend-app #vchat-modal.vchat-agenda-modal-active.is-open:has(.vchat-booking-standalone-form) #vchat-modal-body .vchat-booking-standalone-form>.vchat-form-grid>label>input:not([type="radio"]){
  height:46px!important;
  min-height:46px!important;
  padding:10px 13px!important;
}
#vchat-frontend-app.vchat-frontend-app #vchat-modal.vchat-agenda-modal-active.is-open:has(.vchat-booking-standalone-form) #vchat-modal-body .vchat-booking-standalone-form>.vchat-form-grid>label>input[type="datetime-local"]{
  min-width:0!important;
  line-height:24px!important;
  color-scheme:light!important;
}
#vchat-frontend-app.vchat-frontend-app #vchat-modal.vchat-agenda-modal-active.is-open:has(.vchat-booking-standalone-form) #vchat-modal-body .vchat-booking-standalone-form>.vchat-form-grid>label>textarea{
  height:auto!important;
  min-height:94px!important;
  padding:12px 13px!important;
  white-space:pre-wrap!important;
  resize:vertical!important;
}
#vchat-frontend-app.vchat-frontend-app #vchat-modal.vchat-agenda-modal-active.is-open:has(.vchat-booking-standalone-form) #vchat-modal-body .vchat-booking-standalone-form>.vchat-form-grid>label>:is(select,input:not([type="radio"]),textarea):focus-visible{
  outline:2px solid rgba(103,86,220,.22)!important;
  outline-offset:1px!important;
  border-color:#7968e5!important;
}
/* Both visibility choices share one compact row on desktop, instead of tall full-width tiles. */
#vchat-frontend-app.vchat-frontend-app #vchat-modal.vchat-agenda-modal-active.is-open:has(.vchat-booking-standalone-form) #vchat-modal-body .vchat-booking-standalone-form>.vchat-form-grid>fieldset.vchat-reservation-visibility{
  grid-column:1/-1!important;
  display:grid!important;
  grid-template-columns:repeat(2,minmax(0,1fr))!important;
  gap:10px!important;
  min-width:0!important;
  width:100%!important;
  max-width:100%!important;
  margin:2px 0 0!important;
  padding:13px!important;
  border:1px solid #e4dff3!important;
  border-radius:14px!important;
  background:#f8f7fd!important;
}
#vchat-frontend-app.vchat-frontend-app #vchat-modal.vchat-agenda-modal-active.is-open:has(.vchat-booking-standalone-form) #vchat-modal-body .vchat-booking-standalone-form>.vchat-form-grid>fieldset.vchat-reservation-visibility>legend{
  display:block!important;
  width:auto!important;
  max-width:100%!important;
  margin:0!important;
  padding:0 6px!important;
  font:800 12px/1.4 Inter,system-ui,sans-serif!important;
  color:#30294a!important;
  text-align:left!important;
}
#vchat-frontend-app.vchat-frontend-app #vchat-modal.vchat-agenda-modal-active.is-open:has(.vchat-booking-standalone-form) #vchat-modal-body .vchat-booking-standalone-form>.vchat-form-grid>fieldset.vchat-reservation-visibility>label{
  display:flex!important;
  flex-direction:row!important;
  grid-template-columns:none!important;
  align-items:center!important;
  justify-content:flex-start!important;
  gap:11px!important;
  width:100%!important;
  min-width:0!important;
  max-width:100%!important;
  min-height:73px!important;
  padding:12px!important;
  margin:0!important;
  text-align:left!important;
  border:1px solid #e0dcef!important;
  border-radius:12px!important;
  background:#fff!important;
  cursor:pointer!important;
  transition:border-color .15s ease,background-color .15s ease!important;
}
#vchat-frontend-app.vchat-frontend-app #vchat-modal.vchat-agenda-modal-active.is-open:has(.vchat-booking-standalone-form) #vchat-modal-body .vchat-booking-standalone-form>.vchat-form-grid>fieldset.vchat-reservation-visibility>label:has(>input[type="radio"]:checked){
  border-color:#8c7aec!important;
  background:#f4f1ff!important;
}
#vchat-frontend-app.vchat-frontend-app #vchat-modal.vchat-agenda-modal-active.is-open:has(.vchat-booking-standalone-form) #vchat-modal-body .vchat-booking-standalone-form>.vchat-form-grid>fieldset.vchat-reservation-visibility>label>input[type="radio"]{
  display:block!important;
  position:static!important;
  flex:0 0 18px!important;
  align-self:center!important;
  width:18px!important;
  max-width:18px!important;
  height:18px!important;
  min-height:18px!important;
  margin:0!important;
  padding:0!important;
  appearance:auto!important;
  -webkit-appearance:radio!important;
  accent-color:#6958e7!important;
  cursor:pointer!important;
}
#vchat-frontend-app.vchat-frontend-app #vchat-modal.vchat-agenda-modal-active.is-open:has(.vchat-booking-standalone-form) #vchat-modal-body .vchat-booking-standalone-form>.vchat-form-grid>fieldset.vchat-reservation-visibility>label>span{
  display:flex!important;
  flex:1 1 auto!important;
  flex-direction:column!important;
  justify-content:center!important;
  gap:4px!important;
  width:auto!important;
  min-width:0!important;
  margin:0!important;
  text-align:left!important;
}
#vchat-frontend-app.vchat-frontend-app #vchat-modal.vchat-agenda-modal-active.is-open:has(.vchat-booking-standalone-form) #vchat-modal-body .vchat-booking-standalone-form>.vchat-form-grid>fieldset.vchat-reservation-visibility>label>span>strong{
  display:block!important;
  font:800 12px/1.35 Inter,system-ui,sans-serif!important;
  color:#30294a!important;
}
#vchat-frontend-app.vchat-frontend-app #vchat-modal.vchat-agenda-modal-active.is-open:has(.vchat-booking-standalone-form) #vchat-modal-body .vchat-booking-standalone-form>.vchat-form-grid>fieldset.vchat-reservation-visibility>label>span>small{
  display:block!important;
  margin:0!important;
  font:450 11px/1.4 Inter,system-ui,sans-serif!important;
  color:#77718e!important;
  overflow-wrap:anywhere!important;
}
@media(max-width:680px){
  #vchat-frontend-app.vchat-frontend-app #vchat-modal.vchat-agenda-modal-active.is-open:has(.vchat-booking-standalone-form) #vchat-modal-body .vchat-booking-standalone-form>.vchat-form-grid{
    grid-template-columns:minmax(0,1fr)!important;
    gap:13px!important;
  }
  #vchat-frontend-app.vchat-frontend-app #vchat-modal.vchat-agenda-modal-active.is-open:has(.vchat-booking-standalone-form) #vchat-modal-body .vchat-booking-standalone-form>.vchat-form-grid>fieldset.vchat-reservation-visibility{
    grid-template-columns:minmax(0,1fr)!important;
    padding:11px!important;
    gap:8px!important;
  }
  #vchat-frontend-app.vchat-frontend-app #vchat-modal.vchat-agenda-modal-active.is-open:has(.vchat-booking-standalone-form) #vchat-modal-body .vchat-booking-standalone-form>.vchat-form-grid>fieldset.vchat-reservation-visibility>label{
    min-height:62px!important;
    padding:10px 12px!important;
  }
}
