.customer-matches{display:grid;gap:6px;padding:10px;background:#edf6f0;border:1px solid #cbded2;border-radius:10px;margin-top:7px;min-width:0}.customer-matches>small{font-size:11px;color:#61796b}.customer-matches button{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:4px;text-align:left;padding:10px;border:1px solid #dce7df;background:white;border-radius:7px;color:#294c3a;min-width:0;min-height:44px}.customer-matches button small{grid-column:1/-1;color:#77867d;white-space:normal;overflow-wrap:anywhere}.customer-matches button strong{font-size:13px;overflow-wrap:anywhere}.customer-matches button span{font-size:12px}.customers-page{overflow:auto;min-height:100vh}.customers-page .topbar{position:static}.customers-page .secondary-button{text-decoration:none}.customer-main{max-width:1150px;margin:30px auto;padding:0 24px 48px}.customer-layout{display:grid;grid-template-columns:1.2fr 1fr;gap:22px}.customer-panel{padding:24px;border:1px solid #e0e8e2;background:#fff;border-radius:14px;margin-top:22px;min-width:0}.customer-panel .form-field{display:flex;flex-direction:column;gap:8px;margin:18px 0}.customer-panel .modal-input{width:100%;box-sizing:border-box;min-width:0}.customer-panel h2{font-size:18px;margin:0}.customer-heading{display:flex;align-items:center;justify-content:space-between;gap:12px}.customer-record{display:block;width:100%;text-align:left;background:#f8fbf9;border:1px solid #dfe8e2;border-radius:10px;margin:12px 0;padding:15px;line-height:1.8;color:#294737;overflow-wrap:anywhere}.customer-record strong,.customer-record small{display:block}.customer-record.selected{border-color:#176b53;background:#eaf5ee}#customer-message{padding:14px;background:#e8f5ec;border-radius:10px;border:1px solid #cce2d3;line-height:1.8}#customer-message.error{background:#fff0eb;color:#a03b28;border-color:#e8c4b9}#customer-login{max-width:400px}.customer-main [hidden]{display:none!important}
@media(max-width:760px){.customer-layout{grid-template-columns:1fr;gap:0}.customer-main{padding:0 14px 30px}.customer-panel{padding:18px}.customers-page .topbar{padding:14px;gap:10px}.customers-page .brand small{display:none}.customer-panel .modal-input{font-size:16px;min-height:44px}.customer-matches button{grid-template-columns:1fr}.customer-matches button small{grid-column:auto}}
.customer-record .customer-record-heading{display:flex;justify-content:space-between;align-items:flex-start;gap:12px}.customer-record-heading strong{min-width:0}.customer-edit-link{color:#176b53;font-size:12px;white-space:nowrap}.customer-record .customer-group-badge{display:inline-block;font-size:12px;background:#e7efe9;color:#4d6c59;border-radius:5px;padding:1px 8px;margin-top:7px}.customer-filters{display:grid;grid-template-columns:minmax(0,1fr) minmax(145px,.7fr);gap:14px}.customer-form-actions{display:flex;gap:12px;flex-wrap:wrap;margin-top:22px}.customer-form-actions button{min-height:44px;padding:11px 18px}.customer-danger{border:1px solid #d79a98;color:#a82e2e;background:#fff0ef;border-radius:8px;font-weight:600}.customer-danger:hover{background:#ffe0de}.customer-confirm-backdrop{position:fixed;inset:0;background:#13261e66;z-index:1000;display:flex;align-items:center;justify-content:center;padding:18px}.customer-confirm{background:white;border-radius:14px;padding:26px;max-width:480px;width:100%;max-height:90vh;overflow:auto;box-shadow:0 15px 60px #102b2330}.customer-confirm h2{font-size:21px;margin:0 0 16px}.customer-confirm p{line-height:1.8;overflow-wrap:anywhere}.customer-confirm [id=customer-delete-description]{font-weight:600}.customer-confirm .customer-form-actions{justify-content:flex-end}.customers-page .customer-confirm-backdrop[hidden]{display:none!important}
@media(max-width:760px){.customer-filters{grid-template-columns:1fr;gap:0}.customer-filters .form-field{margin:10px 0}.customer-confirm{padding:22px}.customer-confirm .customer-form-actions{display:grid;grid-template-columns:1fr 1fr}.customer-form-actions button{padding:11px 14px}.customer-main{margin-top:20px}.customers-page .topbar{height:auto;min-height:68px;flex-wrap:wrap}.customers-page .topbar .form-actions{gap:8px}.customers-page .topbar .secondary-button{font-size:12px}.customer-record{padding:14px}}
