/* The customer and staff directories share the application's light/dark palette. */
.people-metrics{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin:0 0 26px}
.people-metric{display:flex;align-items:center;gap:15px;padding:22px;border:1px solid var(--border);border-radius:var(--radius);background:var(--surface);box-shadow:var(--shadow)}
.people-metric-icon{display:grid;place-items:center;align-self:flex-start;flex-shrink:0;width:42px;height:42px;border-radius:13px;background:var(--primary-soft);color:var(--primary-text)}
.people-metric:nth-child(2) .people-metric-icon{background:var(--purple-soft);color:var(--purple)}
.people-metric:nth-child(3) .people-metric-icon{background:var(--blue-soft);color:var(--blue)}
.people-metric>div{display:flex;flex-direction:column;min-width:0}.people-metric>div>span{font-size:12px;color:var(--muted)}
.people-metric strong{font-size:29px;font-weight:650;line-height:1.3;letter-spacing:-.045em;margin:5px 0}.people-metric small{font-size:11px;color:var(--muted)}
.people-panel{overflow:hidden}.people-panel-heading{display:flex;justify-content:space-between;align-items:center;gap:18px;padding:24px 24px 17px}
.people-panel-heading h2{font-size:17px;margin:0 0 3px}.people-panel-heading p{margin:0;font-size:11px;color:var(--muted)}
.people-result-count{font-size:11px;color:var(--muted);flex-shrink:0}.people-toolbar{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:0 24px 20px;flex-wrap:wrap}
.people-search{position:relative;flex:1 1 260px;max-width:440px;min-width:0}.people-search>svg{position:absolute;top:50%;left:13px;transform:translateY(-50%);color:var(--muted);width:18px;height:18px;pointer-events:none}
.people-search>input{display:block;width:100%;height:43px;border:1px solid var(--border-strong);border-radius:11px;padding:10px 13px 10px 40px;background:var(--surface-soft);color:var(--text);font-size:13px}
.people-search>input::placeholder{color:var(--muted)}.people-filters{display:flex;gap:4px;flex-wrap:wrap;padding:4px;border-radius:11px;background:var(--surface-soft);border:1px solid var(--border)}
.people-filter{min-height:34px;border:0;background:transparent;color:var(--muted);border-radius:8px;padding:7px 12px;font-size:11px;font-weight:600;white-space:nowrap}.people-filter:hover{color:var(--text);background:var(--surface-hover)}.people-filter.is-selected{background:var(--primary-soft);color:var(--primary-text)}
.people-sort{display:flex;align-items:center;gap:9px;color:var(--muted);font-size:11px;min-width:0}.people-sort select{max-width:100%;min-height:43px;padding:8px 12px;border:1px solid var(--border-strong);border-radius:11px;background:var(--surface-soft);color:var(--text);font:inherit;font-size:12px}.people-customer-segments{flex-basis:100%;min-width:0}.people-customer-segments .people-filters{display:flex;width:fit-content;max-width:100%}.people-filter-note{flex-basis:100%;margin:-5px 0 0;color:var(--muted);font-size:11px;line-height:1.7}.people-sort select:focus-visible,.people-customer-segments button:focus-visible{outline:2px solid var(--primary);outline-offset:2px}
@media(max-width:640px){.people-sort{width:100%;justify-content:space-between}.people-sort select{flex:1;min-width:0}.people-customer-segments .people-filters{width:100%;gap:5px}.people-customer-segments .people-filter{white-space:normal;text-align:left;min-height:40px;flex:1 1 135px}}
.people-customer{display:grid;grid-template-columns:minmax(180px,1.05fr) minmax(155px,.8fr) minmax(210px,1.15fr);gap:17px 24px;padding:22px 24px;border-top:1px solid var(--border);align-items:center}.people-customer:hover{background:var(--surface-soft)}
.people-person{display:flex;gap:12px;align-items:center;min-width:0}.people-person>div{min-width:0}.people-person h3{font-size:14px;letter-spacing:-.015em;margin:0 0 5px;overflow-wrap:anywhere}.people-visit-badge{font-size:10px;color:var(--muted)}
.people-contact{min-width:0;overflow-wrap:anywhere;font-size:12px}.people-contact>span:not(.people-mobile-label),.people-contact>small{display:block}.people-contact>small{font-size:11px;color:var(--muted);margin-top:4px}.people-mobile-label{display:none}
.people-visits{display:grid;gap:8px;font-size:11px}.people-visits>div{display:flex;justify-content:space-between;gap:10px}.people-visits>div>span:first-child{color:var(--muted);white-space:nowrap}.people-visits time{font-weight:550;text-align:right}.people-next-visit time{color:var(--primary-text)}.people-muted{color:var(--muted)}
.people-customer-note{display:flex;align-items:flex-start;gap:8px;margin:0;color:var(--muted);font-size:11px;grid-column:1/3;min-width:0}.people-customer-note svg{width:14px;height:16px}.people-customer-note span{overflow-wrap:anywhere;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.people-customer-actions{display:flex;justify-content:flex-end;gap:7px;flex-wrap:wrap;grid-column:1/-1}.people-customer-note+.people-customer-actions{grid-column:3;justify-content:flex-end}.people-customer-actions .btn{font-size:11px;min-height:34px;padding:7px 10px}.people-customer-actions .btn svg{width:15px;height:15px}
.people-empty{text-align:center;padding:48px 24px;color:var(--muted)}.people-empty>svg{width:32px;height:32px;margin-bottom:15px;color:var(--primary)}.people-empty h3{font-size:17px;margin-bottom:8px;color:var(--text)}.people-empty p{font-size:13px;max-width:450px;margin:0 auto 18px;overflow-wrap:anywhere}
.people-team-directory>.people-panel-heading{padding:0 0 18px}.people-team-directory>.people-toolbar{padding:0 0 22px}.people-staff-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(265px,1fr));gap:18px}
.people-staff-card{display:flex;flex-direction:column;min-width:0;padding:23px}.people-staff-top{display:flex;align-items:center;justify-content:space-between;margin-bottom:17px}.people-staff-top .avatar{margin:0}.people-staff-top .badge{font-size:10px}.people-staff-card>h3{font-size:18px;margin:0 0 4px;overflow-wrap:anywhere}.people-staff-card>.people-staff-title{margin:0 0 18px;font-size:12px;color:var(--muted);overflow-wrap:anywhere}
.people-staff-day{display:flex;align-items:center;gap:10px;background:var(--surface-soft);border:1px solid var(--border);border-radius:12px;padding:12px;margin-bottom:15px}.people-staff-day>svg{color:var(--primary);width:18px;height:18px}.people-staff-day strong{font-size:12px;font-weight:550}.people-staff-day small{display:block;color:var(--muted);font-size:10px;margin-top:3px}.people-staff-services{min-height:39px;align-content:start;margin-bottom:19px}.people-staff-services .badge{white-space:normal;font-size:10px}.people-staff-card>.btn{align-self:stretch;justify-content:center;margin-top:auto;font-size:11px}
.people-staff-actions{display:flex;justify-content:space-between;gap:6px;padding-top:13px}.people-staff-actions .btn{font-size:11px;min-height:36px}.people-staff-status-action{border-top:1px solid var(--border);margin-top:12px;padding-top:9px;display:flex;justify-content:center}.people-staff-status-action .btn{font-size:10px;color:var(--muted)}.people-staff-status-action .btn:hover{color:var(--text)}.people-staff-archived{border-style:dashed;background:var(--surface-soft)}.people-staff-archived .people-staff-status-action .btn{color:var(--primary-text)}
.people-form-intro{color:var(--muted);font-size:13px;margin-bottom:21px}.people-form-profile{display:flex;align-items:center;gap:12px;margin-bottom:22px;padding-bottom:18px;border-bottom:1px solid var(--border)}.people-form-profile>div{min-width:0}.people-form-profile strong{display:block;font-size:15px;overflow-wrap:anywhere}.people-form-profile span:not(.avatar){font-size:12px;color:var(--muted)}.people-form-help{font-size:11px;color:var(--muted);margin:0 0 21px}
.people-staff-access{margin-top:9px}.people-staff-access .btn{width:100%;justify-content:center;font-size:11px}.people-global-query{font-size:11px;color:var(--muted);padding:0 24px 16px;margin:0;overflow-wrap:anywhere}.people-global-query strong{font-weight:550;color:var(--text)}.people-team-directory>.people-global-query{padding:0 0 16px}
.people-service-checklist{border:1px solid var(--border);border-radius:12px;padding:14px 16px;margin:0 0 22px;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.people-service-checklist legend{padding:0 7px;font-weight:600;font-size:12px}.people-service-checklist label{display:flex;gap:10px;align-items:flex-start;cursor:pointer;font-size:12px;padding:8px;border-radius:8px}.people-service-checklist label:hover{background:var(--surface-soft)}.people-service-checklist input{accent-color:var(--primary);width:17px;height:17px;flex-shrink:0;margin:2px 0}.people-service-checklist label>span{min-width:0;overflow-wrap:anywhere}.people-service-checklist small{display:block;font-size:10px;color:var(--muted);margin-top:3px}
.people-form-dates{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:15px;margin:0 0 20px;background:var(--surface-soft);padding:15px;border-radius:11px;font-size:12px}.people-form-dates>div>span:first-child{display:block;color:var(--muted);font-size:10px;margin-bottom:5px}.people-form-error:empty{display:none}.people-form-error{overflow-wrap:anywhere}.people-stale{padding:14px;border:1px solid var(--border-strong);border-radius:11px;background:var(--surface-soft);margin:12px 0}.people-stale p{font-size:12px;margin-bottom:10px;color:var(--muted)}
@media(min-width:1500px){.people-customer{grid-template-columns:minmax(190px,1.05fr) minmax(155px,.8fr) minmax(225px,1.15fr) auto}.people-customer-actions,.people-customer-note+.people-customer-actions{grid-column:4;grid-row:1/3;align-self:center}.people-customer-note{grid-column:1/4}}
@media(max-width:1150px){.people-metric{padding:17px;gap:10px}.people-metric small{font-size:10px}.people-customer{grid-template-columns:minmax(160px,1fr) minmax(155px,1fr);gap:16px}.people-visits{grid-column:1/-1;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px}.people-visits>div{flex-direction:column;gap:3px}.people-visits time{text-align:left}.people-customer-note,.people-customer-note+.people-customer-actions{grid-column:1/-1}.people-customer-actions{justify-content:flex-start}.people-customer-note+.people-customer-actions{justify-content:flex-start}}
@media(max-width:700px){.people-metrics{gap:9px;margin-bottom:22px}.people-metric{padding:14px 11px;display:block}.people-metric-icon{width:29px;height:29px;border-radius:9px;margin-bottom:10px}.people-metric-icon svg{width:16px;height:16px}.people-metric>div>span{font-size:10px}.people-metric strong{font-size:24px}.people-metric small{font-size:9px;line-height:1.5}.people-panel-heading{padding:19px 16px 15px;align-items:flex-start;gap:10px;flex-wrap:wrap}.people-panel-heading h2{font-size:16px}.people-panel-heading p{font-size:10px}.people-result-count{font-size:10px}.people-toolbar{padding:0 16px 18px;gap:12px;display:block}.people-search{max-width:none;margin-bottom:13px}.people-search>input,.people-form input:not([type="checkbox"]),.people-form textarea,.people-form select{font-size:16px;min-height:44px}.people-filters{width:100%;justify-content:space-between;gap:2px}.people-filter{flex:1;font-size:10px;padding:8px 6px;min-height:38px}.people-customer{padding:20px 16px;grid-template-columns:minmax(0,1fr);gap:14px}.people-contact{padding-left:49px;font-size:13px}.people-contact>small{font-size:11px}.people-person h3{font-size:15px}.people-visits{grid-column:1;gap:12px;padding:12px;background:var(--surface-soft);border-radius:10px;border:1px solid var(--border);font-size:11px}.people-visits>div>span:first-child{font-size:10px}.people-customer-actions,.people-customer-note+.people-customer-actions{grid-column:1;gap:6px}.people-customer-actions .btn{min-height:40px;flex:1;font-size:11px;padding:8px}.people-customer-actions .btn:first-child{flex:1.5}.people-customer-actions .btn svg{width:14px;height:14px}.people-customer-note{grid-column:1}.people-team-directory>.people-toolbar{padding-bottom:18px}.people-staff-grid{grid-template-columns:minmax(0,1fr);gap:15px}.people-staff-card{padding:22px}.people-staff-actions .btn,.people-staff-card>.btn,.people-staff-status-action .btn{min-height:42px}.people-service-checklist{grid-template-columns:minmax(0,1fr);padding:12px}.people-service-checklist label{min-height:44px}.people-form-dates{font-size:11px;gap:10px;padding:12px}.people-empty{padding:36px 18px}}
@media(max-width:700px){.people-sort select{font-size:16px;min-height:44px}.people-customer-segments{margin-top:12px}.people-filter-note{margin-top:10px}}
@media(prefers-reduced-motion:reduce){.people-filter,.people-customer,.people-staff-card{transition:none}}
