[data-topup-credit-link][hidden],.credit-count[hidden],.credit-page [hidden]{display:none!important}
.credit-page .section-head{flex-wrap:wrap}
.credit-page h3{margin:26px 0 4px}
.credit-count{display:inline-grid;place-items:center;min-width:20px;height:20px;margin-left:6px;padding:0 6px;border-radius:999px;background:var(--ms-pink,#ff3ca8);color:#fff;font-size:11px;font-weight:800}
.credit-list{display:grid;gap:16px;margin-top:14px}
.credit-card{min-width:0;display:grid;gap:12px;padding:20px;border:1px solid var(--line);border-radius:16px;background:#100e18}
.credit-head{display:flex;flex-wrap:wrap;gap:4px 14px;align-items:baseline;justify-content:space-between}
.credit-head strong{font-size:22px;color:var(--text)}
.credit-head span,.credit-meta{color:var(--muted);font-size:13px;overflow-wrap:anywhere}
.credit-meta{margin:0}
.credit-card fieldset{min-width:0;display:grid;gap:8px;margin:0;padding:10px 12px;border:1px solid var(--line);border-radius:12px}
.credit-card legend{padding:0 6px;color:var(--muted);font-size:12px;font-weight:800}
.credit-page label.credit-option,.credit-page label.credit-check{display:flex;gap:10px;align-items:flex-start;font-size:13px;font-weight:600;color:var(--text);overflow-wrap:anywhere}
.credit-option small{display:block;margin-top:2px;color:var(--muted);font-weight:400}
.credit-page input[type=radio],.credit-page input[type=checkbox]{flex:0 0 auto;width:18px;height:18px;margin:1px 0 0;padding:0;accent-color:var(--green)}
.credit-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.credit-actions{display:flex;flex-wrap:wrap;gap:10px;align-items:center}
.credit-summary{margin:0;padding:12px 14px;border-radius:12px;border:1px solid #ffc94f40;background:#ffc94f12;color:var(--text);font-weight:700;overflow-wrap:anywhere}
.credit-card.credit-review{border-color:#ff9ba666;background:#ff9ba60d}
.credit-empty{margin:0;padding:14px;border:1px dashed var(--line);border-radius:12px;color:var(--muted)}
.credit-history{display:grid;gap:8px;margin:8px 0 0;padding:0;list-style:none}
.credit-history li{padding:10px 12px;border:1px solid var(--line);border-radius:12px;font-size:13px;overflow-wrap:anywhere}
.credit-flag{color:var(--text);font-weight:800}
.credit-dni{display:block;margin-top:4px;font-size:12px;font-weight:800;color:var(--muted)}
.credit-dni-ok{color:var(--green,#3ddc97)}
.credit-dni-bad{color:#ff9ba6}
.credit-hgreview{display:grid;gap:6px;padding:10px 12px;border:1px solid #ffc94f40;border-radius:12px;background:#ffc94f0d}
.credit-cuit{display:flex;gap:8px;align-items:center;min-width:0}
.credit-cuit input{flex:1 1 auto;min-width:0}
.credit-cuit button{flex:0 0 auto;white-space:nowrap}
.credit-check-result{margin:0;padding:10px 12px;border:1px solid var(--line);border-radius:12px;color:var(--text);font-size:13px;font-weight:700;overflow-wrap:anywhere}
.credit-checkonly{display:grid;gap:10px;max-width:520px}
@media(max-width:640px){.credit-fields{grid-template-columns:1fr}.credit-card{padding:16px}.credit-head strong{font-size:19px}.credit-cuit{flex-wrap:wrap}.credit-cuit button{flex:1 1 100%}}
/* v28 «Conciliar cargas»: settings of the automatic part and the checks of each order. */
.credit-settings{display:grid;gap:6px;margin:0 0 14px;padding:12px 14px;border:1px solid var(--line);border-radius:14px}
.credit-settings[hidden]{display:none}
.credit-settings-row{display:flex;flex-wrap:wrap;align-items:center;gap:8px 14px}
.credit-settings p{margin:0}
.credit-switch,.credit-window{display:inline-flex;align-items:center;gap:6px;font-weight:700}
.credit-window input{width:72px}
.credit-chips{display:flex;flex-wrap:wrap;gap:6px;margin-top:6px}
.credit-chip{padding:3px 8px;border:1px solid var(--line);border-radius:999px;font-size:12px;font-style:normal;font-weight:700;line-height:1.3}
.credit-chip-ok{border-color:#22c55e80}
.credit-chip-warn{border-color:#f59e0b99}
/* v29 «Hay novedades · Actualizar»: the list is never redrawn by itself. While empty the box stays in the
   accessibility tree (visually hidden) so the role=status text is announced once when news arrive. */
.credit-news{display:flex;flex-wrap:wrap;align-items:center;gap:8px 12px;margin:0 0 12px;padding:10px 14px;border:1px solid #6ea8ff80;border-radius:12px;background:#6ea8ff14;color:var(--text);font-weight:700;overflow-wrap:anywhere}
.credit-news:not(.has-news){position:absolute;width:1px;height:1px;margin:-1px;padding:0;border:0;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
.credit-news button{min-height:36px}
@media(max-width:520px){.credit-news button{flex:1 1 100%;min-height:44px}}
/* v29 review #16: a counter with only «En revisión (no reintentar)» items looks different (nothing to reconcile there).
   #adminView beats the pink of mobile.css. */
#adminView .credit-count.credit-count-review,.credit-count.credit-count-review{background:#2a1520;color:#ffd3da;box-shadow:inset 0 0 0 1px #ff9ba6}
/* v29 review #14: the answer of a write that arrived after the session closed. It stays until «Entendido». */
.credit-orphan{display:flex;flex-wrap:wrap;align-items:center;gap:10px 14px;margin:0 0 14px;padding:12px 14px;border:1px solid #ffc94f66;border-radius:12px;background:#ffc94f14;color:var(--text);font-weight:700;overflow-wrap:anywhere}
.credit-orphan.is-alert{border:2px solid #ff9ba6;background:#ff9ba61a}
.credit-orphan-text{flex:1 1 280px;min-width:0;margin:0}
.credit-orphan button{min-height:44px}
@media(max-width:520px){.credit-orphan button{flex:1 1 100%}}

