
.staff-toolbar,.staff-heading,.staff-week-title{display:flex;align-items:center;justify-content:space-between;gap:16px}.staff-toolbar{margin-bottom:22px}.staff-heading{margin-bottom:24px}.staff-identity{display:flex;gap:16px;align-items:center;min-width:0}.staff-identity h2{font-size:clamp(22px,3vw,30px);margin:0 0 6px;overflow-wrap:anywhere}.staff-identity p{margin:0 0 10px;overflow-wrap:anywhere}.staff-tabs{display:flex;gap:6px;padding:5px;background:#e9efed;border-radius:12px;margin-bottom:24px;width:fit-content;max-width:100%}.staff-tabs button{background:transparent;padding:10px 20px;border-radius:8px;color:var(--muted)}.staff-tabs .selected{background:#fff;color:var(--teal);box-shadow:0 1px 3px #16383e12}.staff-week-title h3{margin:4px 0;font-size:20px}.staff-week-title .eyebrow{margin:0}.staff-summary{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;padding:24px 0}.staff-summary span{display:block;color:var(--muted);font-size:12px;margin-bottom:8px}.staff-summary strong{font-size:24px;font-weight:600}.staff-calendar{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:8px}.staff-day{display:flex;flex-direction:column;align-items:center;gap:9px;padding:15px 4px;border:1px solid var(--line);border-radius:12px;background:#fff;min-width:0;color:var(--ink)}.staff-day span{font-size:12px;color:var(--muted)}.staff-day b{font-size:22px}.staff-day strong{font-size:12px;font-weight:500;white-space:nowrap}.staff-day.selected{background:var(--teal);border-color:var(--teal);color:#fff}.staff-day.selected span{color:#dae5e2}.staff-day.today:not(.selected){border-color:var(--teal)}.staff-day i{font-style:normal;font-size:10px;color:var(--red)}.staff-day.selected i{color:#fff}.staff-shift{display:flex;align-items:center;gap:20px;justify-content:space-between;padding:20px 0;border-top:1px solid var(--line)}.staff-shift:first-child{border-top:0}.staff-shift-main{min-width:0}.staff-shift h4{font-size:16px;margin:0 0 8px}.staff-shift p{font-size:13px;line-height:1.6;color:var(--muted);margin:3px 0;overflow-wrap:anywhere}.staff-shift-side{display:flex;align-items:center;gap:16px;flex-shrink:0}.staff-shift-side strong{font-size:18px}.staff-profile-panel{max-width:760px}.staff-profile-panel form{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 20px;margin-top:24px}.staff-profile-panel form button{grid-column:1/-1}.staff-device-status{font-size:12px;color:var(--green)}#staffShiftEditor input{min-width:0;width:100%;max-width:100%}#staffError:empty,#staffShiftError:empty{display:none}.staff-hours-note{color:var(--muted);font-size:12px;margin:8px 0}
@media(max-width:700px){.staff-heading{align-items:flex-start;flex-wrap:wrap}.staff-heading>.primary{width:100%}.staff-week-title{align-items:flex-start;flex-wrap:wrap}.staff-week-title .button-row{width:100%;justify-content:space-between}.staff-calendar{gap:4px}.staff-day{border-radius:8px;gap:7px;padding:12px 1px}.staff-day span{font-size:10px}.staff-day b{font-size:17px}.staff-day strong{font-size:9px;letter-spacing:-.3px}.staff-day i{font-size:8px}.staff-tabs{width:100%}.staff-tabs button{flex:1;padding:9px 8px}.staff-summary{gap:10px}.staff-summary strong{font-size:21px}.staff-summary span{font-size:11px}.staff-shift{gap:12px;align-items:flex-start}.staff-shift-side{flex-direction:column;gap:10px;align-items:flex-end}.staff-shift h4{font-size:14px}.staff-profile-panel form{grid-template-columns:1fr}.staff-identity .avatar{flex-shrink:0}}


.person-photo-editor{display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin-bottom:20px}.person-photo-editor label{cursor:pointer;margin:0}.person-photo-editor .avatar{width:56px;height:56px;flex-shrink:0}.person-photo-editor img{width:100%;height:100%;object-fit:cover}

.staff-delete{color:#943d32!important}#staffDeleted{margin:16px 0}#staffDeleted summary{cursor:pointer;font-weight:600;padding:12px 0}#staffDeleteHint{overflow-wrap:anywhere}
