/* ═══════════════════════════════════════════════════════════════════
   NV Gestor 6.1 · Cuentas (nv-cuentas-610.css)
   Tarjeta de persona con cuenta completa, selector para mover clientes,
   Reportar Caída y Revertir movimiento. Solo clases .nvc6-* y colores
   desde los tokens del tema (--bg*, --text*, --border*, --accent...).
   ═══════════════════════════════════════════════════════════════════ */
.nvc6-mono { font-family: var(--nv-font-num, ui-monospace, monospace); font-size: .95em; }
.nvc6-mut { color: var(--text3); }
.nvc6-warn { color: var(--amber); }

/* Etiquetas */
.nvc6-tag { display: inline-flex; align-items: center; gap: 4px; height: 20px; padding: 0 8px; border-radius: 99px; font: 700 10.5px/1 var(--nv-font-ui, inherit); letter-spacing: .2px; white-space: nowrap; color: var(--text2); background: color-mix(in srgb, var(--text3) 14%, transparent); flex-shrink: 0; }
.nvc6-tag.ok { color: var(--accent); background: color-mix(in srgb, var(--accent) 14%, transparent); }
.nvc6-tag.warn { color: var(--amber); background: color-mix(in srgb, var(--amber) 15%, transparent); }
.nvc6-tag.bad { color: var(--red); background: color-mix(in srgb, var(--red) 14%, transparent); }
.nvc6-tag.vio { color: var(--purple2, var(--accent2)); background: color-mix(in srgb, var(--purple2, var(--accent2)) 14%, transparent); }

/* Botones */
.nvc6-b { display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-height: 34px; padding: 0 12px; border-radius: 10px; border: 1px solid var(--border2, var(--border)); background: var(--bg3); color: var(--text2); font: 700 12px/1 var(--nv-font-ui, inherit); cursor: pointer; white-space: nowrap; transition: color .15s, background .15s, border-color .15s, transform .15s var(--nv-ease, ease-out); }
.nvc6-b:hover { color: var(--text); border-color: color-mix(in srgb, var(--accent) 45%, var(--border)); }
.nvc6-b:active { transform: scale(.97); }
.nvc6-b.pri { background: var(--accent); border-color: var(--accent); color: #fff; }
.nvc6-b.pri:hover { filter: brightness(1.08); color: #fff; }
.nvc6-b.ok { color: var(--green); border-color: color-mix(in srgb, var(--green) 35%, transparent); }
.nvc6-b.ok:hover { background: color-mix(in srgb, var(--green) 10%, transparent); }
.nvc6-b.red { color: var(--red); border-color: color-mix(in srgb, var(--red) 32%, transparent); }
.nvc6-b.red:hover { background: color-mix(in srgb, var(--red) 9%, transparent); }
.nvc6-b.red.solid { background: color-mix(in srgb, var(--red) 13%, transparent); }
.nvc6-b.amber { color: var(--amber); border-color: color-mix(in srgb, var(--amber) 35%, transparent); }
.nvc6-b.amber:hover { background: color-mix(in srgb, var(--amber) 10%, transparent); }
.nvc6-b.ghost { background: transparent; border-color: transparent; color: var(--text3); }
.nvc6-b.ghost:hover { color: var(--text); background: var(--bg3); }
.nvc6-b:focus-visible, .nvc6-opt:focus-visible, .nvc6-seat:focus-visible, .nvc6-acc-h:focus-visible, .nvc6-per:focus-visible, .nvc6-rv:focus-visible, .nvc6-gr:focus-visible, .nvc6-chips button:focus-visible, .nvc6-seg-t button:focus-visible, .nvc6-back:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

/* Avatar */
.nvc6-av { width: 34px; height: 34px; border-radius: 10px; flex-shrink: 0; display: inline-flex; align-items: center; justify-content: center; font: 800 12.5px/1 var(--nv-font-ui, inherit); color: var(--accent); background: color-mix(in srgb, var(--accent) 15%, transparent); }
.nvc6-av.s { width: 20px; height: 20px; border-radius: 6px; font-size: 9px; }

/* ── A · Tarjeta de persona (cuenta completa) ──────────────────────── */
.nvc6-pc { background: color-mix(in srgb, var(--accent) 5%, var(--bg3)); border: 1px solid color-mix(in srgb, var(--accent) 22%, var(--border)); border-radius: 14px; padding: 12px; display: grid; gap: 10px; min-width: 0; animation: nvc6Up .28s var(--nv-ease, ease-out) both; }
.nvc6-pc.sm { margin: 8px 11px; }
.nvc6-pc-top { display: flex; align-items: center; gap: 10px; min-width: 0; }
.nvc6-pc-t { flex: 1; min-width: 0; }
.nvc6-pc-t b { display: block; font-size: 14px; color: var(--text); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.nvc6-pc-t small { display: block; font-size: 11.5px; color: var(--text3); margin-top: 2px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.nvc6-occ { display: flex; align-items: center; gap: 10px; min-width: 0; }
.nvc6-seg { display: flex; gap: 3px; flex: 1; min-width: 60px; max-width: 240px; }
.nvc6-seg i { flex: 1; height: 8px; border-radius: 3px; background: color-mix(in srgb, var(--text3) 20%, transparent); transform-origin: left; }
.nvc6-seg i.on { background: var(--accent); animation: nvc6Seg .4s var(--nv-ease, ease-out) both; animation-delay: calc(var(--k, 0) * 45ms); }
.nvc6-occ-t { font-size: 12px; color: var(--text2); white-space: nowrap; }
.nvc6-occ-t b { color: var(--text); font-variant-numeric: tabular-nums; }
.nvc6-pc-meta { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.nvc6-v { display: inline-flex; align-items: baseline; gap: 6px; font-size: 12px; color: var(--text2); white-space: nowrap; flex-shrink: 0; }
.nvc6-v b { color: var(--text); font-weight: 700; }
.nvc6-v em { font-style: normal; font-size: 11px; color: var(--text3); }
.nvc6-v.warn em, .nvc6-v.warn b { color: var(--amber); }
.nvc6-v.bad em, .nvc6-v.bad b { color: var(--red); }
.nvc6-pc-act { display: flex; flex-wrap: wrap; gap: 6px; }
.nvc6-pc-act .nvc6-b { min-height: 32px; padding: 0 10px; }
.nvc6-orig { margin-top: 8px; animation: nvc6Fade .2s ease both; }
.nvc6-oc:not(.nvc6-oc-on) { display: none !important; }
tr.nvc6-es-completa td { vertical-align: top; }

/* ── Hoja (modal propio) ───────────────────────────────────────────── */
.nvc6-ov { z-index: 10050; }
.nvc6-sh { width: min(560px, calc(100vw - 24px)); max-width: 560px !important; max-height: min(88vh, 820px); display: flex; flex-direction: column; padding: 0 !important; overflow: hidden; background: var(--bg2); border: 1px solid var(--border); border-radius: 20px; box-shadow: var(--shadow-lg, 0 20px 60px rgba(0,0,0,.35)); }
.nvc6-ov.show .nvc6-sh { animation: nvc6Sheet .3s cubic-bezier(.2,.8,.2,1) both; }
.nvc6-sh-h { display: flex; align-items: center; gap: 12px; padding: 16px 16px 12px; border-bottom: 1px solid var(--border); }
.nvc6-sh-i:empty { display: none; }
.nvc6-pi { display: inline-flex; width: 34px; height: 34px; border-radius: 10px; overflow: hidden; flex-shrink: 0; align-items: center; justify-content: center; }
.nvc6-pi.s { width: 26px; height: 26px; border-radius: 7px; }
.nvc6-pi.rv { color: var(--green); background: color-mix(in srgb, var(--green) 14%, transparent); }
.nvc6-sh-t { flex: 1; min-width: 0; }
.nvc6-sh-t h3 { margin: 0; font: 700 16px/1.25 var(--nv-font-display, inherit); color: var(--text); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.nvc6-sh-t small { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin-top: 4px; font-size: 11.5px; color: var(--text3); min-width: 0; }
.nvc6-sh-t small .nvc6-mono { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 100%; }
.nvc6-x { width: 34px; height: 34px; border-radius: 10px; border: 0; background: transparent; color: var(--text3); cursor: pointer; display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; transition: background .15s, color .15s; }
.nvc6-x:hover { background: var(--bg3); color: var(--text); }
.nvc6-sh-b { padding: 14px 16px; overflow-y: auto; overscroll-behavior: contain; flex: 1; min-height: 0; scrollbar-width: thin; }
.nvc6-sh-f { display: flex; align-items: center; gap: 10px; padding: 12px 16px; border-top: 1px solid var(--border); background: var(--bg2); flex-wrap: wrap; }
.nvc6-sh-f:empty { display: none; }
.nvc6-fbtn { display: flex; gap: 8px; margin-left: auto; }
.nvc6-sum { flex: 1; min-width: 0; font-size: 12.5px; }
.nvc6-sum-t { display: flex; align-items: center; gap: 6px; min-width: 0; color: var(--text3); }
.nvc6-sum-t b { color: var(--text); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 45%; }
.nvc6-sum-t .nvc6-mono { color: var(--text2); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.nvc6-in { animation: nvc6Up .22s var(--nv-ease, ease-out) both; }
.nvc6-go { display: inline-flex; align-items: center; gap: 7px; }
.nvc6-go[disabled] { opacity: .5; pointer-events: none; }
.nvc6-go.wide { width: 100%; justify-content: center; min-height: 44px; margin-top: 4px; }
.nvc6-go.is-loading span::after { content: ''; display: inline-block; width: 10px; height: 10px; margin-left: 8px; border: 2px solid currentColor; border-right-color: transparent; border-radius: 50%; vertical-align: -1px; animation: nvc6Spin .7s linear infinite; }

.nvc6-mot { display: inline-flex; align-items: center; gap: 4px; padding: 2px 8px; border-radius: 99px; font-weight: 800; font-size: 10.5px; letter-spacing: .2px; }
.nvc6-mot.amber { color: var(--amber); background: color-mix(in srgb, var(--amber) 14%, transparent); }
.nvc6-mot.red { color: var(--red); background: color-mix(in srgb, var(--red) 13%, transparent); }
.nvc6-mot.accent { color: var(--accent); background: color-mix(in srgb, var(--accent) 14%, transparent); }
.nvc6-lbl { font: 800 10.5px/1 var(--nv-font-ui, inherit); letter-spacing: .8px; text-transform: uppercase; color: var(--text3); margin: 4px 2px 8px; }

/* Personas */
.nvc6-pers { display: grid; gap: 6px; margin-bottom: 14px; }
.nvc6-per { width: 100%; display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 12px; border: 1.5px solid var(--border); background: var(--bg3); color: inherit; text-align: left; cursor: pointer; font: inherit; min-width: 0; animation: nvc6Up .24s var(--nv-ease, ease-out) both; animation-delay: calc(var(--i, 0) * 30ms); transition: border-color .15s, background .15s; }
.nvc6-per.sola { cursor: default; margin-bottom: 14px; border-color: transparent; }
.nvc6-per:not(.sola):hover { border-color: color-mix(in srgb, var(--accent) 40%, var(--border)); }
.nvc6-per[aria-checked="true"]:not(.sola) { border-color: var(--accent); background: color-mix(in srgb, var(--accent) 8%, var(--bg3)); }
.nvc6-per-t { flex: 1; min-width: 0; }
.nvc6-per-t b { display: block; font-size: 13.5px; color: var(--text); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.nvc6-per-t small { display: block; font-size: 11.5px; color: var(--text3); margin-top: 2px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.nvc6-rad { width: 18px; height: 18px; border-radius: 50%; border: 2px solid var(--border2, var(--border)); flex-shrink: 0; position: relative; transition: border-color .15s; }
.nvc6-rad::after { content: ''; position: absolute; inset: 3px; border-radius: 50%; background: var(--accent); transform: scale(0); transition: transform .22s cubic-bezier(.3,1.6,.5,1); }
[aria-checked="true"] > .nvc6-rad { border-color: var(--accent); }
[aria-checked="true"] > .nvc6-rad::after { transform: scale(1); }

/* Pestañas */
.nvc6-seg-t { position: relative; display: flex; gap: 2px; padding: 3px; border-radius: 12px; background: var(--bg3); border: 1px solid var(--border); margin-bottom: 10px; }
.nvc6-seg-t button { position: relative; z-index: 1; flex: 1; min-width: 0; display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-height: 36px; padding: 0 8px; border: 0; background: transparent; color: var(--text3); font: 700 12px/1 var(--nv-font-ui, inherit); cursor: pointer; border-radius: 9px; transition: color .2s; }
.nvc6-seg-t button span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.nvc6-seg-t button em { font-style: normal; font-size: 10.5px; padding: 1px 6px; border-radius: 99px; background: color-mix(in srgb, var(--text3) 16%, transparent); }
.nvc6-seg-t button[aria-selected="true"] { color: var(--text); }
.nvc6-seg-t button[aria-selected="true"] em { background: color-mix(in srgb, var(--accent) 18%, transparent); color: var(--accent); }
.nvc6-ind { position: absolute; z-index: 0; top: 3px; bottom: 3px; left: 0; width: 0; border-radius: 9px; background: var(--bg2); box-shadow: 0 1px 4px rgba(0,0,0,.12); transition: transform .28s cubic-bezier(.3,.9,.3,1), width .28s cubic-bezier(.3,.9,.3,1); }

/* Buscador */
.nvc6-q { position: relative; display: flex; align-items: center; margin-bottom: 10px; }
.nvc6-q > span { position: absolute; left: 12px; display: inline-flex; color: var(--text3); pointer-events: none; }
.nvc6-q input { width: 100%; min-width: 0; height: 40px; padding: 0 36px 0 38px; border-radius: 11px; border: 1.5px solid var(--border); background: var(--bg3); color: var(--text); font: 500 13.5px/1 var(--nv-font-ui, inherit); outline: none; box-sizing: border-box; transition: border-color .18s, box-shadow .18s, background .18s; -webkit-appearance: none; appearance: none; }
.nvc6-q input::-webkit-search-cancel-button { display: none; }
.nvc6-q input:focus { border-color: var(--accent); background: var(--bg2); box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent) 14%, transparent); }
.nvc6-q.big input { height: 44px; font-size: 14px; }
.nvc6-q kbd { position: absolute; right: 12px; font: 700 10.5px/1 var(--nv-font-num, monospace); color: var(--text3); border: 1px solid var(--border2, var(--border)); border-radius: 5px; padding: 3px 6px; pointer-events: none; transition: opacity .15s; }
.nvc6-q input:focus ~ kbd, .nvc6-q .nvc6-qx:not([hidden]) ~ kbd { opacity: 0; }
.nvc6-q input:not(:placeholder-shown) ~ kbd { opacity: 0; }
.nvc6-qx { position: absolute; right: 6px; width: 30px; height: 30px; border-radius: 8px; border: 0; background: transparent; color: var(--text3); cursor: pointer; display: inline-flex; align-items: center; justify-content: center; animation: nvc6Pop .2s ease both; }
.nvc6-qx:hover { background: var(--bg4, var(--bg3)); color: var(--text); }
.nvc6-qx[hidden] { display: none; }

/* Opciones de destino */
.nvc6-opts { display: grid; gap: 7px; }
.nvc6-opt, .nvc6-acc-h { width: 100%; display: flex; align-items: center; gap: 10px; padding: 10px 12px; border: 0; background: transparent; color: inherit; text-align: left; font: inherit; cursor: pointer; min-width: 0; }
.nvc6-opt { border-radius: 12px; border: 1.5px solid var(--border); background: var(--bg3); animation: nvc6Up .24s var(--nv-ease, ease-out) both; animation-delay: calc(var(--i, 0) * 28ms); transition: border-color .15s, background .15s, transform .15s; }
.nvc6-opt:hover { border-color: color-mix(in srgb, var(--accent) 40%, var(--border)); }
.nvc6-opt[aria-checked="true"] { border-color: var(--accent); background: color-mix(in srgb, var(--accent) 8%, var(--bg3)); }
.nvc6-oi { width: 32px; height: 32px; border-radius: 9px; display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; color: var(--accent); background: color-mix(in srgb, var(--accent) 13%, transparent); }
.nvc6-oi.ind { color: var(--amber); background: color-mix(in srgb, var(--amber) 14%, transparent); }
.nvc6-ot { flex: 1; min-width: 0; }
.nvc6-ot b { display: block; font-size: 12.5px; color: var(--text); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.nvc6-ot small { display: block; font-size: 11px; color: var(--text3); margin-top: 2px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.nvc6-res { font-style: normal; font-weight: 800; color: var(--green); }
.nvc6-acc { border-radius: 12px; border: 1.5px solid var(--border); background: var(--bg3); overflow: hidden; animation: nvc6Up .24s var(--nv-ease, ease-out) both; animation-delay: calc(var(--i, 0) * 28ms); transition: border-color .15s; }
.nvc6-acc.open { border-color: color-mix(in srgb, var(--accent) 35%, var(--border)); }
.nvc6-chev { display: inline-flex; color: var(--text3); transition: transform .25s var(--nv-ease, ease-out); flex-shrink: 0; }
.nvc6-acc.open .nvc6-chev { transform: rotate(180deg); }
.nvc6-dots { display: inline-flex; gap: 3px; flex-shrink: 0; }
.nvc6-dots i { width: 7px; height: 7px; border-radius: 50%; background: color-mix(in srgb, var(--text3) 25%, transparent); }
.nvc6-dots i.o { background: color-mix(in srgb, var(--amber) 70%, transparent); }
.nvc6-dots i.f { background: var(--green); }
.nvc6-seats { display: grid; grid-template-columns: repeat(auto-fill, minmax(104px, 1fr)); gap: 6px; padding: 0 12px; max-height: 0; overflow: hidden; transition: max-height .3s var(--nv-ease, ease-out), padding .3s; }
.nvc6-acc.open .nvc6-seats { max-height: 480px; padding: 2px 12px 12px; }
.nvc6-seat { position: relative; display: grid; gap: 2px; padding: 9px 10px; border-radius: 10px; border: 1.5px solid var(--border); background: var(--bg2); color: inherit; text-align: left; font: inherit; cursor: pointer; transition: border-color .15s, background .15s; min-width: 0; }
.nvc6-seat b { font-size: 12.5px; color: var(--text); }
.nvc6-seat small { font-size: 10.5px; color: var(--text3); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.nvc6-seat em { position: absolute; top: 6px; right: 7px; font-style: normal; font-size: 9.5px; font-weight: 800; color: var(--green); }
.nvc6-seat:hover { border-color: color-mix(in srgb, var(--accent) 40%, var(--border)); }
.nvc6-seat[aria-checked="true"] { border-color: var(--accent); background: color-mix(in srgb, var(--accent) 12%, var(--bg2)); }
.nvc6-pop { animation: nvc6Pick .32s cubic-bezier(.3,1.5,.5,1) both; }

/* Vacío */
.nvc6-empty { display: grid; justify-items: center; gap: 6px; text-align: center; padding: 26px 16px; border: 1px dashed var(--border2, var(--border)); border-radius: 14px; color: var(--text2); animation: nvc6Fade .25s ease both; }
.nvc6-empty b { font-size: 13.5px; color: var(--text); }
.nvc6-empty small { font-size: 12px; color: var(--text3); max-width: 380px; line-height: 1.45; }
.nvc6-empty .nvc6-b { margin-top: 6px; }
.nvc6-empty.sm { padding: 16px; }
.nvc6-empty[hidden] { display: none; }

/* Hecho */
.nvc6-done { display: grid; justify-items: center; gap: 10px; text-align: center; padding: 10px 0; }
.nvc6-done-i { width: 56px; height: 56px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; color: var(--green); background: color-mix(in srgb, var(--green) 14%, transparent); animation: nvc6Pick .45s cubic-bezier(.3,1.5,.5,1) both; }
.nvc6-done > b { font-size: 15px; color: var(--text); }
.nvc6-done-g { display: grid; grid-template-columns: auto 1fr; gap: 6px 14px; text-align: left; font-size: 12.5px; background: var(--bg3); border-radius: 12px; padding: 12px 14px; width: 100%; box-sizing: border-box; }
.nvc6-done-g span { color: var(--text3); }
.nvc6-done-g b { color: var(--text); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0; }
.nvc6-done small { color: var(--text3); font-size: 12px; }

/* ── D · Revertir ──────────────────────────────────────────────────── */
.nvc6-chips { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 10px; }
.nvc6-chips[hidden] { display: none; }
.nvc6-chips button { display: inline-flex; align-items: center; gap: 6px; min-height: 32px; padding: 0 12px; border-radius: 99px; border: 1px solid var(--border); background: var(--bg3); color: var(--text2); font: 700 12px/1 var(--nv-font-ui, inherit); cursor: pointer; transition: background .18s, color .18s, border-color .18s, transform .15s; }
.nvc6-chips button span { font-size: 10.5px; color: var(--text3); font-variant-numeric: tabular-nums; }
.nvc6-chips button:hover { border-color: color-mix(in srgb, var(--accent) 40%, var(--border)); }
.nvc6-chips button[aria-pressed="true"] { background: var(--accent); border-color: var(--accent); color: #fff; }
.nvc6-chips button[aria-pressed="true"] span { color: rgba(255,255,255,.8); }
.nvc6-chips button:active { transform: scale(.96); }
.nvc6-rlist { display: grid; gap: 6px; }
.nvc6-rlist[hidden] { display: none; }
.nvc6-cnt { font-size: 11.5px; margin: 2px 2px 6px; }
.nvc6-cnt:empty { display: none; }
.nvc6-rv, .nvc6-gr { width: 100%; display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 12px; border: 1px solid var(--border); background: var(--bg3); color: inherit; text-align: left; font: inherit; cursor: pointer; min-width: 0; animation: nvc6Up .22s var(--nv-ease, ease-out) both; animation-delay: calc(var(--i, 0) * 22ms); transition: border-color .15s, background .15s, transform .15s; }
.nvc6-rv:hover, .nvc6-gr:hover { border-color: color-mix(in srgb, var(--green) 45%, var(--border)); transform: translateX(2px); }
.nvc6-rv.sin { opacity: .72; }
.nvc6-rv-t { flex: 1; min-width: 0; }
.nvc6-rv-t b { display: block; font-size: 13px; color: var(--text); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.nvc6-rv-t small { display: flex; align-items: center; gap: 5px; font-size: 11px; color: var(--text3); margin-top: 2px; min-width: 0; white-space: nowrap; overflow: hidden; }
.nvc6-rv-t small .nvc6-mono { overflow: hidden; text-overflow: ellipsis; min-width: 0; }
.nvc6-rv-w { display: grid; justify-items: end; gap: 4px; flex-shrink: 0; }
.nvc6-rv-w em { font-style: normal; font-size: 11px; color: var(--green); font-weight: 700; white-space: nowrap; }
.nvc6-sh mark, .nvc6-cd mark, .nvc6-gres mark { background: color-mix(in srgb, var(--amber) 32%, transparent); color: inherit; border-radius: 3px; padding: 0 1px; }
.nvc6-rvc { display: grid; gap: 12px; }
.nvc6-path { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 10px; padding: 12px; border-radius: 12px; background: var(--bg3); border: 1px solid var(--border); }
.nvc6-path > span { color: var(--green); display: inline-flex; animation: nvc6Nudge 1.4s ease-in-out infinite; }
.nvc6-path div { min-width: 0; }
.nvc6-path small { display: block; font-size: 10.5px; font-weight: 800; letter-spacing: .6px; text-transform: uppercase; color: var(--text3); }
.nvc6-path b { display: block; font-size: 12.5px; color: var(--text); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; margin-top: 3px; }
.nvc6-p { margin: 0; font-size: 12.5px; line-height: 1.55; color: var(--text2); }
.nvc6-alert { display: flex; gap: 8px; align-items: flex-start; padding: 10px 12px; border-radius: 12px; color: var(--red); background: color-mix(in srgb, var(--red) 9%, transparent); font-size: 12.5px; line-height: 1.45; }
.nvc6-volver { justify-self: center; }

/* ── C · Reportar Caída ────────────────────────────────────────────── */
.nvc6-gs { margin-bottom: 14px; }
.nvc6-gres { display: grid; gap: 6px; margin: 4px 0 16px; }
.nvc6-gres[hidden] { display: none; }
.nvc6-gr .nvc6-pi { box-shadow: 0 0 0 1px color-mix(in srgb, var(--pc, var(--accent)) 45%, transparent); }
.nvc6-gr > svg { color: var(--text3); flex-shrink: 0; }
.nvc6-gr.is-caida { border-color: color-mix(in srgb, var(--red) 35%, var(--border)); }
.nvc6-grid .activos-plat-btn[hidden] { display: none !important; }
.nvc6-grid .activos-plat-btn.nvc6-hit { box-shadow: 0 0 0 2px var(--accent); }

.nvc6-cd { display: grid; gap: 12px; }
.nvc6-cd-h { display: flex; align-items: center; gap: 12px; min-width: 0; }
.nvc6-cd-h .nvc6-pi { width: 40px; height: 40px; border-radius: 12px; box-shadow: 0 0 0 1px color-mix(in srgb, var(--pc, var(--accent)) 40%, transparent); }
.nvc6-cd-t { flex: 1; min-width: 0; }
.nvc6-cd-t h2 { margin: 0; font: 700 19px/1.2 var(--nv-font-display, inherit); color: var(--text); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.nvc6-cd-t small { font-size: 12px; color: var(--text3); }
.nvc6-back { width: 36px; height: 36px; border-radius: 10px; border: 1px solid var(--border); background: var(--bg2); color: var(--text2); cursor: pointer; display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; transition: color .15s, transform .15s; }
.nvc6-back:hover { color: var(--text); transform: translateX(-2px); }
.nvc6-kpis { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.nvc6-kpis > div { padding: 10px 12px; border-radius: 13px; background: var(--bg2); border: 1px solid var(--border); min-width: 0; }
.nvc6-kpis small { display: block; font-size: 11px; font-weight: 700; color: var(--text3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.nvc6-kpis b { display: block; font: 700 21px/1.2 var(--nv-font-num, inherit); font-variant-numeric: tabular-nums; color: var(--text); margin-top: 2px; }
.nvc6-kpis .bad b { color: var(--red); }
.nvc6-kpis .warn b { color: var(--amber); }
.nvc6-tools { display: flex; gap: 8px; align-items: flex-start; }
.nvc6-tools .nvc6-q { flex: 1; min-width: 0; margin: 0; }
.nvc6-sort { height: 44px; border-radius: 11px; border: 1.5px solid var(--border); background: var(--bg3); color: var(--text2); font: 700 12.5px/1 var(--nv-font-ui, inherit); padding: 0 10px; cursor: pointer; flex-shrink: 0; max-width: 42%; }
.nvc6-cd > .nvc6-chips { margin: 0; }
.nvc6-cards { display: grid; gap: 10px; }
.nvc6-cc { position: relative; background: var(--bg2); border: 1px solid var(--border); border-radius: 15px; padding: 13px 14px 12px 16px; display: grid; gap: 10px; min-width: 0; overflow: hidden; transition: border-color .2s, box-shadow .3s; }
.nvc6-cc::before { content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 3px; background: transparent; transition: background .2s; }
.nvc6-cc.is-caida { border-color: color-mix(in srgb, var(--red) 40%, var(--border)); }
.nvc6-cc.is-caida::before { background: var(--red); }
.nvc6-cc[hidden] { display: none; }
.nvc6-anim .nvc6-cc, .nvc6-cc.nvc6-in { animation: nvc6Up .26s var(--nv-ease, ease-out) both; animation-delay: calc(var(--i, 0) * 26ms); }
.nvc6-cc.nvc6-flash { box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 55%, transparent); }
.nvc6-cc-h { display: flex; align-items: flex-start; gap: 10px; min-width: 0; }
.nvc6-cc-t { flex: 1; min-width: 0; }
.nvc6-cc-t > b { display: block; font-size: 13.5px; color: var(--text); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.nvc6-cc-b { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; margin-top: 6px; }
.nvc6-ocn { font-size: 11px; font-variant-numeric: tabular-nums; }
.nvc6-who { display: flex; flex-wrap: wrap; gap: 5px; min-width: 0; }
.nvc6-who.none { font-size: 12px; color: var(--text3); }
.nvc6-chip-p { display: inline-flex; align-items: center; gap: 6px; max-width: 100%; min-width: 0; padding: 3px 9px 3px 3px; border-radius: 99px; background: var(--bg3); border: 1px solid var(--border); font-size: 12px; }
.nvc6-chip-p b { font-weight: 600; color: var(--text); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0; }
.nvc6-chip-p em { font-style: normal; font-size: 11px; color: var(--accent); white-space: nowrap; }
.nvc6-chip-p.on { border-color: color-mix(in srgb, var(--accent) 35%, var(--border)); }
.nvc6-chip-p.more { padding: 3px 9px; color: var(--text3); }
.nvc6-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--red); flex-shrink: 0; animation: nvc6Pulse 1.8s ease-in-out infinite; }
.nvc6-cc-a { display: flex; flex-wrap: wrap; gap: 6px; justify-content: flex-end; padding-top: 10px; border-top: 1px dashed var(--border); }

/* ── Movimiento ────────────────────────────────────────────────────── */
@keyframes nvc6Up { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
@keyframes nvc6Fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes nvc6Seg { from { transform: scaleX(0); opacity: .3; } to { transform: scaleX(1); opacity: 1; } }
@keyframes nvc6Sheet { from { opacity: 0; transform: translateY(14px) scale(.98); } to { opacity: 1; transform: none; } }
@keyframes nvc6Pop { from { opacity: 0; transform: scale(.6); } to { opacity: 1; transform: none; } }
@keyframes nvc6Pick { 0% { transform: scale(1); } 40% { transform: scale(.95); } 100% { transform: scale(1); } }
@keyframes nvc6Spin { to { transform: rotate(360deg); } }
@keyframes nvc6Nudge { 0%, 100% { transform: translateX(0); } 50% { transform: translateX(3px); } }
@keyframes nvc6Pulse { 0%, 100% { opacity: 1; } 50% { opacity: .35; } }

/* ── Celular y tablet ──────────────────────────────────────────────── */
@media (max-width: 640px) {
  .nvc6-ov { align-items: flex-end !important; padding: 0 !important; }
  .nvc6-sh { width: 100vw; max-width: 100vw !important; max-height: 92vh; border-radius: 20px 20px 0 0; border-bottom: 0; }
  .nvc6-ov.show .nvc6-sh { animation: nvc6Up2 .32s cubic-bezier(.2,.8,.2,1) both; }
  .nvc6-sh-f { padding-bottom: max(12px, env(safe-area-inset-bottom)); }
  .nvc6-fbtn { width: 100%; }
  .nvc6-fbtn .btn { flex: 1; justify-content: center; }
  .nvc6-sum { flex-basis: 100%; }
  .nvc6-kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .nvc6-cd-h .nvc6-b span { display: none; }
  .nvc6-tools { flex-direction: column; align-items: stretch; }
  .nvc6-sort { max-width: none; width: 100%; height: 40px; }
  .nvc6-cc-a .nvc6-b { flex: 1 1 calc(50% - 6px); }
  .nvc6-q kbd { display: none; }
  .nvc6-chips { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin-right: -2px; }
  .nvc6-chips::-webkit-scrollbar { display: none; }
  .nvc6-chips button { flex-shrink: 0; }
  .nvc6-seg-t button span { font-size: 11.5px; }
  .nvc6-opt .nvc6-v, .nvc6-acc-h .nvc6-v { display: none; }
  .nvc6-acc-h .nvc6-dots { display: none; }
  .nvc6-pc-act .nvc6-b { flex: 1 1 calc(50% - 6px); }
  .nvc6-path { grid-template-columns: 1fr; }
  .nvc6-path > span { transform: rotate(90deg); animation: none; justify-self: center; }
}
@keyframes nvc6Up2 { from { transform: translateY(40px); opacity: .4; } to { transform: none; opacity: 1; } }
@media (min-width: 641px) and (max-width: 1024px) {
  .nvc6-kpis { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
@media (prefers-reduced-motion: reduce) {
  .nvc6-pc, .nvc6-seg i.on, .nvc6-per, .nvc6-opt, .nvc6-acc, .nvc6-rv, .nvc6-gr, .nvc6-cc, .nvc6-in, .nvc6-empty, .nvc6-pop, .nvc6-done-i, .nvc6-qx, .nvc6-orig, .nvc6-dot, .nvc6-path > span { animation: none !important; }
  .nvc6-ov.show .nvc6-sh { animation: none !important; }
  .nvc6-ind, .nvc6-seats, .nvc6-chev, .nvc6-rad::after { transition: none !important; }
}
