/* ════════════════════════════════════════════════════════════════════
   NV Streaming · Vistas 6.1 (nv-vistas-610.css)
   Tarjetas de Clientes y Plataformas, lista de clientes de una plataforma,
   cuentas completas e individuales y ventana "Avisar datos nuevos".
   Solo usa las variables de tema (--bg2, --text, --accent, --green...),
   así sigue a los 10 temas. Animaciones con transform y opacity; con
   "reducir movimiento" no se mueve nada.
   ════════════════════════════════════════════════════════════════════ */
html.nv61 body {
  --nv61-ok: var(--green, #3ddc97);
  --nv61-am: var(--amber, #f7b955);
  --nv61-rd: var(--red, #ff6b7a);
  --nv61-bl: var(--blue, #5cc8ff);
  --nv61-mu: var(--text3, #6d6e7e);
  --nv61-ac: var(--accent, #8b93ff);
  --nv61-acr: var(--nv-accent-rgb, 139,147,255);
  --nv61-card: var(--bg2, #121217);
  --nv61-card2: var(--bg3, #17171e);
  --nv61-card3: var(--bg4, #1d1d26);
  --nv61-line: var(--border, #26262f);
  --nv61-line2: var(--border2, #33333f);
  --nv61-r: 14px;
  --nv61-ease: var(--nv-ease, cubic-bezier(.2,.8,.2,1));
  --nv61-spring: cubic-bezier(.22,1.2,.36,1);
}
.nv61-oculto { display: none !important; }
.nv61-mu { color: var(--nv61-mu) !important; }
mark.nv61-hl { background: rgba(var(--nv61-acr), .28); color: inherit; border-radius: 3px; padding: 0 1px; box-shadow: 0 0 0 1px rgba(var(--nv61-acr), .35); }

/* ── Controles comunes ─────────────────────────────────────────────── */
.nv61-b { display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-height: 36px; padding: 0 13px; border-radius: 10px; border: 1px solid var(--nv61-line2); background: var(--nv61-card2); color: var(--text); font: 600 12.5px/1 var(--nv-font-ui, inherit); cursor: pointer; white-space: nowrap; transition: background .16s, border-color .16s, transform .12s, opacity .16s; }
.nv61-b:hover { border-color: rgba(var(--nv61-acr), .55); }
.nv61-b:active { transform: scale(.97); }
.nv61-b:disabled { opacity: .45; cursor: default; transform: none; }
.nv61-b.p { background: var(--nv61-ac); border-color: transparent; color: var(--nv54-on-accent, #fff); }
.nv61-b.p:hover { filter: brightness(1.08); }
.nv61-b.sm { min-height: 32px; padding: 0 10px; font-size: 12px; }
.nv61-b:focus-visible, .nv61-seg button:focus-visible, .nv61-chip:focus-visible, .nv61-row:focus-visible, .nv61-acts button:focus-visible, .nv61-back:focus-visible,
.nv61-slots li:focus-visible, .nv61-acc footer button:focus-visible, .nv61-tile:focus-visible, .nv61-nm:focus-visible, .nv61-pw button:focus-visible, .nv61-x:focus-visible { outline: 2px solid var(--nv61-ac); outline-offset: 2px; }

.nv61-seg { display: inline-flex; padding: 3px; gap: 2px; border-radius: 11px; background: var(--nv61-card2); border: 1px solid var(--nv61-line); max-width: 100%; }
.nv61-seg button { display: inline-flex; align-items: center; gap: 5px; min-height: 30px; padding: 0 10px; border: 0; border-radius: 8px; background: transparent; color: var(--text2, #a6a7b6); font: 600 12px/1 var(--nv-font-ui, inherit); cursor: pointer; transition: background .16s, color .16s; white-space: nowrap; }
.nv61-seg button:hover { color: var(--text); }
.nv61-seg button[aria-pressed="true"] { background: var(--nv61-card3); color: var(--text); box-shadow: 0 1px 0 rgba(255,255,255,.04) inset, 0 2px 8px rgba(0,0,0,.25); }
.nv61-seg button:disabled { opacity: .35; cursor: default; }
.nv61-seg button b { font-family: var(--nv-font-num, inherit); font-size: 11px; opacity: .7; }

.nv61-sel { position: relative; display: inline-flex; align-items: center; gap: 6px; min-height: 36px; padding: 0 10px; border-radius: 10px; border: 1px solid var(--nv61-line); background: var(--nv61-card2); color: var(--text2, #a6a7b6); max-width: 100%; min-width: 0; }
.nv61-sel select { appearance: none; -webkit-appearance: none; border: 0; background: transparent; color: var(--text); font: 600 12.5px/1 var(--nv-font-ui, inherit); padding: 0 16px 0 0; min-width: 0; max-width: 200px; cursor: pointer; text-overflow: ellipsis; }
.nv61-sel select:focus { outline: none; }
.nv61-sel:focus-within { border-color: rgba(var(--nv61-acr), .6); }
.nv61-sel select option { background: var(--nv61-card); color: var(--text); }
.nv61-sel::after { content: ''; position: absolute; right: 11px; top: 50%; width: 6px; height: 6px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: translateY(-70%) rotate(45deg); pointer-events: none; }

.nv61-srch { position: relative; flex: 1 1 260px; min-width: 0; display: flex; align-items: center; gap: 8px; height: 42px; padding: 0 8px 0 12px; border-radius: 12px; border: 1px solid var(--nv61-line2); background: var(--nv61-card); color: var(--nv61-mu); transition: border-color .18s, box-shadow .18s; }
.nv61-srch:focus-within { border-color: rgba(var(--nv61-acr), .7); box-shadow: 0 0 0 3px rgba(var(--nv61-acr), .18); }
.nv61-srch .nv61-inp { flex: 1; min-width: 0; width: auto !important; height: 100% !important; border: 0 !important; outline: 0; background: transparent !important; color: var(--text); font: 500 14px/1 var(--nv-font-ui, inherit); padding: 0 !important; box-shadow: none !important; max-width: none !important; margin: 0 !important; border-radius: 0 !important; }
.nv61-srch .nv61-inp::placeholder { color: var(--nv61-mu); }
.nv61-srch .nv61-inp::-webkit-search-cancel-button { display: none; }
.nv61-srch kbd { font: 600 11px/1 var(--nv-font-num, monospace); padding: 3px 6px; border-radius: 6px; border: 1px solid var(--nv61-line2); color: var(--nv61-mu); }
.nv61-clr { display: none; width: 28px; height: 28px; flex: 0 0 auto; border-radius: 8px; border: 0; background: var(--nv61-card3); color: var(--text2); align-items: center; justify-content: center; cursor: pointer; }
.nv61-hasq .nv61-clr { display: inline-flex; }
.nv61-hasq .nv61-srch kbd { display: none; }

.nv61-chips { display: flex; gap: 6px; flex-wrap: wrap; min-width: 0; }
.nv61-chip { display: inline-flex; align-items: center; gap: 7px; min-height: 32px; padding: 0 5px 0 11px; border-radius: 999px; border: 1px solid var(--nv61-line); background: transparent; color: var(--text2, #a6a7b6); font: 600 12.5px/1 var(--nv-font-ui, inherit); cursor: pointer; transition: background .16s, color .16s, border-color .16s, transform .12s; white-space: nowrap; }
.nv61-chip b { font: 700 11px/1 var(--nv-font-num, inherit); padding: 4px 7px; border-radius: 999px; background: var(--nv61-card3); color: var(--text2); }
.nv61-chip:hover { color: var(--text); border-color: var(--nv61-line2); }
.nv61-chip:active { transform: scale(.97); }
.nv61-chip.c-pronto b { color: var(--nv61-am); }
.nv61-chip.c-libres b { color: var(--nv61-bl); }
.nv61-chip.c-vencidos b, .nv61-chip.c-vencidas b, .nv61-chip.c-caidas b { color: var(--nv61-rd); }
.nv61-chip[aria-pressed="true"] { background: rgba(var(--nv61-acr), .14); border-color: rgba(var(--nv61-acr), .5); color: var(--text); }
.nv61-chip[aria-pressed="true"] b { background: var(--nv61-ac); color: var(--nv54-on-accent, #fff); }

.nv61-empty { display: flex; flex-direction: column; align-items: center; gap: 8px; text-align: center; padding: 44px 16px; color: var(--text2); border: 1px dashed var(--nv61-line2); border-radius: var(--nv61-r); animation: nv61In .3s var(--nv61-ease) both; }
.nv61-empty > svg { color: var(--nv61-mu); width: 26px; height: 26px; }
.nv61-empty b { color: var(--text); font: 700 15px/1.3 var(--nv-font-display, inherit); }
.nv61-empty p { margin: 0; font-size: 13px; max-width: 360px; }
.nv61-empty > div { display: flex; gap: 8px; flex-wrap: wrap; justify-content: center; margin-top: 6px; }

@keyframes nv61In { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
@keyframes nv61Pop { from { opacity: 0; transform: translateY(6px) scale(.98); } to { opacity: 1; transform: none; } }
@keyframes nv61Grow { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes nv61Flash { 0%, 100% { box-shadow: 0 0 0 0 rgba(var(--nv61-acr), 0); } 30% { box-shadow: 0 0 0 3px rgba(var(--nv61-acr), .55); } }
@keyframes nv61Shim { from { background-position: 200% 0; } to { background-position: -200% 0; } }

/* ════════ 1 · Tarjetas de Clientes y Plataformas ════════ */
.nv61-gbar { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin: 0 0 14px; min-width: 0; }
.nv61-gsrch { flex: 1 1 220px; max-width: 360px; min-width: 0; display: flex; align-items: center; gap: 8px; height: 38px; padding: 0 12px; border-radius: 11px; border: 1px solid var(--nv61-line2); background: var(--nv61-card); color: var(--nv61-mu); transition: border-color .18s, box-shadow .18s; }
.nv61-gsrch:focus-within { border-color: rgba(var(--nv61-acr), .7); box-shadow: 0 0 0 3px rgba(var(--nv61-acr), .18); }
.nv61-gsrch input { flex: 1; min-width: 0; border: 0; outline: 0; background: transparent; color: var(--text); font: 500 13.5px/1 var(--nv-font-ui, inherit); }
.nv61-gsrch input::placeholder { color: var(--nv61-mu); }
.nv61-gsrch input::-webkit-search-cancel-button { display: none; }
.nv61-gbar .nv61-seg { overflow-x: auto; scrollbar-width: none; }
.nv61-gbar .nv61-seg::-webkit-scrollbar { display: none; }
.nv61-gempty { padding: 28px 12px; text-align: center; color: var(--text2); font-size: 13px; }

html.nv61 body .nv61-grid.activos-plat-grid,
html.nv61 body .nv61-grid.platform-overview-grid { grid-template-columns: repeat(auto-fill, minmax(236px, 1fr)) !important; gap: 12px !important; }
html.nv61 body .nv61-grid > .nv61-tile {
  display: grid !important; grid-template-columns: 44px minmax(0, 1fr) auto; grid-template-rows: auto auto; align-items: center; column-gap: 12px; row-gap: 8px;
  padding: 14px 14px 13px !important; border-radius: var(--nv61-r) !important; text-align: left;
  background: var(--nv61-card) !important; border: 1px solid var(--nv61-line) !important; box-shadow: none !important;
  animation: nv61Pop .34s var(--nv61-ease) both !important; animation-delay: calc(min(var(--i, 0), 18) * 22ms) !important;
  transition: transform .2s var(--nv61-ease), border-color .2s, background .2s !important; min-width: 0; will-change: auto !important;
}
html.nv61 body .nv61-grid > .nv61-tile::after, html.nv61 body .nv61-grid > .nv61-tile::before { display: none !important; }
html.nv61 body .nv61-grid > .nv61-tile:hover { transform: translateY(-2px) !important; border-color: rgba(var(--nv61-acr), .45) !important; background: var(--nv61-card2) !important; }
html.nv61 body .nv61-grid > .nv61-tile:active { transform: scale(.985) !important; }
html.nv61 body .nv61-grid > .nv61-tile.nv61-hide { display: none !important; }
html.nv61 body .nv61-grid > .nv61-tile.nv61-reord { animation: nv61Pop .28s var(--nv61-ease) both !important; animation-delay: calc(min(var(--i, 0), 18) * 14ms) !important; }
html.nv61 body .nv61-grid > .nv61-tile .apb-icon { grid-row: 1 / span 2; width: 44px !important; height: 44px !important; min-width: 44px !important; min-height: 44px !important; max-width: 44px !important; max-height: 44px !important; border-radius: 12px !important; animation: none !important; }
html.nv61 body .nv61-grid > .nv61-tile .apb-icon > span, html.nv61 body .nv61-grid > .nv61-tile .apb-icon > svg, html.nv61 body .nv61-grid > .nv61-tile .apb-icon .apb-plat-ico,
html.nv61 body .nv61-grid > .nv61-tile .apb-icon img, html.nv61 body .nv61-grid > .nv61-tile .apb-icon svg { width: 44px !important; height: 44px !important; min-width: 44px !important; min-height: 44px !important; max-width: 44px !important; max-height: 44px !important; border-radius: 12px !important; animation: none !important; }
html.nv61 body .nv61-grid > .nv61-tile .apb-name { grid-column: 2; grid-row: 1; margin: 0 !important; padding: 0 !important; font: 700 14px/1.2 var(--nv-font-display, inherit) !important; color: var(--text) !important; text-align: left !important; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 100% !important; width: auto !important; }
html.nv61 body .nv61-grid > .nv61-tile .apb-count { grid-column: 3; grid-row: 1; margin: 0 !important; min-width: 32px; padding: 4px 9px !important; border-radius: 999px !important; font: 700 13px/1 var(--nv-font-num, inherit) !important; text-align: center; background: rgba(var(--nv61-acr), .14) !important; color: var(--text) !important; border: 0 !important; box-shadow: none !important; animation: none !important; transition: opacity .16s; }
html.nv61 body .nv61-grid > .nv61-tile .apb-count.zero { background: var(--nv61-card3) !important; color: var(--nv61-mu) !important; }
html.nv61 body .nv61-grid > .nv61-tile .apb-edit-btn { position: absolute !important; top: 8px !important; right: 8px !important; opacity: 0; transition: opacity .16s; z-index: 2; }
html.nv61 body .nv61-grid > .nv61-tile:hover .apb-edit-btn, html.nv61 body .nv61-grid > .nv61-tile:focus-within .apb-edit-btn { opacity: 1; }
html.nv61 body .nv61-grid.nv61-g-plataformas > .nv61-tile:hover .apb-count, html.nv61 body .nv61-grid.nv61-g-plataformas > .nv61-tile:focus-within .apb-count { opacity: 0; }
.nv61-tmeta { grid-column: 2 / span 2; grid-row: 2; display: flex; flex-direction: column; gap: 7px; min-width: 0; }
.nv61-tl { display: flex; flex-wrap: wrap; gap: 4px 10px; font: 600 11.5px/1.2 var(--nv-font-ui, inherit); color: var(--text2); min-width: 0; }
.nv61-tl i { font-style: normal; white-space: nowrap; display: inline-flex; align-items: center; gap: 5px; }
.nv61-tl i::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--nv61-mu); }
.nv61-tl i.am::before { background: var(--nv61-am); } .nv61-tl i.rd::before { background: var(--nv61-rd); }
.nv61-tl i.ok::before { background: var(--nv61-ok); } .nv61-tl i.bl::before { background: var(--nv61-bl); }
.nv61-tbar { display: block; height: 4px; border-radius: 4px; background: var(--nv61-card3); overflow: hidden; }
.nv61-tbar b { display: block; height: 100%; width: var(--w, 0%); border-radius: inherit; background: linear-gradient(90deg, rgba(var(--nv61-acr), .55), var(--nv61-ac)); transform-origin: left; animation: nv61Grow .6s var(--nv61-ease) .15s both; }

/* ════════ 2 · Clientes de una plataforma ════════ */
.nv61-cwrap { max-width: 1180px !important; }
.nv61-cv { display: flex; flex-direction: column; gap: 12px; min-width: 0; margin-bottom: 8px; animation: nv61In .28s var(--nv61-ease) both; }
.nv61-hd { display: flex; align-items: center; gap: 12px; min-width: 0; }
.nv61-back { flex: 0 0 auto; width: 38px; height: 38px; border-radius: 11px; border: 1px solid var(--nv61-line2); background: var(--nv61-card); color: var(--text); display: inline-flex; align-items: center; justify-content: center; cursor: pointer; transition: transform .14s, border-color .16s; }
.nv61-back:hover { border-color: rgba(var(--nv61-acr), .55); transform: translateX(-2px); }
.nv61-hico { flex: 0 0 auto; width: 44px; height: 44px; border-radius: 12px; overflow: hidden; display: inline-flex; align-items: center; justify-content: center; }
.nv61-hico > span, .nv61-hico img, .nv61-hico svg { width: 44px !important; height: 44px !important; border-radius: 12px; }
.nv61-hico.sm, .nv61-hico.sm > span, .nv61-hico.sm img, .nv61-hico.sm svg { width: 34px !important; height: 34px !important; border-radius: 10px; }
.nv61-pini { display: inline-flex; align-items: center; justify-content: center; background: var(--nv61-card3); color: var(--text); font-weight: 800; }
.nv61-htit { flex: 1; min-width: 0; }
.nv61-htit h2 { margin: 0; font: 800 20px/1.15 var(--nv-font-display, inherit); color: var(--text); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; letter-spacing: var(--nv54-ls-display, -.01em); }
.nv61-hsub { margin: 4px 0 0; display: flex; flex-wrap: wrap; gap: 4px 12px; font: 600 12.5px/1.2 var(--nv-font-ui, inherit); color: var(--text2); }
.nv61-hsub span { display: inline-flex; align-items: center; gap: 5px; white-space: nowrap; }
.nv61-hsub span::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--nv61-ok); }
.nv61-hsub .am::before { background: var(--nv61-am); } .nv61-hsub .rd::before { background: var(--nv61-rd); } .nv61-hsub .mu::before { background: var(--nv61-mu); }
.nv61-hbtns { display: flex; gap: 8px; flex: 0 0 auto; }
.nv61-tb { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; min-width: 0; }
.nv61-tb .nv61-add { flex: 0 0 auto; margin: 0 !important; height: 42px !important; min-height: 42px; border-radius: 12px !important; display: inline-flex !important; align-items: center; gap: 7px; white-space: nowrap; width: auto !important; }
.nv61-fl { display: flex; gap: 10px; align-items: center; justify-content: space-between; flex-wrap: wrap; min-width: 0; }
.nv61-opts { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; min-width: 0; }
.nv61-meta { display: flex; align-items: center; gap: 10px; min-height: 26px; padding: 0 2px; font: 600 12px/1.2 var(--nv-font-ui, inherit); color: var(--text2); min-width: 0; }
.nv61-meta .nv61-cnt b { color: var(--nv61-ok); }
.nv61-kb { margin-left: auto; color: var(--nv61-mu); font-weight: 500; font-size: 11.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
.nv61-ckall, .nv61-ck { flex: 0 0 auto; margin: 0 !important; }

.nv61-list { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.nv61-row { position: relative; border-radius: 12px; border: 1px solid var(--nv61-line); background: var(--nv61-card); content-visibility: auto; contain-intrinsic-size: auto 62px; transition: border-color .16s, background .16s; outline: none; min-width: 0; overflow: hidden; }
.nv61-list.nv61-anim .nv61-row { animation: nv61In .26s var(--nv61-ease) both; animation-delay: calc(min(var(--i, 0), 14) * 16ms); }
.nv61-row:hover { border-color: var(--nv61-line2); }
.nv61-row:hover > .nv61-rin { background: var(--nv61-card2); }
.nv61-row.nv61-act { border-color: rgba(var(--nv61-acr), .6); box-shadow: 0 0 0 1px rgba(var(--nv61-acr), .35); }
.nv61-row.nv61-sel { border-color: rgba(var(--nv61-acr), .5); }
.nv61-row.nv61-sel > .nv61-rin { background: color-mix(in srgb, var(--nv61-ac) 7%, var(--nv61-card)); }
.nv61-row.nv61-flash { animation: nv61Flash 1.2s ease 2 !important; }
.nv61-row::before { content: ''; position: absolute; left: 0; top: 12px; bottom: 12px; width: 3px; border-radius: 0 3px 3px 0; background: transparent; z-index: 3; }
.nv61-row.st-pronto::before, .nv61-row.st-hoy::before { background: var(--nv61-am); }
.nv61-row.st-vencido::before, .nv61-row.st-caida::before { background: var(--nv61-rd); }
.nv61-rin { position: relative; z-index: 1; display: grid; grid-template-columns: auto 36px minmax(0, 1fr) auto auto; align-items: center; gap: 12px; padding: 10px 12px; border-radius: inherit; cursor: pointer; min-width: 0; background: var(--nv61-card); transition: background .16s; }
.nv61-av { flex: 0 0 auto; width: 36px; height: 36px; border-radius: 10px; display: inline-flex; align-items: center; justify-content: center; font: 800 12.5px/1 var(--nv-font-ui, inherit); background: color-mix(in srgb, var(--av, #6c5ce7) 22%, transparent); color: var(--avf, #a29bfe); border: 1px solid color-mix(in srgb, var(--av, #6c5ce7) 40%, transparent); }
.nv61-main { min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.nv61-nm { all: unset; box-sizing: border-box; cursor: pointer; font: 700 14px/1.25 var(--nv-font-ui, inherit); color: var(--text); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 100%; }
.nv61-nm em { font-style: normal; margin-left: 6px; font-size: 11px; font-weight: 700; padding: 1px 6px; border-radius: 999px; background: var(--nv61-card3); color: var(--text2); }
.nv61-nm:hover { text-decoration: underline; text-underline-offset: 3px; text-decoration-color: rgba(var(--nv61-acr), .6); }
.nv61-sub { display: flex; align-items: center; gap: 6px; font: 500 12px/1.2 var(--nv-font-ui, inherit); color: var(--text2); min-width: 0; overflow: hidden; white-space: nowrap; }
.nv61-sub > span { overflow: hidden; text-overflow: ellipsis; min-width: 0; display: inline-flex; align-items: center; gap: 4px; }
.nv61-sub .nv61-ct { flex: 0 0 auto; }
.nv61-sub .nv61-cta { flex: 1 1 auto; color: var(--nv61-mu); display: block; }
.nv61-dot { flex: 0 0 auto; width: 3px; height: 3px; border-radius: 50%; background: var(--nv61-mu); }
.nv61-venc { display: flex; flex-direction: column; align-items: flex-end; gap: 3px; min-width: 88px; text-align: right; }
.nv61-venc b { font: 700 13px/1 var(--nv-font-num, inherit); color: var(--text); white-space: nowrap; }
.nv61-venc small { font: 600 11px/1 var(--nv-font-ui, inherit); color: var(--nv61-ok); white-space: nowrap; }
.nv61-venc.st-pronto small, .nv61-venc.st-hoy small { color: var(--nv61-am); }
.nv61-venc.st-vencido b { color: var(--nv61-mu); text-decoration: line-through; }
.nv61-venc.st-vencido small, .nv61-venc.st-caida small { color: var(--nv61-rd); }
.nv61-venc.st-sin small { color: var(--nv61-mu); }
.nv61-acts { display: flex; gap: 2px; }
.nv61-acts button { display: inline-flex; align-items: center; gap: 5px; height: 32px; padding: 0 9px; border-radius: 9px; border: 1px solid transparent; background: transparent; color: var(--text2); font: 600 12px/1 var(--nv-font-ui, inherit); cursor: pointer; transition: background .15s, color .15s, border-color .15s, transform .12s; }
.nv61-acts button:hover { background: var(--nv61-card3); color: var(--text); border-color: var(--nv61-line2); }
.nv61-acts button:active { transform: scale(.94); }
.nv61-acts button.g:hover { color: var(--nv61-ok); }
.nv61-acts button.d:hover { color: var(--nv61-rd); }
.nv61-row .nvp-tray { display: none; }
.nv61-more { display: flex; justify-content: center; padding: 6px 0 20px; }
.nv61-more:empty { padding: 0 0 20px; }
.nv61-skel { display: flex; flex-direction: column; gap: 6px; }
.nv61-skel i { display: block; height: 58px; border-radius: 12px; background: linear-gradient(90deg, var(--nv61-card) 25%, var(--nv61-card2) 50%, var(--nv61-card) 75%); background-size: 200% 100%; animation: nv61Shim 1.3s linear infinite; }

/* Vista tarjetas */
.nv61-list.nv61-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); gap: 10px; }
.nv61-list.nv61-cards .nv61-row { contain-intrinsic-size: auto 140px; }
.nv61-list.nv61-cards .nv61-rin { grid-template-columns: auto 36px minmax(0, 1fr) auto; grid-template-areas: "ck av main venc" "acts acts acts acts"; row-gap: 10px; height: 100%; align-content: start; }
.nv61-list.nv61-cards .nv61-ck { grid-area: ck; } .nv61-list.nv61-cards .nv61-rin > .nv61-av { grid-area: av; } .nv61-list.nv61-cards .nv61-main { grid-area: main; } .nv61-list.nv61-cards .nv61-venc { grid-area: venc; min-width: 0; }
.nv61-list.nv61-cards .nv61-sub { flex-wrap: wrap; white-space: normal; row-gap: 3px; }
.nv61-list.nv61-cards .nv61-acts { grid-area: acts; border-top: 1px solid var(--nv61-line); padding-top: 8px; justify-content: space-between; }
.nv61-list.nv61-cards .nv61-acts button { flex: 1; justify-content: center; }
.nv61-list.nv61-cards .nv61-acts button span { display: none; }

/* ════════ 4 · Cuentas completas e individuales ════════ */
.nv61-plat .platform-header .nv61-toclis { margin-left: 4px; }
.nv61-atb { display: flex; flex-direction: column; gap: 10px; margin-bottom: 12px; min-width: 0; }
.nv61-leg { margin-left: auto; display: flex; flex-wrap: wrap; gap: 4px 10px; justify-content: flex-end; color: var(--nv61-mu); font-weight: 500; font-size: 11px; }
.nv61-leg span { display: inline-flex; align-items: center; gap: 5px; white-space: nowrap; }
.nv61-leg i, .nv61-segs i { display: inline-block; border-radius: 3px; background: var(--nv61-card3); }
.nv61-leg i { width: 9px; height: 9px; }
.s-ocupado { --sc: var(--nv61-ac); } .s-pronto { --sc: var(--nv61-am); } .s-vencido { --sc: color-mix(in srgb, var(--nv61-rd) 55%, var(--nv61-card3)); }
.s-libre { --sc: color-mix(in srgb, var(--nv61-ok) 35%, var(--nv61-card3)); } .s-caida { --sc: var(--nv61-rd); } .s-pausa { --sc: var(--nv61-mu); }
.nv61-leg i[class], .nv61-segs i[class] { background: var(--sc); }
.nv61-accs { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 12px; margin-bottom: 20px; min-width: 0; align-items: start; }
.nv61-accs > .nv61-empty { grid-column: 1 / -1; }
.nv61-accs.nv61-anim .nv61-acc { animation: nv61Pop .3s var(--nv61-ease) both; animation-delay: calc(min(var(--i, 0), 16) * 24ms); }
.nv61-acc { display: flex; flex-direction: column; gap: 10px; padding: 13px; border-radius: var(--nv61-r); border: 1px solid var(--nv61-line); background: var(--nv61-card); min-width: 0; transition: border-color .18s; }
.nv61-acc:hover { border-color: var(--nv61-line2); }
.nv61-acc.st-caida { border-color: color-mix(in srgb, var(--nv61-rd) 45%, var(--nv61-line)); }
.nv61-acc.st-pausa > :not(footer) { opacity: .7; }
.nv61-acc header { display: flex; align-items: center; gap: 10px; min-width: 0; }
.nv61-aico { flex: 0 0 auto; width: 34px; height: 34px; border-radius: 10px; display: inline-flex; align-items: center; justify-content: center; background: rgba(var(--nv61-acr), .12); color: var(--nv61-ac); }
.nv61-aid { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.nv61-amail { font: 700 13.5px/1.2 var(--nv-font-ui, inherit); color: var(--text); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.nv61-pw { display: inline-flex; align-items: center; gap: 2px; min-width: 0; }
.nv61-pw code { font: 600 12px/1 var(--nv-font-num, monospace); color: var(--text2); margin-right: 4px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 160px; letter-spacing: .06em; background: none; padding: 0; }
.nv61-pw code.on { color: var(--text); letter-spacing: 0; }
.nv61-pw button { width: 28px; height: 28px; border: 0; border-radius: 7px; background: transparent; color: var(--nv61-mu); display: inline-flex; align-items: center; justify-content: center; cursor: pointer; transition: background .15s, color .15s; }
.nv61-pw button:hover { background: var(--nv61-card3); color: var(--text); }
.nv61-pw button.nv61-ok { color: var(--nv61-ok); }
.nv61-abadge { flex: 0 0 auto; font: 700 11px/1 var(--nv-font-ui, inherit); padding: 5px 8px; border-radius: 999px; background: var(--nv61-card3); color: var(--text2); white-space: nowrap; }
.nv61-abadge.st-pronto { color: var(--nv61-am); background: color-mix(in srgb, var(--nv61-am) 14%, transparent); }
.nv61-abadge.st-vencida, .nv61-abadge.st-caida { color: var(--nv61-rd); background: color-mix(in srgb, var(--nv61-rd) 14%, transparent); }
.nv61-abadge.st-libre { color: var(--nv61-ok); }
.nv61-occ { display: flex; align-items: center; gap: 10px; }
.nv61-segs { flex: 1; display: grid; grid-template-columns: repeat(var(--n, 5), 1fr); gap: 3px; min-width: 0; }
.nv61-segs i { height: 8px; transform-origin: left; animation: nv61Grow .45s var(--nv61-ease) both; }
.nv61-segs i:nth-child(2) { animation-delay: .04s; } .nv61-segs i:nth-child(3) { animation-delay: .08s; } .nv61-segs i:nth-child(4) { animation-delay: .12s; } .nv61-segs i:nth-child(n+5) { animation-delay: .16s; }
.nv61-occn { flex: 0 0 auto; font: 600 12px/1 var(--nv-font-num, inherit); color: var(--text2); }
.nv61-occn b { color: var(--nv61-ok); font-weight: 700; }
.nv61-slots { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 2px; }
.nv61-slots li { display: grid; grid-template-columns: 22px minmax(0, 1fr) auto; align-items: center; gap: 8px; padding: 6px 8px; border-radius: 9px; cursor: pointer; transition: background .14s; min-width: 0; }
.nv61-slots li:hover { background: var(--nv61-card2); }
.nv61-sn { width: 22px; height: 22px; border-radius: 7px; display: inline-flex; align-items: center; justify-content: center; font: 700 11px/1 var(--nv-font-num, inherit); color: var(--text); background: color-mix(in srgb, var(--sc, var(--nv61-card3)) 30%, transparent); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--sc, var(--nv61-card3)) 60%, transparent); }
.nv61-sname { font: 600 13px/1.2 var(--nv-font-ui, inherit); color: var(--text); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0; }
.nv61-sname small { margin-left: 6px; font-weight: 500; font-size: 11px; color: var(--nv61-mu); }
.nv61-sname.nv61-mu { font-style: italic; font-weight: 500; }
.nv61-sv { font: 600 11.5px/1 var(--nv-font-num, inherit); color: var(--text2); white-space: nowrap; }
.nv61-sv.st-pronto { color: var(--nv61-am); } .nv61-sv.st-vencido { color: var(--nv61-rd); text-decoration: line-through; } .nv61-sv.st-caida { color: var(--nv61-rd); }
.nv61-acc.nvc6-completa .nv61-slots { display: none; }
.nv61-acc-extra:empty { display: none; }
.nv61-acc footer { display: flex; flex-wrap: wrap; gap: 2px; padding-top: 9px; border-top: 1px solid var(--nv61-line); margin-top: auto; }
.nv61-acc footer button { display: inline-flex; align-items: center; gap: 5px; height: 32px; padding: 0 8px; border-radius: 9px; border: 1px solid transparent; background: transparent; color: var(--text2); font: 600 12px/1 var(--nv-font-ui, inherit); cursor: pointer; transition: background .15s, color .15s, border-color .15s, transform .12s; }
.nv61-acc footer button:hover { background: var(--nv61-card3); color: var(--text); border-color: var(--nv61-line2); }
.nv61-acc footer button:active { transform: scale(.95); }
.nv61-acc footer button.g:hover { color: var(--nv61-ok); } .nv61-acc footer button.w:hover { color: var(--nv61-am); } .nv61-acc footer button.d:hover { color: var(--nv61-rd); }
.nv61-acc footer button[data-a="avisar"] { color: var(--nv61-ac); }

/* ════════ 5 · Avisar datos nuevos ════════ */
.nv61-ov { position: fixed; inset: 0; z-index: 1300; display: flex; align-items: center; justify-content: center; padding: 16px; background: rgba(4,4,10,.6); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); opacity: 0; transition: opacity .2s; font-family: var(--nv-font-ui, inherit); }
.nv61-ov.show { opacity: 1; }
.nv61-ov.out { opacity: 0; pointer-events: none; }
.nv61-box { width: min(640px, 100%); max-height: min(88dvh, 860px); display: flex; flex-direction: column; border-radius: 18px; border: 1px solid var(--nv61-line2); background: var(--nv61-card); color: var(--text); box-shadow: var(--shadow-lg, 0 24px 64px rgba(0,0,0,.55)); transform: translateY(12px) scale(.98); transition: transform .28s var(--nv61-spring); overflow: hidden; }
.nv61-ov.show .nv61-box { transform: none; }
.nv61-ov.out .nv61-box { transform: translateY(8px) scale(.98); }
.nv61-avt { display: flex; align-items: center; gap: 12px; padding: 16px 18px 12px; border-bottom: 1px solid var(--nv61-line); }
.nv61-avt > div { flex: 1; min-width: 0; }
.nv61-avt h3 { margin: 0; font: 800 17px/1.2 var(--nv-font-display, inherit); color: var(--text); }
.nv61-avt p { margin: 3px 0 0; font-size: 12.5px; color: var(--text2); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.nv61-x { flex: 0 0 auto; width: 36px; height: 36px; border-radius: 10px; border: 1px solid var(--nv61-line2); background: var(--nv61-card2); color: var(--text2); display: inline-flex; align-items: center; justify-content: center; cursor: pointer; }
.nv61-x:hover { color: var(--text); }
.nv61-avb { flex: 1; min-height: 0; overflow-y: auto; padding: 14px 18px; display: flex; flex-direction: column; gap: 12px; overscroll-behavior: contain; }
.nv61-avinfo { margin: 0; display: flex; gap: 8px; align-items: flex-start; padding: 10px 12px; border-radius: 12px; background: rgba(var(--nv61-acr), .1); color: var(--text); font-size: 13px; line-height: 1.4; }
.nv61-avinfo svg { flex: 0 0 auto; margin-top: 1px; color: var(--nv61-ac); }
.nv61-avf { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.nv61-nota summary { cursor: pointer; font-size: 12.5px; color: var(--text2); font-weight: 600; }
.nv61-nota textarea, .nv61-msg { display: block; width: 100%; box-sizing: border-box; margin-top: 8px; padding: 10px 12px; border-radius: 10px; border: 1px solid var(--nv61-line2); background: var(--nv61-card2); color: var(--text); font: 500 12.5px/1.45 var(--nv-font-ui, inherit); resize: vertical; }
.nv61-msg { font-family: var(--nv-font-num, monospace); font-size: 12px; margin-top: 10px; animation: nv61In .2s var(--nv61-ease) both; }
.nv61-prog { display: flex; align-items: center; gap: 10px; font: 600 12px/1 var(--nv-font-ui, inherit); color: var(--text2); }
.nv61-pbar { flex: 1; height: 6px; border-radius: 6px; background: var(--nv61-card3); overflow: hidden; }
.nv61-pbar b { display: block; height: 100%; border-radius: inherit; background: var(--nv61-ok); transition: width .35s var(--nv61-ease); }
.nv61-avl { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.nv61-avnone { padding: 18px; text-align: center; }
.nv61-avr { padding: 10px 12px; border-radius: 12px; border: 1px solid var(--nv61-line); background: var(--nv61-card2); transition: border-color .18s, opacity .18s; }
.nv61-avr.off { opacity: .55; }
.nv61-avr.ok { border-color: color-mix(in srgb, var(--nv61-ok) 40%, var(--nv61-line)); }
.nv61-avr.cur { border-color: rgba(var(--nv61-acr), .6); }
.nv61-avh { display: flex; align-items: center; gap: 10px; min-width: 0; }
.nv61-avh .nv61-main b { font: 700 13.5px/1.2 var(--nv-font-ui, inherit); color: var(--text); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.nv61-avh .nv61-main b em { font-style: normal; font-size: 11px; color: var(--text2); }
.nv61-avh .nv61-main small { font-size: 12px; color: var(--text2); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.nv61-avh .nv61-main small .rd { color: var(--nv61-rd); }
.nv61-st { flex: 0 0 auto; display: inline-flex; align-items: center; gap: 4px; font: 700 11px/1 var(--nv-font-ui, inherit); padding: 5px 8px; border-radius: 999px; background: var(--nv61-card3); color: var(--text2); border: 0; }
.nv61-st.ok { background: color-mix(in srgb, var(--nv61-ok) 16%, transparent); color: var(--nv61-ok); cursor: pointer; animation: nv61Pop .25s var(--nv61-spring) both; }
.nv61-st.err { background: color-mix(in srgb, var(--nv61-rd) 16%, transparent); color: var(--nv61-rd); }
.nv61-st.env { color: var(--nv61-am); }
.nv61-avc { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-top: 9px; padding-left: 30px; }
.nv61-vias button[data-via="whatsapp"][aria-pressed="true"] { color: #25d366; }
.nv61-vias button[data-via="telegram"][aria-pressed="true"] { color: #29b6f6; }
.nv61-avc .nv61-b.p { margin-left: auto; }
.nv61-avp { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; padding: 12px 18px 16px; border-top: 1px solid var(--nv61-line); background: var(--nv61-card); }
.nv61-sp { flex: 1; }
.nv61-bot { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; color: var(--text2); cursor: pointer; }
.nv61-bot input { accent-color: var(--nv61-ac); }

/* ════════ Tablet y teléfono ════════ */
@media (max-width: 1180px) {
  .nv61-kb { display: none; }
  .nv61-acts button span { display: none; }
  .nv61-acts button { padding: 0 8px; }
}
@media (max-width: 900px) {
  .nv61-leg { display: none; }
}
@media (max-width: 768px) {
  html.nv61 body .nv61-grid.activos-plat-grid, html.nv61 body .nv61-grid.platform-overview-grid { grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)) !important; }
  .nv61-htit h2 { font-size: 18px; }
  .nv61-hbtns .nv61-b span { display: none; }
  .nv61-hbtns .nv61-b { width: 38px; padding: 0; }
  .nv61-srch kbd { display: none; }
  .nv61-accs { grid-template-columns: 1fr; }
  .nv61-row .nvp-tray { display: flex; }
  .nv61-fl { flex-direction: column; align-items: stretch; }
  .nv61-chips { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; padding: 1px 2px 3px; margin: 0 -2px; }
  .nv61-chips::-webkit-scrollbar { display: none; }
  .nv61-chip { flex: 0 0 auto; }
  .nv61-opts .nv61-sel { flex: 1 1 140px; }
  .nv61-opts .nv61-sel select { max-width: none; width: 100%; text-align: left; text-align-last: left; }
}
@media (max-width: 600px) {
  html.nv61 body .nv61-grid.activos-plat-grid, html.nv61 body .nv61-grid.platform-overview-grid { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; gap: 8px !important; }
  html.nv61 body .nv61-grid > .nv61-tile { grid-template-columns: 36px minmax(0, 1fr) auto; column-gap: 9px; padding: 11px 10px 10px !important; }
  html.nv61 body .nv61-grid > .nv61-tile .apb-icon, html.nv61 body .nv61-grid > .nv61-tile .apb-icon > span, html.nv61 body .nv61-grid > .nv61-tile .apb-icon > svg, html.nv61 body .nv61-grid > .nv61-tile .apb-icon .apb-plat-ico,
  html.nv61 body .nv61-grid > .nv61-tile .apb-icon img, html.nv61 body .nv61-grid > .nv61-tile .apb-icon svg { width: 36px !important; height: 36px !important; min-width: 36px !important; min-height: 36px !important; max-width: 36px !important; max-height: 36px !important; border-radius: 10px !important; }
  html.nv61 body .nv61-grid > .nv61-tile .apb-icon { grid-row: 1; }
  html.nv61 body .nv61-grid > .nv61-tile .apb-name { font-size: 13px !important; }
  html.nv61 body .nv61-grid > .nv61-tile .apb-count { font-size: 12px !important; padding: 3px 7px !important; min-width: 0; }
  html.nv61 body .nv61-grid > .nv61-tile .apb-edit-btn { opacity: 1; top: 4px !important; right: 4px !important; }
  html.nv61 body .nv61-grid.nv61-g-plataformas > .nv61-tile .apb-count { opacity: 1 !important; margin-right: 34px !important; }
  .nv61-tmeta { grid-column: 1 / span 2; }
  html.nv61 body .nv61-grid > .nv61-tile .apb-name { grid-column: 2 / span 2; }
  html.nv61 body .nv61-grid > .nv61-tile .apb-count { grid-column: 3; grid-row: 2; align-self: start; }
  html.nv61 body .nv61-grid.nv61-g-plataformas > .nv61-tile .apb-count { margin-right: 0 !important; }
  html.nv61 body .nv61-grid.nv61-g-plataformas > .nv61-tile .apb-name { padding-right: 26px !important; }
  .nv61-sub .nv61-dot:has(+ .nv61-cta) { display: none; }
  .nv61-tl { font-size: 11px; gap: 3px 8px; }
  .nv61-gbar .nv61-gsrch { max-width: none; flex-basis: 100%; }
  .nv61-hd { gap: 10px; }
  .nv61-hico, .nv61-hico > span, .nv61-hico img, .nv61-hico svg { width: 38px !important; height: 38px !important; }
  .nv61-hsub { font-size: 12px; gap: 3px 10px; }
  .nv61-tb .nv61-srch { flex-basis: 100%; }
  .nv61-tb .nv61-add { flex: 1 1 auto; justify-content: center; width: 100% !important; }
  .nv61-rin { grid-template-columns: auto 34px minmax(0, 1fr) auto; grid-template-areas: "ck av main venc" "acts acts acts acts"; column-gap: 10px; row-gap: 8px; padding: 10px; }
  .nv61-ck { grid-area: ck; } .nv61-rin > .nv61-av { grid-area: av; width: 34px; height: 34px; } .nv61-main { grid-area: main; } .nv61-venc { grid-area: venc; min-width: 0; }
  .nv61-sub .nv61-cta, .nv61-sub .nv61-resp + .nv61-dot { display: none; }
  .nv61-acts { grid-area: acts; justify-content: space-between; border-top: 1px solid var(--nv61-line); padding-top: 6px; }
  .nv61-acts button { flex: 1; justify-content: center; height: 36px; }
  .nv61-list.nv61-cards { grid-template-columns: 1fr; }
  .nv61-acc { padding: 12px; }
  .nv61-acc footer button span { display: none; }
  .nv61-acc footer button { flex: 1; justify-content: center; padding: 0; height: 38px; }
  .nv61-acc footer button[data-a="avisar"] span { display: inline; }
  .nv61-acc footer button[data-a="avisar"] { flex: 2.4; }
  .nv61-ov { align-items: flex-end; padding: 0; }
  .nv61-box { width: 100%; max-height: 94dvh; border-radius: 18px 18px 0 0; transform: translateY(40px); }
  .nv61-avt, .nv61-avb, .nv61-avp { padding-left: 14px; padding-right: 14px; }
  .nv61-avc { padding-left: 0; }
  .nv61-vias button span, .nv61-todos button span { display: none; }
  .nv61-avc .nv61-b span { display: inline; }
  .nv61-avp .nv61-b { flex: 1 1 auto; }
  .nv61-avp .nv61-b.p { flex-basis: 100%; order: 5; min-height: 46px; }
  .nv61-sp { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  .nv61-cv, .nv61-row, .nv61-list.nv61-anim .nv61-row, .nv61-accs.nv61-anim .nv61-acc, .nv61-segs i, .nv61-tbar b, .nv61-empty, .nv61-msg, .nv61-st.ok, .nv61-skel i,
  html.nv61 body .nv61-grid > .nv61-tile, html.nv61 body .nv61-grid > .nv61-tile.nv61-reord { animation: none !important; }
  .nv61-ov, .nv61-box, .nv61-pbar b, .nv61-row, .nv61-rin, .nv61-acc, .nv61-b, .nv61-chip, .nv61-back, html.nv61 body .nv61-grid > .nv61-tile { transition: none !important; }
  .nv61-box { transform: none !important; }
}
.nv61-srch .nv61-inp:focus, .nv61-srch .nv61-inp:focus-visible, .nv61-gsrch input:focus, .nv61-gsrch input:focus-visible { outline: none !important; box-shadow: none !important; border: 0 !important; }
/* Cabecera de Plataformas (contador y botón): en teléfono baja a otra línea en vez de ensanchar la página */
html.nv61 body #page-plataformas > div > div:first-child { flex-wrap: wrap; gap: 10px; min-width: 0; }
html.nv61 body #page-plataformas > div { min-width: 0; }
/* La barra de orden no debe ensanchar la página cuando sus botones no caben: se desliza */
.nv61-gbar { contain: inline-size; width: 100%; box-sizing: border-box; }
.nv61-tb, .nv61-fl, .nv61-atb, .nv61-cv { contain: inline-size; }
/* Cabecera de una plataforma: con el botón "Ver clientes" los datos bajan de línea en tableta en vez de ensanchar la página */
html.nv61 body .nv61-plat .platform-header { min-width: 0; flex-wrap: wrap; }
html.nv61 body .nv61-plat .platform-header .platform-meta { flex-wrap: wrap; justify-content: flex-end; row-gap: 8px; min-width: 0; }
.nv61-nm em.nv61-ccb { background: rgba(var(--nv61-acr), .16); color: var(--nv61-ac); }
/* Rendimiento: las tarjetas fuera de la pantalla no se dibujan hasta acercarse (plataformas con cientos de cuentas) */
.nv61-acc { content-visibility: auto; contain-intrinsic-size: auto 420px; }
.nv61-list.nv61-cards .nv61-row, .nv61-row { content-visibility: auto; }
.nv61-acc.nvc6-completa .nv61-occ { display: none; }
/* La bandeja de deslizar solo se ve mientras se desliza (evita el filo de color en las esquinas) */
.nv61-row .nvp-tray { opacity: 0; }
.nv61-row.nvp-sw-open .nvp-tray, .nv61-row[style*="--nvp-sw"]:not([style*="--nvp-sw: 0px"]) .nvp-tray { opacity: 1; }
