/* Oficina GM Sistemas. Misma linea visual que el Portal del Socio de CMSWEB (tarjetas, pastillas, tablas que en el
   celular pasan a tarjetas), con el azul de la maqueta aprobada (18/11/2026). Los colores se cambian solo aca. */
:root {
  color-scheme: light;
  --pri: #185fa5; --pri-osc: #0c447c; --pri-claro: #e6f1fb; --pri-medio: #378add;
  --texto: #1f2933; --suave: #5b6876; --borde: #e3e8ec; --fondo: #ffffff; --gris: #f4f6f8;
  --ok: #17753a; --ok-claro: #e8f4ec; --aviso: #92400e; --aviso-claro: #fef3c7; --mal: #9b1c1c; --mal-claro: #fdecec;
  --sombra: 0 6px 24px rgba(12, 68, 124, .10);
  --lado: 250px; --radio: 14px;
}
* { box-sizing: border-box; }
html, body { margin: 0; height: 100%; }
body { font-family: "Segoe UI", system-ui, -apple-system, Roboto, Arial, sans-serif; color: var(--texto); background: var(--gris); line-height: 1.5; font-size: 15px; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font-family: inherit; font-size: inherit; }
.oculto { display: none !important; }
.ic { width: 20px; height: 20px; flex: none; stroke: currentColor; fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.cargando { min-height: 100vh; display: flex; align-items: center; justify-content: center; color: var(--suave); }

/* ---- botones */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 10px 18px; border-radius: 999px; border: 0;
  font-weight: 600; cursor: pointer; white-space: nowrap; min-height: 42px; transition: background .15s, box-shadow .15s; }
.btn-pri { background: var(--pri); color: #fff; box-shadow: 0 4px 14px rgba(24, 95, 165, .28); }
.btn-pri:hover { background: var(--pri-osc); }
.btn-borde { background: #fff; color: var(--pri-osc); box-shadow: inset 0 0 0 1.5px #b5d4f4; }
.btn-borde:hover { background: var(--pri-claro); }
.btn-peligro { background: #fff; color: var(--mal); box-shadow: inset 0 0 0 1.5px #f3c4c4; }
.btn-chico { min-height: 32px; padding: 5px 12px; font-size: 13px; }
.btn[disabled] { opacity: .6; cursor: wait; }
.btn-icono { width: 40px; height: 40px; border-radius: 12px; border: 0; background: var(--pri-claro); color: var(--pri-osc); display: inline-flex;
  align-items: center; justify-content: center; cursor: pointer; flex: none; }

/* ---- ingreso */
.ingreso { min-height: 100vh; display: flex; align-items: center; justify-content: center; padding: 20px;
  background: linear-gradient(135deg, #eef5fc 0%, #ffffff 55%, #e6f1fb 100%); }
.caja-ingreso { width: 100%; max-width: 380px; background: #fff; border-radius: 22px; box-shadow: var(--sombra); padding: 30px 26px; }
.caja-ingreso .logo { width: 64px; height: 64px; border-radius: 18px; background: var(--pri); color: #fff; display: flex; align-items: center;
  justify-content: center; margin: 0 auto 12px; }
.caja-ingreso .logo .ic { width: 34px; height: 34px; }
.caja-ingreso h1 { text-align: center; font-size: 20px; margin: 0; color: var(--pri-osc); }
.caja-ingreso p.sub { text-align: center; color: var(--suave); margin: 2px 0 22px; font-size: 14px; }
.caja-ingreso .btn { width: 100%; margin-top: 6px; }

/* ---- formularios */
.campo { display: block; margin-bottom: 14px; }
.campo > span { display: block; font-size: 13px; font-weight: 600; color: var(--suave); margin-bottom: 5px; }
.campo input, .campo select, .campo textarea, .buscar input, .filtros input, .filtros select {
  width: 100%; padding: 10px 12px; border-radius: 10px; border: 1px solid #cfd8e0; background: #fff; min-height: 44px; color: var(--texto); }
.campo input:focus, .campo select:focus, .campo textarea:focus, .buscar input:focus { outline: 0; border-color: var(--pri-medio); box-shadow: 0 0 0 3px #dbeafb; }
.campo small { display: block; color: var(--suave); font-size: 12.5px; margin-top: 4px; }
.fila-campos { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 0 14px; }
.check { display: flex; align-items: center; gap: 10px; padding: 8px 0; cursor: pointer; font-size: 14.5px; }
.check input { width: 20px; height: 20px; accent-color: var(--pri); flex: none; }
.msj { margin: 0 0 14px; padding: 11px 14px; border-radius: 12px; font-size: 14px; }
.msj.error { background: var(--mal-claro); color: var(--mal); }
.msj.ok { background: var(--ok-claro); color: var(--ok); }
.msj.info { background: var(--pri-claro); color: var(--pri-osc); }

/* ---- estructura: menu lateral + contenido */
.app { display: grid; grid-template-columns: var(--lado) minmax(0, 1fr); min-height: 100vh; }
.lado { background: #fff; border-right: 1px solid var(--borde); padding: 18px 14px; display: flex; flex-direction: column; gap: 14px;
  position: sticky; top: 0; height: 100vh; overflow-y: auto; }
.marca { display: flex; align-items: center; gap: 10px; padding: 2px 6px 8px; }
.marca .logo { width: 38px; height: 38px; border-radius: 11px; background: var(--pri); color: #fff; display: flex; align-items: center; justify-content: center; flex: none; }
.marca b { display: block; font-size: 15px; color: var(--pri-osc); line-height: 1.2; }
.marca small { display: block; font-size: 12px; color: var(--suave); }
.menu { display: grid; gap: 2px; }
.menu .grupo { font-size: 11.5px; text-transform: uppercase; letter-spacing: .05em; color: #8a96a3; margin: 12px 10px 4px; font-weight: 600; }
.menu a { display: flex; align-items: center; gap: 10px; padding: 9px 12px; border-radius: 10px; color: var(--suave); font-weight: 500; font-size: 14.5px; }
.menu a:hover { background: var(--gris); color: var(--texto); }
.menu a.activo { background: var(--pri-claro); color: var(--pri-osc); font-weight: 600; }
.yo { margin-top: auto; border-top: 1px solid var(--borde); padding-top: 12px; display: grid; gap: 6px; }
.yo .quien { display: flex; align-items: center; gap: 10px; padding: 4px 6px; }
.avatar { width: 34px; height: 34px; border-radius: 50%; background: var(--pri-claro); color: var(--pri-osc); display: flex; align-items: center;
  justify-content: center; font-weight: 700; font-size: 13px; flex: none; }
.yo .quien b { display: block; font-size: 14px; line-height: 1.2; }
.yo .quien small { color: var(--suave); font-size: 12px; }
.yo button { justify-content: flex-start; }

.principal { min-width: 0; display: flex; flex-direction: column; }
.barra { display: flex; align-items: center; gap: 12px; padding: 14px 26px; background: #fff; border-bottom: 1px solid var(--borde); position: sticky; top: 0; z-index: 10; }
.barra .menu-btn { display: none; }
.barra h2 { margin: 0; font-size: 18px; color: var(--pri-osc); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.buscar { position: relative; flex: 1; max-width: 460px; margin-left: auto; }
.buscar .ic { position: absolute; left: 12px; top: 12px; color: #8a96a3; width: 18px; height: 18px; }
.buscar input { padding-left: 38px; border-radius: 999px; background: var(--gris); border-color: transparent; }
.contenido { padding: 22px 26px 40px; }
.titulo { margin: 0 0 4px; font-size: 22px; color: var(--pri-osc); }
.sub { margin: 0 0 18px; color: var(--suave); font-size: 14.5px; }
.cab-vista { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-bottom: 14px; }
.cab-vista .sub { margin: 0; }

/* ---- tarjetas e indicadores */
.tarjetas { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 12px; margin-bottom: 18px; }
.tarjeta { background: #fff; border-radius: var(--radio); padding: 16px; border: 1px solid var(--borde); }
.tarjeta span { display: block; font-size: 13px; color: var(--suave); }
.tarjeta b { display: block; font-size: 24px; margin: 4px 0 2px; }
.tarjeta small { color: var(--suave); font-size: 12.5px; }
.tarjeta.aviso b { color: #b45309; } .tarjeta.mal b { color: #b42318; } .tarjeta.ok b { color: var(--ok); }
.caja { background: #fff; border-radius: var(--radio); border: 1px solid var(--borde); padding: 16px 18px; margin-bottom: 16px; }
.caja h3 { margin: 0 0 10px; font-size: 16px; color: var(--pri-osc); }
.vacio { color: var(--suave); padding: 26px 8px; text-align: center; }
.accesos { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 10px; }
.acceso { display: flex; align-items: center; gap: 12px; padding: 14px; border-radius: 12px; border: 1px solid var(--borde); background: #fff; font-weight: 600; color: var(--pri-osc); }
.acceso:hover { border-color: #b5d4f4; background: var(--pri-claro); }
.acceso .ic-caja { width: 38px; height: 38px; border-radius: 10px; background: var(--pri-claro); display: flex; align-items: center; justify-content: center; }

/* ---- etiquetas de estado */
.etq { display: inline-block; padding: 2px 10px; border-radius: 999px; font-size: 12px; font-weight: 600; white-space: nowrap; }
.etq.azul { background: var(--pri-claro); color: var(--pri-osc); } .etq.verde { background: var(--ok-claro); color: var(--ok); }
.etq.ambar { background: var(--aviso-claro); color: var(--aviso); } .etq.rojo { background: var(--mal-claro); color: var(--mal); }
.etq.gris { background: #eef1f3; color: var(--suave); }

/* ---- tablas (en el celular pasan a tarjetas: clase "resp" + data-t en cada celda) */
.tabla-cont { background: #fff; border-radius: var(--radio); border: 1px solid var(--borde); overflow: hidden; }
.tabla { width: 100%; border-collapse: collapse; font-size: 14px; }
.tabla th { text-align: left; font-size: 12px; text-transform: uppercase; letter-spacing: .02em; font-weight: 600; padding: 10px 12px;
  background: #eef4fa; color: var(--pri-osc); border-bottom: 1px solid #d6e4f2; white-space: nowrap; }
.tabla td { padding: 9px 12px; border-bottom: 1px solid var(--borde); vertical-align: middle; }
.tabla tr:last-child td { border-bottom: 0; }
.tabla tbody tr:hover td { background: #f8fbfe; }
.tabla .num { text-align: right; white-space: nowrap; font-variant-numeric: tabular-nums; }
.tabla .acc { text-align: right; white-space: nowrap; }
.tabla tr.inactivo td { color: #8a949e; }
.filtros { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 12px; align-items: flex-end; }
.filtros label { display: grid; gap: 4px; font-size: 12.5px; color: var(--suave); font-weight: 600; min-width: 140px; flex: 1; max-width: 220px; }
.paginas { display: flex; gap: 8px; justify-content: center; align-items: center; margin-top: 12px; color: var(--suave); font-size: 14px; }
.detalle-aud { font-size: 12.5px; color: var(--suave); word-break: break-word; }

/* ---- ventana (modal) y avisos */
.fondo-modal { position: fixed; inset: 0; background: rgba(15, 30, 45, .45); display: flex; align-items: center; justify-content: center; z-index: 50; padding: 16px; }
.modal { background: #fff; border-radius: 18px; width: 100%; max-width: 560px; max-height: calc(100vh - 32px); display: flex; flex-direction: column; box-shadow: var(--sombra); }
.modal-cab { display: flex; align-items: center; justify-content: space-between; padding: 16px 20px; border-bottom: 1px solid var(--borde); }
.modal-cab h3 { margin: 0; font-size: 17px; color: var(--pri-osc); }
.modal-cuerpo { padding: 18px 20px; overflow-y: auto; }
.modal-pie { display: flex; gap: 10px; justify-content: flex-end; padding: 14px 20px; border-top: 1px solid var(--borde); flex-wrap: wrap; }
.cerrar { border: 0; background: none; cursor: pointer; color: var(--suave); padding: 6px; border-radius: 8px; }
.cerrar:hover { background: var(--gris); }
.avisos { position: fixed; right: 16px; bottom: 16px; display: grid; gap: 8px; z-index: 60; pointer-events: none; }
.aviso-flot { background: var(--texto); color: #fff; padding: 11px 16px; border-radius: 12px; font-size: 14px; box-shadow: var(--sombra); max-width: 360px; }
.aviso-flot.error { background: var(--mal); }
.permisos-grupo { border: 1px solid var(--borde); border-radius: 12px; padding: 6px 12px; margin-bottom: 10px; }
.permisos-grupo b { display: block; font-size: 13px; color: var(--pri-osc); padding: 6px 0 2px; }

/* ---- cheques: filtros en pastillas, filas que se tocan, ficha, formulario */
.suave { color: var(--suave); } .aviso-txt { color: #b45309; font-weight: 600; }
.chips { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 2px; margin-bottom: 10px; scrollbar-width: none; }
.chip { flex: none; border: 1.5px solid #cfe0f2; background: #fff; color: var(--pri-osc); border-radius: 999px; padding: 7px 14px; font-weight: 600; font-size: 13.5px; cursor: pointer; min-height: 38px; }
.chip.activo { background: var(--pri); border-color: var(--pri); color: #fff; }
.mas-filtros { margin-bottom: 12px; } .mas-filtros summary { cursor: pointer; color: var(--pri); font-weight: 600; font-size: 14px; padding: 4px 0 8px; }
.tabla.clic tbody tr[data-id] { cursor: pointer; }
.tabla td small, .dato small { display: block; color: var(--suave); font-size: 12px; font-weight: 400; }
.ficha-cab { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; margin-bottom: 14px; }
.importe-grande { font-size: 28px; font-weight: 700; color: var(--pri-osc); line-height: 1.2; }
.datos { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 0 20px; }
.dato { padding: 8px 0; border-bottom: 1px solid var(--borde); }
.dato > span { display: block; font-size: 12px; color: var(--suave); text-transform: uppercase; letter-spacing: .02em; }
.dato b { font-weight: 500; }
.obs { margin-top: 12px; padding: 10px 12px; border-radius: 10px; background: var(--gris); font-size: 14px; white-space: pre-wrap; }
.sub-ficha { margin: 16px 0 8px; color: var(--pri-osc); font-size: 15px; }
.linea-tiempo { list-style: none; margin: 0; padding: 0 0 0 14px; border-left: 2px solid #cfe0f2; font-size: 14px; }
.linea-tiempo li { position: relative; padding: 0 0 10px 6px; }
.linea-tiempo li::before { content: ""; position: absolute; left: -21px; top: 5px; width: 10px; height: 10px; border-radius: 50%; background: var(--pri); }
.linea-tiempo small { display: block; color: var(--suave); font-size: 12px; }
.form-cheque { max-width: 820px; }
.form-cheque .caja h3 { margin-bottom: 12px; }
.campo-importe input { font-size: 22px; font-weight: 700; color: var(--pri-osc); max-width: 280px; }
.acciones-form { display: flex; gap: 10px; justify-content: flex-end; flex-wrap: wrap; margin: 6px 0 20px; }
.selector { position: relative; }
.selector-texto.invalido, .campo input.invalido { border-color: #e2a3a3; background: #fffafa; }
.selector-lista { position: absolute; left: 0; right: 0; top: calc(100% + 4px); background: #fff; border: 1px solid var(--borde); border-radius: 12px;
  box-shadow: var(--sombra); z-index: 15; max-height: 300px; overflow-y: auto; padding: 4px; }
.selector-lista button { display: flex; justify-content: space-between; align-items: center; gap: 10px; width: 100%; text-align: left; border: 0; background: none;
  padding: 10px 12px; border-radius: 8px; cursor: pointer; min-height: 44px; }
.selector-lista button:hover { background: var(--pri-claro); }
.selector-lista button small { color: var(--suave); white-space: nowrap; }
.selector-nuevo { color: var(--pri); font-weight: 600; justify-content: flex-start !important; border-top: 1px solid var(--borde) !important; border-radius: 0 0 8px 8px !important; }

/* ---- barra inferior (solo celular) */
.abajo { display: none; }

/* ---- tablet y celular */
@media (max-width: 960px) {
  .app { grid-template-columns: 1fr; }
  .lado { position: fixed; left: 0; top: 0; bottom: 0; width: 280px; z-index: 40; transform: translateX(-100%); transition: transform .2s; box-shadow: var(--sombra); }
  .app.menu-abierto .lado { transform: none; }
  .app.menu-abierto::after { content: ""; position: fixed; inset: 0; background: rgba(15, 30, 45, .35); z-index: 30; }
  .barra { padding: 10px 14px; }
  .barra .menu-btn { display: inline-flex; }
  .contenido { padding: 16px 14px 96px; }
  .abajo { display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 20; background: #fff; border-top: 1px solid var(--borde);
    justify-content: space-around; align-items: center; padding: 6px 4px calc(6px + env(safe-area-inset-bottom)); }
  .abajo a, .abajo button { display: flex; flex-direction: column; align-items: center; gap: 2px; font-size: 11px; color: var(--suave);
    background: none; border: 0; padding: 4px 8px; min-width: 60px; cursor: pointer; }
  .abajo .activo { color: var(--pri); }
  .abajo .ic { width: 22px; height: 22px; }
  .abajo .mas { width: 52px; height: 52px; border-radius: 50%; background: var(--pri); color: #fff; margin-top: -26px; box-shadow: 0 6px 16px rgba(24, 95, 165, .35);
    justify-content: center; min-width: 0; padding: 0; }
}
@media (max-width: 640px) {
  body { font-size: 15.5px; }
  .barra h2 { font-size: 16px; }
  .buscar { max-width: none; }
  .titulo { font-size: 19px; }
  .tarjetas { grid-template-columns: 1fr 1fr; gap: 8px; }
  .tarjeta { padding: 12px; } .tarjeta b { font-size: 18px; }
  .tabla-cont { background: none; border: 0; }
  .tabla.resp thead { display: none; }
  .tabla.resp, .tabla.resp tbody, .tabla.resp tr, .tabla.resp td { display: block; width: 100%; }
  .tabla.resp tr { border: 1px solid var(--borde); border-radius: 12px; padding: 6px 12px; margin-bottom: 8px; background: #fff; }
  .tabla.resp td { border: 0; padding: 3px 0; display: flex; justify-content: space-between; align-items: center; gap: 12px; text-align: right; }
  .tabla.resp td::before { content: attr(data-t); color: var(--suave); font-size: 12.5px; text-align: left; flex: none; }
  .tabla.resp td.titulo-fila { font-weight: 600; font-size: 15px; justify-content: flex-start; text-align: left; }
  .tabla.resp td.titulo-fila::before, .tabla.resp td.acc::before { content: none; }
  .tabla.resp td.acc { justify-content: flex-end; padding-top: 6px; }
  .filtros label { max-width: none; min-width: calc(50% - 5px); }
  .modal { max-width: none; border-radius: 18px 18px 0 0; margin-top: auto; max-height: 92vh; }
  .fondo-modal { padding: 0; align-items: flex-end; }
  .modal-pie .btn { flex: 1; }
  .avisos { left: 12px; right: 12px; bottom: 84px; }
  .acciones-form { position: sticky; bottom: 70px; background: var(--gris); padding: 10px 0; margin: 0; }
  .acciones-form { flex-wrap: nowrap; }
  .acciones-form .btn { flex: 1; padding: 10px 8px; }
  .acciones-form a.btn-borde { display: none; }
  .campo-importe input { max-width: none; }
  .importe-grande { font-size: 24px; }
}
@media print {
  .lado, .barra, .abajo, .avisos { display: none !important; }
  .app { display: block; } body { background: #fff; } .contenido { padding: 0; }
}

/* ---- etapa 3: donde esta el cheque, movimientos */
.txt-mal { color: var(--mal); }
.donde { display: flex; gap: 12px; align-items: flex-start; padding: 12px 14px; border-radius: 12px; background: var(--pri-claro); color: var(--pri-osc); margin-bottom: 12px; }
.donde .ic { margin-top: 2px; }
.donde span { display: block; font-size: 12px; text-transform: uppercase; letter-spacing: .02em; opacity: .8; }
.donde b { display: block; font-size: 16px; }
.donde small { display: block; font-size: 13px; margin-top: 2px; }
.donde.mal { background: var(--mal-claro); color: var(--mal); }
.donde.gris { background: #eef1f3; color: var(--suave); }
.linea-tiempo li.deshecho::before { background: #b8c2cc; }
.linea-tiempo li s { color: var(--suave); }
.acciones-mov { display: grid; gap: 8px; }
.accion-mov { display: block; width: 100%; text-align: left; border: 1px solid var(--borde); background: #fff; border-radius: 12px; padding: 12px 14px; cursor: pointer; min-height: 56px; }
.accion-mov:hover { border-color: #b5d4f4; background: var(--pri-claro); }
.accion-mov b { display: block; color: var(--pri-osc); }
.accion-mov small { display: block; color: var(--suave); font-size: 13px; }
.accion-mov.mal b { color: var(--mal); } .accion-mov.mal:hover { background: var(--mal-claro); border-color: #f3c4c4; }

/* ---- buscador de listas (bancos) y fotos del cheque */
.selector-lista button.marcado { background: var(--pri-claro); }
.selector-nada { padding: 10px 12px; color: var(--suave); font-size: 14px; }
.caja-foto { border-style: dashed; border-color: #b5d4f4; }
.caja-foto .sub { margin-bottom: 10px; }
.botones-foto { display: flex; gap: 10px; flex-wrap: wrap; }
.botones-foto .btn { cursor: pointer; }
.fotos { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 10px; }
.fotos:empty { display: none; }
.fotos figure { margin: 0; width: 220px; max-width: 100%; }
.fotos img { width: 100%; height: 130px; object-fit: contain; border-radius: 10px; border: 1px solid var(--borde); display: block; background: var(--gris); }
.fotos figcaption { display: flex; justify-content: space-between; align-items: center; font-size: 13px; color: var(--suave); margin-top: 4px; }
.fotos-ficha figure { width: 160px; }
.fotos-ficha img { height: 100px; }
.foto-mini { padding: 0; border: 0; background: none; cursor: zoom-in; width: 100%; }
.foto-agregar { width: 160px; height: 100px; border: 1.5px dashed #b5d4f4; border-radius: 10px; display: flex; flex-direction: column; align-items: center;
  justify-content: center; gap: 4px; color: var(--pri); font-size: 13px; font-weight: 600; cursor: pointer; }
.foto-agregar:hover { background: var(--pri-claro); }
.foto-grande { width: 100%; max-height: 70vh; object-fit: contain; border-radius: 10px; background: var(--gris); display: block; }
@media (max-width: 640px) {
  .botones-foto .btn { flex: 1; }
  .fotos figure { width: calc(50% - 6px); }
}

.autocompletado { background: #fff8db !important; border-color: #e8c96a !important; }

/* ---- celular "como una app" (pedido de Gustavo, 18/11/2026): la pantalla no se corre ni se agranda.
   html.es-celular la pone app.js cuando detecta pantalla tactil chica (o la app abierta desde el inicio). */
html.es-celular, html.es-celular body { overflow-x: hidden; overscroll-behavior: none; touch-action: pan-y; -webkit-text-size-adjust: 100%; }
html.es-celular body { -webkit-tap-highlight-color: transparent; }
html.es-celular .barra, html.es-celular .abajo, html.es-celular .menu, html.es-celular .chips { -webkit-user-select: none; user-select: none; }
html.es-celular input, html.es-celular select, html.es-celular textarea { font-size: 16px !important; }  /* < 16px = el iPhone agranda la pantalla al tocar el campo */
html.es-celular .contenido, html.es-celular .principal { max-width: 100vw; overflow-x: hidden; }
html.es-celular .barra { position: sticky; top: 0; padding-top: calc(10px + env(safe-area-inset-top)); }
html.es-celular .tabla-cont { overflow-x: hidden; }
body.con-ventana { overflow: hidden; }  /* con una ventana abierta, lo de atras no se mueve */
.fondo-modal { overscroll-behavior: contain; touch-action: pan-y; }
.modal-cuerpo { overscroll-behavior: contain; -webkit-overflow-scrolling: touch; }
html.es-app .abajo { padding-bottom: calc(10px + env(safe-area-inset-bottom)); }
