.customerActions,.customerTabs{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.customerTabs{margin:12px 0}.customerActions input{min-width:0}.customerFilters{display:flex;align-items:end;gap:8px;flex-wrap:wrap;margin:12px 0}.customerFilters>input{flex:1;min-width:210px}.customerFilters label{font-size:12px;min-width:110px}.customerTable td,.customerTable th{padding:9px 12px;white-space:nowrap;font-size:13px}.customerTable td:nth-child(2){white-space:normal;min-width:180px}.customerTable .variantTitle{text-align:left}.customerEmpty{padding:48px 20px;text-align:center}.customerProfile{display:grid;grid-template-columns:minmax(0,2fr) minmax(260px,1fr);gap:20px;max-width:1150px;margin:20px auto}.customerCard{background:white;border:1px solid #e0e3e6;border-radius:12px;padding:20px;margin-bottom:16px}.customerCard h3{margin-top:0}.customerCard p{overflow-wrap:anywhere}.customerStats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));background:#fff;border:1px solid #e0e3e6;border-radius:12px;margin-bottom:16px}.customerStats div{padding:16px;border-right:1px solid #e0e3e6}.customerStats div:last-child{border:0}.customerStats span,.customerStats strong{display:block}.customerStats span{font-size:12px;color:#626970}.customerFields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.customerProfile fieldset{min-width:0}.customerTags{display:flex;flex-wrap:wrap;gap:5px;margin:10px 0}.customerTags span{display:inline-flex;align-items:center;background:#eef1f3;border-radius:5px;gap:4px;padding:3px 7px;font-size:12px}.customerTags button{padding:0 3px;min-height:24px;color:#56616a;background:transparent;border:0}.customerSave{position:sticky;bottom:12px;background:#202428;color:white;display:flex;align-items:center;justify-content:space-between;gap:15px;padding:10px 16px;border-radius:12px;box-shadow:0 5px 20px #0002;z-index:2;max-width:700px;margin:12px auto}.customerSave[hidden]{display:none}.customerAddress{display:flex;gap:12px;align-items:center;justify-content:space-between;border-bottom:1px solid #e7e9ec;padding:12px 0}.customerAddress .customerActions{justify-content:end}.customerEvent{padding:12px 16px;border-left:2px solid #dce0e4}.customerEvent small{display:block;color:#636b74}.customerLedger{max-height:260px;overflow:auto}.customerDialog pre{white-space:pre-wrap;overflow-wrap:anywhere;max-height:380px;overflow:auto}.customerDialogBody{display:grid;gap:12px}.customerDialogBody>label{display:block}#customerForm>fieldset{border:0;padding:0;margin:0;min-width:0}#customerTimeline{margin-top:16px}#customers .toolbar h2{margin:0}#customerForm textarea{width:100%;box-sizing:border-box}#customerForm input:not([type=checkbox]),#customerForm select{width:100%;box-sizing:border-box}#customerForm .customerActions>input{flex:1}#customerForm .customerActions>span{overflow-wrap:anywhere}.customerDialog{max-width:720px}.customerDialogBody .customerFields{width:100%}@media(min-width:701px){#customers button,.customerDialog button{min-height:32px;padding:7px 11px;font-size:12px}.customerFilters input,.customerFilters select{padding:8px;font-size:12px}#customerForm input:not([type=checkbox]),#customerForm select{padding:8px;font-size:13px}}@media(max-width:700px){.customerProfile{grid-template-columns:minmax(0,1fr);gap:0}.customerFields{grid-template-columns:minmax(0,1fr)}.customerCard{padding:14px}.customerAddress{align-items:start;flex-direction:column}.customerStats div{padding:10px;font-size:12px}.customerFilters label{flex:1}.customerActions{gap:6px}.customerDialog .customerActions>*{min-width:0}.customerSave{bottom:6px}.customerFilters>input{min-width:0;width:100%}}

@media(max-width:1100px){.customerProfile{grid-template-columns:minmax(0,1fr);gap:0}}

#customers h2{min-width:0;overflow-wrap:anywhere}#customers .toolbar{gap:12px;flex-wrap:wrap}.customerDialog .customerActions input{flex:1;min-width:0}.customerEvent strong{text-transform:capitalize}

.customerDialog{width:min(720px,calc(100% - 28px))}
