/* The Customers panel inherits Moonlight Commerce OS design tokens and patterns. */
.customer-toolbar{display:flex;justify-content:space-between;gap:12px;align-items:center;flex-wrap:wrap}
.customer-toolbar-controls{display:flex;gap:8px;flex:1;flex-wrap:wrap}
.customer-toolbar-controls .input{flex:1;min-width:190px}
.customer-toolbar-controls .select{min-width:150px}
.customer-kpis{margin:12px 0 16px;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}
.customer-kpis .metric{padding:15px}.customer-kpis .metric strong{font-size:24px}
.customer-list-table{min-width:1060px}.customer-list-table td{font-size:10px}
.customer-contact{display:block;max-width:180px;overflow-wrap:anywhere}
.customer-contact small{display:block;margin-top:4px;color:var(--muted)}
.customer-secondary{display:block;color:var(--muted);font-size:9px;margin-top:3px}
.customer-tag{display:inline-block;padding:5px 8px;border-radius:999px;background:#f0f1f5;font-size:9px;font-weight:850;white-space:nowrap}
.customer-tag.sex{background:#ffedf2;color:#9e3654}.customer-tag.headz{background:#e8f8ee;color:#24764c}
.customer-tag.registered{background:#ebeaff;color:#5e4ac9}.customer-tag.guest{background:#f1f1f1;color:#777}
.customer-detail-card{width:min(1160px,100%)}
.customer-detail-body{padding:18px}
.customer-profile-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}
.customer-profile-card{display:flex;flex-direction:column;gap:6px;padding:14px;border-radius:14px;background:#f7f7fa;border:1px solid var(--line);overflow-wrap:anywhere}
.customer-profile-card>span{font-size:9px;text-transform:uppercase;letter-spacing:.06em;color:var(--muted);font-weight:850}
.customer-profile-card b{font-size:16px}.customer-profile-card small{font-size:10px;color:var(--muted)}
.customer-subtitle{margin:24px 0 11px;font-size:13px;letter-spacing:-.01em}
.customer-hint{font-size:10px;font-weight:400;color:var(--muted);margin-left:5px}
.customer-store-cards{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.customer-store-card{padding:13px;border:1px solid var(--line);border-radius:13px;display:flex;align-items:flex-start;flex-direction:column;gap:7px}
.customer-store-card b{font-size:12px}.customer-store-card>span:last-child{font-size:9px;color:var(--muted)}
.customer-detail-scroll{overflow:auto;max-height:290px}.customer-detail-table{min-width:770px}
.customer-detail-table td{font-size:10px}.customer-detail-table small{display:block;margin-top:4px;font-size:9px;color:var(--muted)}
.customer-items{max-width:245px;min-width:150px;overflow-wrap:anywhere}.customer-items span{display:block;margin:0 0 4px}
.customer-positive{color:#1c8059}.customer-negative{color:#a84047}
.customer-adjust-card{margin:24px 0 4px;padding:16px;border:1px solid var(--line);border-radius:14px;background:#fafafa}
.customer-adjust-card h3{margin:0 0 6px;font-size:13px}.customer-adjust-card p{font-size:10px;color:var(--muted);margin:0 0 13px;line-height:1.6}
.customer-adjust-fields{display:grid;grid-template-columns:1fr 1fr 2fr auto;gap:8px;align-items:end}
.customer-adjust-fields label{display:grid;gap:5px;font-size:9px;text-transform:uppercase;letter-spacing:.04em;font-weight:800;color:var(--muted)}
.customer-adjust-fields .input,.customer-adjust-fields .select{width:100%;min-width:0}
#customerAdjustNotice{margin-top:12px}
@media(max-width:850px){.customer-adjust-fields{grid-template-columns:1fr 1fr}.customer-reason{grid-column:1/-1}.customer-adjust-fields button{grid-column:1/-1}.customer-profile-grid{grid-template-columns:1fr 1fr}}
@media(max-width:620px){.customer-kpis{grid-template-columns:1fr 1fr}.customer-kpis>.metric:last-child{grid-column:1/-1}.customer-profile-grid,.customer-store-cards{grid-template-columns:1fr}.customer-detail-body{padding:13px}}
