.customer-need-preview{max-width:240px;min-width:140px;white-space:normal;overflow-wrap:anywhere;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}
.customer-overview{display:flex;flex-wrap:wrap;gap:10px;align-items:center;color:var(--muted);margin-bottom:12px}
.customer-actions{margin:12px 0 18px}.customer-need{background:#f5f2e9;border:1px solid #e7dcc3;border-radius:10px;padding:14px 16px;margin:12px 0 18px}.customer-need h3{margin:0 0 8px}.customer-need p{white-space:pre-wrap;overflow-wrap:anywhere;margin:8px 0;line-height:1.65}
.customer-history{margin-bottom:22px}.customer-history-item{border-left:3px solid var(--gold,#b69a5c);padding:4px 14px 16px;margin:14px 0;border-bottom:1px solid var(--border)}.customer-history-excerpt,.customer-original{white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.65}.customer-history-item .customer-need{margin:10px 0;padding:10px 12px}.customer-history-item details,.customer-contact details{margin:10px 0}
.customer-contact-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:12px 0}.customer-contact{padding:14px;border:1px solid var(--border);border-radius:10px;overflow-wrap:anywhere;min-width:0}.customer-contact .head-tools{margin-top:12px}.customer-original{max-height:360px;overflow:auto}summary{cursor:pointer}
@media(max-width:600px){.customer-contact-grid{grid-template-columns:1fr}.customer-overview{font-size:13px}.customer-history-item{padding-left:10px}.customer-actions{flex-wrap:wrap}}

.customer-master td{white-space:normal;overflow-wrap:anywhere;max-width:230px}.customer-master td:last-child{min-width:160px}.customer-master td .btn{margin:2px}
@media(max-width:600px){.customer-master,.customer-master tbody,.customer-master tr,.customer-master td{display:block;min-width:0;width:100%;max-width:none;box-sizing:border-box}.customer-master thead{display:none}.customer-master tr{padding:12px;border-bottom:1px solid var(--border)}.customer-master td{border:0;padding:5px 0}.customer-master td::before{content:attr(data-label) "：";color:var(--muted);font-size:12px}.customer-master td .customer-need-preview{max-width:none}.customer-master td:empty{display:none}.customer-master td:last-child{min-width:0}.customer-master .btn{margin:4px 4px 0 0}}
