.customer-card{border:1px solid #cdd8c7;border-radius:12px;background:white;padding:22px;margin:18px 0;overflow-wrap:anywhere}.customer-card h2{margin:0 0 8px}.customer-card p{margin:6px 0}.customer-card .customer-badge{display:inline-block;background:#edf0e5;border-radius:20px;padding:4px 12px;font-weight:600;font-size:14px;margin:4px 7px 4px 0}.customer-card .customer-badge.pending{background:#fff0ca;color:#744f19}.customer-card details{padding:16px;margin:16px 0}.customer-order{padding:14px 0;border-bottom:1px solid #dce3d7}.customer-order:last-child{border:0}.customer-order h3{font:600 17px system-ui;margin:0 0 8px}.customer-pagination{align-items:center;justify-content:center;margin:24px 0}.customer-search button,.customer-search .button{margin:8px 8px 0 0}.customer-card button{margin-top:12px}.customer-pagination button:disabled{opacity:.5;cursor:default}@media(max-width:650px){.customer-card{padding:16px}.customer-card details{padding:12px}}

.customer-access-form input[type=checkbox]{width:20px;height:20px;accent-color:#315b4b;flex-shrink:0}.customer-access-form .access-switch{display:flex;align-items:center;gap:12px;font-size:18px;padding:14px;background:#f0eaf5;border-radius:9px}.customer-access-form .access-switch input{width:40px;height:24px}.customer-access-form fieldset{border:1px solid #cbbbd2;border-radius:8px;min-width:0}.customer-access-form fieldset>label:has(input[type=checkbox]){display:flex;align-items:center;gap:8px}.customer-badge.blocked{background:#f7ded8;color:#7d352d}.customer-badge.complimentary{background:#eee2f4;color:#65436b}.customer-access-form [data-access-result]:empty{display:none}

.customer-card{padding:0!important;margin:8px 0}.customer-summary{display:grid!important;grid-template-columns:minmax(110px,1fr) minmax(180px,1.6fr) minmax(120px,1fr) 85px;gap:14px;align-items:center;padding:15px 18px;cursor:pointer;font:500 15px system-ui}.customer-summary:before{content:'▸';position:absolute;left:4px}.customer-card[open]>.customer-summary:before{content:'▾'}.customer-summary{position:relative}.customer-summary span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.customer-summary span:first-child{font-weight:700}.customer-card> :not(summary){margin-left:18px;margin-right:18px}.customer-card[open]{padding-bottom:18px!important}.customer-actions{display:flex;gap:12px;flex-wrap:wrap}.customer-actions button:last-child{color:#8a2929}@media(max-width:700px){.customer-summary{grid-template-columns:1fr 1fr;gap:8px;font-size:14px}.customer-summary span:nth-child(2){font-size:12px}}
