.technician-avatar{position:relative;display:inline-grid;place-items:center;flex:0 0 auto;width:40px;height:40px;overflow:hidden;border:2px solid #fff;border-radius:50%;background:#e4edf8;color:#234966;box-shadow:0 0 0 1px #cbd9e6;vertical-align:middle;font-style:normal}
.technician-avatar b{display:grid;place-items:center;position:absolute;inset:0;font:700 12px/1 system-ui}
.technician-avatar img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;background:#fff}
#calendarSurface .schedule-visit .technician-avatars{display:inline-flex;position:relative;align-items:center;float:left;margin:0 5px 2px 0;overflow:visible;line-height:1;white-space:nowrap}
.schedule-visit .technician-avatars .technician-avatar{display:inline-grid;width:22px;height:22px;border-width:1px;overflow:hidden;box-shadow:none;text-overflow:clip}
.schedule-visit .technician-avatar b{font-size:8px}
.schedule-visit .technician-avatar+.technician-avatar{margin-left:-7px}
.schedule-visit .technician-avatar-more{font:700 8px/1 system-ui;background:#edf2f7}
#calendarSurface .timeline-event .timeline-visit-heading{display:flex;align-items:center;gap:3px;min-height:16px;overflow:hidden;margin-bottom:1px}
#calendarSurface .timeline-event .timeline-visit-heading time{flex:none;font-size:10px;line-height:14px;white-space:nowrap}
#calendarSurface .timeline-event .technician-avatars{float:none;margin:0;flex:none}
#calendarSurface .timeline-event .technician-avatar{width:16px;height:16px}
#calendarSurface .timeline-event .technician-avatar b{font-size:6px}
#calendarSurface .timeline-event .technician-avatar+.technician-avatar{margin-left:-5px}
@media(max-width:360px){
  #calendarSurface .timeline-event{padding-left:4px}
  #calendarSurface .timeline-event:has(>.schedule-move-handle){padding-right:58px}
  #calendarSurface .timeline-event .timeline-visit-heading{gap:2px}
  #calendarSurface .timeline-event .timeline-visit-heading time{font-size:9px}
  #calendarSurface .timeline-event .technician-avatar{width:14px;height:14px}
  #calendarSurface .timeline-event .technician-avatar:not(:first-child){display:none}
  #calendarSurface .timeline-event .technician-avatars:not([data-extra="0"]){margin-right:3px}
  #calendarSurface .timeline-event .technician-avatars:not([data-extra="0"])::after{content:'+' attr(data-extra);position:absolute;right:-5px;bottom:-1px;padding:1px;border-radius:5px;background:#fff;color:#284861;font:700 6px/1 system-ui}
}
.timeline-day-head>.technician-avatar{width:28px;height:28px;margin:0 auto 3px}
.timeline-day-head>.technician-avatar b{font-size:10px}
.mobile-calendar-visit .technician-avatars{float:right;margin:0 0 5px 6px}
.mobile-calendar-visit .technician-avatars .technician-avatar{width:28px;height:28px}
.mobile-calendar-visit .technician-avatar b{font-size:10px}
.staff-access-row .staff-photo-edit{min-height:36px;margin-top:7px;padding:6px 10px;font-size:12px}
.staff-photo-dialog{width:min(420px,calc(100% - 24px));max-height:calc(100vh - 24px);max-height:calc(100dvh - 24px);padding:0;border:1px solid #cedbe5;border-radius:18px;background:#fff;color:#183349;box-shadow:0 20px 60px #10283944;overflow:auto}
.staff-photo-dialog::backdrop{background:#17334c66}
.staff-photo-dialog[open]{display:flex;flex-direction:column;overflow:hidden}
.staff-photo-dialog>header,.staff-photo-dialog>footer{flex-shrink:0}
.staff-photo-dialog>header{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:16px 18px;border-bottom:1px solid #d9e3ec;background:#edf4fb}
.staff-photo-dialog h2{font-size:19px;margin:0}
.staff-photo-dialog [data-photo-close]{display:grid;place-items:center;flex:none;width:44px;height:44px;padding:0;background:#fff;color:#26445b;border:1px solid #bacbda;border-radius:12px}
.staff-photo-dialog [data-photo-close] svg{width:20px;height:20px;stroke:currentColor;stroke-width:2}
.staff-photo-body{display:grid;grid-auto-rows:min-content;gap:14px;padding:18px;min-height:0;overflow-y:auto}
.staff-photo-preview{display:grid;place-items:center;width:160px;height:160px;margin:0 auto;border:1px solid #c5d4e2;border-radius:50%;overflow:hidden;background:#e9f0f8;color:#29485f}
.staff-photo-preview img{width:100%;height:100%;object-fit:cover}
.staff-photo-body p{margin:0;font-size:14px;line-height:1.5}
.staff-photo-body [data-photo-name]{text-align:center;font-weight:700}
.staff-photo-body input[type=file]{width:100%;min-width:0;font-size:14px}
.staff-photo-body input::file-selector-button{min-height:44px;padding:8px 12px;margin-right:8px;border:1px solid #b7cadd;border-radius:10px;background:#edf4fb;color:#23445e}
.staff-photo-body [data-photo-message]{color:#ad203c}
.staff-photo-dialog>footer{display:flex;gap:10px;flex-wrap:wrap;padding:16px 18px;border-top:1px solid #d9e3ec}
.staff-photo-dialog>footer .button{min-height:44px;flex:1 1 140px}
.staff-photo-dialog [hidden]{display:none!important}
