/* v5.9 eventos */
/* ════════════════════════════════════════════════════════════════════
   NV Gestor · v5.9 · Registro de eventos, Copia de seguridad, Descargar App
   Todo con los tokens del tema (--bg..bg4, --border, --text..text3,
   --accent, --accent2, --nv-accent-rgb). Movimiento propio por tema.
   ════════════════════════════════════════════════════════════════════ */

/* ── movimiento por tema ─────────────────────────────────────────── */
.nvev {
  --nvev-in: nvev-rise;
  --nvev-dur: 300ms;
  --nvev-ease: cubic-bezier(.2, .8, .2, 1);
  --nvev-spring: cubic-bezier(.34, 1.45, .64, 1);
  --nvev-step: 22ms;
  --nvev-r: 16px;
  --nvev-rs: 11px;
  --nvev-acc: var(--accent, #6366f1);
  --nvev-acc2: var(--accent2, #818cf8);
  --nvev-rgb: var(--nv-accent-rgb, 99, 102, 241);
  --k-g: #34d399; --k-a: var(--nvev-acc2); --k-b: #60a5fa; --k-r: #f87171; --k-t: #2dd4bf;
  --k-o: #fb923c; --k-y: #fbbf24; --k-p: #a78bfa; --k-n: var(--text3, #8b8b99);
  font-family: var(--nv-font-ui, inherit);
  color: var(--text, #eee);
  box-sizing: border-box;
}
.nvev *, .nvev *::before, .nvev *::after { box-sizing: border-box; }
html[data-nv-estilo="estreno"] .nvev      { --nvev-in: nvev-rise;    --nvev-dur: 280ms; }
html[data-nv-estilo="oceano"] .nvev       { --nvev-in: nvev-wave;    --nvev-dur: 360ms; --nvev-ease: cubic-bezier(.22, 1, .36, 1); }
html[data-nv-estilo="constelacion"] .nvev { --nvev-in: nvev-twinkle; --nvev-dur: 380ms; --nvev-step: 28ms; }
html[data-nv-estilo="purpura"] .nvev      { --nvev-in: nvev-slide;   --nvev-dur: 300ms; }
html[data-nv-estilo="aurora"] .nvev       { --nvev-in: nvev-glow;    --nvev-dur: 380ms; }
html[data-nv-estilo="gala"] .nvev         { --nvev-in: nvev-fade;    --nvev-dur: 400ms; --nvev-ease: cubic-bezier(.4, 0, .2, 1); --nvev-step: 30ms; }
html[data-nv-estilo="estacion"] .nvev     { --nvev-in: nvev-slide;   --nvev-dur: 240ms; --nvev-step: 16ms; }
html[data-nv-estilo="orbita"] .nvev       { --nvev-in: nvev-orbit;   --nvev-dur: 360ms; --nvev-ease: var(--nvev-spring); }
html[data-nv-estilo="nebulosa"] .nvev     { --nvev-in: nvev-blur;    --nvev-dur: 380ms; }
html[data-nv-estilo="lanzamiento"] .nvev  { --nvev-in: nvev-pop;     --nvev-dur: 340ms; --nvev-ease: var(--nvev-spring); }

@keyframes nvev-rise    { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
@keyframes nvev-wave    { from { opacity: 0; transform: translateY(12px) scaleY(.96); transform-origin: top; } to { opacity: 1; transform: none; } }
@keyframes nvev-twinkle { 0% { opacity: 0; filter: blur(3px) brightness(1.8); } 60% { opacity: 1; filter: blur(0) brightness(1.2); } 100% { opacity: 1; filter: none; } }
@keyframes nvev-slide   { from { opacity: 0; transform: translateX(-12px); } to { opacity: 1; transform: none; } }
@keyframes nvev-glow    { 0% { opacity: 0; transform: translateY(6px); filter: brightness(1.7) saturate(1.4); } 100% { opacity: 1; transform: none; filter: none; } }
@keyframes nvev-fade    { from { opacity: 0; } to { opacity: 1; } }
@keyframes nvev-orbit   { from { opacity: 0; transform: translateY(8px) rotate(-1.2deg); } to { opacity: 1; transform: none; } }
@keyframes nvev-blur    { from { opacity: 0; filter: blur(6px); transform: scale(.985); } to { opacity: 1; filter: none; transform: none; } }
@keyframes nvev-pop     { from { opacity: 0; transform: translateY(10px) scale(.95); } to { opacity: 1; transform: none; } }
@keyframes nvev-spin    { to { transform: rotate(360deg); } }
@keyframes nvev-flash   { 0% { background: rgba(var(--nvev-rgb), .22); } 100% { background: transparent; } }
@keyframes nvev-check   { 0% { transform: scale(.4); opacity: 0; } 70% { transform: scale(1.15); opacity: 1; } 100% { transform: none; } }

/* ── páginas originales ocultas (siguen en el DOM) ──────────────── */
#page-eventos.nvev-on > :not(.nvev),
#page-copias-seguridad.nvev-on > :not(.nvev) { display: none !important; }

.nvevev, .nvevbk { max-width: 1000px; margin: 0 auto; width: 100%; padding-bottom: 32px; }

/* ── cabecera ───────────────────────────────────────────────────── */
.nvev-hd { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin: 2px 0 16px; flex-wrap: wrap; }
.nvev-hd-t { display: flex; align-items: center; gap: 12px; min-width: 0; flex: 1 1 280px; }
.nvev-hd-ico {
  width: 40px; height: 40px; border-radius: 13px; flex: none; display: grid; place-items: center;
  color: var(--nvev-acc2); background: rgba(var(--nvev-rgb), .12); border: 1px solid rgba(var(--nvev-rgb), .22);
  animation: var(--nvev-in) var(--nvev-dur) var(--nvev-ease) both;
}
.nvev-hd h2 { margin: 0; font-size: 19px; font-weight: 700; letter-spacing: -.2px; font-family: var(--nv-font-display, inherit); color: var(--text); }
.nvev-hd p { margin: 2px 0 0; font-size: 12.5px; color: var(--text3); line-height: 1.45; }
.nvev-hd-a { display: flex; gap: 8px; flex-wrap: wrap; }

/* ── botones ────────────────────────────────────────────────────── */
.nvev-btn {
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 7px;
  height: 36px; padding: 0 14px; border-radius: var(--nvev-rs); border: 1px solid var(--border);
  background: var(--bg3); color: var(--text); font: 600 13px/1 var(--nv-font-ui, inherit); cursor: pointer;
  text-decoration: none; white-space: nowrap; -webkit-tap-highlight-color: transparent;
  transition: transform 160ms var(--nvev-spring), border-color 160ms, background 160ms, color 160ms, box-shadow 160ms, opacity 160ms;
}
.nvev-btn:hover { border-color: rgba(var(--nvev-rgb), .55); background: var(--bg4); }
.nvev-btn:active { transform: scale(.96); }
.nvev-btn:focus-visible, .nvev-chip:focus-visible, .nvev-row:focus-visible, .nvev-drop:focus-visible, .nvev-link:focus-visible { outline: 2px solid var(--nvev-acc2); outline-offset: 2px; }
.nvev-btn:disabled { opacity: .45; cursor: not-allowed; transform: none; }
.nvev-btn--pri { background: var(--nvev-acc); border-color: transparent; color: #fff; box-shadow: 0 6px 18px -8px rgba(var(--nvev-rgb), .8); }
.nvev-btn--pri:hover { background: var(--nvev-acc); filter: brightness(1.08); border-color: transparent; }
.nvev-btn--dan { color: #fca5a5; background: rgba(239, 68, 68, .08); border-color: rgba(239, 68, 68, .28); }
.nvev-btn--dan:hover { background: rgba(239, 68, 68, .16); border-color: rgba(239, 68, 68, .5); }
.nvev-btn--s { height: 30px; padding: 0 11px; font-size: 12px; border-radius: 9px; }
.nvev-btn--w { width: 100%; }
.nvev-btn--ico { width: 34px; padding: 0; }
.nvev-btn--s.nvev-btn--ico { width: 30px; }
.nvev-btn.is-loading { pointer-events: none; color: transparent !important; }
.nvev-btn.is-loading::after { content: ""; position: absolute; width: 16px; height: 16px; border-radius: 50%; border: 2px solid currentColor; border-color: var(--text2) transparent var(--text2) transparent; animation: nvev-spin .7s linear infinite; }
.nvev-btn--pri.is-loading::after { border-color: #fff transparent #fff transparent; }
.nvev-btn.is-done .nvev-i { animation: nvev-check 320ms var(--nvev-spring); }
.nvev-btn.is-done { border-color: rgba(52, 211, 153, .55); }
.nvev-link { background: none; border: 0; padding: 4px 2px; color: var(--nvev-acc2); font: 600 12.5px var(--nv-font-ui, inherit); cursor: pointer; border-radius: 6px; }
.nvev-link:hover { text-decoration: underline; }
.nvev-hidden { display: none !important; }

/* ── totales ────────────────────────────────────────────────────── */
.nvev-stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; margin-bottom: 14px; }
.nvev-stat {
  display: flex; gap: 11px; align-items: flex-start; padding: 13px 14px; border-radius: var(--nvev-r);
  background: var(--bg2); border: 1px solid var(--border); min-width: 0;
  animation: var(--nvev-in) var(--nvev-dur) var(--nvev-ease) both;
}
.nvev-stat:nth-child(2) { animation-delay: 40ms; } .nvev-stat:nth-child(3) { animation-delay: 80ms; } .nvev-stat:nth-child(4) { animation-delay: 120ms; }
.nvev-stat-i { width: 30px; height: 30px; border-radius: 10px; display: grid; place-items: center; flex: none; color: var(--nvev-acc2); background: rgba(var(--nvev-rgb), .12); }
.nvev-stat div { min-width: 0; display: flex; flex-direction: column; }
.nvev-stat b { font: 700 20px/1.1 var(--nv-font-num, var(--nv-font-ui, inherit)); font-variant-numeric: tabular-nums; color: var(--text); letter-spacing: -.3px; }
.nvev-stat span { font-size: 12px; color: var(--text2); margin-top: 2px; }
.nvev-stat small { font-size: 11px; color: var(--text3); margin-top: 3px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* ── barra de filtros ───────────────────────────────────────────── */
.nvev-bar { display: flex; flex-direction: column; gap: 10px; margin-bottom: 14px; }
.nvev-search {
  display: flex; align-items: center; gap: 9px; height: 42px; padding: 0 12px 0 14px; border-radius: 13px;
  background: var(--bg2); border: 1px solid var(--border); color: var(--text3); transition: border-color 160ms, box-shadow 160ms;
}
.nvev-search:focus-within { border-color: rgba(var(--nvev-rgb), .6); box-shadow: 0 0 0 3px rgba(var(--nvev-rgb), .16); color: var(--nvev-acc2); }
.nvev-search input { flex: 1; min-width: 0; height: 100%; background: none; border: 0; outline: 0; color: var(--text); font: 500 14px var(--nv-font-ui, inherit); }
.nvev-search input::placeholder { color: var(--text3); }
.nvev-search kbd { font: 600 11px var(--nv-font-ui, inherit); color: var(--text3); border: 1px solid var(--border); border-radius: 6px; padding: 2px 6px; background: var(--bg3); }
.nvev-sel { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.nvev-pill {
  position: relative; display: inline-flex; align-items: center; gap: 6px; height: 34px; padding: 0 10px; border-radius: 10px;
  background: var(--bg2); border: 1px solid var(--border); color: var(--text3); max-width: 100%; transition: border-color 160ms;
}
.nvev-pill:hover, .nvev-pill:focus-within { border-color: rgba(var(--nvev-rgb), .5); }
.nvev-pill select { appearance: none; -webkit-appearance: none; background: none; border: 0; outline: 0; color: var(--text); font: 600 12.5px var(--nv-font-ui, inherit); padding-right: 4px; cursor: pointer; max-width: 190px; text-overflow: ellipsis; }
.nvev-pill select option { background: var(--bg2); color: var(--text); }
.nvev-pill--w { width: 100%; } .nvev-pill--w select { max-width: none; flex: 1; }
.nvev-rango { display: none; align-items: center; gap: 6px; color: var(--text3); font-size: 12px; }
.nvev-rango.on { display: inline-flex; animation: var(--nvev-in) var(--nvev-dur) var(--nvev-ease) both; }
.nvev-rango input { height: 34px; border-radius: 10px; border: 1px solid var(--border); background: var(--bg2); color: var(--text); padding: 0 8px; font: 500 12.5px var(--nv-font-ui, inherit); color-scheme: dark; }
.nvev-chips { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; padding: 2px 1px 4px; margin: 0 -1px; -webkit-mask-image: linear-gradient(90deg, #000 92%, transparent); mask-image: linear-gradient(90deg, #000 92%, transparent); }
.nvev-chips::-webkit-scrollbar { display: none; }
.nvev-chip {
  flex: none; display: inline-flex; align-items: center; gap: 7px; height: 32px; padding: 0 12px; border-radius: 99px;
  border: 1px solid var(--border); background: var(--bg2); color: var(--text2); font: 600 12.5px var(--nv-font-ui, inherit); cursor: pointer;
  transition: background 180ms, color 180ms, border-color 180ms, transform 160ms var(--nvev-spring);
}
.nvev-chip i { font-style: normal; font-size: 11px; color: var(--text3); background: var(--bg3); border-radius: 99px; padding: 2px 7px; font-variant-numeric: tabular-nums; transition: inherit; }
.nvev-chip:hover { border-color: rgba(var(--nvev-rgb), .45); color: var(--text); }
.nvev-chip:active { transform: scale(.95); }
.nvev-chip.on { background: rgba(var(--nvev-rgb), .16); border-color: rgba(var(--nvev-rgb), .55); color: var(--text); }
.nvev-chip.on i { background: var(--nvev-acc); color: #fff; }

/* ── lista por día ──────────────────────────────────────────────── */
.nvev-list { display: flex; flex-direction: column; gap: 14px; }
.nvev-day { background: var(--bg2); border: 1px solid var(--border); border-radius: var(--nvev-r); }
.nvev-day-h {
  position: sticky; top: 0; z-index: 2; display: flex; align-items: baseline; justify-content: space-between; gap: 10px;
  padding: 11px 16px 9px; background: var(--bg2); border-bottom: 1px solid var(--border); border-radius: var(--nvev-r) var(--nvev-r) 0 0;
}
.nvev-day-h b { font-size: 12.5px; font-weight: 700; color: var(--text); letter-spacing: .1px; }
.nvev-day-h span { font-size: 11.5px; color: var(--text3); font-variant-numeric: tabular-nums; white-space: nowrap; }
.nvev-row {
  display: grid; grid-template-columns: 34px minmax(0, 1fr) auto; gap: 12px; align-items: start; width: 100%;
  padding: 11px 16px; border: 0; border-top: 1px solid var(--border); background: transparent; color: inherit; text-align: left; cursor: pointer; font: inherit;
  animation: var(--nvev-in) var(--nvev-dur) var(--nvev-ease) both; animation-delay: calc(var(--i, 0) * var(--nvev-step));
  transition: background 140ms;
}
.nvev-day-h + .nvev-row { border-top: 0; }
.nvev-day .nvev-row:last-child { border-radius: 0 0 var(--nvev-r) var(--nvev-r); }
.nvev-row:hover { background: var(--bg3); }
.nvev-row:active .nvev-row-i { transform: scale(.9); }
.nvev-row.is-new { animation: var(--nvev-in) var(--nvev-dur) var(--nvev-ease) both, nvev-flash 2.2s ease-out 200ms both; }
.nvev-row-i {
  width: 34px; height: 34px; border-radius: 11px; display: grid; place-items: center; color: var(--kc); flex: none;
  background: color-mix(in srgb, var(--kc) 14%, transparent); border: 1px solid color-mix(in srgb, var(--kc) 24%, transparent);
  transition: transform 160ms var(--nvev-spring);
}
.nvev-row.k-g, .nvev-md-h.k-g { --kc: var(--k-g); } .nvev-row.k-a, .nvev-md-h.k-a { --kc: var(--k-a); } .nvev-row.k-b, .nvev-md-h.k-b { --kc: var(--k-b); }
.nvev-row.k-r, .nvev-md-h.k-r { --kc: var(--k-r); } .nvev-row.k-t, .nvev-md-h.k-t { --kc: var(--k-t); } .nvev-row.k-o, .nvev-md-h.k-o { --kc: var(--k-o); }
.nvev-row.k-y, .nvev-md-h.k-y { --kc: var(--k-y); } .nvev-row.k-p, .nvev-md-h.k-p { --kc: var(--k-p); } .nvev-row.k-n, .nvev-md-h.k-n { --kc: var(--k-n); }
.nvev-row-m { min-width: 0; display: flex; flex-direction: column; gap: 5px; padding-top: 1px; }
.nvev-row-t { font-size: 13.5px; font-weight: 600; color: var(--text); line-height: 1.35; overflow-wrap: anywhere; }
.nvev-row-det { font-size: 12px; color: var(--text3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.nvev-row-c { display: flex; flex-wrap: wrap; gap: 5px; min-width: 0; }
.nvev-row-h { font-size: 12px; color: var(--text3); font-variant-numeric: tabular-nums; padding-top: 2px; white-space: nowrap; }
.nvev-tag {
  display: inline-flex; align-items: center; gap: 5px; max-width: 100%; height: 22px; padding: 0 8px; border-radius: 7px;
  background: var(--bg3); border: 1px solid var(--border); color: var(--text2); font-size: 11.5px; font-weight: 500;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.nvev-tag em { font-style: normal; color: var(--text3); }
.nvev-tag--m { color: #6ee7b7; border-color: rgba(52, 211, 153, .3); background: rgba(52, 211, 153, .08); font-weight: 600; font-variant-numeric: tabular-nums; }
.nvev-tag--ch { color: var(--text); max-width: min(100%, 360px); }
.nvev-tag--u { color: var(--text2); }
.nvev-tag--d { padding: 0 6px; color: var(--text3); }
.nvev-pdot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; flex: none; background: var(--pc, var(--nvev-acc2)); box-shadow: 0 0 0 2px color-mix(in srgb, var(--pc, var(--nvev-acc2)) 22%, transparent); }
.nvev-more {
  align-self: center; display: inline-flex; gap: 6px; align-items: center; height: 38px; padding: 0 18px; border-radius: 99px; cursor: pointer;
  border: 1px solid var(--border); background: var(--bg2); color: var(--text); font: 600 13px var(--nv-font-ui, inherit); transition: border-color 160ms, transform 160ms var(--nvev-spring);
}
.nvev-more span { color: var(--text3); font-weight: 500; }
.nvev-more:hover { border-color: rgba(var(--nvev-rgb), .5); } .nvev-more:active { transform: scale(.96); }
.nvev-empty { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 42px 16px; border: 1px dashed var(--border); border-radius: var(--nvev-r); color: var(--text3); text-align: center; animation: nvev-fade 300ms ease both; }
.nvev-empty b { color: var(--text); font-size: 14px; }
.nvev-empty span { font-size: 12.5px; }
.nvev-empty--s { padding: 20px 12px; flex-direction: row; justify-content: center; border-style: dashed; }

/* ── ventanas ───────────────────────────────────────────────────── */
.nvev-ov {
  position: fixed; inset: 0; z-index: 100040; display: flex; align-items: center; justify-content: center; padding: 16px;
  background: rgba(3, 5, 10, .55); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  opacity: 0; transition: opacity 200ms ease;
}
.nvev-ov.in { opacity: 1; }
.nvev-ov.out { opacity: 0; transition-duration: 180ms; }
.nvev-md {
  width: 100%; max-width: 540px; max-height: 88vh; display: flex; flex-direction: column; overflow: hidden;
  background: var(--bg2); border: 1px solid var(--border); border-radius: var(--nv6-radius, 18px);
  box-shadow: 0 30px 80px -20px rgba(0, 0, 0, .7), 0 0 0 1px rgba(var(--nvev-rgb), .06);
  transform: translateY(14px) scale(.97); opacity: 0; transition: transform 320ms var(--nvev-spring), opacity 220ms ease;
}
.nvev-ov.in .nvev-md { transform: none; opacity: 1; }
.nvev-ov.out .nvev-md { transform: translateY(8px) scale(.98); opacity: 0; transition: transform 180ms ease-in, opacity 160ms ease-in; }
.nvev-md.flip { animation: var(--nvev-in) 240ms var(--nvev-ease); }
.nvev-md--cmp { max-width: 620px; }
.nvev-md-h { display: flex; align-items: center; gap: 12px; padding: 16px 16px 12px 18px; border-bottom: 1px solid var(--border); --kc: var(--nvev-acc2); }
.nvev-md-ico { width: 38px; height: 38px; border-radius: 12px; flex: none; display: grid; place-items: center; color: var(--kc); background: color-mix(in srgb, var(--kc) 14%, transparent); border: 1px solid color-mix(in srgb, var(--kc) 26%, transparent); }
.nvev-md-ht { flex: 1; min-width: 0; }
.nvev-md-ht small { display: block; font-size: 11px; font-weight: 700; letter-spacing: .6px; text-transform: uppercase; color: var(--kc); }
.nvev-md-ht h3 { margin: 2px 0 0; font-size: 15.5px; font-weight: 700; color: var(--text); line-height: 1.3; overflow-wrap: anywhere; }
.nvev-x { width: 34px; height: 34px; border-radius: 10px; border: 1px solid var(--border); background: var(--bg3); color: var(--text2); display: grid; place-items: center; cursor: pointer; flex: none; transition: transform 160ms var(--nvev-spring), color 160ms, border-color 160ms; }
.nvev-x:hover { color: var(--text); border-color: rgba(var(--nvev-rgb), .5); transform: rotate(90deg); }
.nvev-md-b { padding: 14px 18px 16px; overflow-y: auto; overscroll-behavior: contain; display: flex; flex-direction: column; gap: 14px; }
.nvev-md-f { display: flex; align-items: center; justify-content: flex-end; gap: 8px; padding: 12px 16px; border-top: 1px solid var(--border); background: var(--bg2); flex-wrap: wrap; }
.nvev-nav { display: flex; align-items: center; gap: 6px; margin-right: auto; font-size: 12px; color: var(--text3); font-variant-numeric: tabular-nums; }
.nvev-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.nvev-f { padding: 10px 12px; border-radius: 12px; background: var(--bg3); border: 1px solid var(--border); min-width: 0; animation: var(--nvev-in) var(--nvev-dur) var(--nvev-ease) both; }
.nvev-f span { display: flex; align-items: center; gap: 5px; font-size: 11px; color: var(--text3); font-weight: 600; }
.nvev-f b { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; margin-top: 3px; font-size: 13px; font-weight: 600; color: var(--text); overflow-wrap: anywhere; }
.nvev-f b em, .nvev-f b i { font-style: normal; font-weight: 500; font-size: 11.5px; color: var(--text3); }
.nvev-f b em { background: var(--bg4); border-radius: 6px; padding: 1px 6px; }
.nvev-sec h4 { display: flex; align-items: center; gap: 6px; margin: 0 0 8px; font-size: 12px; font-weight: 700; color: var(--text2); letter-spacing: .2px; }
.nvev-chg { display: flex; flex-direction: column; border: 1px solid var(--border); border-radius: 12px; overflow: hidden; }
.nvev-chg-r { display: grid; grid-template-columns: minmax(90px, .9fr) minmax(0, 1fr) 16px minmax(0, 1fr); gap: 8px; align-items: center; padding: 9px 12px; font-size: 12.5px; border-top: 1px solid var(--border); animation: var(--nvev-in) var(--nvev-dur) var(--nvev-ease) both; animation-delay: calc(var(--i, 0) * 40ms); }
.nvev-chg-r:first-child { border-top: 0; }
.nvev-chg-c { color: var(--text3); font-weight: 600; }
.nvev-chg-a { color: var(--text3); text-decoration: line-through; text-decoration-color: rgba(248, 113, 113, .6); overflow-wrap: anywhere; }
.nvev-chg-f { color: var(--nvev-acc2); display: grid; place-items: center; }
.nvev-chg-d { color: var(--text); font-weight: 600; overflow-wrap: anywhere; }
.nvev-det-t { margin: 0; font-size: 12.5px; color: var(--text2); line-height: 1.55; overflow-wrap: anywhere; background: var(--bg3); border: 1px solid var(--border); border-radius: 12px; padding: 10px 12px; }
.nvev-meta { font-size: 10.5px; color: var(--text3); opacity: .75; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; overflow-wrap: anywhere; }
.nvev-tabs { display: flex; gap: 4px; padding: 8px 12px 0; border-bottom: 1px solid var(--border); overflow-x: auto; scrollbar-width: none; }
.nvev-tabs::-webkit-scrollbar { display: none; }
.nvev-tabs button { flex: none; position: relative; display: inline-flex; align-items: center; gap: 6px; height: 36px; padding: 0 12px; border: 0; background: none; color: var(--text3); font: 600 12.5px var(--nv-font-ui, inherit); cursor: pointer; }
.nvev-tabs button i { font-style: normal; font-size: 11px; background: var(--bg3); border-radius: 99px; padding: 1px 7px; color: var(--text2); }
.nvev-tabs button::after { content: ""; position: absolute; left: 10px; right: 10px; bottom: -1px; height: 2px; border-radius: 2px; background: var(--nvev-acc); transform: scaleX(0); transition: transform 240ms var(--nvev-spring); }
.nvev-tabs button.on { color: var(--text); } .nvev-tabs button.on::after { transform: scaleX(1); }
.nvev-tp { display: none; flex-direction: column; gap: 10px; }
.nvev-tp.on { display: flex; animation: var(--nvev-in) var(--nvev-dur) var(--nvev-ease) both; }
.nvev-facts { display: flex; gap: 12px; flex-wrap: wrap; font-size: 12px; color: var(--text2); }
.nvev-facts span { display: inline-flex; align-items: center; gap: 5px; }
.nvev-lrow { display: flex; flex-direction: column; gap: 2px; padding: 9px 12px 9px 14px; border-radius: 11px; background: var(--bg3); border: 1px solid var(--border); position: relative; animation: var(--nvev-in) var(--nvev-dur) var(--nvev-ease) both; animation-delay: calc(var(--i, 0) * var(--nvev-step)); }
.nvev-lrow::before { content: ""; position: absolute; left: 0; top: 9px; bottom: 9px; width: 3px; border-radius: 3px; background: var(--k-n); }
.nvev-lrow.t-add::before { background: var(--k-g); } .nvev-lrow.t-del::before { background: var(--k-r); } .nvev-lrow.t-chg::before { background: var(--k-y); }
.nvev-lrow b { font-size: 13px; color: var(--text); font-weight: 600; }
.nvev-lrow span { font-size: 12px; color: var(--text3); overflow-wrap: anywhere; }
.nvev-warn { display: flex; gap: 12px; padding: 14px; border-radius: 14px; background: rgba(239, 68, 68, .08); border: 1px solid rgba(239, 68, 68, .3); color: #fca5a5; }
.nvev-warn div { display: flex; flex-direction: column; gap: 4px; }
.nvev-warn b { color: var(--text); font-size: 13.5px; }
.nvev-warn span { color: var(--text2); font-size: 12.5px; line-height: 1.5; }
.nvev-type { display: flex; flex-direction: column; gap: 7px; font-size: 12.5px; color: var(--text2); }
.nvev-type b { color: var(--text); letter-spacing: 1px; }
.nvev-type input { height: 44px; border-radius: 12px; border: 1px solid var(--border); background: var(--bg3); color: var(--text); padding: 0 14px; font: 700 15px var(--nv-font-ui, inherit); letter-spacing: 2px; text-transform: uppercase; outline: 0; transition: border-color 160ms, box-shadow 160ms; }
.nvev-type input:focus { border-color: rgba(239, 68, 68, .6); box-shadow: 0 0 0 3px rgba(239, 68, 68, .15); }
.nvev-type input.ok { border-color: rgba(52, 211, 153, .6); box-shadow: 0 0 0 3px rgba(52, 211, 153, .15); }
.nvev-note { margin: 0; font-size: 12px; font-weight: 400; color: var(--text3); line-height: 1.5; }
.nvev p { font-weight: 400; }
.nvev-note--r { margin-left: 4px; }

/* ── copia de seguridad ─────────────────────────────────────────── */
.nvev-hero {
  display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 16px; align-items: center; padding: 18px 20px; margin-bottom: 14px;
  border-radius: 20px; border: 1px solid var(--border); position: relative; overflow: hidden;
  background: radial-gradient(120% 140% at 0% 0%, color-mix(in srgb, var(--tc) 12%, transparent), transparent 55%), var(--bg2);
  animation: var(--nvev-in) var(--nvev-dur) var(--nvev-ease) both;
  --tc: var(--k-g);
}
.nvev-hero.t-aviso { --tc: var(--k-y); } .nvev-hero.t-mal { --tc: var(--k-r); }
.nvev-ring { position: relative; width: 58px; height: 58px; display: grid; place-items: center; color: var(--tc); }
.nvev-ring .nvev-ring-s { position: absolute; inset: 0; width: 100%; height: 100%; transform: rotate(-90deg); }
.nvev-ring circle { fill: none; stroke-width: 3.2; }
.nvev-ring .bg { stroke: var(--bg4); }
.nvev-ring .fg { stroke: var(--tc); stroke-linecap: round; stroke-dasharray: 1; stroke-dashoffset: calc(1 - var(--p, 0)); animation: nvev-ring 900ms var(--nvev-ease) both; filter: drop-shadow(0 0 5px color-mix(in srgb, var(--tc) 55%, transparent)); }
@keyframes nvev-ring { from { stroke-dashoffset: 1; } }
.nvev-hero-t { min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.nvev-hero-t > b { font-size: 16.5px; color: var(--text); font-weight: 700; letter-spacing: -.2px; }
.nvev-hero-t > span { font-size: 12.5px; color: var(--text2); line-height: 1.45; }
.nvev-hero-s { display: flex; flex-wrap: wrap; gap: 6px 14px; margin-top: 6px; font-size: 12px; color: var(--text3); }
.nvev-live { display: inline-flex; align-items: center; gap: 6px; color: #6ee7b7; font-weight: 600; }
.nvev-live i { width: 7px; height: 7px; border-radius: 50%; background: currentColor; box-shadow: 0 0 0 0 currentColor; animation: nvev-live 2s ease-out infinite; }
.nvev-live.off { color: var(--k-y); } .nvev-live.off i { animation: none; }
@keyframes nvev-live { 0% { box-shadow: 0 0 0 0 rgba(110, 231, 183, .55); } 100% { box-shadow: 0 0 0 8px rgba(110, 231, 183, 0); } }
.nvev-hero-a { display: flex; flex-direction: column; gap: 8px; }
.nvev-cols { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin-bottom: 14px; }
.nvev-card { background: var(--bg2); border: 1px solid var(--border); border-radius: 18px; padding: 16px; display: flex; flex-direction: column; gap: 12px; margin-bottom: 14px; animation: var(--nvev-in) var(--nvev-dur) var(--nvev-ease) both; min-width: 0; }
.nvev-cols .nvev-card { margin-bottom: 0; }
.nvev-cols .nvev-card:nth-child(2) { animation-delay: 50ms; }
.nvev-card h3 { display: flex; align-items: center; gap: 8px; margin: 0; font-size: 14px; font-weight: 700; color: var(--text); }
.nvev-card h3 .nvev-i { color: var(--nvev-acc2); }
.nvev-card-h { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
.nvev-seg { display: flex; padding: 3px; gap: 3px; border-radius: 12px; background: var(--bg3); border: 1px solid var(--border); }
.nvev-seg button { flex: 1; min-width: 0; height: 32px; border: 0; border-radius: 9px; background: none; color: var(--text2); font: 600 12.5px var(--nv-font-ui, inherit); cursor: pointer; transition: background 200ms, color 200ms, box-shadow 200ms, transform 160ms var(--nvev-spring); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; padding: 0 6px; }
.nvev-seg button.on { background: var(--bg2); color: var(--text); box-shadow: 0 1px 0 rgba(255, 255, 255, .04), 0 4px 12px -6px rgba(0, 0, 0, .6); }
.nvev-seg button:active { transform: scale(.96); }
.nvev-seg--s { align-self: flex-start; } .nvev-seg--s button { flex: none; padding: 0 12px; }
.nvev-exp-o { display: flex; flex-direction: column; gap: 8px; min-height: 58px; animation: nvev-fade 220ms ease both; }
.nvev-drop {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; min-height: 118px; padding: 16px; width: 100%;
  border-radius: 14px; border: 1.5px dashed color-mix(in srgb, var(--nvev-acc2) 40%, var(--border)); background: rgba(var(--nvev-rgb), .04);
  color: var(--nvev-acc2); cursor: pointer; font: inherit; transition: background 180ms, border-color 180ms, transform 200ms var(--nvev-spring);
}
.nvev-drop b { color: var(--text); font-size: 13.5px; } .nvev-drop span { color: var(--text3); font-size: 12px; }
.nvev-drop:hover, .nvev-drop.over { background: rgba(var(--nvev-rgb), .1); border-color: var(--nvev-acc2); }
.nvev-drop.over { transform: scale(1.015); }
.nvev-drop:hover .nvev-i { animation: nvev-bob 700ms var(--nvev-ease) infinite alternate; }
@keyframes nvev-bob { to { transform: translateY(-3px); } }
.nvev-counts { display: grid; grid-template-columns: repeat(auto-fill, minmax(118px, 1fr)); gap: 8px; }
.nvev-count { position: relative; padding: 10px 12px; border-radius: 12px; background: var(--bg3); border: 1px solid var(--border); animation: var(--nvev-in) var(--nvev-dur) var(--nvev-ease) both; animation-delay: calc(var(--i, 0) * 30ms); min-width: 0; }
.nvev-count span { display: flex; align-items: center; gap: 5px; font-size: 11px; color: var(--text3); font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.nvev-count b { display: block; margin-top: 4px; font: 700 18px/1 var(--nv-font-num, var(--nv-font-ui, inherit)); color: var(--text); font-variant-numeric: tabular-nums; }
.nvev-count em { position: absolute; top: 9px; right: 9px; font-style: normal; font-size: 10.5px; font-weight: 700; border-radius: 6px; padding: 1px 5px; font-variant-numeric: tabular-nums; }
.nvev-count em.up { color: #6ee7b7; background: rgba(52, 211, 153, .12); } .nvev-count em.dn { color: #fca5a5; background: rgba(248, 113, 113, .12); }
.nvev-checks { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 6px; }
.nvev-checks li { display: flex; align-items: flex-start; gap: 9px; padding: 9px 12px; border-radius: 11px; background: var(--bg3); border: 1px solid var(--border); font-size: 12.5px; color: var(--text2); line-height: 1.45; animation: var(--nvev-in) var(--nvev-dur) var(--nvev-ease) both; animation-delay: calc(var(--i, 0) * 70ms + 60ms); }
.nvev-checks li .nvev-i { flex: none; margin-top: 1px; }
.nvev-checks .c-ok .nvev-i { color: var(--k-g); } .nvev-checks .c-aviso .nvev-i { color: var(--k-y); } .nvev-checks .c-info .nvev-i { color: var(--nvev-acc2); }
.nvev-checks .c-mal { border-color: rgba(248, 113, 113, .4); } .nvev-checks .c-mal .nvev-i { color: var(--k-r); }
.nvev-checks .c-aviso { border-color: rgba(251, 191, 36, .3); }
.nvev-info { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.nvev-info li { display: flex; gap: 9px; align-items: flex-start; font-size: 12.5px; color: var(--text2); line-height: 1.5; }
.nvev-info li .nvev-i { flex: none; color: var(--nvev-acc2); margin-top: 2px; }
.nvev-info b { color: var(--text); }
.nvev-opt { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 12px 0 0; border-top: 1px solid var(--border); }
.nvev-opt > div { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.nvev-opt b { font-size: 13px; color: var(--text); } .nvev-opt span { font-size: 12px; color: var(--text3); line-height: 1.45; }
.nvev-sw { position: relative; flex: none; width: 44px; height: 26px; cursor: pointer; }
.nvev-sw input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.nvev-sw i { position: absolute; inset: 0; border-radius: 99px; background: var(--bg4); border: 1px solid var(--border); transition: background 200ms; pointer-events: none; }
.nvev-sw i::after { content: ""; position: absolute; top: 2px; left: 2px; width: 20px; height: 20px; border-radius: 50%; background: #fff; box-shadow: 0 2px 6px rgba(0, 0, 0, .35); transition: transform 260ms var(--nvev-spring); }
.nvev-sw input:checked + i { background: var(--nvev-acc); border-color: transparent; }
.nvev-sw input:checked + i::after { transform: translateX(18px); }
.nvev-sw input:focus-visible + i { outline: 2px solid var(--nvev-acc2); outline-offset: 2px; }
.nvev-hrow { display: grid; grid-template-columns: 30px minmax(0, 1fr) auto; gap: 10px; align-items: center; padding: 10px 2px; border-top: 1px solid var(--border); animation: var(--nvev-in) var(--nvev-dur) var(--nvev-ease) both; animation-delay: calc(var(--i, 0) * var(--nvev-step)); }
.nvev-hrow:first-child, .nvev-snaps h4 + .nvev-hrow { border-top: 0; }
.nvev-hrow-i { width: 30px; height: 30px; border-radius: 10px; display: grid; place-items: center; color: var(--nvev-acc2); background: rgba(var(--nvev-rgb), .1); }
.nvev-hrow > div { min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.nvev-hrow b { font-size: 13px; color: var(--text); font-weight: 600; }
.nvev-hrow span { font-size: 11.5px; color: var(--text3); overflow-wrap: anywhere; }
.nvev-hrow small { font-size: 10.5px; color: var(--text3); white-space: nowrap; }
.nvev-hrow-a { display: flex !important; flex-direction: row !important; gap: 6px; }
.nvev-snaps { padding-bottom: 10px; margin-bottom: 4px; border-bottom: 1px solid var(--border); }
.nvev-snaps h4 { margin: 0 0 4px; font-size: 11px; text-transform: uppercase; letter-spacing: .7px; color: var(--text3); }
.nvev-danger { border-color: rgba(239, 68, 68, .22); }
.nvev-danger summary { display: flex; align-items: center; gap: 8px; cursor: pointer; list-style: none; font-size: 13px; font-weight: 700; color: #fca5a5; }
.nvev-danger summary::-webkit-details-marker { display: none; }
.nvev-danger summary::after { content: ""; margin-left: auto; width: 8px; height: 8px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg); transition: transform 200ms var(--nvev-ease); }
.nvev-danger[open] summary::after { transform: rotate(-135deg); }
.nvev-danger p { margin: 0; font-size: 12.5px; color: var(--text3); }
.nvev-danger .nvev-btn { align-self: flex-start; }

/* ── Descargar App ──────────────────────────────────────────────── */
.nav-item.nvev-dl-press { position: relative; overflow: hidden; animation: nvev-press 420ms var(--nvev-spring, cubic-bezier(.34, 1.45, .64, 1)); }
.nav-item.nvev-dl-press::after {
  content: ""; position: absolute; left: 22px; top: 50%; width: 12px; height: 12px; margin: -6px 0 0 -6px; border-radius: 50%; pointer-events: none;
  background: rgba(var(--nv-accent-rgb, 99, 102, 241), .35); animation: nvev-ripple 700ms ease-out forwards;
}
.nav-item.nvev-dl-press .mi svg { animation: nvev-drop 620ms cubic-bezier(.34, 1.45, .64, 1); }
@keyframes nvev-press { 0% { transform: scale(1); } 35% { transform: scale(.965); } 100% { transform: scale(1); } }
@keyframes nvev-ripple { from { transform: scale(1); opacity: 1; } to { transform: scale(28); opacity: 0; } }
@keyframes nvev-drop { 0% { transform: none; } 30% { transform: translateY(3px); } 55% { transform: translateY(-2px); } 100% { transform: none; } }
.nvev-dl {
  position: fixed; right: 20px; bottom: 20px; z-index: 100030; width: 360px; max-width: calc(100vw - 32px);
  display: grid; grid-template-columns: 48px minmax(0, 1fr) 30px; gap: 12px; align-items: start; padding: 14px;
  background: var(--bg2); border: 1px solid var(--border); border-radius: 18px; box-shadow: 0 24px 60px -18px rgba(0, 0, 0, .75), 0 0 0 1px rgba(var(--nvev-rgb), .08);
  transform: translateY(18px) scale(.96); opacity: 0; transition: transform 340ms var(--nvev-spring), opacity 220ms ease;
}
.nvev-dl.in { transform: none; opacity: 1; }
.nvev-dl.out { transform: translateY(12px) scale(.98); opacity: 0; transition: transform 200ms ease-in, opacity 180ms ease-in; }
.nvev-dl .nvev-x { width: 30px; height: 30px; border-radius: 9px; }
.nvev-dl-ico { position: relative; width: 48px; height: 48px; border-radius: 15px; display: grid; place-items: center; overflow: hidden; color: #fff; background: linear-gradient(145deg, var(--nvev-acc), var(--nvev-acc2)); box-shadow: 0 10px 24px -10px rgba(var(--nvev-rgb), .9); }
.nvev-dl-arrow { display: grid; place-items: center; animation: nvev-fall 1.4s cubic-bezier(.6, 0, .4, 1) 200ms 2 both; }
@keyframes nvev-fall { 0% { transform: translateY(-4px); opacity: 1; } 45% { transform: translateY(3px); } 70% { transform: translateY(0); } 100% { transform: translateY(0); } }
.nvev-dl-ring { position: absolute; inset: 0; border-radius: inherit; box-shadow: inset 0 0 0 2px rgba(255, 255, 255, .35); animation: nvev-pulse 1.6s ease-out 2; }
@keyframes nvev-pulse { from { transform: scale(.7); opacity: 1; } to { transform: scale(1.25); opacity: 0; } }
.nvev-dl-t { min-width: 0; display: flex; flex-direction: column; gap: 4px; }
.nvev-dl-t b { font-size: 13.5px; color: var(--text); }
.nvev-dl-t > span { font-size: 12px; color: var(--text3); line-height: 1.45; }
.nvev-dl-bar { height: 3px; border-radius: 3px; background: var(--bg4); overflow: hidden; margin: 6px 0 2px; }
.nvev-dl-bar i { display: block; height: 100%; width: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--nvev-acc), var(--nvev-acc2)); transform-origin: left; animation: nvev-bar 1.6s cubic-bezier(.3, .7, .2, 1) 150ms both; }
@keyframes nvev-bar { from { transform: scaleX(0); } to { transform: scaleX(1); } }
.nvev-dl-how summary { cursor: pointer; font-size: 12px; font-weight: 600; color: var(--nvev-acc2); list-style: none; }
.nvev-dl-how summary::-webkit-details-marker { display: none; }
.nvev-dl-how ol { margin: 6px 0 0; padding-left: 18px; font-size: 12px; color: var(--text2); line-height: 1.55; animation: nvev-fade 220ms ease both; }
.nvev-dl-a { display: flex; gap: 8px; margin-top: 6px; }

/* ── teléfono ───────────────────────────────────────────────────── */
@media (max-width: 860px) {
  .nvev-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .nvev-cols { grid-template-columns: minmax(0, 1fr); }
  .nvev-hero { grid-template-columns: auto minmax(0, 1fr); }
  .nvev-hero-a { grid-column: 1 / -1; flex-direction: row; }
  .nvev-hero-a .nvev-btn { flex: 1; }
}
@media (max-width: 600px) {
  .nvev-hd { margin-bottom: 12px; }
  .nvev-hd h2 { font-size: 17px; }
  .nvev-hd-a { width: 100%; }
  .nvev-hd-a .nvev-btn { flex: 1; padding: 0 10px; }
  .nvev-hd-a .nvev-btn--dan { flex: 0 0 auto; width: 40px; padding: 0; }
  .nvev-hide-s { display: none; }
  .nvev-stat { padding: 11px 12px; gap: 9px; }
  .nvev-stat-i { display: none; }
  .nvev-stat b { font-size: 18px; }
  .nvev-search kbd { display: none; }
  .nvev-sel { gap: 6px; }
  .nvev-pill { flex: 1 1 calc(50% - 6px); min-width: 0; }
  .nvev-pill select { max-width: none; width: 100%; }
  .nvev-rango { flex: 1 1 100%; } .nvev-rango input { flex: 1; min-width: 0; }
  .nvev-row { grid-template-columns: 30px minmax(0, 1fr) auto; gap: 10px; padding: 10px 12px; }
  .nvev-row-i { width: 30px; height: 30px; border-radius: 10px; }
  .nvev-day-h { padding: 10px 12px 8px; }
  .nvev-tag--ch { max-width: 100%; }
  .nvev-ov { align-items: flex-end; padding: 0; }
  .nvev-md { max-width: none; border-radius: 22px 22px 0 0; max-height: 90vh; transform: translateY(40px); padding-bottom: env(safe-area-inset-bottom); }
  .nvev-ov.in .nvev-md { transform: none; }
  .nvev-ov.out .nvev-md { transform: translateY(60px); }
  .nvev-grid { grid-template-columns: minmax(0, 1fr); }
  .nvev-chg-r { grid-template-columns: minmax(0, 1fr) 14px minmax(0, 1fr); }
  .nvev-chg-c { grid-column: 1 / -1; font-size: 11px; }
  .nvev-md-f .nvev-btn { flex: 1; }
  .nvev-nav { width: 100%; justify-content: space-between; margin-right: 0; }
  .nvev-hero { padding: 16px; gap: 12px; }
  .nvev-ring { width: 50px; height: 50px; }
  .nvev-hero-a { flex-direction: column; }
  .nvev-opt { align-items: flex-start; }
  .nvev-opt .nvev-pill { flex: none; }
  .nvev-hrow small { display: none; }
  .nvev-dl { left: 12px; right: 12px; width: auto; max-width: none; bottom: calc(78px + env(safe-area-inset-bottom)); }
}

/* ── menos movimiento ───────────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  .nvev *, .nvev, .nvev-dl, .nvev-dl *, .nav-item.nvev-dl-press, .nav-item.nvev-dl-press * { animation: none !important; transition: none !important; }
  .nav-item.nvev-dl-press::after { display: none; }
  .nvev-md, .nvev-dl { transform: none !important; }
}
