.bp-calendar-event-stack{
  overflow:visible;
  transition:left .12s ease,right .12s ease,box-shadow .12s ease,transform .12s ease;
}

.bp-calendar-event.bp-calendar-event-stack{
  overflow:visible;
  border-top-left-radius:0;
  border-bottom-left-radius:0;
}

.bp-calendar-event-stack:hover{
  box-shadow:0 7px 18px rgba(48,74,60,.15);
}

.bp-calendar-event-promoted{
  z-index:200!important;
  box-shadow:0 12px 26px rgba(48,74,60,.2)!important;
  outline:none;
}

.bp-calendar-event-promoted .bp-calendar-event-head strong{
  font-size:12px;
  white-space:normal;
}

.bp-calendar-event-promoted .bp-calendar-event-head span{
  display:inline-block;
}

.bp-calendar-event-promoted .bp-calendar-event-location{
  display:block;
}

.bp-calendar-event-stack::before{
  content:"";
  position:absolute;
  inset:0 auto 0 0;
  width:3px;
  background:currentColor;
  opacity:.08;
  pointer-events:none;
}

.bp-calendar-stack-client{
  appearance:none;
  border:1px solid rgba(255,255,255,.82);
  position:absolute;
  z-index:12;
  left:calc(-1 * var(--bp-stack-tab-width,18px));
  top:-1px;
  bottom:-1px;
  width:var(--bp-stack-strip-width,12px);
  display:flex;
  align-items:center;
  justify-content:center;
  overflow:visible;
  padding:2px 0;
  border-radius:0 999px 999px 0;
  background:var(--bp-stack-tab-color,#8db99b);
  color:var(--bp-stack-tab-text,#244b35);
  font:inherit;
  font-size:10px;
  font-weight:900;
  line-height:1;
  letter-spacing:.02em;
  writing-mode:vertical-rl;
  transform:rotate(180deg);
  white-space:nowrap;
  text-overflow:ellipsis;
  cursor:pointer;
  pointer-events:auto;
  touch-action:manipulation;
  transition:filter .12s ease,box-shadow .12s ease;
}

.bp-calendar-stack-client-name{
  display:block;
  max-width:100%;
  max-height:100%;
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
}

.bp-calendar-stack-employee-pills{
  position:absolute;
  left:50%;
  bottom:21px;
  display:flex;
  flex-direction:column;
  align-items:center;
  gap:8px;
  overflow:visible;
  pointer-events:none;
  transform:translateX(-50%);
  writing-mode:horizontal-tb;
}

.bp-calendar-stack-employee-pill{
  display:block;
  width:16px;
  height:10px;
  flex:0 0 10px;
  border:1px solid rgba(255,255,255,.9);
  border-radius:999px;
  background:var(--employee-color);
  transform:rotate(90deg);
}

.bp-calendar-event-stack:not(.bp-calendar-event-stack-behind) .bp-calendar-stack-employee-pills{
  display:none;
}

.bp-calendar-stack-client:hover,
.bp-calendar-stack-client:focus-visible{
  filter:brightness(1.12);
  box-shadow:0 0 0 2px rgba(255,255,255,.9);
  outline:none;
}

.bp-calendar-event.atelier .bp-calendar-stack-client{
  --bp-stack-tab-color:#f0bd86;
  --bp-stack-tab-text:#633810;
}

.bp-calendar-event.sav .bp-calendar-stack-client{
  --bp-stack-tab-color:#e4aaa2;
  --bp-stack-tab-text:#743b34;
}

.bp-calendar-event.bureau .bp-calendar-stack-client{
  --bp-stack-tab-color:#a3cbd2;
  --bp-stack-tab-text:#245967;
}

.bp-calendar-event.rdv .bp-calendar-stack-client{
  --bp-stack-tab-color:#b3a0ca;
  --bp-stack-tab-text:#48355f;
}

.bp-calendar-stack-client[hidden]{
  display:none!important;
}

.bp-calendar-event{
  isolation:isolate;
}

.bp-calendar-event-content{
  position:relative;
  z-index:2;
}

.bp-calendar-event.bp-calendar-event-stack>.bp-calendar-event-content{
  overflow:hidden;
  padding-left:5px;
}

.bp-calendar-time-zones{
  position:absolute;
  inset:0;
  z-index:0;
  overflow:hidden;
  border-radius:inherit;
  pointer-events:none;
}

.bp-calendar-time-zone{
  position:absolute;
  left:0;
  right:0;
  display:flex;
  align-items:center;
  justify-content:flex-end;
  min-height:2px;
  overflow:hidden;
  padding:0 5px;
  font-style:normal;
  pointer-events:none;
}

.bp-calendar-time-zone span{
  max-width:100%;
  overflow:hidden;
  color:rgba(35,70,52,.72);
  font-size:8px;
  font-weight:900;
  line-height:1;
  text-overflow:ellipsis;
  white-space:nowrap;
}

.bp-calendar-time-zone.travel{
  background:rgba(86,139,171,.20);
}

.bp-calendar-time-zone.travel.outbound{
  border-bottom:1px solid rgba(70,120,151,.28);
}

.bp-calendar-time-zone.travel.return{
  border-top:1px solid rgba(70,120,151,.28);
}

.bp-calendar-time-zone.meal{
  background:rgba(226,174,84,.24);
  border-top:1px dashed rgba(171,117,31,.34);
  border-bottom:1px dashed rgba(171,117,31,.34);
}

.bp-calendar-time-zone.meal span{
  color:rgba(130,84,22,.82);
}

.bp-calendar-event.has-employee-rails .bp-calendar-event-content{
  z-index:2;
}

.bp-calendar-event .bp-employee-rails{
  z-index:4;
}

.bp-calendar-event.bp-calendar-event-stack.has-employee-rails>.bp-employee-rails{
  left:2px;
  border-radius:0;
}
