
:root{--purple:#820ad1;--purple2:#a22be0;--ink:#28232c;--muted:#77717b;--line:#ece5f0;--surface:#fff;--bg:#f4eff7;--ok:#188e5c;--warn:#a66c12;--danger:#c63c52}*{box-sizing:border-box}html,body{margin:0;min-height:100%;font-family:Inter,ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:var(--ink);background:radial-gradient(circle at 20% 0,#e9d7f4 0,transparent 38%),linear-gradient(145deg,#f7f3f9,#eee6f2)}body{min-height:100dvh}.public-stage{min-height:100dvh;display:grid;place-items:center;padding:28px}.phone-shell{width:min(100%,430px);min-height:min(850px,calc(100dvh - 56px));background:#fbfafc;border:1px solid rgba(85,46,105,.12);border-radius:34px;box-shadow:0 28px 90px rgba(63,20,84,.18);overflow:hidden;position:relative}.brand-head{height:64px;display:flex;align-items:center;gap:10px;padding:0 18px;background:linear-gradient(135deg,var(--purple),var(--purple2));color:#fff}.brand-head img{width:34px;height:34px;border-radius:11px;box-shadow:0 7px 18px rgba(39,0,58,.18)}.brand-head strong{font-size:17px}.state-view{min-height:560px;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;padding:38px 28px}.state-view h1{font-size:21px;margin:16px 0 8px}.state-view p{font-size:12px;line-height:1.55;color:var(--muted);max-width:290px}.loading-view{gap:13px;color:var(--purple)}.loading-view strong{font-size:11px;letter-spacing:.08em;text-transform:uppercase;animation:pulse 1.25s ease-in-out infinite}.spinner{width:32px;height:32px;border:3px solid #ead8f4;border-top-color:var(--purple);border-radius:50%;animation:spin .8s linear infinite}.merchant-card{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:13px 14px 0;padding:10px 12px;border:1px solid var(--line);border-radius:14px;background:#fff}.merchant-card span,.eyebrow{color:var(--purple);font-size:8px;font-weight:950;letter-spacing:.11em}.merchant-card strong{font-size:11.5px;text-align:right;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.charge-summary{margin:10px 14px;padding:15px;border:1px solid var(--line);border-radius:19px;background:#fff;box-shadow:0 7px 22px rgba(44,22,54,.04)}.charge-summary h1{font-size:19px;margin:0 0 5px;line-height:1.18}.charge-summary>p{margin:0 0 11px;color:var(--muted);font-size:10.5px;line-height:1.5;white-space:pre-line}.client-row{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:10px 0;border-top:1px solid #f1edf3}.client-row span{color:var(--muted);font-size:8.5px;font-weight:800}.client-row strong{font-size:10.5px;text-align:right}.amount-card{margin:1px -2px 0;padding:14px 15px;border-radius:16px;background:linear-gradient(135deg,#7e09ca,#a62ee1);color:#fff}.amount-card>span{display:block;font-size:7.5px;font-weight:900;letter-spacing:.1em;color:rgba(255,255,255,.73)}.amount-card>strong{display:block;font-size:25px;margin:5px 0 6px}.amount-meta{display:flex;align-items:center;justify-content:space-between;gap:10px}.amount-meta small{display:block;color:rgba(255,255,255,.76);font-size:8px;line-height:1.35}.amount-meta small:last-child{text-align:right;max-width:58%}.status-card{display:flex;align-items:flex-start;gap:11px;margin:10px 14px;padding:13px;border:1px solid var(--line);border-radius:16px;background:#fff}.state-icon{width:34px;height:34px;flex:0 0 34px;border-radius:11px;display:grid;place-items:center;font-size:16px;font-weight:950;background:#f3e7fa;color:var(--purple)}.state-icon.ok{background:#e8f7f0;color:var(--ok)}.state-icon.warn{background:#fff4df;color:var(--warn)}.state-icon.error{background:#fdecef;color:var(--danger)}.status-card strong{display:block;font-size:12px;margin:1px 0 3px}.status-card p{margin:0;color:var(--muted);font-size:9.5px;line-height:1.45}.payment-section{margin:10px 14px 16px;padding:15px;border:1px solid var(--line);border-radius:19px;background:#fff}.section-title h2{font-size:15px;margin:4px 0 11px}.payment-method-selector{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin-bottom:10px}.payment-method-selector.single{grid-template-columns:minmax(0,190px);justify-content:center}.method-choice{min-height:66px;border:1px solid #e8ddeb;border-radius:14px;background:#fbf8fd;color:var(--ink);padding:10px 8px;display:grid;place-items:center;gap:5px;text-align:center;cursor:pointer;font:inherit}.method-choice svg{width:21px;height:21px;fill:none;stroke:var(--purple);stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}.method-choice span{font-size:10px;font-weight:900}.method-choice.active{border-color:#9d42d0;background:#f7ecfc;box-shadow:inset 0 0 0 1px rgba(130,10,209,.08)}.payment-method-details{border:1px solid #ebe2ef;border-radius:14px;background:#fcfafe;padding:4px 11px;margin-bottom:12px}.detail-row{display:grid;grid-template-columns:72px minmax(0,1fr) 28px;gap:8px;align-items:center;min-height:42px;border-bottom:1px solid #f0e9f3}.detail-row:last-child{border-bottom:0}.detail-row>span{font-size:8px;color:var(--muted);font-weight:800}.detail-row>strong{font-size:9.5px;overflow-wrap:anywhere}.copy-mini{width:27px;height:27px;border:1px solid #e1d6e6;border-radius:9px;background:#fff;color:var(--purple);display:grid;place-items:center;cursor:pointer}.copy-mini svg{width:14px;height:14px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}.copy-mini.copied{background:#e9f7f0;color:var(--ok);border-color:#cbe9da}.report-form{display:grid;gap:10px}.field-block{position:relative;display:grid;gap:5px}.field-label{font-size:8.5px;font-weight:900;color:#625969}.report-form input[type="text"]{width:100%;height:42px;border:1px solid #ded2e4;border-radius:11px;background:#fff;padding:0 11px;color:var(--ink);font:inherit;font-size:11.5px;outline:none}.report-form input[type="text"]:focus{border-color:#a84fe0;box-shadow:0 0 0 3px rgba(130,10,209,.08)}.field-block small{font-size:8px;color:var(--muted)}.custom-select-trigger{width:100%;height:42px;border:1px solid #ded2e4;border-radius:11px;background:#fff;padding:0 11px;display:flex;align-items:center;justify-content:space-between;gap:10px;color:var(--ink);font:inherit;font-size:11.5px;font-weight:750;cursor:pointer}.custom-select-trigger svg{width:17px;height:17px;fill:none;stroke:var(--purple);stroke-width:2;stroke-linecap:round;stroke-linejoin:round}.receipt-picker{min-height:60px;border:1px dashed #cdb8d7;border-radius:13px;background:#fbf8fd;padding:9px 10px;display:grid;grid-template-columns:34px minmax(0,1fr) auto;gap:9px;align-items:center;cursor:pointer}.receipt-picker input{position:absolute;opacity:0;pointer-events:none;width:1px;height:1px}.receipt-icon{width:34px;height:34px;border-radius:10px;background:#f0def8;color:var(--purple);display:grid;place-items:center}.receipt-icon svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}.receipt-copy{display:grid;gap:2px;min-width:0}.receipt-copy strong{font-size:9.5px}.receipt-copy small{font-size:8px;color:var(--muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.receipt-action{font-size:8.5px;font-weight:900;color:var(--purple)}.report-form>button,.secondary-button{height:44px;border:0;border-radius:12px;background:var(--purple);color:#fff;font:inherit;font-size:10.5px;font-weight:900;cursor:pointer}.secondary-button{padding:0 18px}.public-footer{display:flex;align-items:center;justify-content:center;gap:5px;padding:3px 14px 20px;color:#918995;font-size:8px}.public-footer strong{color:var(--purple)}.bank-picker{position:fixed;inset:0;z-index:30}.bank-picker-backdrop{position:absolute;inset:0;border:0;background:rgba(29,14,37,.48)}.bank-picker-sheet{position:absolute;left:50%;bottom:16px;transform:translateX(-50%);width:min(398px,calc(100vw - 28px));max-height:min(72dvh,650px);background:#fff;border-radius:22px;box-shadow:0 24px 70px rgba(37,10,49,.28);overflow:hidden;display:flex;flex-direction:column}.bank-picker-handle{width:38px;height:4px;border-radius:99px;background:#ddd1e3;margin:8px auto 2px}.bank-picker-head{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:8px 14px 10px;border-bottom:1px solid #eee7f1}.bank-picker-head span{display:block;font-size:7.5px;font-weight:950;letter-spacing:.1em;color:var(--purple)}.bank-picker-head h2{font-size:15px;margin:3px 0 0}.bank-picker-head button{width:30px;height:30px;border:1px solid #e6dce9;border-radius:10px;background:#fff;color:#6d6372;font-size:20px;line-height:1;cursor:pointer}.bank-picker-list{overflow:auto;padding:5px 7px 10px}.bank-option{width:100%;min-height:42px;border:0;border-bottom:1px solid #f2edf4;background:#fff;color:var(--ink);display:flex;align-items:center;padding:0 9px;text-align:left;font:inherit;font-size:10.5px;font-weight:800;cursor:pointer}.bank-option:last-child{border-bottom:0}.bank-option:hover,.bank-option.active{background:#f9f1fc;color:var(--purple)}@keyframes spin{to{transform:rotate(360deg)}}@keyframes pulse{50%{opacity:.42}}[hidden]{display:none!important}@media(max-width:520px){html,body{background:#fbfafc}.public-stage{display:block;padding:0}.phone-shell{width:100%;min-height:100dvh;border:0;border-radius:0;box-shadow:none}.brand-head{padding-top:env(safe-area-inset-top);height:calc(56px + env(safe-area-inset-top));padding-inline:14px}.brand-head img{width:30px;height:30px;border-radius:9px}.brand-head strong{font-size:15px}.merchant-card{margin:10px 12px 0;padding:9px 10px}.charge-summary{margin:8px 12px;padding:13px;border-radius:17px}.charge-summary h1{font-size:17px}.amount-card{padding:12px 13px}.amount-card>strong{font-size:23px}.payment-section{margin:8px 12px 14px;padding:13px;border-radius:17px}.section-title h2{font-size:14px}.method-choice{min-height:60px}.bank-picker-sheet{bottom:0;width:100%;max-height:78dvh;border-radius:20px 20px 0 0}.public-footer{padding-bottom:max(18px,env(safe-area-inset-bottom))}}@media(prefers-reduced-motion:reduce){.spinner,.loading-view strong{animation:none}}


/* v3 · selección neutra, ayuda bancaria y composición compacta en escritorio */
.bank-label{position:relative;display:flex;align-items:center;gap:5px;flex-wrap:wrap}
.bank-label small{font-size:7.5px;font-weight:800;color:var(--muted)}
.field-help-button{width:17px;height:17px;flex:0 0 17px;border:1px solid #d7c5df;border-radius:50%;background:#fbf5fe;color:var(--purple);display:inline-grid;place-items:center;padding:0;font:inherit;font-size:10px;font-weight:950;line-height:1;cursor:pointer}
.field-help-button:hover,.field-help-button[aria-expanded="true"]{background:#f1def9;border-color:#bd8dd2}
.field-help-popover{position:absolute;z-index:12;left:0;top:19px;margin:0;width:min(285px,calc(100% - 12px));padding:9px 10px;border:1px solid #e2d5e7;border-radius:11px;background:#fff;color:#625969;box-shadow:0 12px 32px rgba(44,15,57,.15);font-size:8.5px;line-height:1.45}
@media(min-width:521px){
  .public-stage{padding:10px 18px}
  .phone-shell{width:min(100%,390px);min-height:0;max-height:calc(100dvh - 20px);border-radius:26px;overflow-y:auto;overscroll-behavior:contain;scrollbar-width:thin}
  .brand-head{height:48px;padding:0 14px;gap:8px}
  .brand-head img{width:27px;height:27px;border-radius:9px}.brand-head strong{font-size:14px}
  .merchant-card{margin:8px 10px 0;padding:7px 9px;border-radius:11px}.merchant-card span,.eyebrow{font-size:6.7px}.merchant-card strong{font-size:9.5px}
  .charge-summary{margin:6px 10px;padding:10px;border-radius:14px}.charge-summary h1{font-size:15px;margin-bottom:3px}.charge-summary>p{font-size:8.5px;line-height:1.35;margin-bottom:7px}
  .client-row{padding:7px 0}.client-row span{font-size:7px}.client-row strong{font-size:8.8px}
  .amount-card{padding:9px 11px;border-radius:12px}.amount-card>span{font-size:6.3px}.amount-card>strong{font-size:20px;margin:3px 0 4px}.amount-meta small{font-size:6.7px}
  .status-card{margin:6px 10px;padding:9px;border-radius:12px}.state-icon{width:28px;height:28px;flex-basis:28px;border-radius:9px;font-size:13px}.status-card strong{font-size:10px}.status-card p{font-size:8px}
  .payment-section{margin:6px 10px 9px;padding:10px;border-radius:14px}.section-title h2{font-size:12px;margin:2px 0 7px}
  .payment-method-selector{gap:6px;margin-bottom:7px}.method-choice{min-height:47px;border-radius:10px;padding:6px;gap:3px}.method-choice svg{width:17px;height:17px}.method-choice span{font-size:8px}
  .payment-method-details{padding:2px 8px;margin-bottom:7px;border-radius:10px}.detail-row{grid-template-columns:58px minmax(0,1fr) 24px;min-height:32px}.detail-row>span{font-size:6.7px}.detail-row>strong{font-size:7.8px}.copy-mini{width:23px;height:23px;border-radius:7px}.copy-mini svg{width:12px;height:12px}
  .report-form{gap:7px}.field-block{gap:3px}.field-label{font-size:7px}.bank-label small{font-size:6.5px}.field-help-button{width:15px;height:15px;flex-basis:15px;font-size:8px}.field-help-popover{top:16px;padding:7px 8px;font-size:7.3px;border-radius:9px}
  .custom-select-trigger,.report-form input[type="text"]{height:33px;border-radius:9px;padding-inline:9px;font-size:9px}.custom-select-trigger svg{width:14px;height:14px}.field-block small{font-size:6.7px}
  .receipt-picker{min-height:45px;padding:6px 8px;grid-template-columns:27px minmax(0,1fr) auto;gap:7px;border-radius:10px}.receipt-icon{width:27px;height:27px;border-radius:8px}.receipt-icon svg{width:15px;height:15px}.receipt-copy strong{font-size:8px}.receipt-copy small,.receipt-action{font-size:6.8px}
  .report-form>button{height:34px;border-radius:9px;font-size:8.5px}.public-footer{padding:1px 10px 8px;font-size:6.8px}
}

/* v4 · Copiar monto en bolívares */
.amount-value-row{display:flex;align-items:center;justify-content:space-between;gap:10px;margin:5px 0 6px}
.amount-value-row>strong{display:block;font-size:25px;margin:0}
.amount-copy-button{width:30px;height:30px;flex:0 0 30px;border:1px solid rgba(255,255,255,.35);border-radius:9px;background:rgba(255,255,255,.12);color:#fff;display:grid;place-items:center;cursor:pointer}
.amount-copy-button:hover{background:rgba(255,255,255,.2)}
.amount-copy-button svg{width:15px;height:15px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.amount-copy-button.copied{background:#e9f7f0;color:var(--ok);border-color:#cbe9da}
@media(min-width:521px){.amount-value-row{margin:3px 0 4px}.amount-value-row>strong{font-size:20px}.amount-copy-button{width:24px;height:24px;flex-basis:24px;border-radius:7px}.amount-copy-button svg{width:12px;height:12px}}
@media(max-width:520px){.amount-value-row>strong{font-size:23px}}

/* v6 · Banco de origen: placeholder neutro */
.bank-option-placeholder{color:#9a929d!important;background:#faf8fb!important;cursor:default!important;font-weight:800!important}
.bank-option-placeholder:hover{color:#9a929d!important;background:#faf8fb!important}
