.customers-tools{display:grid;grid-template-columns:minmax(0,1fr) 180px auto;align-items:end;gap:12px;margin:22px 0 12px}.customers-tools label{margin:0}.customers-tools .field{display:block;width:100%;margin-top:6px}.customers-tools button{min-height:46px}.customers-list-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:18px 0 12px}.customers-list-head span{font-size:12px;color:var(--muted)}.customers-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.customer-card{display:flex;flex-direction:column;align-items:stretch;gap:12px;text-align:left;white-space:normal;min-width:0;border:1px solid var(--line);background:#081a2b;border-radius:14px;padding:18px;color:var(--text)}.customer-card:hover{background:#0e2840}.customer-person{display:flex;align-items:center;gap:11px;min-width:0}.customer-avatar{display:grid;place-items:center;flex:0 0 42px;height:42px;border-radius:13px;background:#103e5b;color:var(--cyan);font-size:15px}.customer-name{display:block;overflow-wrap:anywhere;font-size:16px;font-weight:650}.customer-meta{display:block;color:var(--muted);font-size:12px;font-weight:400;margin-top:3px;overflow-wrap:anywhere}.customer-phone{font-size:14px;letter-spacing:.02em}.customer-stats{display:grid;grid-template-columns:1fr 1fr;gap:8px;border-top:1px solid var(--line);padding-top:12px}.customer-stats small{display:block;color:var(--muted);font-size:11px;font-weight:400}.customer-stats strong{display:block;font-size:16px;margin-top:3px}.customer-card-foot{display:flex;justify-content:space-between;gap:8px;color:var(--muted);font-size:11px;font-weight:400}.customer-card-foot span:last-child{color:var(--cyan)}.customers-pager{display:flex;align-items:center;justify-content:center;gap:16px;margin-top:20px}.customers-pager span{font-size:13px;color:var(--muted)}.customer-empty{grid-column:1/-1;border:1px dashed var(--line);border-radius:14px;padding:36px 20px;text-align:center;color:var(--muted)}.customers-dialog{width:min(880px,calc(100% - 24px));max-height:90vh;overflow:auto;background:#081625;color:var(--text);border:1px solid #24547b;border-radius:18px;padding:24px;box-shadow:0 25px 100px #000b}.customers-dialog::backdrop{background:#020810c9}.customer-dialog-head{display:flex;justify-content:space-between;align-items:flex-start;gap:16px;position:sticky;top:-24px;padding:16px 0;background:#081625;z-index:1}.customer-dialog-head h2{margin:0 0 4px;overflow-wrap:anywhere}.customer-dialog-head button{min-width:44px;min-height:44px}.customer-detail-stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin:12px 0 22px}.customer-detail-stat{border:1px solid var(--line);border-radius:12px;padding:14px;background:#0b2034}.customer-detail-stat span{display:block;font-size:12px;color:var(--muted)}.customer-detail-stat strong{display:block;font-size:23px;margin-top:5px;overflow-wrap:anywhere}.customer-section{margin:22px 0}.customer-section h3{font-size:16px;margin:0 0 12px}.customer-section p{margin:8px 0;font-size:13px;white-space:pre-wrap;overflow-wrap:anywhere}.customer-section table{width:100%;border-collapse:collapse;font-size:12px}.customer-section th,.customer-section td{text-align:left;padding:10px 8px;border-bottom:1px solid var(--line);vertical-align:top}.customer-section th{color:var(--muted);font-weight:500}.customer-section td{overflow-wrap:anywhere}.customer-section td:last-child{text-align:right;white-space:nowrap}.customer-section .customer-history-meta{display:block;color:var(--muted);font-size:11px;margin-top:3px}.customer-section .customers-pager{margin:12px 0}.customer-address{padding:12px;border:1px solid var(--line);border-radius:10px;margin:8px 0}.customer-note{padding:12px;background:#0b2034;border-radius:10px}.customers-readonly{font-size:12px;color:var(--muted);margin:16px 0 0}
@media(max-width:960px){.customers-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:640px){.customers-tools{grid-template-columns:minmax(0,1fr) auto;gap:10px}.customers-tools label:first-child{grid-column:1/-1}.customers-tools label:nth-child(2){min-width:0}.customers-list-head{display:block}.customers-list-head span{display:block;margin-top:5px}.customers-grid{grid-template-columns:1fr}.customer-card{padding:16px}.customers-dialog{padding:16px;max-height:94vh}.customer-dialog-head{top:-16px}.customer-detail-stats{gap:6px}.customer-detail-stat{padding:11px 8px}.customer-detail-stat strong{font-size:19px}.customer-section th,.customer-section td{padding:9px 5px}.customers-pager{gap:10px}.customers-pager button{padding:10px 12px}}
