/* ════════════════════════════════════════════════════════════════════
   NV Gestor 6.1 · Extras (nv-extras-610.css)
   Ventanas, Panel "Herramientas del negocio", Clientes cortados, Cuenta en
   revisión, Mi dinero, Lista de precios, Novedades y Modo liviano.
   Solo variables del tema (--bg*, --text*, --border*, --accent*, --green,
   --amber, --red): sigue a todos los temas y al modo claro.
   ════════════════════════════════════════════════════════════════════ */
:root {
  --nvx-ease: cubic-bezier(.2, .8, .2, 1);
  --nvx-spring: cubic-bezier(.32, 1.28, .5, 1);
  --nvx-soft: rgba(var(--nv-accent-rgb, 139, 147, 255), .12);
  --nvx-line: rgba(var(--nv-accent-rgb, 139, 147, 255), .26);
}

/* ── Ventana ───────────────────────────────────────────────────────── */
.nvx-ov {
  position: fixed; inset: 0; z-index: 10070; display: grid; place-items: center; padding: 16px;
  background: rgba(0, 0, 0, .5); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  font-family: var(--nv-font-ui, inherit); color: var(--text); opacity: 0; transition: opacity .2s ease;
}
.nvx-ov.on { opacity: 1; }
.nvx-ov.out { opacity: 0; transition-duration: .16s; }
.nvx-ov *, .nvx-ov *::before, .nvx-ov *::after { box-sizing: border-box; }
.nvx-md {
  width: min(var(--nvx-w, 560px), 100%); max-height: min(880px, calc(100vh - 32px)); max-height: min(880px, calc(100dvh - 32px));
  display: flex; flex-direction: column; overflow: hidden; outline: none;
  background: var(--bg2); border: 1px solid var(--border2, var(--border)); border-radius: 22px;
  box-shadow: 0 30px 80px -20px rgba(0, 0, 0, .6);
  transform: translateY(14px) scale(.97); transition: transform .32s var(--nvx-spring);
}
.nvx-ov.on .nvx-md { transform: none; }
.nvx-ov.out .nvx-md { transform: translateY(8px) scale(.98); transition: transform .16s ease-in; }
.nvx-h { display: flex; align-items: center; gap: 12px; padding: 18px 20px 12px; flex-shrink: 0; }
.nvx-h-t { flex: 1; min-width: 0; }
.nvx-h h3 { margin: 0; font: 700 17px/1.25 var(--nv-font-display, inherit); letter-spacing: -.01em; color: var(--text); }
.nvx-h small { display: block; margin-top: 3px; font-size: 12.5px; color: var(--text3); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.nvx-h-ic { width: 38px; height: 38px; border-radius: 12px; display: grid; place-items: center; flex-shrink: 0; color: var(--accent2, var(--accent)); background: var(--nvx-soft); border: 1px solid var(--nvx-line); }
.nvx-x {
  width: 36px; height: 36px; border-radius: 11px; border: 0; background: transparent; color: var(--text3);
  display: grid; place-items: center; cursor: pointer; flex-shrink: 0; transition: background-color .16s, color .16s, transform .16s var(--nvx-spring);
}
.nvx-x:hover { background: var(--bg3); color: var(--text); }
.nvx-x:active { transform: scale(.92); }
.nvx-b { flex: 1; min-height: 0; overflow-y: auto; overscroll-behavior: contain; padding: 4px 20px 16px; display: flex; flex-direction: column; gap: 14px; }
.nvx-f { display: flex; align-items: center; justify-content: flex-end; flex-wrap: wrap; gap: 8px; padding: 12px 20px 16px; border-top: 1px solid var(--border); flex-shrink: 0; }
.nvx-f[hidden] { display: none; }
.nvx-acc-cpp[hidden] { display: none; }
.nvx-sp { flex: 1; }

/* ── Botones y campos ──────────────────────────────────────────────── */
.nvx-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 7px; min-height: 38px; padding: 0 14px;
  border-radius: 11px; border: 1px solid var(--border2, var(--border)); background: var(--bg3); color: var(--text);
  font: 600 13px/1 var(--nv-font-ui, inherit); cursor: pointer; white-space: nowrap; -webkit-tap-highlight-color: transparent;
  transition: transform .15s var(--nvx-spring), border-color .15s, background-color .15s, opacity .15s, filter .15s;
}
.nvx-btn:hover:not(:disabled) { border-color: var(--accent); }
.nvx-btn:active:not(:disabled) { transform: scale(.96); }
.nvx-btn:disabled { opacity: .45; cursor: default; }
.nvx-btn svg { flex-shrink: 0; }
.nvx-btn.pri { background: var(--accent); border-color: transparent; color: var(--nv6-on-accent, var(--nv54-on-accent, #fff)); }
.nvx-btn.pri:hover:not(:disabled) { filter: brightness(1.08); border-color: transparent; }
.nvx-btn.ghost { background: transparent; }
.nvx-btn.sm { min-height: 32px; padding: 0 11px; font-size: 12.5px; border-radius: 9px; }
.nvx-btn.ok { border-color: var(--green); color: var(--green); background: transparent; }
.nvx-btn.busy { position: relative; color: transparent !important; pointer-events: none; }
.nvx-btn.busy::after { content: ''; position: absolute; width: 15px; height: 15px; border-radius: 50%; border: 2px solid var(--text2); border-right-color: transparent; animation: nvxGira .7s linear infinite; }
@keyframes nvxGira { to { transform: rotate(360deg); } }
.nvx-btn:focus-visible, .nvx-x:focus-visible, .nvx-chk:focus-visible, .nvx-mchips button:focus-visible, .nvx-pay button:focus-visible,
.nvx-sw:focus-visible, .nvx-ocb:focus-visible, .nvx-mini:focus-visible, .nvx-dots button:focus-visible, .nvx-pct button:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.nvx-mini {
  display: inline-grid; place-items: center; min-width: 30px; height: 30px; padding: 0 6px; border-radius: 9px; border: 1px solid var(--border);
  background: transparent; color: var(--text3); cursor: pointer; flex-shrink: 0; font: 600 11.5px/1 var(--nv-font-ui, inherit);
  transition: color .15s, border-color .15s, background-color .15s;
}
.nvx-mini:hover { color: var(--text); border-color: var(--accent); }
.nvx-mini.txt { padding: 0 10px; }
.nvx-mini.conf { color: var(--red2, var(--red)); border-color: var(--red); padding: 0 8px; }
.nvx-lbl { display: flex; align-items: baseline; gap: 6px; font-size: 11.5px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--text3); margin-bottom: 7px; }
.nvx-lbl em { font-style: normal; font-weight: 500; text-transform: none; letter-spacing: 0; color: var(--text3); opacity: .8; }
.nvx-field { display: block; }
.nvx-input {
  width: 100%; min-height: 42px; padding: 0 12px; border-radius: 11px; border: 1px solid var(--border2, var(--border));
  background: var(--bg3); color: var(--text); font: 500 14px/1.2 var(--nv-font-ui, inherit); outline: none; transition: border-color .15s, box-shadow .15s;
}
.nvx-input:focus { border-color: var(--accent); box-shadow: 0 0 0 3px var(--nvx-soft); }
select.nvx-input { padding-right: 30px; }
.nvx-mut { margin: 0; font-size: 12.5px; line-height: 1.5; color: var(--text3); }
.nvx-mut b { color: var(--text2); }
.nvx-err { margin: 8px 0 0; font-size: 12.5px; color: var(--red2, var(--red)); }
.nvx-warn { display: flex; gap: 10px; align-items: flex-start; padding: 12px 14px; border-radius: 12px; font-size: 13px; line-height: 1.45; color: var(--text2); background: rgba(247, 185, 85, .1); border: 1px solid rgba(247, 185, 85, .3); }
.nvx-warn svg { color: var(--amber); flex-shrink: 0; margin-top: 1px; }
.num { font-variant-numeric: tabular-nums; }
.nvx-ov .num, .nvx-neg .num { font-family: var(--nv-font-num, inherit); }
.bad { color: var(--red2, var(--red)) !important; }
.nvx-ov .ok, .nvx-neg .ok, .nvcj-md .ok.num { color: var(--green); }
.warn { color: var(--amber); }

/* Chips */
.nvx-pay, .nvx-pct { display: flex; flex-wrap: wrap; gap: 6px; }
.nvx-pay button, .nvx-pct button, .nvx-acc-mot button {
  min-height: 34px; padding: 0 12px; border-radius: 99px; border: 1px solid var(--border2, var(--border)); background: transparent; color: var(--text2);
  font: 600 12.5px/1 var(--nv-font-ui, inherit); cursor: pointer; transition: all .15s var(--nvx-ease);
}
.nvx-pay button[aria-pressed="true"], .nvx-pct button[aria-pressed="true"], .nvx-acc-mot button[aria-pressed="true"] { background: var(--nvx-soft); border-color: var(--accent); color: var(--text); }
.nvx-pct .nvx-input { width: 88px; min-height: 34px; border-radius: 99px; }
.nvx-mchips { display: flex; gap: 4px; flex-wrap: wrap; }
.nvx-mchips button {
  min-width: 32px; height: 30px; padding: 0 8px; border-radius: 9px; border: 1px solid var(--border); background: var(--bg3); color: var(--text2);
  font: 700 12.5px/1 var(--nv-font-num, inherit); cursor: pointer; transition: all .15s var(--nvx-ease);
}
.nvx-mchips.big button { height: 34px; padding: 0 12px; font-family: var(--nv-font-ui, inherit); font-weight: 600; }
.nvx-mchips button[aria-checked="true"] { background: var(--accent); border-color: transparent; color: var(--nv6-on-accent, #fff); }
.nvx-mchips button:disabled { opacity: .35; cursor: default; }
.nvx-mchips button:hover:not(:disabled):not([aria-checked="true"]) { border-color: var(--accent); color: var(--text); }
.nvx-chk {
  width: 24px; height: 24px; border-radius: 8px; border: 1.5px solid var(--border2, var(--border)); background: transparent; color: transparent;
  display: grid; place-items: center; cursor: pointer; flex-shrink: 0; padding: 0; transition: all .16s var(--nvx-spring);
}
.nvx-chk svg { width: 14px; height: 14px; }
.nvx-chk[aria-checked="true"] { background: var(--accent); border-color: var(--accent); color: var(--nv6-on-accent, #fff); }
.nvx-chk:active { transform: scale(.9); }
.nvx-chip { display: inline-flex; align-items: center; height: 22px; padding: 0 8px; border-radius: 99px; font-size: 11px; font-weight: 700; white-space: nowrap; background: var(--bg3); color: var(--text2); border: 1px solid var(--border); flex-shrink: 0; }
.nvx-chip.bad { color: var(--red2, var(--red)); border-color: rgba(255, 107, 122, .3); background: rgba(255, 107, 122, .08); }
.nvx-chip.info { color: var(--blue, var(--accent)); border-color: var(--nvx-line); background: var(--nvx-soft); }
.nvx-badge { display: inline-grid; place-items: center; min-width: 20px; height: 20px; padding: 0 6px; border-radius: 99px; background: var(--nvx-soft); color: var(--accent2, var(--accent)); font: 700 11px/1 var(--nv-font-num, inherit); font-style: normal; }
.nvx-tile { display: inline-grid; place-items: center; flex-shrink: 0; line-height: 0; }
.nvx-tile img { border-radius: 8px; }
.nvx-fi { display: inline-grid; place-items: center; border-radius: 8px; background: var(--bg4, var(--bg3)); color: var(--text2); font-weight: 700; font-size: 12px; }
.nvx-av { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; flex-shrink: 0; background: var(--nvx-soft); color: var(--accent2, var(--accent)); font: 700 15px/1 var(--nv-font-display, inherit); text-transform: uppercase; }
.nvx-av.sm { width: 30px; height: 30px; font-size: 12.5px; }
.nvx-empty { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 26px 16px; text-align: center; color: var(--text3); border: 1px dashed var(--border2, var(--border)); border-radius: 14px; }
.nvx-empty svg { width: 22px; height: 22px; color: var(--text3); }
.nvx-empty b { color: var(--text2); font-size: 14px; }
.nvx-empty small { font-size: 12.5px; max-width: 360px; line-height: 1.45; }
.nvx-empty.sm { padding: 16px; list-style: none; }
.nvx-sum { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 16px; border-radius: 14px; background: var(--bg3); border: 1px solid var(--border); }
.nvx-sum small { display: block; font-size: 11.5px; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; color: var(--text3); }
.nvx-sum span { font-size: 12.5px; color: var(--text2); }
.nvx-sum b { font-size: 24px; font-weight: 800; color: var(--text); }

/* ── 1 · Renovar a la persona ──────────────────────────────────────── */
.nvx-pr-top { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.nvx-pr-top .nvx-lbl { margin: 0; }
.nvx-pr-list, .nvx-rc-list, .nvx-mini-l, .nvx-cort-l, .nvx-rk, .nvx-tl, .nvx-lp-l { list-style: none; margin: 0; padding: 0; }
.nvx-pr-list { display: flex; flex-direction: column; gap: 8px; }
.nvx-pr-row {
  display: grid; grid-template-columns: auto auto minmax(0, 1fr) auto auto; align-items: center; gap: 10px; padding: 10px 12px;
  border-radius: 14px; border: 1px solid var(--border); background: var(--bg3); opacity: .72;
  transition: opacity .18s, border-color .18s, background-color .18s; animation: nvxIn .32s var(--nvx-ease) both; animation-delay: calc(var(--i, 0) * 30ms);
}
.nvx-pr-row.on { opacity: 1; border-color: var(--nvx-line); }
.nvx-pr-t { min-width: 0; }
.nvx-pr-t b { display: block; font-size: 14px; color: var(--text); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.nvx-pr-t small { display: block; margin-top: 2px; font-size: 12px; color: var(--text3); line-height: 1.4; }
.nvx-pr-t em { font-style: normal; color: var(--green); font-weight: 600; }
.nvx-amt { min-width: 64px; text-align: right; font-size: 14px; color: var(--text); }
@keyframes nvxIn { from { opacity: 0; transform: translateY(6px); } }
.nvx-ok { display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 10px 0 4px; text-align: center; }
.nvx-ok b { font-size: 26px; font-weight: 800; color: var(--text); }
.nvx-ok small { font-size: 12.5px; color: var(--text3); }
.nvx-ok-mark { width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; background: rgba(61, 220, 151, .14); color: var(--green); margin-bottom: 6px; animation: nvxPop .5s var(--nvx-spring) both; }
.nvx-ok-mark svg { width: 28px; height: 28px; stroke-width: 2.4; }
@keyframes nvxPop { from { transform: scale(.4); opacity: 0; } }
.nvx-rc-list { display: flex; flex-direction: column; border: 1px solid var(--border); border-radius: 14px; overflow: hidden; }
.nvx-rc-list li { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 2px 10px; padding: 10px 14px; border-top: 1px solid var(--border); }
.nvx-rc-list li:first-child { border-top: 0; }
.nvx-rc-list b { font-size: 13.5px; color: var(--text); }
.nvx-rc-list small { grid-column: 1; font-size: 12px; color: var(--text3); }
.nvx-rc-list span { grid-row: 1 / span 2; grid-column: 2; align-self: center; font-weight: 700; color: var(--text); }
.nvx-rc-prev { display: grid; place-items: center; }
.nvx-rc-prev img, .nvx-lp-pv img { max-width: 100%; height: auto; border-radius: 14px; border: 1px solid var(--border); background: var(--bg); }
.nvx-rc-prev img { max-height: 320px; }
/* Botón dentro de Renovar cliente */
.nvx-rvp {
  display: flex; align-items: center; gap: 12px; padding: 11px 12px; border-radius: 14px; margin: 2px 0;
  border: 1px solid var(--nvx-line); background: var(--nvx-soft); animation: nvxIn .3s var(--nvx-ease) both;
}
.nvx-rvp > div { flex: 1; min-width: 0; }
.nvx-rvp b { display: block; font-size: 13.5px; color: var(--text); }
.nvx-rvp small { display: block; font-size: 12px; color: var(--text3); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.nvx-rvp-ic { width: 32px; height: 32px; border-radius: 10px; display: grid; place-items: center; color: var(--accent2, var(--accent)); background: var(--bg2); flex-shrink: 0; }

/* ── 3 · Historial del perfil ──────────────────────────────────────── */
.nvx-ocb {
  display: inline-flex; align-items: center; gap: 7px; align-self: flex-start; margin: 6px 20px 2px; min-height: 32px; padding: 0 12px;
  border-radius: 99px; border: 1px solid var(--border2, var(--border)); background: var(--bg3); color: var(--text2);
  font: 600 12.5px/1 var(--nv-font-ui, inherit); cursor: pointer; transition: border-color .15s, color .15s;
}
.nvx-ocb:hover { border-color: var(--accent); color: var(--text); }
.nvx-ocb em { font-style: normal; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 99px; display: grid; place-items: center; background: var(--nvx-soft); color: var(--accent2, var(--accent)); font-size: 11px; font-weight: 700; }
.nvx-ocb.in { margin: 0; }
.nvx-oc-now { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 14px; background: var(--bg3); border: 1px solid var(--border); }
.nvx-oc-now b { display: block; font-size: 14px; color: var(--text); }
.nvx-oc-now small { font-size: 12px; color: var(--text3); }
.nvx-tl { position: relative; display: flex; flex-direction: column; gap: 2px; }
.nvx-tl::before { content: ''; position: absolute; left: 7px; top: 12px; bottom: 12px; width: 2px; border-radius: 2px; background: var(--border); }
.nvx-tl li { position: relative; display: grid; grid-template-columns: 16px minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 9px 0; animation: nvxIn .3s var(--nvx-ease) both; animation-delay: calc(var(--i, 0) * 35ms); }
.nvx-tl-dot { width: 16px; height: 16px; border-radius: 50%; background: var(--bg2); border: 3px solid var(--text3); z-index: 1; }
.nvx-tl-dot.bad { border-color: var(--red); }
.nvx-tl-dot.info { border-color: var(--accent); }
.nvx-tl b { display: block; font-size: 13.5px; color: var(--text); }
.nvx-tl small { display: block; font-size: 12px; line-height: 1.4; color: var(--text3); }
.nvx-hc { border: 1px solid var(--border); border-radius: 14px; padding: 10px 14px; }
.nvx-hc h4 { margin: 0 0 6px; font-size: 13px; color: var(--text); display: flex; gap: 8px; align-items: baseline; }
.nvx-hc h4 small { font-weight: 500; color: var(--text3); }
.nvx-hc ul { list-style: none; margin: 0; padding: 0; }
.nvx-hc li { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; gap: 8px; align-items: center; padding: 5px 0; font-size: 12.5px; }
.nvx-hc li b { color: var(--text2); font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.nvx-hc li small { color: var(--text3); }

/* ── 2 · Clientes cortados (Cortes pendientes) ─────────────────────── */
.nvx-cort { margin: 20px 0 8px; padding: 16px; border-radius: 18px; border: 1px solid var(--border); background: var(--bg2); color: var(--text); }
.nvx-cort-h { display: flex; align-items: center; gap: 12px; }
.nvx-cort-h > div { flex: 1; min-width: 0; }
.nvx-cort-h b { display: block; font-size: 15px; }
.nvx-cort-h small { display: block; margin-top: 2px; font-size: 12.5px; line-height: 1.45; color: var(--text3); }
.nvx-cort-ic { width: 38px; height: 38px; border-radius: 12px; display: grid; place-items: center; flex-shrink: 0; color: var(--green); background: rgba(61, 220, 151, .12); }
.nvx-cort-b { margin-top: 14px; display: flex; flex-direction: column; gap: 10px; animation: nvxIn .28s var(--nvx-ease) both; }
.nvx-cort-l { display: flex; flex-direction: column; gap: 6px; }
.nvx-cort-l > li:not(.nvx-empty):not(.nvx-more) {
  display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 10px 12px;
  border-radius: 13px; background: var(--bg3); border: 1px solid var(--border); animation: nvxIn .3s var(--nvx-ease) both; animation-delay: calc(var(--i, 0) * 25ms);
  content-visibility: auto; contain-intrinsic-size: auto 60px;
}
.nvx-ct-t { min-width: 0; }
.nvx-ct-t b { display: block; font-size: 13.5px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.nvx-ct-t small { display: block; font-size: 12px; color: var(--text3); line-height: 1.4; }
.nvx-more { display: flex; justify-content: center; padding-top: 4px; }
.nvx-ra-id { display: flex; align-items: center; gap: 12px; }
.nvx-ra-id b { display: block; font-size: 15px; color: var(--text); }
.nvx-ra-id small { display: block; font-size: 12.5px; color: var(--text3); }
.nvx-sec .nvx-mut { margin-top: 8px; }

/* ── 4 · 5 · Editar cuenta: costo por perfil y revisión ────────────── */
.nvx-acc { display: flex; flex-direction: column; gap: 10px; margin: 0 0 14px; }
.nvx-acc:empty { display: none; }
.nvx-acc-cpp { display: flex; align-items: center; gap: 10px; font-size: 13px; color: var(--text2); }
.nvx-acc-cpp b { color: var(--text); font-size: 14px; }
.nvx-acc-cpp small { color: var(--text3); }
.nvx-acc-ic { width: 30px; height: 30px; border-radius: 9px; display: grid; place-items: center; flex-shrink: 0; background: var(--bg3); color: var(--text2); border: 1px solid var(--border); }
.nvx-acc-rev { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 14px; border: 1px solid var(--border); background: var(--bg3); transition: border-color .2s, background-color .2s; }
.nvx-acc-rev > div { flex: 1; min-width: 0; }
.nvx-acc-rev b { display: block; font-size: 13.5px; color: var(--text); }
.nvx-acc-rev small { display: block; margin-top: 2px; font-size: 12px; line-height: 1.45; color: var(--text3); }
.nvx-acc-rev.on { border-color: rgba(247, 185, 85, .45); background: rgba(247, 185, 85, .08); }
.nvx-acc-rev.on .nvx-acc-ic { color: var(--amber); border-color: rgba(247, 185, 85, .4); }
.nvx-acc-mot { display: flex; flex-wrap: wrap; gap: 6px; }
.nvx-sw { position: relative; flex-shrink: 0; width: 44px; height: 26px; border-radius: 99px; border: 0; padding: 0; cursor: pointer; background: var(--bg4, var(--border2, var(--border))); transition: background-color .2s ease; }
.nvx-sw i { position: absolute; top: 3px; left: 3px; width: 20px; height: 20px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0, 0, 0, .3); transition: transform .22s var(--nvx-spring); }
.nvx-sw[aria-checked="true"] { background: var(--amber); }
.nvx-sw[aria-checked="true"] i { transform: translateX(18px); }
.nvrv-state .nvx-cpp { display: block; margin-top: 2px; font-size: 11px; font-weight: 600; color: var(--text3); }

/* ── 11 · Quién no va a renovar ────────────────────────────────────── */
.nvx-rk { display: flex; flex-direction: column; gap: 8px; }
.nvx-rk li { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 10px 12px; border-radius: 14px; background: var(--bg3); border: 1px solid var(--border); animation: nvxIn .3s var(--nvx-ease) both; animation-delay: calc(var(--i, 0) * 25ms); content-visibility: auto; contain-intrinsic-size: auto 72px; }
.nvx-rk-t { min-width: 0; }
.nvx-rk-t b { display: block; font-size: 13.5px; color: var(--text); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.nvx-rk-t small { display: block; font-size: 12px; color: var(--text3); }
.nvx-rk-t small.why { color: var(--text2); margin-top: 2px; line-height: 1.4; }
.nvx-rk-a { display: flex; gap: 6px; }
.nvx-rk-s { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; flex-shrink: 0; font-size: 14px; }
.nvx-rk-s.sm { width: 32px; height: 32px; border-radius: 10px; font-size: 12px; }
.nvx-rk-s.alto { background: rgba(255, 107, 122, .14); color: var(--red2, var(--red)); }
.nvx-rk-s.medio { background: rgba(247, 185, 85, .14); color: var(--amber); }

/* ── Panel · Herramientas del negocio ──────────────────────────────── */
.nvx-neg { margin: 28px 28px 8px; color: var(--text); font-family: var(--nv-font-ui, inherit); }
.nvx-neg[hidden] { display: none; }
.nvx-neg-h { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.nvx-neg-h h2 { margin: 2px 0 0; font: 700 22px/1.2 var(--nv-font-display, inherit); letter-spacing: -.02em; color: var(--text); }
.nvx-eyebrow { font-size: 11px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--accent2, var(--accent)); }
.nvx-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 14px; align-items: start; }
.nvx-card {
  display: flex; flex-direction: column; gap: 12px; min-width: 0; padding: 16px; border-radius: 18px; border: 1px solid var(--border); background: var(--bg2);
  animation: nvxIn .4s var(--nvx-ease) both; transition: border-color .2s, transform .2s var(--nvx-ease);
}
.nvx-card:hover { border-color: var(--border2, var(--border)); }
.nvx-card.wide { grid-column: span 2; }
.nvx-card > header { display: flex; align-items: center; gap: 12px; }
.nvx-card > header > div { min-width: 0; }
.nvx-card > header b { display: block; font-size: 14.5px; color: var(--text); }
.nvx-card > header small { display: block; margin-top: 2px; font-size: 12px; color: var(--text3); line-height: 1.4; }
.nvx-card > header small em { font-style: normal; font-weight: 700; }
.nvx-card-ic { width: 36px; height: 36px; border-radius: 11px; display: grid; place-items: center; flex-shrink: 0; color: var(--accent2, var(--accent)); background: var(--nvx-soft); }
.nvx-card-b { flex: 1; min-width: 0; }
.nvx-card > footer { display: flex; gap: 8px; flex-wrap: wrap; }
.nvx-mini-l { display: flex; flex-direction: column; gap: 4px; }
.nvx-mini-l li { display: flex; align-items: center; gap: 10px; padding: 6px 0; border-top: 1px solid var(--border); min-width: 0; }
.nvx-mini-l li:first-child { border-top: 0; }
.nvx-mini-l li > div { flex: 1; min-width: 0; }
.nvx-mini-l b { display: block; font-size: 13px; color: var(--text); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.nvx-mini-l small { display: block; font-size: 11.5px; color: var(--text3); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.nvx-mini-l .mono { font-family: var(--nv-font-num, monospace); font-size: 12px; }
.nvx-kv { display: grid; grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); gap: 12px; }
.nvx-kv small { display: block; font-size: 11px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; color: var(--text3); }
.nvx-kv b { display: block; margin: 4px 0 2px; font-size: 22px; font-weight: 800; color: var(--text); }
.nvx-kv em { display: block; font-style: normal; font-size: 11.5px; line-height: 1.4; color: var(--text3); }
.nvx-tb { width: 100%; border-collapse: collapse; font-size: 12.5px; table-layout: fixed; }
.nvx-tb th:first-child, .nvx-tb td:first-child { width: 40%; }
.nvx-tb th, .nvx-tb td { background: none !important; box-shadow: none !important; }
.nvx-tb th { text-align: left; font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; color: var(--text3); padding: 0 4px 6px 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.nvx-tb td { padding: 6px 4px 6px 0; border-top: 1px solid var(--border); color: var(--text2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.nvx-tb td:first-child { color: var(--text); }
.nvx-tb th:last-child, .nvx-tb td:last-child { padding-right: 0; }
.nvx-tb th:not(:first-child), .nvx-tb td:not(:first-child) { text-align: right; }

/* ── 7 · 9 · Caja > Mi dinero ──────────────────────────────────────── */
.nvx-din-hero .nvcj-pill { display: inline-flex; align-items: center; gap: 6px; }
.nvx-din-hero .nvcj-pill svg { width: 14px; height: 14px; }
.nvx-din-row { display: flex; gap: 8px; flex-wrap: wrap; }
.nvx-din-kpi { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin-bottom: 10px; }
.nvx-din-kpi > div { padding: 10px 12px; border-radius: 12px; background: var(--bg3); border: 1px solid var(--border); min-width: 0; }
.nvx-din-kpi small { display: block; font-size: 10.5px; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; color: var(--text3); }
.nvx-din-kpi b { display: block; margin-top: 4px; font-size: 16px; font-weight: 800; color: var(--text); overflow: hidden; text-overflow: ellipsis; }
.nvx-bar { height: 8px; border-radius: 99px; background: var(--bg3); overflow: hidden; margin: 10px auto 6px; max-width: 320px; }
.nvx-bar i { display: block; height: 100%; width: var(--w, 0%); border-radius: 99px; background: linear-gradient(90deg, var(--accent), var(--green)); transform-origin: left; animation: nvxBar .8s var(--nvx-ease) both; }
@keyframes nvxBar { from { transform: scaleX(0); } }
.nvx-form { display: flex; flex-direction: column; gap: 14px; }
.nvx-form h4 { margin: 0; }
.nvcj-mv .nvx-mini { margin-left: 6px; }

/* ── 10 · Lista de precios ─────────────────────────────────────────── */
.nvx-lp-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 16px; align-items: start; }
.nvx-lp-ed { display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.nvx-lp-l { display: flex; flex-direction: column; gap: 6px; max-height: 380px; overflow-y: auto; padding-right: 2px; }
.nvx-lp-l li { display: grid; grid-template-columns: auto auto minmax(0, 1fr) 76px 76px; gap: 8px; align-items: center; padding: 6px 8px; border-radius: 12px; background: var(--bg3); border: 1px solid var(--border); transition: opacity .18s; }
.nvx-lp-l li.off { opacity: .5; }
.nvx-lp-l li > b { font-size: 13px; color: var(--text); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.nvx-lp-l label { display: flex; flex-direction: column; gap: 2px; }
.nvx-lp-l label small { font-size: 10px; font-weight: 700; text-transform: uppercase; color: var(--text3); }
.nvx-lp-l .nvx-input { min-height: 32px; padding: 0 8px; font-size: 13px; border-radius: 9px; }
.nvx-lp-pv { position: sticky; top: 0; }

/* ── 12 · Novedades ────────────────────────────────────────────────── */
.nvx-nov-p { display: flex; flex-direction: column; gap: 12px; }
.nvx-nov-p.in-r { animation: nvxSlideR .34s var(--nvx-ease) both; }
.nvx-nov-p.in-l { animation: nvxSlideL .34s var(--nvx-ease) both; }
@keyframes nvxSlideR { from { opacity: 0; transform: translateX(24px); } }
@keyframes nvxSlideL { from { opacity: 0; transform: translateX(-24px); } }
.nvx-ilus { display: block; color: var(--text); border-radius: 16px; }
.nvx-nov-p h4 { margin: 0; font: 700 18px/1.25 var(--nv-font-display, inherit); color: var(--text); }
.nvx-nov-p ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.nvx-nov-p li { padding-left: 14px; border-left: 2px solid var(--nvx-line); }
.nvx-nov-p li b { display: block; font-size: 13.5px; color: var(--text); }
.nvx-nov-p li small { display: block; margin-top: 2px; font-size: 12.5px; line-height: 1.45; color: var(--text3); }
.nvx-dots { display: flex; justify-content: center; gap: 6px; }
.nvx-dots button { width: 8px; height: 8px; padding: 0; border: 0; border-radius: 99px; background: var(--border2, var(--border)); cursor: pointer; transition: width .25s var(--nvx-ease), background-color .2s; }
.nvx-dots button[aria-selected="true"] { width: 22px; background: var(--accent); }

/* ── 15 · Internet lento ───────────────────────────────────────────── */
.nvx-liv {
  position: fixed; left: 16px; bottom: calc(16px + env(safe-area-inset-bottom, 0px)); z-index: 10040; display: flex; align-items: center; gap: 10px;
  max-width: min(420px, calc(100vw - 32px)); padding: 10px 10px 10px 12px; border-radius: 16px; border: 1px solid var(--border2, var(--border));
  background: var(--bg2); color: var(--text); box-shadow: 0 16px 40px -12px rgba(0, 0, 0, .5); font-family: var(--nv-font-ui, inherit);
  animation: nvxIn .3s var(--nvx-ease) both;
}
.nvx-liv > div { flex: 1; min-width: 0; }
.nvx-liv b { display: block; font-size: 13px; }
.nvx-liv small { display: block; font-size: 11.5px; line-height: 1.4; color: var(--text3); }
.nvx-liv-ic { width: 32px; height: 32px; border-radius: 10px; display: grid; place-items: center; flex-shrink: 0; color: var(--amber); background: rgba(247, 185, 85, .12); }
html.nv-liviano *, html.nv-liviano *::before, html.nv-liviano *::after {
  animation-duration: .001ms !important; animation-delay: 0s !important; animation-iteration-count: 1 !important;
  transition-duration: .001ms !important; transition-delay: 0s !important; scroll-behavior: auto !important;
}
html.nv-liviano *:not(.nvx-liv) { backdrop-filter: none !important; -webkit-backdrop-filter: none !important; }
html.nv-liviano body::before, html.nv-liviano body::after, html.nv-liviano #app-screen::before, html.nv-liviano #app-screen::after { background-image: none !important; }
html.nv-liviano .nvx-ilus, html.nv-liviano .nvx-rc-prev, html.nv-liviano .login-bg, html.nv-liviano canvas.bg { display: none !important; }

/* ── 13 · Listas largas (5.000 clientes): el navegador solo dibuja lo visible ── */
#inactive-page-list > .alert-item, #alertas-list > .alert-item { content-visibility: auto; contain-intrinsic-size: auto 72px; }

/* ── Tablet y celular ──────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .nvx-card.wide { grid-column: auto; }
  .nvx-lp-grid { grid-template-columns: minmax(0, 1fr); }
  .nvx-lp-pv { position: static; order: -1; }
  .nvx-lp-pv img { max-height: 260px; margin: 0 auto; display: block; }
}
@media (max-width: 600px) {
  .nvx-ov { padding: 0; align-items: end; place-items: end center; }
  .nvx-md { width: 100%; max-height: calc(100dvh - 24px); border-radius: 22px 22px 0 0; border-bottom: 0; transform: translateY(40px); }
  .nvx-h { padding: 16px 16px 10px; }
  .nvx-b { padding: 4px 16px 14px; }
  .nvx-f { padding: 10px 16px calc(12px + env(safe-area-inset-bottom, 0px)); }
  .nvx-f .nvx-btn { flex: 1 1 auto; }
  .nvx-f .nvx-sp { display: none; }
  .nvx-pr-row { grid-template-columns: auto auto minmax(0, 1fr) auto; }
  .nvx-pr-row .nvx-mchips { grid-column: 1 / -1; padding-left: 34px; }
  .nvx-pr-row .nvx-amt { grid-column: 4; grid-row: 1; }
  .nvx-grid { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .nvx-neg-h h2 { font-size: 19px; }
  .nvx-rk li { grid-template-columns: auto minmax(0, 1fr); }
  .nvx-rk-a { grid-column: 1 / -1; justify-content: flex-end; }
  .nvx-cort { padding: 14px; border-radius: 16px; }
  .nvx-cort-h { flex-wrap: wrap; }
  .nvx-cort-h .nvx-btn { margin-left: auto; }
  .nvx-cort-l > li:not(.nvx-empty):not(.nvx-more) { grid-template-columns: auto minmax(0, 1fr); }
  .nvx-cort-l > li .nvx-btn { grid-column: 1 / -1; justify-self: end; }
  .nvx-din-kpi { grid-template-columns: minmax(0, 1fr); }
  .nvx-lp-l li { grid-template-columns: auto minmax(0, 1fr) 64px 64px; }
  .nvx-lp-l li .nvx-tile { display: none; }
  .nvx-acc-rev { flex-wrap: wrap; }
  .nvx-liv { left: 12px; right: 12px; max-width: none; bottom: calc(76px + env(safe-area-inset-bottom, 0px)); }
  .nvx-ocb { margin: 6px 16px 2px; }
}

@media (prefers-reduced-motion: reduce) {
  .nvx-ov, .nvx-md, .nvx-pr-row, .nvx-tl li, .nvx-card, .nvx-rk li, .nvx-cort-l > li, .nvx-cort-b, .nvx-nov-p, .nvx-ok-mark, .nvx-bar i, .nvx-liv, .nvx-rvp,
  .nvx-btn, .nvx-sw i, .nvx-dots button { animation: none !important; transition: none !important; }
  .nvx-md { transform: none !important; }
}
/* v6.2 · Herramientas del negocio alineadas con Análisis y las tarjetas del Panel */
@media (max-width: 600px) { .nvx-neg { margin: 22px 14px 8px; } }
