.customers-page{min-height:100dvh;background:#f8f9fb;padding:18px;color:#17191d}.customers-wrap{max-width:1030px;margin:0 auto}.customers-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:26px}.customers-grid{display:grid;grid-template-columns:1fr 1fr;gap:18px;margin-top:22px}.customers-grid>.card{min-width:0;padding:22px}.customer-consent input{width:18px;height:18px}.customers-status{font-size:13px;margin-top:14px;line-height:1.5}.customer-qr{display:flex;justify-content:center;margin:16px auto}.customer-qr canvas,.customer-qr img{max-width:100%;height:auto}.customers-actions{display:flex;gap:9px;flex-wrap:wrap}.customers-actions button{flex:1;min-height:46px}.customers-search{display:flex;gap:10px}.customers-search input{flex:1;min-width:0}.customers-list{margin-top:14px}.customer-item{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 0;border-bottom:1px solid #e7e9ee}.customer-item button{min-height:42px}@media(max-width:720px){.customers-grid{grid-template-columns:1fr}.customers-grid>.card{padding:17px}.customers-page{padding:14px}.customers-actions{flex-direction:column}.customers-search{flex-direction:column}.customers-search button{width:100%}}

/* v9.5.19: compact country prefix, existing card design untouched */
.phone-field{display:flex;gap:0;align-items:stretch;max-width:100%}.phone-field select{width:112px;min-width:112px;border-radius:9px 0 0 9px;padding:9px 5px;background:#f4f5f7;border:1px solid #d7dce1;color:#20232a}.phone-field input{min-width:0;flex:1;border-radius:0 9px 9px 0!important;border-left:0!important}.customer-consent{display:flex;align-items:flex-start;gap:8px;margin:10px 0;font-size:13px}.customer-consent input{margin-top:3px;flex-shrink:0}
[hidden]{display:none!important}.customer-tabs{display:flex;gap:8px;flex-wrap:wrap;margin:20px 0}.customers-grid{grid-template-columns:1fr!important}.birthday-fields{display:grid;grid-template-columns:1fr 2fr;gap:12px}.birthday-fields label{display:grid;gap:8px}.membership-stage{display:flex;flex-direction:column;align-items:center;gap:20px;width:100%;padding:28px 12px;background:linear-gradient(#f8fafc,#eff4f7);border:1px solid #dfe5eb;border-radius:20px;perspective:1100px;margin:20px 0}.membership-stage .loyalty-card{width:min(100%,500px);margin:0!important;cursor:pointer;container-type:inline-size}.membership-stage .card-stamp[role=button]{cursor:pointer;touch-action:manipulation}.membership-stage .card-stamp:focus-visible{outline:3px solid #00bfff;outline-offset:3px}/* Opacity on the rotating root flattens its 3D faces. */
.membership-stage [aria-busy=true]{cursor:progress}.stamp-pending{background:transparent!important;color:transparent!important}.stamp-pending .stamp-symbol{visibility:hidden!important}.ready-dialog{width:min(460px,calc(100vw - 24px));max-height:94dvh;overflow:auto;padding:28px;border:1px solid #777;border-radius:24px;background:#202224;color:#fff;text-align:center}.ready-dialog::backdrop,.team-dialog::backdrop{background:#0009}.ready-qr{display:flex;justify-content:center;margin:24px auto;padding:12px;background:white;width:max-content;max-width:100%;border-radius:14px}.ready-qr img,.ready-qr canvas{max-width:100%;height:auto}.ready-actions{display:flex;justify-content:center;gap:10px;flex-wrap:wrap}.ready-dialog footer{margin-top:28px;font-size:11px}.movement-entry{list-style:none;padding:20px;margin:12px 0;border:1px solid #dde2e6;border-left:4px solid;border-radius:10px}.movement-entry strong{display:block;line-height:1.6}.movement-entry p{margin:12px 0 0;font-size:13px}.movement-add{background:#f0faf4;border-left-color:#218549}.movement-correct{background:#fff4f5;border-left-color:#ca3345}.movement-redeem{background:#fff9e8;border-left-color:#b48b1c}#movementRows{padding:0}#programSuggestions{display:grid;gap:6px;max-height:240px;overflow:auto}#programSearch{margin-bottom:10px}#programCurrent .program-row{margin:16px 0}#programOperations>.program-grid{margin:16px 0}#movementSection input,#movementSection select{width:100%;padding:12px;border:1px solid #ccc;border-radius:8px}.customers-wrap{min-width:0}.customers-wrap section{min-width:0}@media(max-width:600px){.customers-wrap{padding:16px!important}.card{padding:18px!important}.program-grid{grid-template-columns:1fr!important}.membership-stage{padding:20px 6px}.ready-dialog{padding:20px}.customers-actions{grid-template-columns:repeat(2,minmax(0,1fr))!important}}
#customersView[data-tab=new] #programOperations>.program-grid,#customersView[data-tab=new] #programOperations>label,#customersView[data-tab=new] #programOperations>#programSuggestions,#customersView[data-tab=new] #programOperations>p,#customersView[data-tab=new] #programOperations>.program-row,#customersView[data-tab=new] #programCards{display:none!important}
.data-table-scroll{overflow:auto;max-width:100%}.membership-data{width:100%;border-collapse:collapse;font-size:13px}.membership-data th,.membership-data td{text-align:left;padding:14px 12px;border-bottom:1px solid #e1e5ea}.membership-data th{white-space:nowrap;background:#f5f8fa}#dataSection label{display:grid;gap:8px}#dataSection input,#dataSection select{padding:12px;border:1px solid #ccc;border-radius:8px;width:100%}#dataSection{margin:20px 0}
#customersView[data-tab=new] #assignMembership{display:none}#assignMembership{margin:18px 0;padding:14px;border:1px solid #dfe5eb;border-radius:10px}#programCards:empty{display:none}
.customer-tabs button[aria-current=page]{background:#17191d;color:#fff}#programsModule .program-item>summary strong::after{content:' · Editar ⌄';font-size:12px;font-weight:500;color:#657183}

.customer-tabs,.customers-actions,#programsModule .program-row{justify-content:center}.customers-head{justify-content:center;flex-wrap:wrap}.customers-wrap button{text-align:center}#programCards,#programCurrent{text-align:center}#programCurrent .program-grid{text-align:left}#customerDelivery[hidden]{display:none!important}
