/* Interaction stability: only dedicated spinners animate during async button work. */
@keyframes mshDedicatedSpinner{to{transform:rotate(360deg)}}

#calendarEditSystemEvent[aria-busy="true"]>svg{
  display:none!important;
  animation:none!important;
  transform:none!important;
}
#calendarEditSystemEvent[aria-busy="true"]::before{
  content:"";
  display:inline-block;
  width:16px;
  height:16px;
  flex:0 0 16px;
  border:2px solid currentColor;
  border-right-color:transparent;
  border-radius:50%;
  animation:mshDedicatedSpinner .72s linear infinite!important;
}
#calendarEditSystemEvent:not([aria-busy="true"])::before{content:none!important}

/* Selected tokens never behave like implicit text input content. */
#eventDialog #selectedWorks,
#eventDialog #selectedPeople{
  user-select:none;
}
#eventDialog #workResults[hidden],
#eventDialog #personResults[hidden]{display:none!important}

@media(prefers-reduced-motion:reduce){
  #calendarEditSystemEvent[aria-busy="true"]::before{animation-duration:1.4s!important}
}
