/* ZAUZMI — therapist-wide parallel capacity: prevent implicit named grid tracks.
   Solo staff cards append .solo-calendar-color-mode and intentionally use
   "parallel" / "capacity" / "color" grid areas. Other cards DO NOT define
   those areas, so inherited grid-area declarations pushed both controls into
   implicit tracks beyond the right edge of the card. */
#settings #organizationUsersCard
.calendar-staff-card > .therapist-global-parallel-card:not(:has(> .solo-calendar-color-mode)){
  display:grid!important;
  grid-template-areas:none!important;
  grid-template-columns:minmax(0,1fr) minmax(220px,300px)!important;
  align-items:center!important;
  align-content:start!important;
  justify-items:stretch!important;
  column-gap:18px!important;
  row-gap:8px!important;
  min-width:0!important;
  max-width:100%!important;
  width:100%!important;
  overflow:visible!important;
  padding:12px 14px!important;
  box-sizing:border-box!important;
}
#settings #organizationUsersCard
.calendar-staff-card > .therapist-global-parallel-card:not(:has(> .solo-calendar-color-mode))
> .therapist-global-parallel-toggle{
  grid-area:auto!important;
  grid-column:1!important;
  grid-row:1!important;
  min-width:0!important;
  width:100%!important;
  max-width:100%!important;
  margin:0!important;
  display:flex!important;
  align-items:flex-start!important;
  gap:9px!important;
  position:static!important;
}
#settings #organizationUsersCard
.calendar-staff-card > .therapist-global-parallel-card:not(:has(> .solo-calendar-color-mode))
> .therapist-global-parallel-toggle > span{
  display:grid!important;
  gap:4px!important;
  min-width:0!important;
  width:auto!important;
  overflow-wrap:break-word!important;
}
#settings #organizationUsersCard
.calendar-staff-card > .therapist-global-parallel-card:not(:has(> .solo-calendar-color-mode))
> .therapist-global-capacity-config{
  grid-area:auto!important;
  grid-column:2!important;
  grid-row:1!important;
  width:100%!important;
  min-width:0!important;
  max-width:100%!important;
  justify-self:stretch!important;
  align-self:center!important;
  margin:0!important;
  padding:0!important;
  border-top:0!important;
  box-sizing:border-box!important;
}
#settings #organizationUsersCard
.calendar-staff-card > .therapist-global-parallel-card:not(:has(> .solo-calendar-color-mode))
> .therapist-global-capacity-config.is-hidden{
  display:none!important;
}
#settings #organizationUsersCard
.calendar-staff-card > .therapist-global-parallel-card:not(:has(> .solo-calendar-color-mode))
> .therapist-global-capacity-config > .therapist-capacity-label,
#settings #organizationUsersCard
.calendar-staff-card > .therapist-global-parallel-card:not(:has(> .solo-calendar-color-mode))
> .therapist-global-capacity-config > small{
  white-space:normal!important;
  overflow-wrap:break-word!important;
}
@media(max-width:1100px){
  #settings #organizationUsersCard
  .calendar-staff-card > .therapist-global-parallel-card:not(:has(> .solo-calendar-color-mode)){
    grid-template-columns:minmax(0,1fr)!important;
    row-gap:10px!important;
  }
  #settings #organizationUsersCard
  .calendar-staff-card > .therapist-global-parallel-card:not(:has(> .solo-calendar-color-mode))
  > .therapist-global-capacity-config{
    grid-area:auto!important;
    grid-column:1!important;
    grid-row:2!important;
    max-width:420px!important;
    justify-self:start!important;
  }
}
@media(max-width:620px){
  #settings #organizationUsersCard
  .calendar-staff-card > .therapist-global-parallel-card:not(:has(> .solo-calendar-color-mode)){
    padding:11px!important;
    column-gap:0!important;
  }
  #settings #organizationUsersCard
  .calendar-staff-card > .therapist-global-parallel-card:not(:has(> .solo-calendar-color-mode))
  > .therapist-global-capacity-config{
    max-width:100%!important;
  }
}

/* 2026-10-13 — readable employee fields and parallel capacity controls.
   The solo color-mode layout remains unchanged. */
@media(min-width:901px){
  #settings #organizationUsersCard .calendar-staff-card .calendar-staff-identity{
    width:100%!important;
    max-width:900px!important;
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
    column-gap:12px!important;
    min-width:0!important;
  }
  #settings #organizationUsersCard .calendar-staff-card .calendar-staff-identity label,
  #settings #organizationUsersCard .calendar-staff-card .calendar-staff-identity input{
    min-width:0!important;
    width:100%!important;
    max-width:100%!important;
    box-sizing:border-box!important;
  }
}
@media(min-width:1101px){
  #settings #organizationUsersCard
  .calendar-staff-card > .therapist-global-parallel-card:not(:has(> .solo-calendar-color-mode)){
    grid-template-columns:minmax(0,1fr) minmax(330px,360px)!important;
    column-gap:24px!important;
  }
}
#settings #organizationUsersCard
.calendar-staff-card > .therapist-global-parallel-card:not(:has(> .solo-calendar-color-mode))
> .therapist-global-parallel-toggle > span strong{
  font-size:12px!important;
  line-height:1.35!important;
}
#settings #organizationUsersCard
.calendar-staff-card > .therapist-global-parallel-card:not(:has(> .solo-calendar-color-mode))
> .therapist-global-parallel-toggle > span small{
  font-size:10px!important;
  line-height:1.5!important;
}
#settings #organizationUsersCard
.calendar-staff-card > .therapist-global-parallel-card:not(:has(> .solo-calendar-color-mode))
> .therapist-global-capacity-config:not(.is-hidden){
  display:grid!important;
  grid-template-columns:minmax(0,1fr) 86px!important;
  grid-template-areas:"label control" "hint control"!important;
  align-items:center!important;
  justify-content:stretch!important;
  gap:4px 12px!important;
  padding:0!important;
  border:0!important;
  margin:0!important;
  min-width:0!important;
}
#settings #organizationUsersCard
.calendar-staff-card > .therapist-global-parallel-card:not(:has(> .solo-calendar-color-mode))
> .therapist-global-capacity-config > .therapist-capacity-label{
  grid-area:label!important;
  align-self:end!important;
  font-size:12px!important;
  font-weight:700!important;
  line-height:1.3!important;
  white-space:normal!important;
  color:#3d5770!important;
}
#settings #organizationUsersCard
.calendar-staff-card > .therapist-global-parallel-card:not(:has(> .solo-calendar-color-mode))
> .therapist-global-capacity-config > small{
  grid-area:hint!important;
  align-self:start!important;
  font-size:10px!important;
  line-height:1.35!important;
  color:#72879b!important;
}
#settings #organizationUsersCard
.calendar-staff-card > .therapist-global-parallel-card:not(:has(> .solo-calendar-color-mode))
> .therapist-global-capacity-config > .therapist-capacity-control{
  grid-area:control!important;
  justify-self:end!important;
  align-self:center!important;
  width:86px!important;
  min-width:86px!important;
  height:38px!important;
  min-height:38px!important;
}
#settings #organizationUsersCard
.calendar-staff-card > .therapist-global-parallel-card:not(:has(> .solo-calendar-color-mode))
> .therapist-global-capacity-config .therapist-capacity-trigger{
  width:86px!important;
  min-width:86px!important;
  height:38px!important;
  min-height:38px!important;
  font-size:12px!important;
}
@media(max-width:1100px){
  #settings #organizationUsersCard
  .calendar-staff-card > .therapist-global-parallel-card:not(:has(> .solo-calendar-color-mode))
  > .therapist-global-capacity-config:not(.is-hidden){
    max-width:360px!important;
  }
}
@media(max-width:620px){
  #settings #organizationUsersCard
  .calendar-staff-card > .therapist-global-parallel-card:not(:has(> .solo-calendar-color-mode))
  > .therapist-global-capacity-config:not(.is-hidden){
    max-width:100%!important;
  }
  #settings #organizationUsersCard
  .calendar-staff-card > .therapist-global-parallel-card:not(:has(> .solo-calendar-color-mode))
  > .therapist-global-capacity-config > .therapist-capacity-label{
    font-size:11px!important;
  }
}
