/* Celebrate V946 — tightly scoped to Customers, Events and customer booking details.
   Do not change any Front Desk, Expenses or payment selectors. */
body#celebrate-admin #appView #section-people .customer-work-list {display:flex!important;flex-direction:column!important;gap:8px!important;min-width:0!important;width:100%!important}
body#celebrate-admin #appView #section-people .customer-work-item {
 display:grid!important;grid-template-columns:42px minmax(0,1fr) auto 16px!important;grid-template-rows:auto!important;
 gap:12px!important;align-items:center!important;text-align:left!important;min-height:78px!important;
 width:100%!important;height:auto!important;max-height:none!important;overflow:visible!important;
 padding:13px 15px!important;margin:0!important;border:1px solid #d2e2e9!important;border-radius:12px!important;
 background:#fff!important;color:#102d46!important;opacity:1!important;visibility:visible!important;
}
body#celebrate-admin #appView #section-people .customer-work-item .customer-work-avatar {display:grid!important;grid-column:1!important;grid-row:1!important;place-items:center!important;width:40px!important;height:40px!important;min-width:40px!important;border-radius:50%!important;background:#e0eff2!important;color:#10354c!important}
body#celebrate-admin #appView #section-people .customer-work-item .customer-work-info {display:flex!important;grid-column:2!important;grid-row:1!important;flex-direction:column!important;align-items:flex-start!important;justify-content:center!important;gap:5px!important;min-width:0!important;width:auto!important;height:auto!important;overflow:visible!important;opacity:1!important;visibility:visible!important;color:#102d46!important}
body#celebrate-admin #appView #section-people .customer-work-item .customer-work-info strong {display:block!important;position:static!important;flex:none!important;min-width:0!important;width:auto!important;height:auto!important;font-size:16px!important;line-height:1.35!important;font-weight:800!important;color:#102d46!important;opacity:1!important;visibility:visible!important;white-space:normal!important;overflow-wrap:anywhere!important}
body#celebrate-admin #appView #section-people .customer-work-item .customer-work-info small.customer-work-contact {display:block!important;position:static!important;flex:none!important;grid-column:auto!important;grid-row:auto!important;width:auto!important;height:auto!important;font-size:13px!important;line-height:1.35!important;color:#526b7e!important;opacity:1!important;visibility:visible!important;white-space:normal!important;overflow-wrap:anywhere!important}
body#celebrate-admin #appView #section-people .customer-work-item .customer-work-visits {display:block!important;grid-column:3!important;grid-row:1!important;align-self:center!important;justify-self:end!important;position:static!important;font-size:12px!important;line-height:1.4!important;font-weight:700!important;color:#326f80!important;white-space:nowrap!important;opacity:1!important;visibility:visible!important}
body#celebrate-admin #appView #section-people .customer-work-item .customer-work-chevron {display:block!important;grid-column:4!important;grid-row:1!important;align-self:center!important;color:#326f80!important;font-size:19px!important;opacity:1!important;visibility:visible!important}
/* Customer detail hierarchy and controls */
body#celebrate-admin #appView #section-people .customer-detail-panel {min-width:0!important;max-width:100%!important;overflow:visible!important}
body#celebrate-admin #appView #section-people .cp-toolbar {display:flex!important;justify-content:space-between!important;align-items:center!important;gap:12px!important;padding:12px 16px!important;background:#e9f3f5!important;border:1px solid #d2e2e9!important;border-radius:12px!important}
body#celebrate-admin #appView #section-people .cp-profile {display:block!important;min-width:0!important;padding:12px 16px 20px!important;background:white!important;border-radius:14px!important}
body#celebrate-admin #appView #section-people .cp-identity {display:flex!important;align-items:center!important;gap:14px!important;flex-wrap:wrap!important;padding:10px 0 18px!important;border-bottom:1px solid #dce7eb!important}
body#celebrate-admin #appView #section-people .cp-contact {display:block!important;min-width:200px!important;flex:1 1 240px!important}
body#celebrate-admin #appView #section-people .cp-contact h2 {font-size:20px!important;line-height:1.2!important;margin:0 0 6px!important}
body#celebrate-admin #appView #section-people .cp-contact p {display:flex!important;flex-wrap:wrap!important;gap:5px 16px!important;margin:0!important;line-height:1.45!important}
body#celebrate-admin #appView #section-people .cp-section {margin:16px 0!important;padding:16px!important;border:1px solid #d7e6ec!important;border-radius:14px!important;background:#fff!important;min-width:0!important}
body#celebrate-admin #appView #section-people .cp-section-head {display:flex!important;align-items:center!important;justify-content:space-between!important;flex-wrap:wrap!important;gap:12px!important;margin-bottom:12px!important;padding:0 0 10px!important;border-bottom:1px solid #e3ecef!important}
body#celebrate-admin #appView #section-people .cp-section-head h3 {margin:0!important;font-size:16px!important}
body#celebrate-admin #appView #section-people .cp-profile .booking-form-answer-grid {display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:10px!important}
body#celebrate-admin #appView #section-people .cp-profile .booking-form-answer {display:flex!important;flex-direction:column!important;gap:6px!important;min-width:0!important;margin:0!important;padding:12px 14px!important;border:1px solid #dbe6ec!important;border-radius:10px!important;background:#f6fafb!important}
body#celebrate-admin #appView #section-people .cp-profile .booking-form-answer small {display:block!important;font-size:12px!important;font-weight:700!important;line-height:1.4!important;color:#536d81!important}
body#celebrate-admin #appView #section-people .cp-profile .booking-form-answer strong {display:block!important;font-size:14px!important;font-weight:700!important;line-height:1.45!important;color:#102d46!important;white-space:pre-wrap!important;overflow-wrap:anywhere!important}
body#celebrate-admin #appView #section-people .cp-profile .booking-form-answer-wide {grid-column:1/-1!important}
/* Email history: readability without suppressing status or audit history. */
body#celebrate-admin #appView #section-people .cp-profile .message-history-row {min-width:0!important;overflow-wrap:anywhere!important}
/* Events: keep action buttons aligned without changing event data or status. */
#appView #section-events .events-list-panel {min-width:0!important}
#appView #section-events .event-card {min-width:0!important;overflow-wrap:anywhere!important}
@media(max-width:760px){
 body#celebrate-admin #appView #section-people .customer-work-item {grid-template-columns:36px minmax(0,1fr) auto!important;gap:9px!important;padding:11px!important}
 body#celebrate-admin #appView #section-people .customer-work-item .customer-work-avatar {width:34px!important;height:34px!important;min-width:34px!important}
 body#celebrate-admin #appView #section-people .customer-work-item .customer-work-chevron {display:none!important}
 body#celebrate-admin #appView #section-people .customer-work-item .customer-work-info strong{font-size:15px!important}
 body#celebrate-admin #appView #section-people .customer-work-item .customer-work-info small.customer-work-contact{font-size:12px!important}
 body#celebrate-admin #appView #section-people .cp-profile .booking-form-answer-grid {grid-template-columns:1fr!important}
 body#celebrate-admin #appView #section-people .cp-profile {padding:10px!important}
 body#celebrate-admin #appView #section-people .cp-section {padding:12px!important}
}
