.customers-card{margin-top:1rem}.customers-page.container{max-width:1280px;width:100%}.customers-page .customers-layout{grid-template-columns:1fr}.customers-page .customers-table,.customers-page .customers-table-wrap{width:100%}.customers-header{justify-content:space-between;align-items:center}.customers-back{text-decoration:none;padding:.55rem .9rem}.customers-toolbar{gap:.5rem;align-items:center;margin-bottom:.75rem;flex-wrap:wrap}.customers-input,.customers-select,.customers-textarea,.label-input{padding:.5rem;border-radius:8px;border:1px solid var(--input-border);background:var(--input-bg);color:var(--input-text)}.customers-search{flex:1}.customers-tag-select{min-width:140px}.customers-clear-btn{padding:.5rem .7rem;transition:background-color .15s ease,color .15s ease,border-color .15s ease}.customers-clear-btn:not(:disabled){background:var(--button-strong-bg);color:var(--button-strong-text);border-color:var(--button-strong-border)}.customers-clear-btn:disabled{opacity:.5;cursor:not-allowed}.customers-detail{display:none}.customers-input-number{flex:1;min-width:120px}.customers-input-name{flex:2;min-width:180px}.customers-input-payment{flex:1;min-width:140px;text-align:right}.customers-textarea{width:100%}.customers-modal{display:none;position:fixed;top:0;right:0;bottom:0;left:0;z-index:1000}.customers-modal-overlay{position:absolute;top:0;right:0;bottom:0;left:0;background:var(--modal-overlay)}.customers-modal-dialog{position:relative;max-width:520px;margin:8vh auto;background:var(--surface);border-radius:12px;padding:1rem;box-shadow:var(--modal-shadow)}.customers-modal-header{justify-content:space-between;align-items:center}.customers-modal-title{margin:0}.customers-modal-close{font-size:1.25rem;line-height:1}.customers-modal-fields{gap:.5rem;flex-wrap:wrap;margin-top:.75rem}.customers-modal-labels,.customers-modal-note{margin-top:.5rem}.customers-modal-actions{gap:.5rem;margin-top:.75rem;justify-content:flex-end;align-items:center}.customers-modal-status{flex:1}.customers-inline-cell{padding:12px 10px;border-bottom:1px solid var(--card-border)}.customers-inline-view{display:flex;flex-direction:column;gap:8px}.customers-inline-header{justify-content:space-between;align-items:center;gap:.5rem}.customers-inline-title{font-weight:700}.customers-inline-meta{font-size:.9rem;color:var(--text-muted)}.customers-inline-labels{display:flex;flex-wrap:wrap;gap:6px;align-items:center}.customers-inline-label-title{font-size:.9rem}.customers-inline-tag{display:inline-block;padding:2px 8px;border-radius:999px;background:var(--tag-pill-bg);color:var(--tag-pill-text);font-size:12px}.customers-inline-address{font-size:.9rem}.customers-inline-note{font-size:.85rem}.customers-inline-actions{gap:.5rem;flex-wrap:wrap;align-items:center}.customers-inline-form{display:flex;flex-direction:column;gap:8px}.customers-inline-form-row{gap:.5rem;flex-wrap:wrap}.customers-inline-status{flex:1}.label-editor-header{justify-content:space-between;align-items:center}.label-editor-hint{font-size:.8rem}.label-input-row{gap:.5rem;align-items:center;margin-top:.5rem}.label-input{flex:1}.customers-table-wrap{overflow-x:auto}.customers-table{width:100%;border-collapse:collapse}.customers-table-grid{table-layout:fixed;border:1px solid var(--card-border);border-radius:12px;overflow:hidden;background:var(--surface);border-collapse:separate;border-spacing:0}.customers-table-header{text-align:left;padding:10px 12px;border-bottom:1px solid var(--card-border);font-size:.75rem;text-transform:uppercase;letter-spacing:.04em;color:var(--text-muted);background:var(--surface-2);font-weight:600}.customers-table-cell{padding:10px 12px;border-bottom:1px solid var(--border-subtle);vertical-align:top}.customers-table-cell-number{font-variant-numeric:tabular-nums}.customers-number-content{display:inline-flex;align-items:center;gap:6px}.customers-table-cell-payment,.customers-table-header-payment{text-align:right;font-variant-numeric:tabular-nums;white-space:nowrap}.customers-table-cell-note,.customers-table-header-note{min-width:120px}.customers-note-preview{display:block;width:100%;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;vertical-align:bottom}.customers-table-cell+.customers-table-cell,.customers-table-header+.customers-table-header{border-left:1px solid var(--border-subtle)}.customers-labels-cell{display:flex;flex-wrap:wrap;gap:6px;align-items:center}.customers-table-cell-labels{line-height:1.2}.customers-col-number{width:90px}.customers-col-name{width:110px}.customers-col-labels{width:240px}.customers-col-payment{width:70px}.customers-col-notes{width:140px}.copy-address-btn{border:1px solid var(--border);border-radius:6px;padding:2px 6px;font-size:12px;background:var(--surface-2);color:var(--text);cursor:pointer}.customers-table-grid th[data-sort]{cursor:pointer;-webkit-user-select:none;user-select:none;transition:background-color .2s ease}.customers-table-grid th[data-sort]:hover{background-color:var(--table-hover-bg)}.customers-table-grid th[data-sort].active-sort{background-color:var(--table-active-bg);font-weight:600;color:var(--primary)}.customers-table-grid .sort-indicator{margin-left:.25rem;font-size:.8em;opacity:.5}.customers-table-grid .sort-indicator.active{opacity:1;font-weight:600;color:var(--primary)}.customers-table-grid .sort-indicator:before{content:"↕"}.customers-table-grid .sort-indicator.asc:before{content:"↑"}.customers-table-grid .sort-indicator.desc:before{content:"↓"}.customers-table-grid tr[data-id]{cursor:pointer}.customers-table-grid tr.selected-row{background:var(--surface-3)}.customers-table-grid .inline-editor-row td{background:var(--surface-2)}.customers-table-grid .tag-pill{display:inline-block;padding:2px 8px;margin:2px;border-radius:999px;background:var(--tag-pill-bg);color:var(--tag-pill-text);font-size:12px;border:0;cursor:pointer}.customers-table-grid .tag-pill:hover{background:var(--tag-pill-hover-bg)}.customers-table-grid .inline-editor-row input,.customers-table-grid .inline-editor-row textarea{border:1px solid var(--input-border);border-radius:8px;padding:.5rem;background:var(--input-bg);color:var(--input-text)}.label-editor{border:1px solid var(--card-border);border-radius:10px;padding:.75rem;background:var(--surface-2)}.label-section{margin-top:.5rem}.label-section-title{font-size:.75rem;text-transform:uppercase;letter-spacing:.04em}.label-list{display:flex;flex-wrap:wrap;gap:6px;margin-top:.25rem}.label-chip{border:1px solid var(--label-chip-border);border-radius:999px;padding:2px 10px;background:var(--label-chip-bg);color:var(--label-chip-text);cursor:pointer;font-size:12px}.label-chip.selected{background:var(--label-chip-selected-bg);color:var(--label-chip-selected-text);border-color:var(--label-chip-selected-border)}.label-chip.add{background:var(--label-chip-add-bg);color:var(--label-chip-add-text);border-color:var(--label-chip-add-border)}.label-chip .label-chip-icon{margin-left:6px;opacity:.7}
