.saved-customer-pagination {display:flex!important;flex-wrap:wrap;align-items:center;gap:6px;margin:12px 0}
.saved-customer-pagination .sc-page {display:inline-flex;align-items:center;justify-content:center;min-width:38px;height:38px;padding:0 8px;border:1px solid #c4d8ce;border-radius:6px;background:#f0f6f2;color:#165a48;text-decoration:none}
.saved-customer-pagination .sc-page.current {background:#165a48;color:white}
.saved-customer-pagination .sc-page.disabled {opacity:.4}
.saved-customer-pagination>span:last-child {margin-left:8px;font-size:.9em}
.sc-editor {margin:12px 0;padding:12px;border:1px solid #ceded5;border-radius:10px}
.sc-editor-fields {display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,220px),1fr));gap:12px}
.sc-table-scroll {overflow-x:auto}.sc-table-scroll td,.sc-table-scroll th {text-align:left;vertical-align:middle}
.sc-actions {white-space:nowrap}.sc-actions a {display:inline-block;margin:3px;padding:6px 12px;border-radius:6px;background:#e7f1eb;color:#175b46;text-decoration:none}
.sc-actions a.sc-delete {background:#a92e39;color:white}

/* Keep all Accounts menu labels readable in every interaction state. */
#account-menu a,
#account-menu a:visited,
#account-menu a:hover,
#account-menu a:focus-visible,
#account-menu a.active {color:#000!important;-webkit-text-fill-color:#000!important}
#account-menu#account-menu a[href="?page=savedcustomers"] {background:#e7f0e9!important;border:2px solid #8eae99!important;border-radius:10px!important;color:#000!important;-webkit-text-fill-color:#000!important;box-sizing:border-box}
#account-menu#account-menu a[href="?page=savedcustomers"]:hover {background:#dcebe0!important;border-color:#527b63!important}
#account-menu#account-menu a[href="?page=savedcustomers"].active,
#account-menu#account-menu a[href="?page=savedcustomers"][aria-current="page"] {background:#e7f0e9!important;border-color:#6c947c!important;box-shadow:inset 0 0 0 1px #527b63!important;font-weight:700}
#account-menu#account-menu a[href="?page=savedcustomers"]:active {background:#e1ece4!important;border-color:#6c947c!important;box-shadow:inset 0 0 0 1px #527b63!important}
#account-menu a:focus-visible {outline:3px solid #315782!important;outline-offset:3px}

.sc-contact-group {margin:8px 0;border:1px solid #b9d0c2;border-radius:8px;overflow:hidden;background:#fff}
.sc-contact-group>summary {display:list-item;cursor:pointer;padding:12px 16px;background:#edf5ef;color:#000;line-height:1.6}
.sc-contact-group>summary:focus-visible {outline:3px solid #527b63;outline-offset:-3px}
.sc-contact-group[open]>summary {border-bottom:1px solid #b9d0c2;background:#e3eee6}
.sc-group-phone {font-weight:700;margin-right:16px}.sc-group-count {display:inline-block;border:1px solid #b9d0c2;border-radius:14px;padding:0 10px;margin-right:16px;background:#fff;color:#000;font-size:.9em}
.sc-group-names {color:#374c40;overflow-wrap:anywhere}
.sc-group-scroll {max-height:360px;overflow:auto;overscroll-behavior:contain}
.sc-group-scroll table {width:100%;min-width:700px;margin:0;border-collapse:collapse}
.sc-group-scroll th {position:sticky;top:0;background:#edf5ef;z-index:1;text-align:left}
.sc-group-scroll td {text-align:left;vertical-align:middle;overflow-wrap:anywhere;padding:10px}
@media(max-width:640px){.sc-group-names {display:block;margin-left:18px}.sc-group-scroll {max-height:300px}}
