/* HV595 — gestor exclusivo de monederos con jerarquía visual Huellas */
#admin-popup #hv595-owner-nav[hidden],#hv595-owner-panel[hidden],#hv595-member-detail[hidden]{display:none!important}
#admin-popup .hv595-owner-panel{margin:auto;padding:20px 10px 28px;max-width:1140px}
#admin-popup .hv595-header small,.hv595-top-card small,.hv595-member-heading small{color:#7b9139;letter-spacing:.12em;font-size:11px;font-weight:850}
#admin-popup .hv595-header h3{font-size:clamp(23px,3vw,30px);color:#303568;margin:8px 0}
#admin-popup .hv595-header p{color:#667283;line-height:1.65;max-width:850px;font-size:14px}
#admin-popup .hv595-top-card,#admin-popup .hv595-member-card{border:1px solid #e2e8d2;background:#fff;border-radius:20px;padding:22px;box-shadow:0 10px 28px #252e5510;margin:15px 0}
#admin-popup .hv595-top-card{display:flex;align-items:center;justify-content:space-between;gap:18px;background:#f9fbf3}
#admin-popup .hv595-top-card strong{display:block;color:#303568;margin:8px 0;font-size:20px}
#admin-popup .hv595-top-card p{font-size:13px;color:#737d89;line-height:1.6;margin:5px 0}
#admin-popup .hv595-card-heading,#admin-popup .hv595-member-heading{display:flex;align-items:center;justify-content:space-between;gap:15px}
#admin-popup .hv595-card-heading h4,#admin-popup .hv595-member-heading h4{margin:0;color:#303568;font-size:18px}
#admin-popup .hv595-card-heading span{font-size:12px;color:#728543}
#admin-popup .hv595-member-card>label{display:block;margin:20px 0 8px;color:#303568;font-weight:800;font-size:14px}
#admin-popup .hv595-search-row{display:flex;gap:10px}
#admin-popup .hv595-search-row input{flex:1;min-width:0;border-radius:12px;border:1px solid #d3dce2;color:#303568;font-size:15px;padding:12px 15px}
#admin-popup #hv595-search-status{margin:12px 0;color:#7a8797;font-size:13px}
#admin-popup [data-error="true"]{color:#a33e39!important}
#admin-popup .hv595-results{display:grid;gap:6px;margin:10px 0}
#admin-popup .hv595-result{display:flex;gap:12px;justify-content:space-between;align-items:center;border:1px solid #e3e7dd;background:#fafcf7;border-radius:12px;text-align:left;padding:13px 16px;cursor:pointer}
#admin-popup .hv595-result strong{color:#303568;font-size:14px}
#admin-popup .hv595-result span{font-size:12px;color:#6b7583}
#admin-popup #hv595-member-detail{margin-top:22px;padding:18px;border:1px solid #e2e7de;background:#f9fbf8;border-radius:18px}
#admin-popup .hv595-member-heading p{margin:7px 0;color:#6b7685;font-size:13px;line-height:1.6}
#admin-popup #hv595-member-balances{display:grid;gap:10px;margin:16px 0}
#admin-popup .hv595-balance{display:flex;justify-content:space-between;align-items:center;gap:12px;border:1px solid #e0e6db;border-radius:13px;padding:15px;background:#fff}
#admin-popup .hv595-balance strong{color:#303568;font-size:14px}
#admin-popup .hv595-balance p{margin:6px 0;line-height:1.5;font-size:13px;color:#59667a}
#admin-popup .hv595-balance small{color:#7c8692;font-size:12px}
#admin-popup .hv595-hint{font-size:12px;line-height:1.6;color:#7d8791;margin:12px 0}
.hv595-edit-overlay{position:fixed;inset:0;z-index:2147483000;display:flex;align-items:center;justify-content:center;background:#172039bb;padding:12px;box-sizing:border-box;backdrop-filter:blur(4px)}
.hv595-edit-card{max-width:540px;width:100%;box-sizing:border-box;background:#fff;padding:24px;border-radius:22px;box-shadow:0 30px 75px #0003;max-height:92dvh;overflow-y:auto;color:#303568}
.hv595-edit-card header{display:flex;align-items:flex-start;justify-content:space-between;gap:12px}
.hv595-edit-card header h3{margin:0;color:#303568;font-size:22px}
.hv595-edit-card header button{border:0;border-radius:50%;background:#f4f6ef;color:#303568;width:36px;height:36px;font-size:24px;cursor:pointer}
.hv595-edit-card p{line-height:1.5;color:#6b7583;font-size:13px}
.hv595-edit-card label{display:grid;gap:7px;margin:15px 0;color:#303568;font-size:14px;font-weight:800}
.hv595-edit-card input{width:100%;min-width:0;box-sizing:border-box;border:1px solid #d4dce6;border-radius:12px;font-size:15px;padding:13px;color:#303568;background:#fff}
.hv595-edit-actions{display:flex;gap:10px;justify-content:flex-end;flex-wrap:wrap;margin-top:20px}
@media(max-width:660px){#admin-popup .hv595-top-card,#admin-popup .hv595-member-heading,#admin-popup .hv595-balance{align-items:stretch;flex-direction:column}
#admin-popup .hv595-member-card,#admin-popup .hv595-top-card{padding:15px}
#admin-popup .hv595-search-row{flex-direction:column}
.hv595-edit-card{padding:17px;border-radius:17px}}
