/* Scoped to customer summary only; normal tables and specialty pages are unchanged. */
.customer-summary{padding:12px;font:11px/1.4 "Segoe UI",Arial,sans-serif;background:#fff}
.customer-summary .customer-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:10px;margin:0 0 14px}
.customer-heading>div{min-width:0}.customer-heading h2{font-size:19px;line-height:1.18;margin:0;text-transform:uppercase;overflow-wrap:anywhere;color:#142033}
.customer-heading small{display:block;margin-top:4px;font-size:10px;color:#6b7b8b}
.customer-state{flex:none;padding:4px 8px;color:#fff;background:#64748b;font-size:11px}.customer-state.active{background:#139553}
.customer-summary section{margin:0 0 14px}.customer-summary h3{margin:0 0 7px;font-size:11px;color:#1f5c9c}
.customer-summary h3 span{float:right;font-size:10px;font-weight:400;color:#176d43}
.customer-summary dl{margin:0}.customer-summary dl>div{display:flex;justify-content:space-between;align-items:flex-start;gap:8px;margin:5px 0}
.customer-summary dt{color:#536273;flex:0 0 auto}.customer-summary dd{margin:0;text-align:right;overflow-wrap:anywhere}
.customer-summary .customer-rental-list{border-block:1px solid #dbe5ef}
.customer-summary .customer-rental-row{display:grid;grid-template-columns:minmax(72px,.8fr) minmax(65px,1.2fr) auto;gap:6px;align-items:center;min-height:32px;padding:6px 2px;border-bottom:1px solid #edf1f5}
.customer-rental-row span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:10px}.customer-rental-row b{font-size:10px;white-space:nowrap}
.customer-summary .empty-rentals{padding:10px 2px;text-align:center;color:#7b8794;font-size:10px}
.customer-summary .monthly-rent-row{display:flex;align-items:center;justify-content:space-between;gap:8px;padding-top:8px}
.customer-summary .customer-finance-grid{display:grid;grid-template-columns:1fr 1fr;gap:5px;margin-bottom:8px}
.customer-finance-grid>div{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:4px;min-height:42px;padding:7px;background:#f6f9fc;border:1px solid #dce6ef}
.customer-finance-grid span{font-size:9px;color:#627386}.customer-finance-grid strong{margin-left:auto;font-size:11px;white-space:nowrap}
.customer-finance-grid .balance-tile{background:#eef6ff;border-color:#cbdff2}.customer-finance-grid .overdue-tile{background:#fff6f4;border-color:#efd3cd}.customer-finance-grid .overdue-tile strong{color:#a52a2a}
.customer-read-only{color:#7b8794;font-size:10px;text-align:center}
.detail-buttons.customer-actions{gap:6px;padding:9px 10px}
.detail-buttons.customer-actions button{font-size:11px;min-height:34px}
.customer-actions .edit-action{border-color:#2563d8}
.detail-buttons.customer-actions .green:not(:disabled){background:#159453;border-color:#117943}
.detail-buttons.customer-actions .red:not(:disabled){background:#9f1c22;border-color:#82171c}
.detail-buttons.customer-actions .blue:not(:disabled){background:#2a6cad;border-color:#1f5c9c}
.detail-buttons.customer-actions .amber:not(:disabled){background:#d68716;border-color:#b86f0d}
