/* v35 · producto visual, contabilidad y catálogos */
.producto-v35{max-width:1180px}
.foto-editor-v35{display:grid;grid-template-columns:1fr 220px;gap:16px;align-items:center;padding:14px;margin-top:12px;border:1px solid var(--linea);border-radius:16px;background:var(--papel)}
.foto-editor-v35 p{font-size:12px;color:var(--tinta-45);margin:3px 0 10px}.foto-subir-v35{display:inline-flex;width:auto}.foto-subir-v35 input{display:none}
#fotoPreviewV35{min-height:112px;border:1px dashed var(--linea);border-radius:13px;display:flex;align-items:center;justify-content:center;gap:8px;overflow:hidden;background:#fff}
#fotoPreviewV35 img{width:112px;height:112px;object-fit:cover;border-radius:10px}.foto-vacia-v35{font-size:12px;color:var(--tinta-45)}
.foto-card-v35{width:100%;height:100%;object-fit:cover}.swatch.con-foto-v35{padding:0;overflow:hidden;background:#fff!important}
.foto-sugerencia-v35{width:42px;height:42px;object-fit:cover;border-radius:9px;margin-right:9px;flex:none}.foto-ticket-v35{width:38px;height:38px;object-fit:cover;border-radius:8px;margin-right:9px;vertical-align:middle}.tl-nm:has(.foto-ticket-v35){display:flex;align-items:center}
.existencia-carrito-v40{font-size:10.5px;color:var(--tinta-45);font-weight:600;white-space:nowrap;flex:none}.existencia-carrito-v40 b{color:var(--verde-800);font-family:var(--font-m)}
.accion-principal-ticket-v18.listo-teclado-v40{outline:3px solid color-mix(in srgb,var(--naranja) 45%,transparent);outline-offset:3px;box-shadow:0 0 0 6px color-mix(in srgb,var(--naranja) 12%,transparent)}
.controles-espera-v45 .navegacion-teclado-v48{outline:3px solid color-mix(in srgb,var(--naranja) 45%,transparent);outline-offset:2px;box-shadow:0 0 0 5px color-mix(in srgb,var(--naranja) 12%,transparent)}
#tlines .tl-cantidad-precio,#tlines .tline.activa .tl-cantidad-precio{font-size:13px;font-weight:700;line-height:1.2;color:var(--tinta-70)}
@media(max-width:620px){.tl-head{flex-wrap:wrap}.existencia-carrito-v40{order:3;width:100%;margin-left:47px}}

/* v41 · bonificaciones de proveedor */
.compra-producto-v41 .compra-cab-v23{gap:9px}.bono-resumen-v41{display:inline-flex;align-items:center;padding:5px 9px;border-radius:999px;background:#fff5d9;color:#8a5600;font-size:11px;font-weight:800;white-space:nowrap}.ayuda-bonificacion-v41{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:7px}.ayuda-bonificacion-v41 small{color:var(--tinta-45);text-align:right}.lote-bono-v41{grid-template-columns:minmax(110px,.8fr) minmax(110px,.8fr) minmax(150px,1.2fr)!important}.campo-bonificacion-v41{color:#8a5600}.campo-bonificacion-v41 input{border-color:#e7bd61;background:#fffaf0}.cantidad-sucursal-v41 .lote-bono-v41{display:grid;grid-template-columns:1fr 1fr;gap:10px}.cxp-bonificaciones-v41{margin-top:18px;padding:14px;border:1px solid #e7bd61;border-radius:14px;background:#fffaf0}.cxp-bonificaciones-v41>.between{margin-bottom:9px}.detalle-compra-v41{font-size:12px;line-height:1.45}.meta-compra-v41{display:grid;gap:4px;padding:9px 0;border-block:1px dashed #999;margin-bottom:12px}.total-compra-v41{display:flex;justify-content:space-between;align-items:center;border-top:2px solid var(--verde-900);padding-top:9px;margin-top:13px;font-size:16px}.total-compra-v41 b{font-family:var(--font-m);font-size:20px}
@media(max-width:820px){.lote-bono-v41{grid-template-columns:1fr 1fr!important}.lote-bono-v41 label:last-child{grid-column:1/-1}.ayuda-bonificacion-v41{align-items:flex-start;flex-direction:column}.ayuda-bonificacion-v41 small{text-align:left}}
@media(max-width:540px){.lote-bono-v41,.cantidad-sucursal-v41 .lote-bono-v41{grid-template-columns:1fr!important}.lote-bono-v41 label:last-child{grid-column:auto}.bono-resumen-v41{order:3}.compra-total-cab-v21{margin-left:auto}}

/* v42 · captura horizontal y navegación por teclado */
.capa-compra-v15 .capa-caja.detalle-vertical-v17{width:min(940px,calc(100vw - 28px));max-width:none}
.compra-producto-v41 .compra-cab-v23{grid-template-columns:minmax(0,1fr) auto auto auto}
.fila-ingreso-v42,.fila-ingreso-central-v42{display:grid;grid-template-columns:86px 86px repeat(5,minmax(92px,1fr)) 32px;gap:7px;align-items:end;padding-top:7px;border-top:1px solid rgba(14,107,84,.14)}
.fila-ingreso-central-v42{grid-template-columns:repeat(5,minmax(88px,1fr)) 32px}
.fila-ingreso-v42 label,.fila-ingreso-central-v42 label{min-width:0;font-size:9px;font-weight:700;color:var(--tinta-45)}
.fila-ingreso-v42 .inp,.fila-ingreso-central-v42 .inp{display:block;width:100%;margin-top:2px;min-height:30px!important;padding:4px 6px!important;font-size:11.5px!important}
.fila-ingreso-v42 .quitar-producto-v42,.fila-ingreso-central-v42 .quitar-producto-v42{align-self:end;width:32px;height:30px;margin:0;border:1px solid #f2b8b3;border-radius:8px;background:#fff;color:var(--rojo);display:grid;place-items:center;cursor:pointer}
.quitar-producto-v42 svg{width:13px;height:13px}
@media(max-width:1100px){.fila-ingreso-v42{grid-template-columns:repeat(4,minmax(120px,1fr))}.fila-ingreso-v42 .quitar-producto-v42{grid-column:4}.fila-ingreso-central-v42{grid-template-columns:repeat(3,minmax(120px,1fr))}.fila-ingreso-central-v42 .quitar-producto-v42{grid-column:3}.compra-producto-v41 .compra-cab-v23{grid-template-columns:minmax(0,1fr) auto auto}.compra-total-cab-v21{grid-column:2/4}}
@media(max-width:680px){.capa-compra-v15 .capa-caja.detalle-vertical-v17{width:100vw}.compra-producto-v41 .compra-cab-v23{grid-template-columns:minmax(0,1fr) auto}.bono-resumen-v41{grid-column:1}.compra-total-cab-v21{grid-column:2;grid-row:1}.fila-ingreso-v42,.fila-ingreso-central-v42{grid-template-columns:1fr 1fr}.fila-ingreso-v42 .quitar-producto-v42,.fila-ingreso-central-v42 .quitar-producto-v42{grid-column:2;justify-self:end}}

/* v43 · compras por productos, ajustes de proveedor y ventas en espera */
.detalle-productos-primero-v43{width:min(940px,calc(100vw - 28px))!important}
.factura-sin-productos-v43{width:100%;margin:0 0 8px}.volver-productos-v43{grid-column:span 4;margin-bottom:8px}.destino-fijo-v43{opacity:.88}
.saldo-ajustes-cxp-v43{display:grid;grid-template-columns:minmax(180px,1fr) auto auto;gap:8px;align-items:center;padding:12px;margin-bottom:14px;border:1px solid var(--verde-200);border-radius:14px;background:var(--verde-50)}
.saldo-ajustes-cxp-v43>span{display:grid}.saldo-ajustes-cxp-v43 small{color:var(--tinta-45);font-size:11px}.saldo-ajustes-cxp-v43 b{font-size:21px;color:var(--verde-900)}
.cxp-ajustes-v43{display:grid;gap:7px;margin:17px 0;padding:14px;border:1px solid #e7bd61;border-radius:14px;background:#fffaf0}.cxp-ajustes-v43>div{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:7px 0;border-top:1px solid rgba(138,86,0,.14)}.cxp-ajustes-v43>div span{display:grid}.cxp-ajustes-v43 small{color:var(--tinta-45);font-size:11px}
.controles-espera-v43{display:flex;gap:7px;margin:0 0 9px}.controles-espera-v43 .btn{flex:1;min-height:38px}.controles-espera-v43 b{display:inline-grid;place-items:center;min-width:20px;height:20px;margin-left:5px;padding:0 5px;border-radius:999px;background:var(--verde-900);color:#fff;font-size:10px}
.lista-esperas-v43{display:grid;gap:8px}.lista-esperas-v43 article{display:grid;grid-template-columns:minmax(180px,1fr) auto auto auto;gap:9px;align-items:center;padding:11px;border:1px solid var(--linea);border-radius:13px}.lista-esperas-v43 article span{display:grid}.lista-esperas-v43 small{color:var(--tinta-45)}
@media(max-width:700px){.saldo-ajustes-cxp-v43{grid-template-columns:1fr 1fr}.saldo-ajustes-cxp-v43>span{grid-column:1/-1}.lista-esperas-v43 article{grid-template-columns:1fr auto}.lista-esperas-v43 article span{grid-column:1/-1}.volver-productos-v43{grid-column:1/-1}}

/* v45 · pagos por perfil, carrito compacto y esperas junto al folio */
#pista{display:none!important}
.ticket-head .between{gap:7px}.controles-espera-v45{display:flex;gap:5px;margin-left:auto}.controles-espera-v45 .btn{min-height:28px;padding:4px 7px;font-size:9.5px;white-space:nowrap}.controles-espera-v45 b{display:inline-grid;place-items:center;min-width:17px;height:17px;margin-left:3px;padding:0 4px;border-radius:999px;background:var(--verde-900);color:#fff;font-size:9px}.folio-espera-v45{font-style:normal;color:var(--verde-800)}
@media(max-width:520px){.ticket-head .between{flex-wrap:wrap}.controles-espera-v45{order:3;width:100%;margin-left:0}.controles-espera-v45 .btn{flex:1}}

/* v46 · arranque real: acceso, formularios numéricos y selectores buscables */
#login .login-card:has(.login-pin-v18){width:min(440px,100%);padding:16px 24px 14px}
#login .login-card:has(.login-pin-v18) .login-marca-v18 img{height:40px}
#login .login-card:has(.login-pin-v18) .login-paso-v18{margin-top:10px}
#login .login-card:has(.login-pin-v18) .login-seleccion-v18{padding:10px 12px;margin-bottom:12px;border-radius:14px}
#login .login-card:has(.login-pin-v18) .login-pin-input-v18{height:48px}
#login .login-card:has(.login-pin-v18) .login-entrar-v18{height:43px;margin-top:11px}
.combo-buscable-v46{position:relative;min-width:0;width:100%;flex:1}.select-original-v46{position:absolute!important;inline-size:1px!important;block-size:1px!important;opacity:0!important;pointer-events:none!important;inset:auto!important}.combo-input-v46{width:100%!important;padding-right:28px!important;background-image:linear-gradient(45deg,transparent 50%,#455 50%),linear-gradient(135deg,#455 50%,transparent 50%);background-position:calc(100% - 16px) 50%,calc(100% - 11px) 50%;background-size:5px 5px,5px 5px;background-repeat:no-repeat}.combo-lista-v46{display:none;position:absolute;z-index:10030;left:0;right:0;top:calc(100% + 4px);max-height:250px;overflow:auto;padding:5px;background:#fff;border:1px solid var(--linea);border-radius:11px;box-shadow:0 14px 34px rgba(4,40,31,.18)}.combo-buscable-v46.abierto-v46 .combo-lista-v46{display:grid}.combo-lista-v46 button{padding:8px 10px;border-radius:8px;text-align:left;font-size:12px}.combo-lista-v46 button:hover,.combo-lista-v46 button:focus,.combo-lista-v46 button.activo-v46{background:var(--verde-50);color:var(--verde-800);outline:0}.combo-lista-v46 small{padding:10px;color:var(--tinta-45)}
@media(max-width:600px){#login .login-card:has(.login-pin-v18){width:100%;padding:15px 14px}.detalle-productos-primero-v43{width:100vw!important}}
.codigo-stock-v35{display:grid;grid-template-columns:minmax(145px,.45fr) 1fr;gap:10px;align-items:center;padding:8px 14px;border-top:1px solid var(--linea)}
.codigo-stock-v35 span{font-size:12px;font-weight:700}.codigo-stock-v35 small{font-weight:400;color:var(--tinta-45)}.codigo-stock-v35 .inp{min-height:38px;padding:7px 10px}
.metodos-pago-v35{padding:0 0 12px}.metodos-pago-v35 .f{margin-bottom:7px}.metodos-pago-v35 .segs{display:grid;grid-template-columns:repeat(3,1fr)}
.pago-no-efectivo-v35>.f2,.pago-no-efectivo-v35>.row{display:none!important}
.pos-bar #buscar.captura-cantidad-v37{border-color:var(--naranja)!important;box-shadow:0 0 0 4px rgba(242,107,33,.14)!important;background:#fffaf6}.ticket #pista b{color:var(--naranja)}

#v-cont,#v-cat{padding:24px;overflow:auto}.filtros-contables-v35{display:grid;grid-template-columns:minmax(440px,1fr) 180px 220px auto;gap:10px;padding:12px;background:#fff;border:1px solid var(--linea);border-radius:16px;margin:16px 0}.tabs-contables-v35{display:flex;gap:4px}.tabs-contables-v35 button{border:0;background:transparent;border-radius:10px;padding:10px 12px;font-weight:700;color:var(--tinta-45);cursor:pointer}.tabs-contables-v35 button.on{background:var(--verde);color:#fff}
.contabilidad-grid-v35{display:grid;grid-template-columns:1.25fr .75fr;gap:16px}.panel-contable-v35,.generador-catalogo-v35{background:#fff;border:1px solid var(--linea);border-radius:18px;padding:22px;box-shadow:0 3px 9px rgba(4,40,31,.04)}.panel-contable-v35 h3,.generador-catalogo-v35 h3{font-size:21px;margin-bottom:14px}.panel-contable-v35 h4{font-size:12px;text-transform:uppercase;letter-spacing:.12em;color:var(--tinta-45);margin:20px 0 5px}
.fila-contable-v35{display:flex;justify-content:space-between;gap:12px;padding:10px 0;border-bottom:1px solid var(--linea);font-size:14px}.fila-contable-v35.fuerte-v35{margin-top:5px;padding:13px 12px;background:var(--verde-50);border:0;border-radius:10px;font-size:15px}.fila-contable-v35.fuerte-v35 b{color:var(--verde-800)}
.grafico-contable-v35{display:grid;gap:18px;margin:20px 0}.grafico-contable-v35>div{display:grid;grid-template-columns:72px 1fr auto;gap:9px;align-items:center;font-size:12px}.grafico-contable-v35 i{height:13px;border-radius:20px;background:#edf1ef;overflow:hidden}.grafico-contable-v35 i b{display:block;height:100%;border-radius:20px}.utilidad-destacada-v35{background:#08261f;color:#fff;border-radius:14px;padding:18px;display:flex;justify-content:space-between;align-items:center}.utilidad-destacada-v35 b{font-size:23px}.cab-panel-contable-v35{display:flex;justify-content:space-between;gap:14px;align-items:center;margin-bottom:14px}.cab-panel-contable-v35 h3{margin:0}.cab-panel-contable-v35 p{font-size:12px;color:var(--tinta-45)}
.planilla-grid-v35{display:grid;gap:9px}.empleado-v35{display:grid;grid-template-columns:1fr auto auto;gap:12px;align-items:center;border:1px solid var(--linea);border-radius:12px;padding:12px}.empleado-v35 span:first-child{display:grid}.empleado-v35 small{color:var(--tinta-45)}
.generador-catalogo-v35{margin:16px 0}.generador-catalogo-v35>div:first-child p{color:var(--tinta-45);font-size:13px;margin:-7px 0 18px}.catalogos-lista-v35{display:grid;gap:9px}.catalogos-lista-v35>div{display:grid;grid-template-columns:minmax(190px,.6fr) minmax(260px,1fr) auto auto;gap:8px;align-items:center;padding:10px;border:1px solid var(--linea);border-radius:12px}.catalogos-lista-v35 span{display:grid}.catalogos-lista-v35 small{color:var(--tinta-45)}

html.catalogo-publico-v35{background:#eef4f1}.catalogo-publico-v35 body{min-height:100vh;margin:0;background:#eef4f1;color:#10251f;font-family:Inter,Arial,sans-serif;overflow:auto}.catalogo-publico-v35 *{box-sizing:border-box}.catalogo-cargando-v35{min-height:100vh;display:grid;place-content:center;text-align:center;gap:10px;padding:24px}.catalogo-cargando-v35 span{color:#697c76}.spinner-v35{width:42px;height:42px;border:4px solid #d7e5df;border-top-color:#0E6B54;border-radius:50%;animation:giroV35 .8s linear infinite;margin:auto}@keyframes giroV35{to{transform:rotate(360deg)}}
.catalogo-publico-contenido-v35{width:min(1080px,calc(100% - 48px));margin:0 auto;padding:34px 0 18px}.catalogo-publico-cab-v35{display:flex;align-items:center;gap:18px;background:#08261f;color:#fff;border-radius:22px;padding:22px 24px;margin:0 0 20px}.catalogo-marca-v35{width:68px;height:68px;border-radius:18px;background:#f3ad19;color:#08261f;display:grid;place-content:center;font-weight:900;font-style:italic;font-size:19px;flex:0 0 auto}.catalogo-publico-cab-v35 p{margin:0;font-size:11px;letter-spacing:.18em;color:#b9d4cb;text-transform:uppercase}.catalogo-publico-cab-v35 h1{font-size:28px;line-height:1.1;margin:5px 0 4px}.catalogo-publico-cab-v35 span{color:#dbe9e4;font-size:14px}
.catalogo-publico-grid-v35{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}.catalogo-item-v35{min-width:0;background:#fff;border:1px solid #dce7e2;border-radius:18px;overflow:hidden;box-shadow:0 5px 18px rgba(4,40,31,.06)}.catalogo-foto-v35{height:200px;background:#e7f2ee;display:grid;place-content:center;overflow:hidden}.catalogo-foto-v35 img{display:block;width:100%;height:200px;object-fit:cover}.catalogo-foto-v35 span{font-size:42px;font-weight:900;color:#8eb5a7}.catalogo-info-v35{padding:17px 18px 19px}.catalogo-info-v35>small{display:block;color:#70817b;font-size:12px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.catalogo-info-v35 h2{font-size:19px;line-height:1.2;margin:6px 0}.catalogo-info-v35>p{color:#687b75;margin:0 0 8px}.catalogo-precios-v35{display:grid;gap:5px;margin-top:13px}.catalogo-precios-v35 div{display:flex;justify-content:space-between;gap:14px;padding:8px 10px;border-radius:9px;background:#f3f7f5}.catalogo-precios-v35 b{color:#0E6B54;white-space:nowrap}.catalogo-vacio-v35{grid-column:1/-1;padding:70px;text-align:center;display:grid;gap:8px}.catalogo-publico-contenido-v35 footer{text-align:center;color:#71827c;font-size:12px;padding:24px 10px}

@media(max-width:980px){.filtros-contables-v35{grid-template-columns:1fr 1fr}.tabs-contables-v35{grid-column:1/-1;overflow:auto}.contabilidad-grid-v35{grid-template-columns:1fr}.catalogo-publico-grid-v35{grid-template-columns:repeat(2,1fr)}}
@media(max-width:680px){.foto-editor-v35{grid-template-columns:1fr}.codigo-stock-v35{grid-template-columns:1fr}.metodos-pago-v35 .segs{grid-template-columns:1fr}.filtros-contables-v35{grid-template-columns:1fr}.tabs-contables-v35{display:grid;grid-template-columns:1fr 1fr}.filtros-contables-v35 .inp,.filtros-contables-v35>.btn{width:100%}.catalogo-publico-contenido-v35{width:calc(100% - 28px);padding-top:14px}.catalogo-publico-grid-v35{grid-template-columns:1fr;gap:13px}.catalogo-publico-cab-v35{padding:17px;border-radius:17px;gap:13px}.catalogo-marca-v35{width:54px;height:54px;border-radius:14px;font-size:16px}.catalogo-publico-cab-v35 h1{font-size:22px}.catalogo-publico-cab-v35 p{font-size:9px}.catalogo-foto-v35,.catalogo-foto-v35 img{height:180px}.catalogos-lista-v35>div{grid-template-columns:1fr}.empleado-v35{grid-template-columns:1fr auto}#v-cont,#v-cat{padding:14px}}

/* v49 · inventarios alineados y visibles sin desplazamiento horizontal */
@media(min-width:861px){
  #v-inv .tbl-wrap,#v-alm .tbl-wrap{overflow-x:hidden}
  #v-inv .tbl-wrap table,#v-alm .tbl-wrap table{width:100%;min-width:0;table-layout:fixed}
  #v-inv .tbl-wrap th,#v-inv .tbl-wrap td,#v-alm .tbl-wrap th,#v-alm .tbl-wrap td{padding-left:7px;padding-right:7px}
  #v-inv .tbl-wrap th,#v-alm .tbl-wrap th{font-size:9px;letter-spacing:.055em;white-space:normal;line-height:1.15}
  #v-inv .tbl-wrap td,#v-alm .tbl-wrap td{font-size:11.5px}
  #v-inv .tbl-wrap td:first-child,#v-alm .tbl-wrap td:first-child{font-size:10px!important;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
  #v-inv .tbl-wrap td:nth-child(2) b,#v-alm .tbl-wrap td:nth-child(2) b{font-size:12px}
  #v-inv .tbl-wrap .lvl,#v-alm .tbl-wrap .lvl{gap:3px;justify-content:flex-end}
  #v-inv .tbl-wrap .lvl span,#v-alm .tbl-wrap .lvl span{min-width:20px;font-size:7.5px}
  #v-inv .tbl-wrap .lvl b,#v-alm .tbl-wrap .lvl b{font-size:10.5px}
  #v-inv .tbl-wrap .lote-resumen,#v-alm .tbl-wrap .lote-resumen{align-items:flex-end}
  #v-inv .tbl-wrap .lote-resumen button,#v-alm .tbl-wrap .lote-resumen button{font-size:9.5px}
  #v-inv .tbl-wrap .lote-alerta,#v-alm .tbl-wrap .lote-alerta{font-size:8px;white-space:normal}
  #v-inv .tbl-wrap td:last-child .btn,#v-alm .tbl-wrap td:last-child .btn{width:27px;height:27px;padding:4px;margin:1px}

  #v-inv table:has(thead th:nth-child(9)) th:nth-child(1),#v-inv table:has(thead th:nth-child(9)) td:nth-child(1),
  #v-alm table:has(thead th:nth-child(9)) th:nth-child(1),#v-alm table:has(thead th:nth-child(9)) td:nth-child(1){width:10%}
  #v-inv table:has(thead th:nth-child(9)) th:nth-child(2),#v-inv table:has(thead th:nth-child(9)) td:nth-child(2),
  #v-alm table:has(thead th:nth-child(9)) th:nth-child(2),#v-alm table:has(thead th:nth-child(9)) td:nth-child(2){width:18%}
  #v-inv table:has(thead th:nth-child(9)) th:nth-child(3),#v-inv table:has(thead th:nth-child(9)) td:nth-child(3),
  #v-alm table:has(thead th:nth-child(9)) th:nth-child(3),#v-alm table:has(thead th:nth-child(9)) td:nth-child(3){width:9%}
  #v-inv table:has(thead th:nth-child(9)) th:nth-child(4),#v-inv table:has(thead th:nth-child(9)) td:nth-child(4),
  #v-alm table:has(thead th:nth-child(9)) th:nth-child(4),#v-alm table:has(thead th:nth-child(9)) td:nth-child(4){width:10%}
  #v-inv table:has(thead th:nth-child(9)) th:nth-child(5),#v-inv table:has(thead th:nth-child(9)) td:nth-child(5),
  #v-alm table:has(thead th:nth-child(9)) th:nth-child(5),#v-alm table:has(thead th:nth-child(9)) td:nth-child(5){width:11%}
  #v-inv table:has(thead th:nth-child(9)) th:nth-child(6),#v-inv table:has(thead th:nth-child(9)) td:nth-child(6),
  #v-alm table:has(thead th:nth-child(9)) th:nth-child(6),#v-alm table:has(thead th:nth-child(9)) td:nth-child(6){width:12%}
  #v-inv table:has(thead th:nth-child(9)) th:nth-child(7),#v-inv table:has(thead th:nth-child(9)) td:nth-child(7),
  #v-alm table:has(thead th:nth-child(9)) th:nth-child(7),#v-alm table:has(thead th:nth-child(9)) td:nth-child(7),
  #v-inv table:has(thead th:nth-child(9)) th:nth-child(8),#v-inv table:has(thead th:nth-child(9)) td:nth-child(8),
  #v-alm table:has(thead th:nth-child(9)) th:nth-child(8),#v-alm table:has(thead th:nth-child(9)) td:nth-child(8){width:9.5%}
  #v-inv table:has(thead th:nth-child(9)) th:nth-child(9),#v-inv table:has(thead th:nth-child(9)) td:nth-child(9),
  #v-alm table:has(thead th:nth-child(9)) th:nth-child(9),#v-alm table:has(thead th:nth-child(9)) td:nth-child(9){width:11%}

  #v-inv table:not(:has(thead th:nth-child(9))) th:nth-child(1),#v-inv table:not(:has(thead th:nth-child(9))) td:nth-child(1),
  #v-alm table:not(:has(thead th:nth-child(9))) th:nth-child(1),#v-alm table:not(:has(thead th:nth-child(9))) td:nth-child(1){width:14%}
  #v-inv table:not(:has(thead th:nth-child(9))) th:nth-child(2),#v-inv table:not(:has(thead th:nth-child(9))) td:nth-child(2),
  #v-alm table:not(:has(thead th:nth-child(9))) th:nth-child(2),#v-alm table:not(:has(thead th:nth-child(9))) td:nth-child(2){width:28%}
  #v-inv table:not(:has(thead th:nth-child(9))) th:nth-child(3),#v-inv table:not(:has(thead th:nth-child(9))) td:nth-child(3),
  #v-alm table:not(:has(thead th:nth-child(9))) th:nth-child(3),#v-alm table:not(:has(thead th:nth-child(9))) td:nth-child(3){width:16%}
  #v-inv table:not(:has(thead th:nth-child(9))) th:nth-child(4),#v-inv table:not(:has(thead th:nth-child(9))) td:nth-child(4),
  #v-alm table:not(:has(thead th:nth-child(9))) th:nth-child(4),#v-alm table:not(:has(thead th:nth-child(9))) td:nth-child(4){width:16%}
  #v-inv table:not(:has(thead th:nth-child(9))) th:nth-child(5),#v-inv table:not(:has(thead th:nth-child(9))) td:nth-child(5),
  #v-alm table:not(:has(thead th:nth-child(9))) th:nth-child(5),#v-alm table:not(:has(thead th:nth-child(9))) td:nth-child(5){width:20%}
  #v-inv table:not(:has(thead th:nth-child(9))) th:nth-child(6),#v-inv table:not(:has(thead th:nth-child(9))) td:nth-child(6),
  #v-alm table:not(:has(thead th:nth-child(9))) th:nth-child(6),#v-alm table:not(:has(thead th:nth-child(9))) td:nth-child(6){width:6%}
}

/* v50 · costo unitario y por lote en una sola columna */
.costo-doble-v50{white-space:nowrap}
.costo-doble-v50>div{display:flex;align-items:center;justify-content:flex-end;gap:4px;line-height:1.3}
.costo-doble-v50 span{font-size:8px;font-weight:800;letter-spacing:.04em;text-transform:uppercase;color:var(--tinta-45)}
.costo-doble-v50 b{font-size:10.5px;color:var(--tinta)}
@media(min-width:861px){
  #v-inv table:has(thead th:nth-child(9)) th:nth-child(n+5),#v-inv table:has(thead th:nth-child(9)) td:nth-child(n+5),
  #v-alm table:has(thead th:nth-child(9)) th:nth-child(n+5),#v-alm table:has(thead th:nth-child(9)) td:nth-child(n+5){padding-left:5px;padding-right:5px}
  #v-inv table:has(thead th:nth-child(9)) td:last-child,#v-alm table:has(thead th:nth-child(9)) td:last-child{text-align:right}
}

/* v51 · stock bajo dentro del inventario y cursor de flecha en búsquedas/selectores */
select,
input[type="search"],
input[list],
.scan-wrap input,
.pos-bar #buscar,
.combo-input-v46,
.busqueda-unica-v22 input,
.buscador-stock-v24 input,
.buscador-pedido-v25 input,
.buscador-salida-v25 input{
  cursor:default!important;
}
.stock-bajo-cuenta-v51{
  display:inline-grid;
  place-items:center;
  min-width:27px;
  height:24px;
  margin-left:5px;
  padding:0 7px;
  border-radius:999px;
  border:1px solid var(--verde-900);
  background:var(--verde-900)!important;
  color:#fff!important;
  font-size:12px;
  font-weight:900;
  line-height:1;
  opacity:1!important;
}
.btn.acc .stock-bajo-cuenta-v51{border-color:#fff;background:#fff!important;color:var(--verde-900)!important}

/* v53 · selección de unidades con búsqueda */
.buscador-unidades-v53{max-width:520px;margin-bottom:10px}
.buscador-unidades-v53 .inp{padding-left:38px}
#pdUnids .unid[hidden]{display:none!important}

/* v60 · acción preparada para el último Enter del flujo de cobro */
#ovl .confirmacion-cobro-v60{
  outline:3px solid var(--ambar-500,#F97316)!important;
  outline-offset:2px;
  box-shadow:0 0 0 5px color-mix(in srgb,var(--ambar-500,#F97316) 18%,transparent)!important;
}

/* v64 · eliminación permanente desde inventario, sin ensanchar la tabla */
.aviso-eliminar-producto-v64{border-color:#f2b8b3!important;background:#fff7f6!important}
.aviso-eliminar-producto-v64 b{display:block;color:var(--rojo);margin-bottom:7px}
.aviso-eliminar-producto-v64 p{font-size:12px;line-height:1.55;color:var(--tinta-70);margin:5px 0}
td.acciones-producto-v64{white-space:nowrap;text-align:right}
td.acciones-producto-v64 .btn{display:inline-grid;place-items:center;vertical-align:middle}
@media(min-width:861px){
  #v-inv td.acciones-producto-v64 .btn,#v-alm td.acciones-producto-v64 .btn{
    width:25px;height:25px;min-width:25px;padding:3px;margin:1px 0 1px 2px
  }
  #v-inv td.acciones-producto-v64 svg,#v-alm td.acciones-producto-v64 svg{width:14px;height:14px}
}
