/* Customer profile and spending ledger. Values belong to one customer. */
.guest-customer-card{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:16px;background:#edf3e7;border:1px solid #c8d7bc;border-radius:12px;margin-bottom:22px}
.guest-customer-card>div{min-width:0}.guest-customer-card strong{display:block;font-size:18px;margin-bottom:6px}.guest-customer-card span{display:block;font-size:16px;line-height:1.65;overflow-wrap:anywhere}.guest-customer-card .btn{white-space:nowrap;flex-shrink:0;font-size:16px}
.seat-customer-info{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-top:12px;flex-wrap:wrap}.seat-customer-info .btn{font-size:16px;min-height:46px}.ng-indicator{font-size:14px;font-weight:700;color:#a24535}
.spending-summary{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-bottom:22px}.spending-summary>div{padding:18px;background:#eef4e8;border:1px solid #d0ddc3;border-radius:12px;min-width:0}.spending-summary span,.spending-summary small{display:block;font-size:14px;line-height:1.6;color:#53684c}.spending-summary strong{display:block;font-size:30px;font-variant-numeric:tabular-nums;line-height:1.5;color:#2e583d;overflow-wrap:anywhere}
.customer-tabs{display:flex;gap:6px;padding:5px;background:#f0f3eb;border-radius:10px;margin-bottom:24px}.customer-tab{flex:1;border:0;border-radius:8px;background:transparent;color:#54694e;min-height:50px;font-size:16px;font-weight:600;padding:10px}.customer-tab[aria-pressed=true]{background:#fff;color:#264c34;box-shadow:0 1px 5px #2c422022}.customer-tab:focus-visible,.ng-selector summary:focus-visible{outline:3px solid #375a86;outline-offset:2px}
.customer-section{margin:22px 0;padding:20px;background:#fafbf6;border:1px solid #d9e0d0;border-radius:12px}.customer-section h3{margin:0 0 18px}.profile-help{font-size:14px;color:#5c6d55;line-height:1.7;margin:10px 0 16px}.ng-summary{font-size:16px;font-weight:600;line-height:1.7;margin:18px 0 10px;color:#8b4035;overflow-wrap:anywhere}.ng-summary span{font-weight:500}.ng-selector summary,.customer-extra summary{font-size:16px;cursor:pointer;min-height:46px;padding:10px 0;line-height:1.6}.ng-cast-list{display:grid;grid-template-columns:1fr 1fr;gap:8px;max-height:300px;overflow-y:auto;margin:8px 0 14px;padding:3px}.ng-cast-option{display:flex;align-items:center;gap:10px;min-height:48px;padding:10px;border:1px solid #d4dccc;border-radius:9px;background:#fff;font-size:16px;cursor:pointer;min-width:0}.ng-cast-option:has(input:checked){background:#fff1ec;border-color:#bc6b55;color:#8b3326}.ng-cast-option input{width:20px;height:20px;flex-shrink:0;accent-color:#a94e3c}.ng-cast-option span{overflow-wrap:anywhere}
.customer-extra{border-top:1px solid #d8dfd0;margin-top:24px;padding-top:8px}.customer-extra[open]>summary{margin-bottom:16px}.customer-visits p{font-size:16px;line-height:1.6}.customer-visits strong{font-size:16px}#customer-form input,#customer-form select,#sale-form input,#sale-form select{min-height:48px;font-size:16px}#customer-form input[type=checkbox]{min-height:0}#sale-form [name=amount]{font-size:26px;letter-spacing:.02em;min-height:58px}
.ledger-heading{display:flex;align-items:center;justify-content:space-between;gap:14px;margin-bottom:16px}.ledger-heading h3{margin:0}.ledger-heading .btn{font-size:16px}.spending-record{padding:18px;border:1px solid #d5dfcc;border-radius:12px;margin:12px 0;background:#fff}.record-top{display:flex;justify-content:space-between;align-items:baseline;gap:12px}.record-top time{font-size:16px;color:#586b4e}.record-top strong{font-size:25px;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}.spending-record p{font-size:16px;line-height:1.6;overflow-wrap:anywhere;margin:8px 0 12px}.record-bottom{display:flex;justify-content:space-between;gap:12px;align-items:center}.record-bottom>span{font-size:14px;color:#617155;overflow-wrap:anywhere}.record-bottom>div{display:flex;gap:8px}.record-bottom .btn{font-size:16px;min-height:44px;padding:8px 15px}.spending-record.voided{background:#f4f4f0;color:#6f736b}.voided .record-top strong{text-decoration:line-through}.ledger-empty{padding:28px 16px;text-align:center;line-height:1.8;font-size:16px;background:#f7f9f2;border-radius:12px}
.customer-row>div{min-width:0;flex:1}.customer-row>div small{overflow-wrap:anywhere}.customer-row>span:not(.customer-avatar){white-space:nowrap}.customer-row>svg{flex-shrink:0}
@media(max-width:650px){.guest-customer-card{display:block;padding:14px}.guest-customer-card .btn{width:100%;margin-top:12px}.guest-customer-card span{font-size:14px}.spending-summary{gap:8px}.spending-summary>div{padding:13px 10px}.spending-summary strong{font-size:24px}.customer-section{padding:14px 12px}.ng-cast-list{grid-template-columns:1fr;max-height:250px}.ng-cast-option{min-height:48px}.customer-tabs{gap:3px}.customer-tab{padding:9px 4px;font-size:16px}.ledger-heading{display:block}.ledger-heading .btn{width:100%;margin-top:14px}.record-top{flex-wrap:wrap}.record-top strong{font-size:25px}.record-bottom{flex-wrap:wrap}.record-bottom>div{margin-left:auto}.spending-record{padding:15px 12px}.seat-customer-info .btn{width:100%}.customer-row{gap:10px;flex-wrap:wrap}.customer-row .customer-avatar{width:38px;height:38px;flex-shrink:0}.customer-row>div{flex-basis:calc(100% - 50px)}.customer-row>span:not(.customer-avatar){margin-left:48px}.customer-row>svg{margin-left:auto}.modal-footer{flex-wrap:wrap}}
