/* =====================================================================
   Terraza del Recuerdo · Cuentas por cobrar
   ===================================================================== */
:root {
  --verde-900: #0d2e23;
  --verde-800: #123d2f;
  --verde-700: #1b5642;
  --verde-600: #24705a;
  --verde-100: #e5f2ec;
  --oro: #f2b33d;
  --morado: #8a2be2;
  --rojo: #e0294a;
  --fondo: #f3f5f4;
  --borde: #e3e8e6;
  --bs-body-font-family: "Poppins", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --bs-body-bg: var(--fondo);
  --bs-body-color: #1d2a25;
}

body { background: var(--fondo); padding-bottom: env(safe-area-inset-bottom); }

/* ---------- Botones ---------- */
.btn-terraza {
  --bs-btn-color: #fff;
  --bs-btn-bg: var(--verde-700);
  --bs-btn-border-color: var(--verde-700);
  --bs-btn-hover-color: #fff;
  --bs-btn-hover-bg: var(--verde-800);
  --bs-btn-hover-border-color: var(--verde-800);
  --bs-btn-active-bg: var(--verde-900);
  --bs-btn-active-border-color: var(--verde-900);
}
.btn-outline-terraza {
  --bs-btn-color: var(--verde-700);
  --bs-btn-border-color: var(--verde-700);
  --bs-btn-hover-color: #fff;
  --bs-btn-hover-bg: var(--verde-700);
  --bs-btn-hover-border-color: var(--verde-700);
  --bs-btn-active-bg: var(--verde-800);
}

/* ---------- Login ---------- */
.login-wrap {
  min-height: 100vh; display: flex; align-items: center; justify-content: center; padding: 16px;
  background:
    radial-gradient(1200px 600px at 10% -10%, rgba(242,179,61,.25), transparent 60%),
    radial-gradient(900px 500px at 110% 110%, rgba(138,43,226,.22), transparent 60%),
    linear-gradient(160deg, var(--verde-900), var(--verde-700));
}
.login-card { background: #fff; border-radius: 20px; padding: 32px 28px; width: 100%; max-width: 380px; }
.logo-circulo {
  width: 84px; height: 84px; border-radius: 50%; display: grid; place-items: center;
  font-size: 2.2rem; color: var(--oro);
  background: radial-gradient(circle at 30% 30%, #2a6e57, var(--verde-900));
  box-shadow: 0 0 0 4px #fff, 0 0 0 7px rgba(242,179,61,.6), 0 10px 25px rgba(0,0,0,.25);
}

/* ---------- Barra superior ---------- */
.barra-top {
  background: linear-gradient(90deg, var(--verde-900), var(--verde-700));
  box-shadow: 0 4px 18px rgba(13,46,35,.25);
}
.logo-mini {
  width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center;
  color: var(--oro); background: rgba(255,255,255,.08); border: 2px solid rgba(242,179,61,.7);
}
.navbar-brand small { font-size: .72rem; }

/* ---------- Tarjetas y KPIs ---------- */
.tarjeta { background: #fff; border: 1px solid var(--borde); border-radius: 16px; box-shadow: 0 1px 2px rgba(16,24,40,.04); }

.kpi {
  position: relative; background: #fff; border: 1px solid var(--borde); border-radius: 16px;
  padding: 16px 18px; height: 100%; overflow: hidden;
}
.kpi::after { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 4px; background: var(--c); }
.kpi-icono {
  position: absolute; right: 14px; top: 14px; width: 38px; height: 38px; border-radius: 12px;
  display: grid; place-items: center; font-size: 1.15rem; color: var(--c); background: var(--c-suave);
}
.kpi-titulo { font-size: .78rem; color: #6b7a74; font-weight: 500; text-transform: uppercase; letter-spacing: .03em; }
.kpi-valor  { font-size: 1.55rem; font-weight: 700; margin-top: 6px; color: #13211c; }
.kpi-sub    { font-size: .8rem; color: #6b7a74; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.kpi-rojo   { --c: var(--rojo);    --c-suave: #fde8ec; }
.kpi-morado { --c: var(--morado);  --c-suave: #f2e6fd; }
.kpi-verde  { --c: #16a34a;        --c-suave: #e3f6ea; }
.kpi-ambar  { --c: #d48806;        --c-suave: #fdf2dc; }

/* ---------- Pestañas ---------- */
.pestanas .nav-link { color: #4b5a54; border-radius: 999px; font-weight: 500; padding: .45rem 1rem; }
.pestanas .nav-link.active { background: var(--verde-700); color: #fff; }

/* ---------- Tabla de clientes ---------- */
.tabla-clientes thead th {
  background: var(--verde-800); color: #fff; font-weight: 600; font-size: .78rem;
  text-transform: uppercase; letter-spacing: .03em; border: 0; padding: 14px 16px;
}
.tabla-clientes td { padding: 12px 16px; border-color: #eef2f0; }
.tabla-clientes tbody tr { cursor: pointer; }
.nombre-cliente { color: var(--morado); font-weight: 600; }
.avatar {
  width: 36px; height: 36px; border-radius: 50%; display: inline-grid; place-items: center; flex: 0 0 36px;
  font-weight: 600; font-size: .85rem; color: #fff; background: var(--av, var(--verde-600));
}
.saldo      { font-weight: 700; color: var(--rojo); }
.saldo.cero { color: #16a34a; }
.saldo.favor{ color: #0d6efd; }

.chip-dias { font-weight: 600; font-size: .78rem; border-radius: 999px; padding: .3rem .65rem; display: inline-block; min-width: 64px; text-align: center; }
.dias-ok    { background: #e3f6ea; color: #15803d; }
.dias-medio { background: #fff4d6; color: #a16207; }
.dias-alto  { background: #ffe4e6; color: #be123c; }
.dias-cero  { background: #eef2f0; color: #6b7a74; }

/* ---------- Tarjetas de cliente (celular) ---------- */
.cliente-card { display: flex; align-items: center; gap: 12px; padding: 14px; cursor: pointer; }
.cliente-card:active { background: #f7faf8; }

/* ---------- Movimientos ---------- */
.mov-icono {
  width: 38px; height: 38px; border-radius: 12px; display: grid; place-items: center; flex: 0 0 38px; font-size: 1.05rem;
}
.mov-consumo .mov-icono { background: #fde8ec; color: var(--rojo); }
.mov-abono   .mov-icono { background: #e3f6ea; color: #16a34a; }
.mov-valor   { font-weight: 700; white-space: nowrap; }
.mov-consumo .mov-valor { color: var(--rojo); }
.mov-abono   .mov-valor { color: #16a34a; }
.list-group-item { padding: 12px 16px; border-color: #eef2f0; }
.mov-acciones .btn { --bs-btn-padding-y: .15rem; --bs-btn-padding-x: .4rem; }

/* ---------- Panel de detalle ---------- */
.detalle { --bs-offcanvas-width: 460px; }
.detalle-header { background: linear-gradient(120deg, var(--verde-900), var(--verde-700)); color: #fff; }
.detalle-saldo { padding: 20px 16px; background: linear-gradient(#f7faf8, #fff); border-bottom: 1px solid var(--borde); }
.timeline .list-group-item { padding-left: 16px; }

/* ---------- Formularios ---------- */
.form-control:focus, .form-select:focus { border-color: var(--verde-600); box-shadow: 0 0 0 .2rem rgba(36,112,90,.18); }
.chip-rapido, .chip-metodo {
  border: 1px solid var(--borde); background: #fff; border-radius: 999px; font-size: .8rem; padding: .25rem .7rem;
}
.chip-rapido:hover { border-color: var(--verde-600); color: var(--verde-700); }
.chip-metodo.activo { background: var(--verde-700); border-color: var(--verde-700); color: #fff; }
.modal-content { border: 0; border-radius: 18px; }

/* ---------- Botones flotantes ---------- */
.fab-grupo { position: fixed; right: 16px; bottom: calc(88px + env(safe-area-inset-bottom)); display: flex; flex-direction: column; gap: 12px; z-index: 1030; }
.fab {
  width: 58px; height: 58px; border-radius: 50%; border: 0; font-size: 1.5rem; color: #fff;
  background: var(--verde-700); box-shadow: 0 8px 20px rgba(13,46,35,.35);
}
.fab-abono { width: 48px; height: 48px; font-size: 1.2rem; background: #16a34a; align-self: center; }

/* ---------- Avisos ---------- */
#aviso { background: var(--verde-800); color: #fff; }
#aviso.error { background: var(--rojo); }

@media (max-width: 767.98px) {
  main { padding-bottom: 190px !important; }
  .kpi-valor { font-size: 1.2rem; }
  .kpi-icono { width: 32px; height: 32px; font-size: 1rem; }
}

.min-w-0 { min-width: 0; }
.barra-top .container-xl { flex-wrap: nowrap; }
.kpi-titulo { padding-right: 44px; }
@media (max-width: 767.98px) {
  .barra-top .navbar-brand { font-size: 1rem; min-width: 0; }
  .barra-top .navbar-brand .d-block { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .kpi { padding: 14px; }
  .kpi-titulo { font-size: .68rem; padding-right: 34px; }
  .kpi-icono { right: 10px; top: 10px; }
}

/* Deudas pendientes y estado de cada deuda */
.chip-deudas { font-weight: 700; color: #6b21a8; background: #f3e8ff; border-radius: 999px; padding: .3rem .65rem; font-size: .85rem; display: inline-block; min-width: 64px; text-align: center; }
.chip-deudas small { font-weight: 500; color: #7e6a93; }
.chip-deudas.sin { background: #eef2f0; color: #6b7a74; }
.badge-pagado { display: inline-block; margin-top: 4px; font-size: .72rem; font-weight: 600; color: #15803d; background: #e3f6ea; border-radius: 999px; padding: .15rem .55rem; }
.chip-dias, .chip-deudas, .tabla-clientes th { white-space: nowrap; }

/* Comprobantes */
.zona-comprobante {
  border: 2px dashed #cfd8d4; border-radius: 14px; padding: 18px; text-align: center; color: var(--verde-700);
  background: #f8fbf9; transition: .15s;
}
.zona-comprobante:hover, .zona-comprobante.arrastrando { border-color: var(--verde-600); background: var(--verde-100); }
.previa-comprobante { position: relative; border: 1px solid var(--borde); border-radius: 14px; overflow: hidden; background: #f8fbf9; }
.previa-comprobante img { display: block; width: 100%; max-height: 260px; object-fit: contain; background: #eef2f0; }
.previa-pdf { display: flex; align-items: center; gap: 10px; padding: 18px; font-weight: 500; }
.previa-pdf i { font-size: 2rem; color: #dc2626; }
.previa-acciones { display: flex; gap: 6px; justify-content: flex-end; padding: 8px; border-top: 1px solid var(--borde); background: #fff; }
.btn-comprobante { --bs-btn-padding-y: .1rem; --bs-btn-padding-x: .5rem; --bs-btn-font-size: .75rem; border-radius: 999px; }
.visor-comprobante { background: #f3f5f4; min-height: 200px; }
.visor-comprobante img { max-height: 70vh; }
.visor-comprobante iframe { width: 100%; height: 70vh; border: 0; border-radius: 8px; background: #fff; }

/* ---------- Logo ---------- */
.logo-login { width: 128px; height: 128px; filter: drop-shadow(0 0 18px rgba(236,72,153,.55)); }
img.logo-mini { width: 42px; height: 42px; border: 0; background: none; filter: drop-shadow(0 0 6px rgba(236,72,153,.6)); }

/* ---------- Selector de productos ---------- */
.selector-productos { display: grid; grid-template-columns: repeat(auto-fill, minmax(104px, 1fr)); gap: 8px; }
.prod-tile {
  position: relative; border: 1px solid var(--borde); border-radius: 12px; padding: 10px 8px; text-align: center;
  background: #fff; user-select: none; transition: .12s;
}
.prod-tile:hover { border-color: var(--verde-600); }
.prod-tile:active { transform: scale(.97); }
.prod-tile.activo { border-color: var(--verde-700); background: var(--verde-100); box-shadow: 0 0 0 1px var(--verde-700) inset; }
.prod-nombre { font-weight: 600; font-size: .85rem; line-height: 1.15; }
.prod-precio { font-size: .75rem; color: #6b7a74; }
.prod-cant {
  position: absolute; top: -8px; right: -6px; min-width: 24px; height: 24px; border-radius: 999px; padding: 0 6px;
  background: var(--verde-700); color: #fff; font-weight: 700; font-size: .8rem; display: grid; place-items: center;
}
.prod-menos {
  position: absolute; top: -8px; left: -6px; width: 24px; height: 24px; border-radius: 50%; border: 0;
  background: var(--rojo); color: #fff; font-weight: 700; line-height: 1; padding: 0;
}

/* ---------- Productos ---------- */
.producto-card { display: flex; align-items: center; gap: 12px; padding: 14px; cursor: pointer; }
.producto-card:hover { border-color: var(--verde-600); }
.producto-card.inactivo { opacity: .55; }
.producto-icono { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; flex: 0 0 40px; background: #fff4d6; color: #b45309; font-size: 1.1rem; }

/* ---------- Recordatorios ---------- */
.rec-enviado { background: #f3fbf6; }
.rec-enviado .nombre-cliente { color: #15803d; }

/* ---------- Reporte ---------- */
.reporte-cabecera { display: flex; align-items: center; gap: 14px; margin-bottom: 16px; }
.reporte-cabecera img { filter: drop-shadow(0 0 6px rgba(236,72,153,.45)); }
.tabla-reporte thead th { font-size: .74rem; text-transform: uppercase; letter-spacing: .03em; color: #6b7a74; font-weight: 600; background: #f7faf8; }
.tabla-reporte td, .tabla-reporte th { padding: 10px 16px; border-color: #eef2f0; }
.tabla-reporte .fila-total td { font-weight: 700; background: #f7faf8; }

@media print {
  body.imprimiendo-reporte * { visibility: hidden !important; }
  body.imprimiendo-reporte #reporte, body.imprimiendo-reporte #reporte * { visibility: visible !important; }
  body.imprimiendo-reporte #reporte { position: absolute; left: 0; top: 0; width: 100%; }
  body.imprimiendo-reporte .barra-top, body.imprimiendo-reporte .fab-grupo { display: none !important; }
  .kpi, .tarjeta { break-inside: avoid; box-shadow: none !important; }
  * { -webkit-print-color-adjust: exact; print-color-adjust: exact; }
}

/* Copia de seguridad */
.copia-bloque { border: 1px solid var(--borde); border-radius: 14px; padding: 16px; background: #fff; }
.copia-icono { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; flex: 0 0 40px; font-size: 1.1rem; }
.bg-verde { background: #e3f6ea; color: #15803d; }
.bg-ambar { background: #fff4d6; color: #b45309; }
.punto-aviso { position: absolute; top: 6px; right: 6px; width: 9px; height: 9px; border-radius: 50%; background: var(--oro); box-shadow: 0 0 0 2px var(--verde-800); }

/* ---------- Ahorros (colchón) ---------- */
.colchon {
  border-radius: 20px; padding: 22px; color: #fff;
  background:
    radial-gradient(500px 220px at 100% 0%, rgba(242,179,61,.28), transparent 60%),
    linear-gradient(135deg, var(--verde-900), var(--verde-600));
  box-shadow: 0 10px 30px rgba(13,46,35,.25);
}
.colchon-label { font-size: .8rem; text-transform: uppercase; letter-spacing: .05em; opacity: .8; }
.colchon-saldo { font-size: 2.6rem; font-weight: 700; line-height: 1.1; margin: 4px 0; }
.colchon-sub { font-size: .85rem; opacity: .9; }
.colchon-mini { background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.15); border-radius: 12px; padding: 10px 12px; height: 100%; }
.colchon-mini div { font-size: .72rem; opacity: .8; line-height: 1.2; }
.colchon-mini b { font-size: 1.05rem; }
.colchon .btn-light { background: #fff; }
.colchon .btn-light:disabled { opacity: .55; }
.ah-badge { font-size: .78rem; font-weight: 600; border-radius: 999px; padding: .25rem .6rem; white-space: nowrap; }
.ah-dep .ah-badge { background: #e3f6ea; color: #15803d; }  .ah-dep .ah-valor { color: #15803d; }
.ah-ret .ah-badge { background: #fde8ec; color: #be123c; }  .ah-ret .ah-valor { color: #be123c; }
.ah-dev .ah-badge { background: #e0edff; color: #1d4ed8; }  .ah-dev .ah-valor { color: #1d4ed8; }
.ah-devs { font-size: .78rem; color: #4b5a54; border-top: 1px dashed var(--borde); padding-top: 6px; }
.ah-disponible { background: #f3f7f5; border-radius: 10px; padding: 10px 12px; }
.ah-resultado { min-height: 1.5em; }
@media (max-width: 767.98px) {
  .colchon-saldo { font-size: 2rem; }
  .colchon .btn { font-size: .85rem; padding-left: .25rem; padding-right: .25rem; }
}
.fab-grupo.oculto { display: none !important; }

/* =====================================================================
   INVENTARIO
   ===================================================================== */
/* Pestañas: en celular se deslizan de lado en vez de partirse en 3 filas */
@media (max-width: 767.98px) {
  .pestanas { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; padding-bottom: 4px; }
  .pestanas::-webkit-scrollbar { display: none; }
  .pestanas .nav-link { white-space: nowrap; }
}

/* Botones de acción grandes */
.inv-acciones { display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px; }
.inv-accion {
  border: 0; border-radius: 16px; padding: 14px 10px; color: #fff; text-align: left; display: flex; flex-direction: column; gap: 2px;
  box-shadow: 0 6px 16px rgba(0,0,0,.12); transition: transform .12s, box-shadow .12s; position: relative; overflow: hidden;
}
.inv-accion:hover { transform: translateY(-2px); box-shadow: 0 10px 22px rgba(0,0,0,.16); }
.inv-accion:active { transform: scale(.98); }
.inv-accion i { font-size: 1.6rem; line-height: 1; margin-bottom: 4px; }
.inv-accion span { font-weight: 700; font-size: 1rem; }
.inv-accion small { opacity: .85; font-size: .74rem; }
.inv-accion::after { content: ""; position: absolute; right: -20px; top: -20px; width: 80px; height: 80px; border-radius: 50%; background: rgba(255,255,255,.12); }
.acc-compra { background: linear-gradient(135deg, #15803d, #22c55e); }
.acc-surtir { background: linear-gradient(135deg, #1d4ed8, #3b82f6); }
.acc-cierre { background: linear-gradient(135deg, #b45309, #f59e0b); }
.acc-lista  { background: linear-gradient(135deg, #6d28d9, #a855f7); }
.acc-merma  { background: linear-gradient(135deg, #be123c, #f43f5e); }
@media (max-width: 991.98px) { .inv-acciones { grid-template-columns: repeat(3, 1fr); } .acc-cierre { grid-column: span 3; order: -1; flex-direction: row; align-items: center; gap: 12px; } }
@media (max-width: 575.98px) {
  .inv-acciones { grid-template-columns: repeat(2, 1fr); }
  .acc-cierre { grid-column: span 2; }
  .inv-accion { padding: 12px; }
  .inv-accion i { font-size: 1.35rem; }
}
.kpi-clic { cursor: pointer; }
.kpi-clic:hover { border-color: var(--rojo); }

/* Tarjetas de ubicación */
.ubic-card {
  background: #fff; border: 1px solid var(--borde); border-radius: 16px; padding: 14px; height: 100%; cursor: pointer; transition: .12s;
  display: block; text-align: left;
}
.ubic-card:hover { border-color: var(--verde-600); }
.ubic-card.activa { border-color: var(--verde-700); box-shadow: 0 0 0 2px var(--verde-700) inset; background: var(--verde-100); }
.ubic-icono { width: 38px; height: 38px; border-radius: 12px; display: grid; place-items: center; font-size: 1.15rem; background: #e0f2fe; color: #0369a1; }
.ubic-bodega .ubic-icono { background: #fef3c7; color: #b45309; }
.ubic-editar { color: #9aa8a2; }
.ubic-nombre { font-weight: 600; margin-top: 8px; }
.ubic-und { font-size: 1.45rem; font-weight: 700; line-height: 1.1; }
.ubic-und small { font-size: .75rem; font-weight: 500; color: #6b7a74; }
.ubic-sub { font-size: .78rem; color: #6b7a74; }
.ubic-nueva { border-style: dashed; display: flex; flex-direction: column; align-items: center; justify-content: center; color: var(--verde-700); gap: 4px; min-height: 120px; }
.ubic-nueva i { font-size: 1.5rem; }

/* Sub-pestañas */
.inv-subtabs .nav-link { color: #4b5a54; font-weight: 500; }
.inv-subtabs .nav-link.active { color: var(--verde-700); font-weight: 700; }

/* Fotos de producto */
.inv-foto { width: 44px; height: 44px; border-radius: 10px; object-fit: cover; flex: 0 0 44px; background: #fff; border: 1px solid var(--borde); }
.inv-foto-sm { width: 32px; height: 32px; border-radius: 8px; object-fit: cover; flex: 0 0 32px; background: #fff; border: 1px solid var(--borde); }
.foto-vacia { display: inline-grid; place-items: center; color: #fff; border: 0 !important; }
.foto-nac  { background: linear-gradient(135deg, #f59e0b, #d97706); }
.foto-prem { background: linear-gradient(135deg, #b91c1c, #7f1d1d); }
.foto-imp  { background: linear-gradient(135deg, #2563eb, #1e3a8a); }
.inv-foto.foto-vacia { font-size: 1.15rem; }
.inv-foto-sm.foto-vacia { font-size: .9rem; }

/* Tabla de stock */
.tabla-inv thead th { background: var(--verde-800); color: #fff; font-size: .74rem; text-transform: uppercase; letter-spacing: .03em; font-weight: 600; border: 0; padding: 12px; white-space: nowrap; }
.tabla-inv thead th.col-activa { background: var(--verde-600); }
.tabla-inv td { padding: 10px 12px; border-color: #eef2f0; white-space: nowrap; }
.tabla-inv td.col-activa { background: #f0faf5; }
.tabla-inv tbody tr { cursor: pointer; }
.tabla-inv tbody tr:hover td { background: #f7faf8; }
.tabla-inv tfoot td { font-weight: 700; background: #f7faf8; font-size: .85rem; }
.est { font-size: .72rem; font-weight: 700; border-radius: 999px; padding: .25rem .6rem; white-space: nowrap; display: inline-block; }
.est-ok { background: #e3f6ea; color: #15803d; }
.est-bajo { background: #fff4d6; color: #a16207; }
.est-agotado { background: #ffe4e6; color: #be123c; }
.inv-card { padding: 12px; cursor: pointer; }
.inv-chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.inv-chips:empty { display: none; }
.inv-chip { font-size: .74rem; background: #f3f7f5; border-radius: 999px; padding: .2rem .55rem; color: #3f4d47; }

/* Cierres */
.cierre-dato { background: #f7faf8; border-radius: 12px; padding: 8px 12px; height: 100%; }
.cierre-dato span { display: block; font-size: .72rem; color: #6b7a74; text-transform: uppercase; letter-spacing: .03em; }
.cierre-dato b { font-size: 1.05rem; }
.cierre-card summary { cursor: pointer; }

/* Historial */
.mv-compra .mov-icono   { background: #e3f6ea; color: #15803d; }
.mv-traslado .mov-icono { background: #e0edff; color: #1d4ed8; }
.mv-venta .mov-icono    { background: #fff4d6; color: #b45309; }
.mv-merma .mov-icono    { background: #ffe4e6; color: #be123c; }
.mv-ajuste .mov-icono   { background: #eef2f0; color: #4b5a54; }

/* Ventana de compra / surtir / merma */
.inv-modal-header { color: #fff; }
.inv-modal-header .modal-title { color: #fff; }
.hdr-compra { background: linear-gradient(135deg, #15803d, #22c55e); }
.hdr-surtir { background: linear-gradient(135deg, #1d4ed8, #3b82f6); }
.hdr-merma  { background: linear-gradient(135deg, #be123c, #f43f5e); }
.hdr-cierre { background: linear-gradient(135deg, #b45309, #f59e0b); }
.inv-catalogo { display: grid; grid-template-columns: repeat(auto-fill, minmax(118px, 1fr)); gap: 8px; max-height: 58vh; overflow-y: auto; padding: 2px; }
.cat-tile { position: relative; background: #fff; border: 1px solid var(--borde); border-radius: 14px; padding: 8px; text-align: center; cursor: pointer; transition: .12s; user-select: none; }
.cat-tile:hover { border-color: var(--verde-600); }
.cat-tile:active { transform: scale(.97); }
.cat-tile.activo { border-color: var(--verde-700); box-shadow: 0 0 0 2px var(--verde-700) inset; background: var(--verde-100); }
.cat-tile.vacio { opacity: .5; }
.cat-foto { width: 100%; aspect-ratio: 1; object-fit: contain; border-radius: 10px; background: #fff; display: grid; place-items: center; font-size: 2rem; }
.cat-nombre { font-weight: 600; font-size: .8rem; line-height: 1.15; margin-top: 4px; }
.cat-sub { font-size: .7rem; color: #6b7a74; }
.cat-check { position: absolute; top: 6px; right: 6px; width: 22px; height: 22px; border-radius: 50%; background: var(--verde-700); color: #fff; display: grid; place-items: center; font-size: .8rem; }
.inv-carrito { background: #f7faf8; border: 1px solid var(--borde); border-radius: 16px; padding: 12px; position: sticky; top: 0; }
.linea { background: #fff; border: 1px solid var(--borde); border-radius: 12px; padding: 10px; margin-bottom: 8px; }
.linea.excede { border-color: #f43f5e; }
.linea-ctrl { display: flex; gap: 8px; margin-top: 8px; flex-wrap: wrap; }
.linea-ctrl > div { flex: 1; min-width: 96px; }
.linea-lbl { display: block; font-size: .7rem; color: #6b7a74; margin-bottom: 2px; }
.linea-pie { display: flex; justify-content: space-between; font-size: .85rem; margin-top: 6px; }
.inv-total { display: flex; justify-content: space-between; align-items: center; border-top: 1px dashed #cfd8d4; padding-top: 10px; margin-top: 4px; }
.inv-total:empty { display: none; }
.paso { display: flex; align-items: stretch; border: 1px solid var(--borde); border-radius: 10px; overflow: hidden; background: #fff; }
.paso button { border: 0; background: #f3f7f5; width: 32px; font-size: 1.1rem; font-weight: 700; color: var(--verde-700); }
.paso button:active { background: var(--verde-100); }
.paso input { border: 0; width: 100%; min-width: 34px; text-align: center; font-weight: 700; outline: none; }

/* Cierre / conteo */
.cie-ubic .nav-link { border: 1px solid var(--borde); margin-right: 6px; margin-bottom: 6px; color: #3f4d47; background: #fff; }
.cie-ubic .nav-link.active { background: #b45309; border-color: #b45309; color: #fff; }
.cie-ubic .nav-link.active .badge.text-bg-light { background: rgba(255,255,255,.25) !important; color: #fff !important; }
.cie-ayuda { background: #fffbeb; border: 1px solid #fde68a; border-radius: 12px; padding: 10px 12px; font-size: .88rem; }
.cie-fila { display: grid; grid-template-columns: 44px 1fr 200px 130px; gap: 12px; align-items: center; padding: 10px 0; border-bottom: 1px solid #eef2f0; }
.cie-inputs { display: flex; gap: 6px; }
.cie-inputs label { flex: 1; font-size: .7rem; color: #6b7a74; }
.cie-inputs input { text-align: center; font-weight: 700; font-size: 1.05rem; padding: .35rem; }
.cie-dif { font-size: .82rem; text-align: right; line-height: 1.2; }
.dif-ok { color: #15803d; font-weight: 600; }
.dif-mas { color: #1d4ed8; font-weight: 600; }
.dif-falta { color: #be123c; font-weight: 600; }
.dif-venta { color: #b45309; font-weight: 700; }
.cie-pie { flex-wrap: wrap; }
.cie-resumen { display: flex; flex-wrap: wrap; gap: 6px 16px; font-size: .85rem; }
@media (max-width: 767.98px) {
  .cie-fila { grid-template-columns: 44px 1fr; }
  .cie-inputs { grid-column: 1 / -1; }
  .cie-dif { grid-column: 1 / -1; text-align: left; }
  .cie-pie .cie-resumen { width: 100%; margin-bottom: 6px; }
}

/* Lista de compras */
.lista-fila { display: flex; align-items: center; gap: 10px; background: #fff; border: 1px solid var(--borde); border-radius: 12px; padding: 10px; }
.lista-fila .paso { width: 120px; }
.lista-total { display: flex; justify-content: space-between; margin-top: 12px; padding: 12px; background: #f3f0ff; border-radius: 12px; }

/* Productos */
.prod-card { overflow: hidden; cursor: pointer; transition: .12s; height: 100%; }
.prod-card:hover { border-color: var(--verde-600); transform: translateY(-2px); }
.prod-card.inactivo { opacity: .55; }
.prod-card-foto { position: relative; background: #fff; border-bottom: 1px solid var(--borde); }
.prod-card-img { display: grid; place-items: center; width: 100%; aspect-ratio: 4 / 3; object-fit: contain; font-size: 2.6rem; }
.prod-codigo { position: absolute; left: 8px; top: 8px; font-size: .68rem; font-weight: 700; background: rgba(0,0,0,.6); color: #fff; border-radius: 6px; padding: 1px 6px; }
.prod-oculto { position: absolute; right: 8px; top: 8px; font-size: .68rem; font-weight: 700; background: #6b7a74; color: #fff; border-radius: 6px; padding: 1px 6px; }
.margen { font-size: .75rem; font-weight: 700; border-radius: 999px; padding: .15rem .5rem; }
.m-alto { background: #e3f6ea; color: #15803d; }
.m-medio { background: #fff4d6; color: #a16207; }
.m-bajo { background: #ffe4e6; color: #be123c; }
.prod-foto { border: 2px dashed #cfd8d4; border-radius: 16px; aspect-ratio: 1; display: grid; place-items: center; overflow: hidden; background: #f8fbf9; color: var(--verde-700); cursor: pointer; }
.prod-foto:hover { border-color: var(--verde-600); }
.prod-foto img { width: 100%; height: 100%; object-fit: contain; background: #fff; }
.prod-seccion { background: #f7faf8; border: 1px solid var(--borde); border-radius: 14px; padding: 12px; }
.prod-seccion-titulo { font-weight: 700; font-size: .9rem; margin-bottom: 8px; }
.prod-margen { height: 38px; display: flex; align-items: center; }
.prod-tile-foto { width: 40px; height: 40px; border-radius: 8px; object-fit: contain; display: inline-grid; place-items: center; margin-bottom: 2px; font-size: 1rem; }

/* Fotos vacías grandes (tarjetas de producto y catálogo de compra): fondo suave + icono de color */
.prod-card-img.foto-vacia, .cat-foto.foto-vacia { font-size: 2.4rem; }
.prod-card-img.foto-vacia.foto-nac,  .cat-foto.foto-vacia.foto-nac  { background: #fff7e6; color: #d97706; }
.prod-card-img.foto-vacia.foto-prem, .cat-foto.foto-vacia.foto-prem { background: #fdecec; color: #b91c1c; }
.prod-card-img.foto-vacia.foto-imp,  .cat-foto.foto-vacia.foto-imp  { background: #eaf1ff; color: #1d4ed8; }
.prod-card-img.foto-vacia { aspect-ratio: 16 / 9; }
.cat-foto.foto-vacia { aspect-ratio: auto; height: 64px; }

/* Ajustar stock */
.aj-ayuda { background: #eef6ff; border: 1px solid #cfe2ff; border-radius: 12px; padding: 10px 12px; font-size: .88rem; }
.aj-fila { display: grid; grid-template-columns: 1fr 78px 78px 90px; gap: 8px; align-items: end; padding: 10px 0; border-bottom: 1px solid #eef2f0; }
.aj-fila label { font-size: .7rem; color: #6b7a74; }
.aj-fila input { text-align: center; font-weight: 700; font-size: 1.05rem; padding: .35rem; }
.aj-dif { font-size: .82rem; text-align: right; padding-bottom: 8px; font-weight: 600; }
.aj-resumen { background: #f7faf8; border-radius: 12px; padding: 10px 12px; }
@media (max-width: 575.98px) {
  .aj-fila { grid-template-columns: 1fr 1fr; }
  .aj-lugar { grid-column: 1 / -1; }
  .aj-dif { grid-column: 1 / -1; text-align: left; padding-bottom: 0; }
}

/* =====================================================================
   VENTAS (gráficas)
   ===================================================================== */
.viz-root {
  --series-1: #2a78d6;          /* azul: validado contra el fondo blanco */
  --series-1-hover: #1c5cab;
  --grid: #e9eeeb;
  --eje: #6b7a74;
}
.ven-grafica { width: 100%; min-height: 280px; margin-top: 8px; }
.ven-grafica svg { display: block; overflow: visible; }
.ven-grid { stroke: var(--grid); stroke-width: 1; }
.ven-grid.base { stroke: #cfd8d4; }
.ven-eje { font-size: 11px; fill: var(--eje); font-family: var(--bs-body-font-family); }
.ven-barra { fill: var(--series-1); transition: fill .12s; }
.ven-barra.activa { fill: var(--series-1-hover); }
.ven-zona { fill: transparent; cursor: pointer; outline: none; }
.ven-prom { stroke: #8a958f; stroke-width: 1.5; stroke-dasharray: 4 4; }
.ven-prom-txt { font-size: 11px; fill: #4b5a54; font-weight: 600; font-family: var(--bs-body-font-family); paint-order: stroke; stroke: #fff; stroke-width: 4px; }
.ven-etq { font-size: 11px; fill: #1d2a25; font-weight: 700; font-family: var(--bs-body-font-family); paint-order: stroke; stroke: #fff; stroke-width: 4px; }
.ven-tooltip {
  position: fixed; z-index: 2000; pointer-events: none; opacity: 0; transition: opacity .1s;
  background: #13211c; color: #fff; border-radius: 10px; padding: 8px 12px; font-size: .82rem; min-width: 170px;
  box-shadow: 0 8px 24px rgba(0,0,0,.25);
}
.ven-tooltip.visible { opacity: 1; }
.ven-top { display: grid; grid-template-columns: minmax(120px, 220px) 1fr auto; gap: 12px; align-items: center; padding: 6px 0; }
.ven-top-nombre { display: flex; align-items: center; gap: 8px; min-width: 0; font-weight: 500; font-size: .9rem; }
.ven-top-barra { height: 14px; background: #f3f6f4; border-radius: 0 4px 4px 0; }
.ven-top-barra span { display: block; height: 100%; background: var(--series-1); border-radius: 0 4px 4px 0; }
.ven-top-valor { text-align: right; line-height: 1.1; white-space: nowrap; }
.ven-top-valor b { display: block; font-size: .9rem; }
.ven-top-valor small { color: #6b7a74; font-size: .74rem; }
@media (max-width: 575.98px) {
  .ven-top { grid-template-columns: 1fr auto; }
  .ven-top-barra { grid-column: 1 / -1; grid-row: 2; }
}
.btn-outline-terraza { --bs-btn-active-color: #fff; --bs-btn-active-border-color: var(--verde-700); }
.btn-check:checked + .btn-outline-terraza { color: #fff; background: var(--verde-700); border-color: var(--verde-700); }
.ven-leyenda { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; font-size: .8rem; color: #4b5a54; margin-top: 8px; }
.ven-ley-barra { width: 12px; height: 12px; border-radius: 3px; background: var(--series-1); display: inline-block; }
.ven-ley-prom { width: 20px; border-top: 2px dashed #8a958f; display: inline-block; margin-left: 10px; }

/* =====================================================================
   GASTOS
   ===================================================================== */
.gas-acciones { grid-template-columns: repeat(3, 1fr) !important; }
.gas-acciones .inv-accion { grid-column: auto !important; order: 0 !important; flex-direction: column !important; align-items: flex-start !important; gap: 2px !important; }
.acc-gasto { background: linear-gradient(135deg, #be123c, #f43f5e); }
.acc-pago  { background: linear-gradient(135deg, #6d28d9, #a855f7); }
.acc-fijo  { background: linear-gradient(135deg, #1d4ed8, #3b82f6); }
.hdr-gasto { background: linear-gradient(135deg, #be123c, #f43f5e); }
@media (max-width: 575.98px) {
  .gas-acciones { grid-template-columns: 1fr 1fr !important; }
  .gas-acciones .acc-gasto { grid-column: span 2 !important; }
}
.gas-cat-ico { width: 32px; height: 32px; border-radius: 10px; display: inline-grid; place-items: center; flex: 0 0 32px; background: #fde8ec; color: #be123c; font-size: .95rem; }
.gas-cat-ico.grande { width: 40px; height: 40px; flex-basis: 40px; font-size: 1.1rem; }
.gas-item { cursor: pointer; }
.gas-item:hover { background: #fafcfb; }
.gas-cats { display: flex; flex-wrap: wrap; gap: 6px; }
.gas-chip { border: 1px solid var(--borde); background: #fff; border-radius: 999px; padding: .35rem .75rem; font-size: .85rem; }
.gas-chip:hover { border-color: #f43f5e; }
.gas-chip.activo { background: #be123c; border-color: #be123c; color: #fff; }
.gas-chip.nueva { border-style: dashed; color: #6b7a74; }
.trab-card { display: flex; align-items: center; gap: 10px; border: 1px solid var(--borde); border-radius: 12px; padding: 10px; }
.trab-card.inactivo { opacity: .55; }
.fijo-fila { display: flex; align-items: center; gap: 10px; border: 1px solid var(--borde); border-radius: 12px; padding: 10px; background: #fff; }
.fijo-fila.pagado { background: #f3fbf6; border-color: #bfe8cf; }
.fijo-fila.inactivo { opacity: .55; }
.fijo-ok { color: #15803d; font-size: .8rem; font-weight: 600; white-space: nowrap; }
@media (max-width: 767.98px) {
  .inv-subtabs { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; }
  .inv-subtabs::-webkit-scrollbar { display: none; }
  .inv-subtabs .nav-link { white-space: nowrap; }
}
.ubic-cifras { display: flex; gap: 18px; align-items: flex-end; margin-top: 2px; }
.ubic-cifras > div { display: flex; flex-direction: column; line-height: 1.05; }
.ubic-cifras small { font-size: .72rem; color: #6b7a74; font-weight: 500; }
.ubic-cifras > div + div { padding-left: 18px; border-left: 1px solid var(--borde); }

/* =====================================================================
   LISTAS AGRUPADAS POR MES
   ===================================================================== */
.mes + .mes { border-top: 1px solid #eef2f0; }
.mes-cab { display: flex; align-items: center; gap: 12px; width: 100%; padding: 14px 16px; border: 0; background: #fafcfb; text-align: left; color: inherit; }
.mes-cab:hover { background: #f3f7f5; }
.mes-flecha { width: 28px; height: 28px; flex: 0 0 28px; border-radius: 8px; display: grid; place-items: center; background: #e5f2ec; color: var(--verde-700); transition: transform .15s; }
.mes.abierto .mes-flecha { transform: rotate(90deg); }
.mes-nombre { display: block; font-weight: 700; }
.mes-info { display: block; font-size: .8rem; color: #6b7a74; }
.mes-total { display: block; font-weight: 700; white-space: nowrap; }
.mes-saldo { display: block; font-size: .78rem; color: #6b7a74; white-space: nowrap; }
.mes-cuerpo { border-top: 1px solid #eef2f0; }
.mes-cuerpo .list-group-item:first-child { border-top: 0; }
.mes-fila { display: grid; grid-template-columns: 1.1fr 1fr 1fr 1fr 1.6fr 28px; gap: 10px; align-items: center; padding: 10px 16px 10px 56px; border-top: 1px solid #f1f4f2; cursor: pointer; }
.mes-fila:first-child { border-top: 0; }
.mes-fila:hover { background: #fafcfb; }
.mes-fila .c-saldo { font-weight: 600; }
@media (max-width: 767.98px) {
  .mes-fila { grid-template-columns: 1fr auto; padding-left: 16px; row-gap: 2px; }
  .mes-fila .c-fecha { grid-column: 1; grid-row: 2; font-size: .8rem; color: #6b7a74; }
  .mes-fila .c-mov { grid-column: 1; grid-row: 1; }
  .mes-fila .c-valor { grid-column: 2; grid-row: 1; }
  .mes-fila .c-saldo { grid-column: 2; grid-row: 2; font-size: .78rem; color: #6b7a74; font-weight: 500; }
  .mes-fila .c-nota, .mes-fila .c-ed { display: none; }
}

/* Lista de códigos de producto */
.lista-codigos { max-height: 320px; overflow-y: auto; min-width: 250px; }
.codigo-uso { display: flex; gap: 10px; font-size: .85rem; padding-top: .25rem; padding-bottom: .25rem; }
.codigo-uso b { min-width: 64px; }
.codigo-uso.actual { background: var(--verde-100); }

/* Resumen de productos */
.prod-contador { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 16px; }
.prod-cont-total { display: flex; align-items: center; flex-wrap: wrap; gap: 6px; font-size: .95rem; }
.prod-cont-total > i { color: var(--verde-700); font-size: 1.1rem; }
.prod-cont-total b { font-size: 1.15rem; }
.prod-cont-filtro { background: #e0edff; color: #1d4ed8; border-radius: 999px; padding: .1rem .6rem; font-size: .8rem; font-weight: 600; }
.prod-cont-cats { display: flex; flex-wrap: wrap; gap: 6px; }
.prod-cat-chip { border: 1px solid var(--borde); background: #fff; border-radius: 999px; padding: .2rem .7rem; font-size: .8rem; color: #3f4d47; }
.prod-cat-chip b { color: var(--verde-700); margin-left: 2px; }
.prod-cat-chip:hover { border-color: var(--verde-600); }
.prod-cat-chip.activo { background: var(--verde-700); border-color: var(--verde-700); color: #fff; }
.prod-cat-chip.activo b { color: #fff; }

/* =====================================================================
   COMPRAS BAVARIA
   ===================================================================== */
.bav-acciones { grid-template-columns: repeat(2, 1fr) !important; }
.bav-acciones .inv-accion { grid-column: auto !important; order: 0 !important; flex-direction: column !important; align-items: flex-start !important; gap: 2px !important; }
.acc-contado { background: linear-gradient(135deg, #b45309, #f59e0b); }
.acc-credito { background: linear-gradient(135deg, #1d4ed8, #3b82f6); }
.bav-card { display: grid; grid-template-columns: auto 1fr auto; gap: 14px; align-items: center; padding: 14px 16px; border-top: 1px solid #f1f4f2; cursor: pointer; }
.bav-card:first-child { border-top: 0; }
.bav-card:hover { background: #fafcfb; }
.bav-ico { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; font-size: 1.2rem; }
.t-contado { background: #fff4d6; color: #b45309; }
.t-credito { background: #e0edff; color: #1d4ed8; }
.est-bav { font-size: .72rem; font-weight: 700; border-radius: 999px; padding: .2rem .6rem; display: inline-block; white-space: nowrap; }
.e-pag { background: #e3f6ea; color: #15803d; }
.e-pend { background: #fff4d6; color: #a16207; }
.e-venc { background: #ffe4e6; color: #be123c; }
.bav-card .docs { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 6px; align-items: center; }
.bav-card .doc { font-size: .75rem; border: 1px solid #e3e8e6; border-radius: 999px; padding: .15rem .6rem; background: #fff; color: #3f4d47; }
.bav-card .doc.ok { border-color: #bfe8cf; color: #15803d; }
.bav-card .doc.ok:hover { background: #f3fbf6; }
.bav-card .doc.falta { border-style: dashed; color: #8a958f; }
.bav-card .doc.falta:hover { border-color: var(--verde-600); color: var(--verde-700); }
.bav-btn-pagar { font-size: .75rem; }
.bav-card .cifras { display: flex; gap: 18px; text-align: right; line-height: 1.25; }
.bav-card .cifras small { color: #6b7a74; font-size: .72rem; }
.bav-docs { border: 1px solid var(--borde); border-radius: 12px; background: #f7faf8; }
.bav-doc-fila { display: flex; justify-content: space-between; align-items: center; gap: 8px; padding: 8px 12px; }
.bav-doc-fila + .bav-doc-fila { border-top: 1px solid var(--borde); }
.bav-pago-fila { display: flex; justify-content: space-between; align-items: center; gap: 8px; padding: 6px 10px; border: 1px solid var(--borde); border-radius: 10px; margin-bottom: 6px; font-size: .88rem; background: #fff; }
@media (max-width: 767.98px) {
  .bav-card { grid-template-columns: auto 1fr; }
  .bav-card .cifras { grid-column: 1 / -1; text-align: left; }
}
.bav-doc-fila { flex-wrap: wrap; }
.bav-doc-fila > span:first-child { flex: 1 1 170px; min-width: 0; }
.bav-doc-fila > span:last-child { display: flex; align-items: center; gap: 2px; white-space: nowrap; }
#bavYaPagueCaja { white-space: nowrap; display: flex; align-items: center; gap: 6px; padding-left: 2.5em; }

/* Bavaria → bodega */
.bav-prods { border: 1px solid var(--borde); border-radius: 12px; padding: 12px; background: #fff; }
.bav-prods-cab { display: flex; justify-content: space-between; align-items: center; gap: 8px; flex-wrap: wrap; }
.bav-prods-cab + div { margin-top: 10px; }
.bav-catalogo { max-height: 240px; grid-template-columns: repeat(auto-fill, minmax(104px, 1fr)); }
.bav-catalogo .cat-foto.foto-vacia { height: 48px; font-size: 1.6rem; }
.bav-linea { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr .9fr; gap: 8px; align-items: end; padding: 8px 0; border-top: 1px solid #f1f4f2; }
.bav-linea .paso button { width: 28px; }
.bav-prods-total { display: flex; justify-content: space-between; gap: 10px; flex-wrap: wrap; border-top: 1px dashed #cfd8d4; padding-top: 8px; margin-top: 4px; font-size: .9rem; }
.bav-card .doc.bodega { border-color: #fde68a; background: #fffbeb; color: #92400e; }
@media (max-width: 767.98px) {
  .bav-linea { grid-template-columns: 1fr 1fr; }
  .bav-linea-nom { grid-column: 1 / -1; }
}

/* =====================================================================
   HOY
   ===================================================================== */
.hoy-saludo { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap;
  background: linear-gradient(135deg, var(--verde-900), var(--verde-600)); color: #fff; border-radius: 20px; padding: 18px 20px; box-shadow: 0 10px 30px rgba(13,46,35,.2); }
.hoy-fecha { font-size: .85rem; opacity: .8; }
.hoy-titulo { font-size: 1.6rem; font-weight: 700; }
.hoy-aviso { display: flex; align-items: center; gap: 12px; background: #fff; border: 1px solid var(--borde); border-left: 5px solid #9aa8a2; border-radius: 14px; padding: 12px 14px; cursor: pointer; transition: .12s; }
.hoy-aviso:hover { transform: translateY(-1px); box-shadow: 0 6px 16px rgba(0,0,0,.06); }
.hoy-aviso-ico { width: 42px; height: 42px; flex: 0 0 42px; border-radius: 12px; display: grid; place-items: center; font-size: 1.2rem; background: #eef2f0; color: #4b5a54; }
.hoy-aviso-btn { white-space: nowrap; font-weight: 600; border-radius: 999px; background: #eef2f0; color: #3f4d47; }
.hoy-aviso.nivel-3 { border-left-color: #e11d48; } .hoy-aviso.nivel-3 .hoy-aviso-ico { background: #ffe4e6; color: #be123c; } .hoy-aviso.nivel-3 .hoy-aviso-btn { background: #be123c; color: #fff; }
.hoy-aviso.nivel-2 { border-left-color: #f59e0b; } .hoy-aviso.nivel-2 .hoy-aviso-ico { background: #fff4d6; color: #b45309; } .hoy-aviso.nivel-2 .hoy-aviso-btn { background: #fde68a; color: #78350f; }
.hoy-aviso.nivel-1 { border-left-color: #3b82f6; } .hoy-aviso.nivel-1 .hoy-aviso-ico { background: #e0edff; color: #1d4ed8; }
.hoy-todo-ok { display: flex; align-items: center; gap: 14px; background: #f3fbf6; border: 1px solid #bfe8cf; border-radius: 14px; padding: 18px; }
.hoy-todo-ok > i { font-size: 2rem; color: #15803d; }
@media (max-width: 575.98px) { .hoy-aviso-btn { display: none; } .hoy-titulo { font-size: 1.3rem; } }

/* =====================================================================
   CAJA
   ===================================================================== */
.caja-acciones { grid-template-columns: 1fr !important; }
.caja-acciones .inv-accion { grid-column: auto !important; order: 0 !important; flex-direction: row !important; align-items: center !important; gap: 12px !important; }
.acc-caja { background: linear-gradient(135deg, #15803d, #22c55e); }
.hdr-caja { background: linear-gradient(135deg, #15803d, #22c55e); }
.caja-ico { background: #e3f6ea; color: #15803d; }
.caja-seccion { border: 1px solid var(--borde); border-radius: 12px; padding: 12px; background: #fff; }
.caja-sec-tit { font-weight: 700; font-size: .9rem; margin-bottom: 8px; }
.caja-resultado { background: #f7faf8; border-radius: 12px; padding: 12px; }
.caja-res-fila { display: flex; justify-content: space-between; gap: 10px; padding: 2px 0; }
.caja-res-final { margin-top: 8px; border-radius: 10px; padding: 10px 12px; font-weight: 700; font-size: 1.05rem; text-align: center; }
.caja-res-final.cuadra { background: #e3f6ea; color: #15803d; }
.caja-res-final.sobra { background: #e0edff; color: #1d4ed8; }
.caja-res-final.falta { background: #ffe4e6; color: #be123c; }
.caja-res-final.pendiente { background: #eef2f0; color: #4b5a54; font-weight: 500; font-size: .9rem; }
.caja-fila { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 12px 16px; border-top: 1px solid #f1f4f2; cursor: pointer; }
.caja-fila:first-child { border-top: 0; }
.caja-fila:hover { background: #fafcfb; }
.e-sobra { background: #e0edff; color: #1d4ed8; }
.dia-chip { border: 1px solid var(--borde); background: #fff; border-radius: 999px; padding: .2rem .7rem; font-size: .8rem; color: #6b7a74; }
.dia-chip.activo { background: var(--verde-700); border-color: var(--verde-700); color: #fff; font-weight: 600; }
.dia-chip:hover { border-color: var(--verde-600); }
.fijo-progreso { height: 6px; background: #eef2f0; border-radius: 999px; overflow: hidden; max-width: 260px; }
.fijo-progreso span { display: block; height: 100%; background: var(--series-1, #2a78d6); border-radius: 999px; }
.hoy-reloj { display: flex; align-items: baseline; gap: 2px; font-variant-numeric: tabular-nums; margin-left: auto; margin-right: 8px; line-height: 1; }
.hoy-reloj #hoyHora { font-size: 2.6rem; font-weight: 700; letter-spacing: -.02em; }
.hoy-seg { font-size: 1.2rem; font-weight: 600; opacity: .7; }
.hoy-ampm { font-size: .85rem; font-weight: 600; opacity: .8; margin-left: 6px; }
@media (max-width: 575.98px) {
  .hoy-saludo { display: grid; grid-template-columns: 1fr auto; }
  .hoy-reloj { margin: 0; justify-self: end; }
  .hoy-reloj #hoyHora { font-size: 1.9rem; }
  .hoy-saludo > .btn { grid-column: 1 / -1; }
}
button.hoy-ampm { background: rgba(255,255,255,.15); border: 1px solid rgba(255,255,255,.3); color: #fff; border-radius: 999px; padding: .1rem .55rem; opacity: 1; cursor: pointer; }
button.hoy-ampm:hover { background: rgba(255,255,255,.28); }

.bg-azul { background: #e0edff; color: #1d4ed8; }

/* Carpetas del ZIP */
.zip-carpetas { border: 1px solid var(--borde); border-radius: 12px; overflow: hidden; }
.zip-carpeta { display: flex; align-items: center; gap: 10px; padding: 9px 12px; margin: 0; cursor: pointer; border-top: 1px solid #f1f4f2; }
.zip-carpeta:first-child { border-top: 0; }
.zip-carpeta:hover { background: #f7faf8; }
.zip-carpeta .form-check-input { margin: 0; flex: 0 0 auto; }
.zip-carpeta > i { color: var(--verde-700); }
.zip-carpeta .zip-n { margin-left: auto; font-size: .78rem; font-weight: 700; background: #eef2f0; color: #3f4d47; border-radius: 999px; padding: .1rem .55rem; }
.zip-carpeta.vacia { color: #9aa8a2; }
.zip-todas { background: #f7faf8; }

/* Caja vs inventario */
.cmp-bloque { background: #f7faf8; border: 1px solid var(--borde); border-radius: 12px; padding: 10px 12px; }
.cmp-filas > div { display: flex; justify-content: space-between; gap: 10px; padding: 2px 0; }
.cmp-filas .cmp-detalle { font-size: .78rem; color: #6b7a74; }
.cmp-item { border: 1px solid var(--borde); border-radius: 12px; padding: 0; background: #fff; }
.cmp-item > summary { display: flex; align-items: center; gap: 8px; padding: 10px 12px; cursor: pointer; list-style: none; }
.cmp-item > summary::-webkit-details-marker { display: none; }
.cmp-item > .cmp-bloque { margin: 0 10px 10px; }
/* Ahorros: "Prestado sin devolver" en tono rojizo suave cuando hay deuda */
.colchon-mini.mini-debe { background: rgba(244,63,94,.16); border-color: rgba(251,113,133,.55); box-shadow: inset 0 0 0 1px rgba(251,113,133,.15); }
.colchon-mini.mini-debe b { color: #ffd5dc; }

/* ---------- Pagos Nequi (Hoy) ---------- */
.nq { background: #fff; border: 1px solid #ecd9f2; border-radius: 16px; overflow: hidden; box-shadow: 0 4px 14px rgba(120,20,120,.06); }
.nq-cab { display: flex; align-items: center; gap: 12px; padding: 14px 16px; background: linear-gradient(135deg,#4a0b4f,#9d1b8a); color: #fff; }
.nq-ic-cab { width: 40px; height: 40px; flex: 0 0 40px; border-radius: 12px; background: rgba(255,255,255,.16); display: grid; place-items: center; font-size: 1.2rem; }
.nq-tt { font-weight: 700; } .nq-st { font-size: .8rem; opacity: .85; }
.nq-tot { margin-left: auto; text-align: right; } .nq-tot b { font-size: 1.25rem; display: block; line-height: 1.1; white-space: nowrap; } .nq-tot small { font-size: .75rem; opacity: .8; }
.nq-fila { display: grid; grid-template-columns: auto 1fr auto; gap: 12px; align-items: center; padding: 12px 16px; border-top: 1px solid #f3eef5; }
.nq-ic { width: 40px; height: 40px; flex: 0 0 40px; border-radius: 12px; background: #fbe7f6; color: #9d1b8a; display: grid; place-items: center; font-size: 1.1rem; }
.nq-val { font-weight: 700; font-size: 1.1rem; color: #13211c; } .nq-meta { font-size: .8rem; color: #6b7a74; }
.nq-txt { font-size: .75rem; color: #8a958f; font-style: italic; margin-top: 2px; overflow-wrap: anywhere; }
.nq-bts { display: flex; gap: 6px; flex-wrap: wrap; justify-content: flex-end; }
.nq-bts .btn { border-radius: 999px; font-weight: 600; font-size: .8rem; padding: .3rem .75rem; border: 0; }
.b-abono { background: #e0edff; color: #1d4ed8; } .b-abono:hover { background: #cfe0ff; color: #1d4ed8; }
.b-venta { background: #e3f6ea; color: #15803d; } .b-venta:hover { background: #d0efdc; color: #15803d; }
.b-ign { background: #f1f4f2; color: #6b7a74; } .b-ign:hover { background: #e5eae7; color: #3f4d47; }
.nq-fila.hecho { background: #fafbfa; } .nq-fila.hecho .nq-ic { background: #e3f6ea; color: #15803d; } .nq-fila.hecho .nq-val { color: #6b7a74; }
.nq-chip { font-size: .72rem; font-weight: 700; border-radius: 999px; padding: .2rem .6rem; display: inline-block; vertical-align: middle; }
.nq-chip.abono { background: #e0edff; color: #1d4ed8; } .nq-chip.venta { background: #e3f6ea; color: #15803d; } .nq-chip.ignorado { background: #f1f4f2; color: #6b7a74; }
.nq-pie { padding: 10px 16px; background: #fdf6fb; border-top: 1px solid #f3e3ef; font-size: .82rem; color: #5b4a58; }
.nq-pie b { color: #9d1b8a; white-space: nowrap; }
@media (max-width: 575.98px) {
  .nq-fila { grid-template-columns: auto 1fr; } .nq-bts { grid-column: 1 / -1; } .nq-bts .btn { flex: 1; white-space: nowrap; } .nq-bts .b-ign { flex: 0 0 auto; }
  .nq-fila.hecho { grid-template-columns: auto 1fr auto; } .nq-fila.hecho .nq-bts { grid-column: auto; }
  .nq-st { display: none; } .nq-tt { font-size: .95rem; }
}
.hdr-nequi { background: linear-gradient(135deg,#1d4ed8,#3b82f6); }
.nq-monto { display: flex; align-items: center; gap: 12px; background: #fdf6fb; border: 1px solid #f3e3ef; border-radius: 14px; padding: 12px 14px; margin-bottom: 14px; }
.nq-cli { display: flex; width: 100%; align-items: center; gap: 10px; border: 1px solid #e3e8e6; background: #fff; border-radius: 12px; padding: 10px 12px; margin-bottom: 8px; }
.nq-cli:hover { border-color: #93b4f5; }
.nq-cli.sel { border: 2px solid #3b82f6; background: #f3f8ff; padding: 9px 11px; }
.nq-av { width: 34px; height: 34px; flex: 0 0 34px; border-radius: 50%; background: #eef2f0; display: grid; place-items: center; font-weight: 700; color: #4b5a54; font-size: .85rem; }
.nq-debe { margin-left: auto; text-align: right; font-size: .8rem; white-space: nowrap; }
.nq-res { background: #f3fbf6; border: 1px solid #bfe8cf; border-radius: 12px; padding: 10px 12px; font-size: .9rem; display: flex; justify-content: space-between; gap: 8px; }
.nq-coincide { color: #7c3aed; font-weight: 600; }
/* Color por tipo de pago Nequi: QR del negocio (turquesa) · Bre-B al número (magenta) */
.nq-fila.c-qr { box-shadow: inset 4px 0 0 #0891b2; }
.nq-fila.c-breb { box-shadow: inset 4px 0 0 #c026d3; }
.nq-fila.c-qr .nq-ic { background: #cff4fc; color: #0e7490; }
.nq-fila.c-breb .nq-ic { background: #fbe7f6; color: #a21caf; }
.nq-fila.hecho.c-qr { box-shadow: inset 4px 0 0 #a5e3ef; } .nq-fila.hecho.c-breb { box-shadow: inset 4px 0 0 #f0b8ea; }
.nq-canal { display: inline-flex; align-items: center; gap: 4px; font-size: .72rem; font-weight: 700; border-radius: 999px; padding: .15rem .55rem; vertical-align: middle; margin-left: 4px; }
.nq-canal.qr { background: #cff4fc; color: #0e7490; }
.nq-canal.breb { background: #fbe7f6; color: #a21caf; }
/* Pagos Nequi: listas largas */
.nq-mas { display: block; width: 100%; border: 0; border-top: 1px solid #f3eef5; background: #fff; color: #9d1b8a; font-weight: 600; font-size: .85rem; padding: 10px; }
.nq-mas:hover { background: #fdf6fb; }
.nq-resumen { display: flex; width: 100%; align-items: center; gap: 8px; border: 0; border-top: 1px solid #f3eef5; background: #fafbfa; padding: 11px 16px; font-size: .88rem; color: #3f4d47; text-align: left; }
.nq-resumen:hover { background: #f3f6f4; }
.nq-resumen .nq-flecha { transition: transform .15s; color: #8a958f; }
.nq-resumen.abierto .nq-flecha { transform: rotate(90deg); }
.nq-hechos { max-height: 360px; overflow-y: auto; }

/* ---------- Modo auxiliar ---------- */
#vistaAux { min-height: 100vh; background: #f3f5f4; }
.ax-top { background: linear-gradient(135deg,#0f3d2e,#1f6b4f); color: #fff; padding: 12px 16px; display: flex; align-items: center; gap: 10px; position: sticky; top: 0; z-index: 10; }
.ax-top img { width: 38px; height: 38px; border-radius: 50%; }
.ax-top .n { font-weight: 700; line-height: 1.1; } .ax-top small { opacity: .8; font-size: .75rem; }
.ax-rol { margin-left: auto; font-size: .7rem; font-weight: 700; background: rgba(255,255,255,.16); border: 1px solid rgba(255,255,255,.3); border-radius: 999px; padding: .2rem .6rem; white-space: nowrap; }
.ax-salir { color: #fff; border: 0; font-size: 1.15rem; padding: .1rem .3rem; } .ax-salir:hover { color: #fff; opacity: .8; }
.ax-cuerpo { max-width: 560px; margin: 0 auto; padding: 16px; }
.ax-vivo { display: flex; align-items: center; gap: 6px; font-size: .78rem; color: #15803d; font-weight: 600; }
.ax-vivo .p { width: 8px; height: 8px; border-radius: 50%; background: #16a34a; box-shadow: 0 0 0 4px rgba(22,163,74,.18); animation: axLatido 2s infinite; }
.ax-vivo .mal-txt { display: none; } .ax-vivo.caido { color: #b45309; } .ax-vivo.caido .p { background: #f59e0b; box-shadow: 0 0 0 4px rgba(245,158,11,.2); }
.ax-vivo.caido .ok-txt { display: none; } .ax-vivo.caido .mal-txt { display: inline; }
@keyframes axLatido { 50% { box-shadow: 0 0 0 7px rgba(22,163,74,.05); } }
.ax-ult { color: #fff; border-radius: 20px; padding: 18px; position: relative; overflow: hidden; animation: axEntra .4s ease-out; }
.ax-ult.breb { background: linear-gradient(135deg,#4a0b4f,#a21caf); box-shadow: 0 10px 26px rgba(120,20,120,.25); }
.ax-ult.qr { background: linear-gradient(135deg,#0b3c4a,#0891b2); box-shadow: 0 10px 26px rgba(8,145,178,.25); }
@keyframes axEntra { from { transform: scale(.97); opacity: .6; } }
.ax-ult .lb { font-size: .75rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; opacity: .85; }
.ax-ult .v { font-size: 2.6rem; font-weight: 800; line-height: 1.05; margin-top: 6px; }
.ax-ult .q { font-size: 1.05rem; font-weight: 700; margin-top: 4px; overflow-wrap: anywhere; }
.ax-ult .m { font-size: .85rem; opacity: .85; }
.ax-ult .ok { display: inline-flex; align-items: center; gap: 6px; background: #22c55e; color: #fff; font-weight: 800; border-radius: 999px; padding: .3rem .8rem; font-size: .85rem; margin-top: 10px; }
.ax-ult .hace { position: absolute; right: 16px; top: 16px; font-size: .75rem; background: rgba(255,255,255,.16); border-radius: 999px; padding: .2rem .6rem; }
.ax-bus { position: relative; } .ax-bus i { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); color: #8a958f; }
.ax-bus input { padding-left: 40px; border-radius: 14px; height: 48px; font-size: 1rem; }
.ax-lista { background: #fff; border: 1px solid #e3e8e6; border-radius: 16px; overflow: hidden; }
.ax-dia { display: flex; justify-content: space-between; gap: 8px; font-size: .76rem; font-weight: 700; color: #6b7a74; text-transform: uppercase; letter-spacing: .04em; padding: 10px 14px; background: #f7f9f8; border-top: 1px solid #eef2f0; }
.ax-dia:first-child { border-top: 0; } .ax-dia b { color: #13211c; font-size: .9rem; }
.ax-f { display: grid; grid-template-columns: auto 1fr auto; gap: 12px; align-items: center; padding: 12px 14px; border-top: 1px solid #f1f4f2; }
.ax-f.qr { box-shadow: inset 4px 0 0 #0891b2; } .ax-f.breb { box-shadow: inset 4px 0 0 #c026d3; }
.ax-ic { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; font-size: 1.05rem; }
.ax-f.qr .ax-ic { background: #cff4fc; color: #0e7490; } .ax-f.breb .ax-ic { background: #fbe7f6; color: #a21caf; }
.ax-v { font-weight: 800; font-size: 1.1rem; } .ax-q { font-size: .85rem; font-weight: 600; color: #13211c; overflow-wrap: anywhere; } .ax-m { font-size: .78rem; color: #6b7a74; }
.ax-h { text-align: right; font-size: .8rem; color: #6b7a74; white-space: nowrap; }
.ax-chk { color: #15803d; font-weight: 700; font-size: .75rem; }
.ax-f.hl { background: #fffbea; }
.ax-pie { font-size: .75rem; color: #8a958f; text-align: center; }
.ax-vacio { display: flex; gap: 14px; align-items: center; background: #fff; border: 1px dashed #cfd8d4; border-radius: 16px; padding: 18px; }
.ax-vacio > i { font-size: 1.8rem; color: #8a958f; }
.nq-aux-sw { display: flex; align-items: center; gap: 6px; margin-top: 6px; font-size: .8rem; color: #5b4a58; }
.nq-aux-sw .form-check-input { cursor: pointer; } .nq-aux-sw .form-check-input:checked { background-color: #9d1b8a; border-color: #9d1b8a; }
/* Permisos de la auxiliar */
.hdr-perm { background: linear-gradient(135deg,#0f3d2e,#1f6b4f); }
.perm-fila { display: flex; align-items: center; gap: 12px; border: 1px solid #e3e8e6; border-radius: 14px; padding: 12px 14px; cursor: pointer; background: #fff; }
.perm-fila:hover { border-color: #b9c7c1; }
.perm-ic { width: 38px; height: 38px; flex: 0 0 38px; border-radius: 11px; background: #eef7f2; color: #1f6b4f; display: grid; place-items: center; font-size: 1.05rem; }
.perm-fila .form-check-input { width: 2.6em; height: 1.4em; cursor: pointer; }
.perm-fila .form-check-input:checked { background-color: #1f6b4f; border-color: #1f6b4f; }
.perm-fijo { display: flex; gap: 12px; background: #fff5f5; border: 1px solid #fecdd3; color: #9f1239; border-radius: 14px; padding: 12px 14px; }
.perm-fijo > i { font-size: 1.3rem; }
.nq-perm-link { display: inline-block; margin-top: 4px; color: #1f6b4f; font-weight: 600; text-decoration: none; }
.ax-est { font-size: .72rem; font-weight: 700; border-radius: 999px; padding: .15rem .55rem; display: inline-block; margin-top: 2px; }
.ax-est.pend { background: #fff4d6; color: #a16207; } .ax-est.venta { background: #e3f6ea; color: #15803d; } .ax-est.abono { background: #e0edff; color: #1d4ed8; }
/* Auxiliar: créditos */
.ax-tabs { display: flex; gap: 6px; background: #fff; border: 1px solid #e3e8e6; border-radius: 14px; padding: 4px; }
.ax-tab { flex: 1; border: 0; background: transparent; border-radius: 10px; padding: .6rem; font-weight: 700; font-size: .92rem; color: #6b7a74; }
.ax-tab.on { background: #1f6b4f; color: #fff; }
.ax-btn-nuevo { border: 1.5px dashed #f2a7b5; background: #fff5f7; color: #be123c; border-radius: 14px; padding: .7rem; font-weight: 700; }
.ax-cli { display: flex; width: 100%; align-items: center; gap: 12px; background: #fff; border: 1px solid #e3e8e6; border-radius: 14px; padding: 12px 14px; }
.ax-cli:hover { border-color: #b9c7c1; }
.ax-av { width: 40px; height: 40px; flex: 0 0 40px; border-radius: 50%; display: grid; place-items: center; color: #fff; font-weight: 700; font-size: .9rem; }
.ax-diaschip { display: inline-block; font-size: .72rem; font-weight: 700; border-radius: 999px; padding: .1rem .5rem; background: #fff4d6; color: #a16207; }
.ax-diaschip.viejo { background: #ffe4e6; color: #be123c; }
.ax-debe { margin-left: auto; text-align: right; font-size: .75rem; color: #6b7a74; white-space: nowrap; } .ax-debe b { display: block; font-size: 1rem; color: #be123c; }
.ax-volver { align-self: flex-start; border: 0; background: transparent; color: #1f6b4f; font-weight: 700; padding: 0; }
.ax-detcab { background: linear-gradient(135deg,#7f1d1d,#be123c); color: #fff; border-radius: 20px; padding: 16px 18px; }
.ax-detcab.aldia { background: linear-gradient(135deg,#14532d,#16a34a); }
.ax-detcab .s { font-size: 2.2rem; font-weight: 800; line-height: 1.15; }
.ax-btn-abono, .ax-btn-cred { flex: 1; border: 0; border-radius: 14px; font-weight: 700; padding: .8rem .5rem; font-size: .95rem; }
.ax-btn-abono { background: #15803d; color: #fff; } .ax-btn-cred { background: #fff; color: #be123c; border: 1.5px solid #f2a7b5; }
.ax-mov { display: flex; gap: 10px; align-items: center; padding: 10px 14px; border-top: 1px solid #f1f4f2; font-size: .88rem; }
.ax-mov .i { width: 32px; height: 32px; flex: 0 0 32px; border-radius: 10px; display: grid; place-items: center; }
.ax-mov.c .i { background: #ffe4e6; color: #be123c; } .ax-mov.a .i { background: #e3f6ea; color: #15803d; }
.ax-mov .v { margin-left: auto; font-weight: 700; white-space: nowrap; } .ax-mov.c .v { color: #be123c; } .ax-mov.a .v { color: #15803d; }
.ax-porti { font-size: .7rem; font-weight: 700; color: #7c3aed; }
.ax-met { display: flex; flex-wrap: wrap; gap: 8px; }
.ax-met button { flex: 1 1 30%; border: 1.5px solid #e3e8e6; background: #fff; border-radius: 12px; padding: .6rem .4rem; font-weight: 700; font-size: .85rem; color: #3f4d47; }
.ax-met button.on { border-color: #15803d; background: #f0fdf4; color: #15803d; }
.ax-nqp { display: flex; width: 100%; align-items: center; gap: 10px; border: 1.5px solid #e3e8e6; border-radius: 12px; padding: 10px 12px; background: #fff; margin-bottom: 8px; }
.ax-nqp .ic { width: 34px; height: 34px; flex: 0 0 34px; border-radius: 10px; display: grid; place-items: center; }
.ax-nqp.qr .ic { background: #cff4fc; color: #0e7490; } .ax-nqp.breb .ic { background: #fbe7f6; color: #a21caf; }
.ax-nqp.on { border-color: #15803d; background: #f0fdf4; } .ax-nqp .ax-ok { color: #15803d; }
.ax-foto { display: flex; align-items: center; gap: 10px; border: 1.5px dashed #cfd8d4; border-radius: 12px; padding: .7rem 1rem; color: #3f4d47; cursor: pointer; background: #fafbfa; }
.ax-foto i { font-size: 1.3rem; color: #1f6b4f; }
.ax-queda { display: flex; justify-content: space-between; gap: 8px; background: #f3fbf6; border: 1px solid #bfe8cf; border-radius: 12px; padding: 10px 14px; }
.hdr-cred { background: linear-gradient(135deg,#7f1d1d,#be123c); }
.badge-aux { display: inline-flex; align-items: center; gap: 3px; font-size: .68rem; font-weight: 700; color: #7c3aed; background: #f3e8ff; border-radius: 999px; padding: .05rem .45rem; margin-left: 4px; }
.perm-grupo { font-size: .75rem; font-weight: 800; text-transform: uppercase; letter-spacing: .05em; color: #6b7a74; margin: 8px 0 0 4px; }
.perm-fila.apagada { opacity: .5; }
.ax-prods { max-height: 300px; overflow-y: auto; padding: 12px 8px 4px; }
.ax-wa { display: flex; align-items: center; gap: 12px; margin-top: 10px; background: #25d366; color: #fff; text-decoration: none; border-radius: 14px; padding: 10px 14px; }
.ax-wa > i:first-child { font-size: 1.5rem; } .ax-wa:hover { color: #fff; background: #1ebe5b; }
.ax-sintel { margin-top: 10px; font-size: .82rem; color: #6b7a74; background: #fff; border: 1px dashed #cfd8d4; border-radius: 12px; padding: 8px 12px; }
.ax-detcab .ax-sintel { color: #fff; background: rgba(255,255,255,.12); border-color: rgba(255,255,255,.35); }
.bav-borrador { display: flex; align-items: center; gap: 8px; background: #eef6ff; border: 1px solid #bfd9fb; color: #1d4ed8; border-radius: 12px; padding: 8px 12px; font-size: .85rem; margin-bottom: 12px; }
/* Auxiliar: lista de precios */
.ax-tab { white-space: nowrap; font-size: .85rem; padding: .55rem .3rem; }
.ax-cats { display: flex; gap: 6px; overflow-x: auto; padding-bottom: 2px; }
.ax-cats:empty { display: none; }
.ax-cat { flex: 0 0 auto; border: 1px solid #e3e8e6; background: #fff; border-radius: 999px; padding: .35rem .8rem; font-weight: 600; font-size: .82rem; color: #3f4d47; }
.ax-cat.on { background: #1f6b4f; border-color: #1f6b4f; color: #fff; }
.ax-precio { display: flex; align-items: center; gap: 12px; padding: 10px 14px; border-top: 1px solid #f1f4f2; }
.ax-precio-foto { width: 44px; height: 44px; flex: 0 0 44px; border-radius: 10px; object-fit: contain; display: inline-grid; place-items: center; font-size: 1.1rem; }
.ax-precio-v { margin-left: auto; font-weight: 800; font-size: 1.1rem; color: #15803d; white-space: nowrap; }
/* Cobrar por Nequi */
.perm-cobro { border: 1px solid #e3e8e6; border-radius: 14px; padding: 12px 14px; background: #fff; }
.perm-qr { width: 120px; height: 120px; border: 1.5px dashed #cfd8d4; border-radius: 12px; display: grid; place-items: center; text-align: center; color: #6b7a74; font-size: .8rem; cursor: pointer; overflow: hidden; background: #fafbfa; }
.perm-qr i { font-size: 1.8rem; color: #1f6b4f; } .perm-qr img { width: 100%; height: 100%; object-fit: contain; background: #fff; }
.ax-cobrar { position: fixed; right: 16px; bottom: 18px; z-index: 1030; display: flex; align-items: center; gap: 8px; border: 0; border-radius: 999px; padding: .8rem 1.2rem; font-weight: 800; color: #fff; background: linear-gradient(135deg,#a21caf,#db2777); box-shadow: 0 10px 24px rgba(162,28,175,.35); }
.ax-cobrar i { font-size: 1.3rem; }
.ax-cobro { background: linear-gradient(160deg,#3b0742,#86198f 60%,#be185d); color: #fff; }
.ax-cobro .modal-title { color: #fff; }
.ax-cobro-qr { background: #fff; border-radius: 22px; padding: 14px; margin: 0 auto; width: min(320px, 100%); box-shadow: 0 12px 30px rgba(0,0,0,.25); }
.ax-cobro-qr img { width: 100%; height: auto; display: block; border-radius: 10px; }
.ax-cobro-dato { display: flex; align-items: center; gap: 10px; background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.25); border-radius: 14px; padding: 10px 12px; text-align: left; }
.ax-cobro-dato .lbl { font-size: .75rem; opacity: .85; white-space: nowrap; } .ax-cobro-dato b { font-size: 1.1rem; overflow-wrap: anywhere; }
.ax-copiar { margin-left: auto; background: #fff; color: #86198f; font-weight: 700; border-radius: 999px; white-space: nowrap; }
.ax-cobro-ok { display: flex; align-items: center; gap: 12px; background: #22c55e; color: #fff; border-radius: 16px; padding: 12px 16px; text-align: left; animation: axEntra .4s ease-out; }
.ax-cobro-ok > i { font-size: 2.2rem; }
#axContenido { padding-bottom: 70px; }
/* Auxiliar: cuenta de mesa */
.ax-tabs { overflow-x: auto; }
.ax-mesas { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 2px; }
.ax-mesa { flex: 0 0 auto; display: flex; flex-direction: column; align-items: flex-start; border: 1.5px solid #e3e8e6; background: #fff; border-radius: 14px; padding: .45rem .8rem; line-height: 1.2; }
.ax-mesa span { font-size: .78rem; font-weight: 600; color: #6b7a74; } .ax-mesa b { font-size: .95rem; color: #13211c; }
.ax-mesa.on { border-color: #1f6b4f; background: #ecf7f1; } .ax-mesa.on span { color: #1f6b4f; }
.ax-mesa.nueva { align-items: center; justify-content: center; border-style: dashed; color: #1f6b4f; } .ax-mesa.nueva span { color: #1f6b4f; }
.ax-cuenta { background: linear-gradient(135deg,#0f3d2e,#1f6b4f); color: #fff; border-radius: 20px; padding: 14px 16px; }
.ax-mesa-nombre { background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.25); color: #fff; border-radius: 10px; padding: .25rem .6rem; font-weight: 700; flex: 1; min-width: 0; }
.ax-mesa-borrar { color: #fff; opacity: .8; } .ax-mesa-borrar:hover { color: #fff; opacity: 1; }
.ax-cuenta-total { display: flex; justify-content: space-between; align-items: baseline; margin-top: 8px; }
.ax-cuenta-total span { opacity: .8; font-weight: 600; } .ax-cuenta-total b { font-size: 2.4rem; font-weight: 800; }
.ax-cuenta-calc { display: grid; gap: 10px; margin-top: 8px; border-top: 1px solid rgba(255,255,255,.18); padding-top: 10px; }
.ax-cuenta-calc > div { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.ax-cuenta-calc .lbl { font-size: .8rem; opacity: .85; min-width: 84px; } .ax-cuenta-calc .res { margin-left: auto; font-size: .95rem; }
.ax-paso { display: inline-flex; align-items: center; gap: 0; background: rgba(255,255,255,.15); border-radius: 999px; }
.ax-paso button { border: 0; background: transparent; color: inherit; width: 34px; height: 32px; font-size: 1.15rem; font-weight: 700; }
.ax-paso b { min-width: 22px; text-align: center; }
.ax-paso.sm { background: #eef2f0; color: #13211c; } .ax-paso.sm button { width: 30px; height: 30px; }
.ax-billete { border: 1px solid rgba(255,255,255,.35); background: transparent; color: #fff; border-radius: 999px; padding: .2rem .6rem; font-size: .8rem; font-weight: 600; }
.ax-billete.on { background: #fff; color: #1f6b4f; }
.ax-pago-otro { width: 90px; border: 1px solid rgba(255,255,255,.35); background: rgba(255,255,255,.12); color: #fff; border-radius: 999px; padding: .2rem .6rem; font-size: .8rem; text-align: right; }
.ax-pago-otro::placeholder { color: rgba(255,255,255,.7); }
.ax-item { display: flex; align-items: center; gap: 10px; padding: 8px 12px; border-top: 1px solid #f1f4f2; }
.ax-acc { flex: 1 1 auto; border: 0; border-radius: 14px; padding: .7rem .8rem; font-weight: 700; font-size: .9rem; }
.ax-acc.nequi { background: linear-gradient(135deg,#a21caf,#db2777); color: #fff; } .ax-acc.cred { background: #fff; color: #be123c; border: 1.5px solid #f2a7b5; } .ax-acc.pagada { background: #15803d; color: #fff; }
.ax-otro { display: grid; grid-template-columns: 1fr 100px auto; gap: 6px; }
.ax-cobro-monto { background: #fff; color: #86198f; border-radius: 16px; padding: 10px 16px; display: flex; justify-content: space-between; align-items: baseline; }
.ax-cobro-monto span { font-weight: 600; } .ax-cobro-monto b { font-size: 1.8rem; font-weight: 800; }
.ax-en-mesa .ax-cobrar { display: none !important; }

/* Nequi a Nequi (al número): violeta */
.nq-fila.c-nqn { box-shadow: inset 4px 0 0 #7c3aed; }
.nq-fila.c-nqn .nq-ic { background: #ede9fe; color: #6d28d9; }
.nq-fila.hecho.c-nqn { box-shadow: inset 4px 0 0 #c4b5fd; }
.nq-canal.nqn { background: #ede9fe; color: #6d28d9; }
.ax-ult.nqn { background: linear-gradient(135deg,#2e1065,#7c3aed); box-shadow: 0 10px 26px rgba(91,33,182,.25); }
.ax-f.nqn { box-shadow: inset 4px 0 0 #7c3aed; }
.ax-f.nqn .ax-ic { background: #ede9fe; color: #6d28d9; }
.ax-nqp.nqn .ic { background: #ede9fe; color: #6d28d9; }

/* Historial de pagos Nequi */
.nqh-btn { margin-left: auto; border: 1px solid rgba(255,255,255,.35); background: rgba(255,255,255,.12); color: #fff; border-radius: 10px; padding: .3rem .6rem; font-size: .82rem; font-weight: 600; white-space: nowrap; }
.nqh-btn:hover { background: rgba(255,255,255,.22); }
.nqh-btn + .nq-tot { margin-left: 12px; }
.nqh-btn-solo { background: #fdf4ff; color: #86198f; border: 1px solid #f0d0ea; border-radius: 10px; font-weight: 600; }
.nqh-bus { position: relative; margin-bottom: 10px; } .nqh-bus i { position: absolute; left: 12px; top: 50%; transform: translateY(-50%); color: #8a9a93; }
.nqh-bus input { padding-left: 34px; border-radius: 12px; }
.nqh-dia { display: flex; gap: 6px; margin-bottom: 10px; transition: opacity .2s; } .nqh-dia input { border-radius: 10px; text-align: center; font-weight: 600; }
.nqh-dia .btn { border-radius: 10px; border: 1px solid #e3e8e6; } .nqh-dia.apagado { opacity: .4; }
.nqh-filtros { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 12px; }
.nqh-filtros button { border: 1.5px solid #e6dbe9; background: #fff; border-radius: 999px; padding: .25rem .75rem; font-size: .82rem; font-weight: 600; color: #5b4a58; }
.nqh-filtros button.on { background: #86198f; border-color: #86198f; color: #fff; }
.nqh-grupo { border: 1px solid #ecd9f2; border-radius: 14px; overflow: hidden; margin-bottom: 12px; }
.nqh-cab { display: flex; justify-content: space-between; gap: 8px; flex-wrap: wrap; padding: 8px 14px; background: #fdf6fb; font-size: .8rem; font-weight: 700; color: #5b4a58; }
.nqh-cab > span:first-child { text-transform: capitalize; }
.nqh-cab b { color: #9d1b8a; }
.nqh-f { display: flex; gap: 12px; padding: 10px 14px; border-top: 1px solid #f5edf3; }
.nqh-f.c-qr { box-shadow: inset 4px 0 0 #0891b2; } .nqh-f.c-breb { box-shadow: inset 4px 0 0 #c026d3; } .nqh-f.c-nqn { box-shadow: inset 4px 0 0 #7c3aed; }
.nqh-f .nq-ic { width: 36px; height: 36px; flex: 0 0 36px; border-radius: 10px; display: grid; place-items: center; }
.nqh-f.c-qr .nq-ic { background: #cff4fc; color: #0e7490; } .nqh-f.c-breb .nq-ic { background: #fbe7f6; color: #a21caf; } .nqh-f.c-nqn .nq-ic { background: #ede9fe; color: #6d28d9; }
.nqh-v { font-size: 1.05rem; margin-right: 4px; }
.nqh-est { font-size: .72rem; font-weight: 700; border-radius: 999px; padding: .12rem .55rem; }
.nqh-est.pend { background: #fff4d6; color: #a16207; } .nqh-est.abono { background: #dbeafe; color: #1d4ed8; }
.nqh-est.venta { background: #dcfce7; color: #15803d; } .nqh-est.ignorado, .nqh-est.otro { background: #f1f3f2; color: #6b7a74; }

/* Avisos que no parecen pago */
.nq-otros-cab { padding: 8px 16px; background: #f6f7f7; border-top: 1px solid #eceeed; font-size: .8rem; color: #6b7a74; }
.nq-fila.nq-otro { background: #fafbfb; box-shadow: inset 4px 0 0 #cfd6d3; }
.nq-fila.nq-otro .nq-ic { background: #eef1f0; color: #8a9a93; }
.nq-fila.nq-otro .nq-val { color: #6b7a74; font-size: 1rem; }
.nq-chip.otro { background: #eef1f0; color: #6b7a74; }

/* Inventario: color por lugar y vista "Por lugar" (columnas como estantes) */
.ubic-card.ubic-color { position: relative; overflow: hidden; }
.ubic-card.ubic-color::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 4px; background: var(--c); }
.ubic-card.ubic-color .ubic-icono { background: color-mix(in srgb, var(--c) 14%, #fff); color: var(--c); }
.ubic-card.ubic-color.activa { border-color: var(--c); box-shadow: 0 0 0 2px var(--c) inset; background: color-mix(in srgb, var(--c) 7%, #fff); }
.inv-vista { display: flex; background: #f3f5f4; border: 1px solid #e3e8e6; border-radius: 12px; padding: 3px; height: 100%; }
.inv-vista button { flex: 1; border: 0; background: transparent; border-radius: 9px; padding: .35rem .85rem; font-weight: 600; font-size: .86rem; color: #5b6b64; white-space: nowrap; }
.inv-vista button.on { background: var(--verde-700, #1f6b4f); color: #fff; }
.lug-cols { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(230px, 1fr); gap: 12px; overflow-x: auto; align-items: start; padding-bottom: 6px; scroll-snap-type: x proximity; }
.lug-col { background: #fff; border: 1px solid #e3e8e6; border-radius: 18px; overflow: hidden; scroll-snap-align: start; }
.lug-cab { display: flex; align-items: center; gap: 10px; padding: 12px 14px; background: var(--c); color: #fff; }
.lug-cab > i { font-size: 1.25rem; } .lug-nom { font-weight: 700; line-height: 1.15; } .lug-cab small { opacity: .85; font-size: .75rem; }
.lug-it { display: flex; align-items: center; gap: 10px; padding: 8px 12px; border-top: 1px solid #f0f3f2; font-size: .88rem; cursor: pointer; }
.lug-it:first-of-type { border-top: 0; } .lug-it:hover { background: #f7faf8; }
.lug-it b { white-space: nowrap; } .lug-it .est { font-size: .65rem; padding: .05rem .45rem; }
.lug-pn { font-weight: 500; line-height: 1.2; }
.lug-foto { width: 34px; height: 34px; flex: 0 0 34px; border-radius: 9px; object-fit: contain; background: #fff; border: 1px solid #eef1f0; display: grid; place-items: center; font-size: .9rem; }
.lug-vacia { padding: 22px 12px; text-align: center; color: #9aa8a2; font-size: .85rem; } .lug-vacia i { display: block; font-size: 1.4rem; margin-bottom: 2px; }
@media (max-width: 767.98px) { .lug-cols { grid-auto-columns: 82%; } }

/* Mesas guardadas (auxiliar) */
#axMesas:has(.ax-volver) { display: flex; align-items: center; gap: 8px; }
.ax-volver { border: 0; background: #fff; border: 1px solid #e3e8e6; border-radius: 999px; padding: .35rem .85rem; font-weight: 700; color: #1f6b4f; }
.ax-mgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px; }
.ax-mcard { position: relative; display: flex; flex-direction: column; align-items: flex-start; gap: 2px; text-align: left; background: #fff; border: 1.5px solid #e3e8e6; border-radius: 16px; padding: 12px; min-height: 104px; }
.ax-mcard .nm { font-weight: 800; font-size: .98rem; padding-right: 16px; line-height: 1.2; color: #13211c; }
.ax-mcard b { font-size: 1.2rem; color: #1f6b4f; } .ax-mcard small { color: #6b7a74; font-size: .72rem; }
.ax-mcard .dot { position: absolute; top: 12px; right: 12px; width: 9px; height: 9px; border-radius: 50%; background: #22c55e; box-shadow: 0 0 0 4px #dcfce7; }
.ax-mcard.vieja .dot { background: #f59e0b; box-shadow: 0 0 0 4px #fef3c7; }
.ax-mcard.nueva { align-items: center; justify-content: center; border-style: dashed; color: #1f6b4f; font-weight: 700; }
.ax-mcard.nueva i { font-size: 1.6rem; }
.ax-sync { font-size: .78rem; border-radius: 12px; padding: .45rem .7rem; }
.ax-sync.ok { color: #15803d; } .ax-sync.enviando { color: #6b7a74; }
.ax-sync.sinred { background: #fff7ed; color: #b45309; border: 1px solid #fed7aa; font-weight: 600; }
.ax-cobrar-mesa { border: 0; border-radius: 16px; padding: .85rem; font-weight: 800; font-size: 1.05rem; background: #15803d; color: #fff; box-shadow: 0 8px 18px rgba(21,128,61,.25); }
.ax-mc-total { font-size: 2.3rem; font-weight: 800; line-height: 1.1; margin-bottom: 10px; }
.ax-formas { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.ax-forma { border: 1.5px solid #e3e8e6; background: #fff; border-radius: 14px; padding: .65rem .4rem; font-weight: 700; font-size: .86rem; color: #3f4d47; }
.ax-forma i { display: block; font-size: 1.3rem; margin-bottom: 2px; }
.ax-forma.on { border-color: #1f6b4f; background: #effaf4; color: #1f6b4f; }
.ax-mc-fila { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 4px 0; }
.ax-mc-fila input { max-width: 160px; }
.ax-billete2 { border: 1.5px solid #e3e8e6; background: #fff; border-radius: 999px; padding: .3rem .75rem; font-size: .85rem; font-weight: 600; }
.ax-billete2.on { background: #1f6b4f; border-color: #1f6b4f; color: #fff; }
.ax-pago-otro2 { width: 110px; border: 1.5px solid #e3e8e6; border-radius: 999px; padding: .3rem .75rem; font-size: .85rem; text-align: right; }
.ax-mc-vueltas { margin-top: 10px; background: #f0fdf4; color: #15803d; border-radius: 12px; padding: .5rem .8rem; display: flex; justify-content: space-between; font-size: 1rem; }
.ax-mc-vueltas.falta { background: #fff7ed; color: #b45309; }

/* Mesas (dueño): tarjeta en Hoy e historial */
.hdr-mesas { background: linear-gradient(135deg,#0f3d2e,#1f6b4f); }
.mz { background: #fff; border: 1px solid #d7ebe1; border-radius: 16px; overflow: hidden; box-shadow: 0 4px 14px rgba(15,61,46,.06); }
.mz-cab { display: flex; align-items: center; gap: 12px; padding: 14px 16px; background: linear-gradient(135deg,#0f3d2e,#1f6b4f); color: #fff; }
.mz-ic { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: rgba(255,255,255,.15); font-size: 1.2rem; flex: 0 0 40px; }
.mz-tt { font-weight: 700; } .mz-st { font-size: .78rem; opacity: .8; }
.mz-btn { margin-left: auto; border: 1px solid rgba(255,255,255,.35); background: rgba(255,255,255,.12); color: #fff; border-radius: 10px; padding: .3rem .6rem; font-size: .82rem; font-weight: 600; white-space: nowrap; }
.mz-tot { margin-left: 12px; text-align: right; } .mz-tot b { font-size: 1.25rem; display: block; line-height: 1.1; white-space: nowrap; } .mz-tot small { font-size: .75rem; opacity: .8; }
.mz-vivo { padding: 10px 16px; background: #f0fdf4; border-bottom: 1px solid #dcfce7; font-size: .85rem; color: #166534; border-radius: 0; }
.modal .mz-vivo { border: 1.5px solid #bbf7d0; border-radius: 12px; }
.mz-chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 6px; }
.mz-chip { background: #fff; border: 1px solid #bbf7d0; border-radius: 999px; padding: .15rem .6rem; font-size: .78rem; color: #14532d; }
.mz-chip.vieja { border-color: #fcd34d; background: #fffbeb; color: #92400e; }
.mz-pie { padding: 10px 16px; font-size: .82rem; color: #4b5a54; } .mz-pie b { color: #1f6b4f; }
.mz-btn-solo { background: #ecf7f1; color: #1f6b4f; border: 1px solid #cfe9db; border-radius: 10px; font-weight: 600; }
.mzh-kpis { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin-bottom: 12px; }
.mzh-kpis > div { border: 1px solid #e3e8e6; border-radius: 14px; padding: 8px 12px; }
.mzh-kpis small { display: block; color: #6b7a74; font-size: .68rem; font-weight: 700; text-transform: uppercase; } .mzh-kpis b { font-size: 1.05rem; white-space: nowrap; } .mzh-kpis span { display: block; font-size: .72rem; color: #6b7a74; }
@media (max-width: 575.98px) { .mzh-kpis { grid-template-columns: 1fr 1fr; } }
.mzh-lista { border: 1px solid #e3e8e6; border-radius: 14px; overflow: hidden; }
.mzh-f + .mzh-f { border-top: 1px solid #f0f3f2; }
.mzh-cab { width: 100%; border: 0; background: #fff; display: grid; grid-template-columns: 70px 1fr auto auto 16px; gap: 10px; align-items: center; padding: 10px 14px; font-size: .88rem; }
.mzh-h { color: #6b7a74; font-size: .8rem; text-align: left; } .mzh-v { white-space: nowrap; }
.mzh-f.anulada .mzh-cab { opacity: .6; } .mzh-f.anulada .mzh-v { text-decoration: line-through; }
.mzh-ch { font-size: .7rem; font-weight: 700; border-radius: 999px; padding: .15rem .55rem; white-space: nowrap; }
.mzh-ch.ef { background: #dcfce7; color: #15803d; } .mzh-ch.nq { background: #fbe7f6; color: #a21caf; } .mzh-ch.cr { background: #ffe4e6; color: #be123c; }
.mzh-ch.mx { background: #e0e7ff; color: #4338ca; } .mzh-ch.an { background: #f1f3f2; color: #6b7a74; } .mzh-ch.ab { background: #fef3c7; color: #92400e; }
.mzh-det { background: #fafbfb; padding: 10px 14px 12px 94px; border-top: 1px dashed #e3e8e6; font-size: .85rem; }
.mzh-items > div, .mzh-log > div { display: flex; justify-content: space-between; gap: 10px; padding: 2px 0; }
.mzh-log { margin-top: 8px; border-top: 1px solid #eef1f0; padding-top: 6px; font-size: .78rem; color: #4b5a54; } .mzh-log span:first-child { color: #8a9a93; min-width: 70px; }
.mzh-log > div { justify-content: flex-start; }
@media (max-width: 575.98px) { .mzh-cab { grid-template-columns: 1fr auto 16px; } .mzh-h, .mzh-ch { display: none; } .mzh-det { padding-left: 14px; } }
/* Mesas cerradas (auxiliar) y confirmación al cerrar */
.ax-cerrada { width: 100%; border: 0; background: #fff; display: flex; align-items: center; gap: 10px; padding: 10px 14px; border-top: 1px solid #f0f3f2; font-size: .9rem; }
.ax-cerrada.anulada { opacity: .6; } .ax-cerrada.anulada > b { text-decoration: line-through; }
.ax-cuenta-cerrada { background: linear-gradient(135deg,#334155,#475569); }
.ax-cant { min-width: 30px; height: 30px; border-radius: 9px; background: #eef2f0; display: grid; place-items: center; }
.ax-mc-confirma { display: flex; gap: 10px; align-items: flex-start; background: #fffbeb; border: 1.5px solid #fcd34d; border-radius: 14px; padding: 10px 12px; color: #78350f; }
.ax-mc-confirma > i { font-size: 1.4rem; color: #d97706; }
.ax-fch { font-size: .7rem; font-weight: 700; border-radius: 999px; padding: .15rem .55rem; white-space: nowrap; }
.ax-fch.ef { background: #dcfce7; color: #15803d; } .ax-fch.nq { background: #fbe7f6; color: #a21caf; } .ax-fch.cr { background: #ffe4e6; color: #be123c; }
.ax-fch.mx { background: #e0e7ff; color: #4338ca; } .ax-fch.an { background: #f1f3f2; color: #6b7a74; }
/* Aviso de versión nueva */
.banner-version { position: fixed; left: 50%; transform: translateX(-50%); bottom: 18px; z-index: 2000; display: flex; align-items: center; gap: 10px; background: #13211c; color: #fff; border-radius: 999px; padding: .5rem .6rem .5rem 1rem; box-shadow: 0 10px 30px rgba(0,0,0,.25); font-size: .9rem; white-space: nowrap; }
.banner-version i { color: #fcd34d; }
.ax-mc-falta { background: #fff7ed; border: 1.5px solid #fdba74; color: #9a3412; border-radius: 14px; padding: 10px 12px; font-size: .88rem; }
.ax-mc-propina { display: flex; align-items: center; gap: 8px; background: #f0fdf4; border: 1.5px solid #86efac; color: #166534; border-radius: 14px; padding: 10px 12px; font-size: .88rem; }
.ax-mc-propina > i { color: #e11d48; }
.mz-prop { color: #be185d; white-space: nowrap; } .mz-prop b { color: #be185d; } .mz-prop i { font-size: .8em; }
.mzh-kpis .mz-prop { display: block; font-size: .72rem; }
.ax-mc-prop { background: #fdf2f8; border: 1px solid #fbcfe8; border-radius: 14px; padding: 10px 12px; }
.ax-mc-prop .bi-heart { color: #db2777; }
.ax-mc-esperado { margin-top: 8px; font-size: .9rem; color: #831843; } .ax-mc-esperado b { font-size: 1.05rem; }
/* Formas de pago con su color (suave sin elegir, marcado al elegir) */
.ax-forma { transition: background .15s, border-color .15s, box-shadow .15s; }
.ax-forma.f-efectivo { background: #f3fbf5; border-color: #cdebd6; color: #166534; } .ax-forma.f-efectivo i { color: #16a34a; }
.ax-forma.f-nequi { background: #faf5ff; border-color: #e9d5ff; color: #6b21a8; } .ax-forma.f-nequi i { color: #a21caf; }
.ax-forma.f-mixto { background: linear-gradient(135deg, #effaf2 0%, #f8f0ff 100%); border-color: #ddd6fe; color: #4c1d95; } .ax-forma.f-mixto i::before { background: linear-gradient(135deg, #16a34a 30%, #a21caf 70%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.ax-forma.f-credito { background: #fff5f6; border-color: #fecdd3; color: #9f1239; } .ax-forma.f-credito i { color: #e11d48; }
.ax-forma.f-efectivo.on { background: #dcfce7; border-color: #16a34a; box-shadow: 0 0 0 3px rgba(22,163,74,.15); color: #14532d; }
.ax-forma.f-nequi.on { background: #f3e8ff; border-color: #a21caf; box-shadow: 0 0 0 3px rgba(162,28,175,.15); color: #581c87; }
.ax-forma.f-mixto.on { background: linear-gradient(135deg, #dcfce7 0%, #f3e8ff 100%); border-color: #7c3aed; box-shadow: 0 0 0 3px rgba(124,58,237,.15); }
.ax-forma.f-credito.on { background: #ffe4e6; border-color: #e11d48; box-shadow: 0 0 0 3px rgba(225,29,72,.15); color: #881337; }
/* Tarjeta (datáfono): azul */
.ax-forma.f-tarjeta { background: #f0f9ff; border-color: #bae6fd; color: #075985; } .ax-forma.f-tarjeta i { color: #0284c7; }
.ax-forma.f-tarjeta.on { background: #e0f2fe; border-color: #0284c7; box-shadow: 0 0 0 3px rgba(2,132,199,.15); color: #0c4a6e; }
.ax-mc-tarjeta { display: flex; gap: 10px; align-items: flex-start; background: #f0f9ff; border: 1.5px solid #bae6fd; color: #075985; border-radius: 14px; padding: 10px 12px; font-size: .9rem; }
.ax-mc-tarjeta > i { font-size: 1.4rem; color: #0284c7; }
.ax-fch.tj, .mzh-ch.tj { background: #e0f2fe; color: #0369a1; }
.mzh-kpis { grid-template-columns: repeat(5, 1fr); }
@media (max-width: 767.98px) { .mzh-kpis { grid-template-columns: 1fr 1fr; } }
.ax-forma.f-mixtoTj { background: linear-gradient(135deg, #effaf2 0%, #eef8ff 100%); border-color: #bae6fd; color: #0c4a6e; }
.ax-forma.f-mixtoTj i::before { background: linear-gradient(135deg, #16a34a 30%, #0284c7 70%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.ax-forma.f-mixtoTj.on { background: linear-gradient(135deg, #dcfce7 0%, #e0f2fe 100%); border-color: #0284c7; box-shadow: 0 0 0 3px rgba(2,132,199,.15); }
.ax-mc-tarjeta .ax-mc-fila input { max-width: 140px; }
/* Datos del voucher del datáfono */
.ax-tj-campos { margin-top: 8px; }
.ax-tj-fila { display: flex; gap: 8px; align-items: flex-end; }
.ax-tj-lbl { display: block; font-size: .72rem; font-weight: 700; color: #075985; margin-bottom: 2px; }
.ax-tj-ult4 { width: 88px; flex: 0 0 88px; }
.ax-tj-ayuda { border: 1px solid #7dd3fc; color: #0369a1; background: #fff; font-weight: 700; }
.ax-tj-ayuda.on, .ax-tj-ayuda:hover { background: #0284c7; color: #fff; border-color: #0284c7; }
.ax-tj-aviso { margin-top: 6px; font-size: .78rem; color: #b45309; }
.ax-voucher { margin-top: 10px; background: #fff; border: 1px solid #e2e8f0; border-radius: 12px; padding: 10px 12px; color: #334155; font-size: .78rem; box-shadow: 0 4px 14px rgba(15,23,42,.06); }
.ax-voucher-tit { font-weight: 700; color: #0f172a; margin-bottom: 6px; }
.ax-v-fila { display: flex; justify-content: space-between; align-items: center; gap: 8px; padding: 4px 6px; border-radius: 6px; position: relative; }
.ax-v-fila span:last-of-type { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; }
.ax-v-fila.marca { background: #fef9c3; outline: 2px solid #facc15; font-weight: 700; color: #713f12; }
.ax-v-fila.marca2 { background: #e0f2fe; outline: 2px solid #7dd3fc; font-weight: 700; color: #075985; }
.ax-v-fila i { position: absolute; right: -22px; font-size: 1.3rem; color: #ca8a04; } .ax-v-fila.marca2 i { color: #0284c7; }
.ax-voucher { margin-right: 18px; }
.ax-voucher-pie { margin-top: 8px; color: #475569; }
.mz-neto { display: block; font-size: .72rem; color: #0369a1; }
.mz-tarifa-link { font-size: .7rem; color: #64748b; text-decoration: none; }
.mz-tarifa { background: #f0f9ff; border: 1px solid #bae6fd; border-radius: 14px; padding: 12px 14px; }
#axMcRef::placeholder { text-transform: none; }

/* Reporte de mesas */
.mz-tabs { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; margin-bottom: 12px; }
.mz-tabs > button { border: 1px solid #e3e8e6; background: #fff; border-radius: 999px; padding: .35rem .9rem; font-weight: 600; font-size: .85rem; color: #5b6b64; }
.mz-tabs > button.on { background: #1f6b4f; border-color: #1f6b4f; color: #fff; }
.mz-rangos { display: flex; gap: 4px; margin-left: auto; }
.mz-rangos button { border: 0; background: #f3f5f4; border-radius: 999px; padding: .3rem .75rem; font-size: .8rem; font-weight: 600; color: #5b6b64; }
.mz-rangos button.on { background: #e7f3ec; color: #1f6b4f; }
@media (max-width: 575.98px) { .mz-rangos { margin-left: 0; width: 100%; } .mz-rangos button { flex: 1; } }
#mzVistaRep { position: relative; }
.mzr-kpis { display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; margin-bottom: 14px; }
.mzr-kpis > div { border: 1px solid #e3e8e6; border-radius: 14px; padding: 9px 12px; min-width: 0; }
.mzr-kpis small { display: block; font-size: .64rem; font-weight: 700; color: #6b7a74; text-transform: uppercase; }
.mzr-kpis b { font-size: 1.05rem; white-space: nowrap; } .mzr-kpis i { display: block; font-style: normal; font-size: .7rem; color: #6b7a74; }
@media (max-width: 767.98px) { .mzr-kpis { grid-template-columns: 1fr 1fr; } }
.mzr-grid { display: grid; grid-template-columns: 7fr 5fr; gap: 14px; }
@media (max-width: 767.98px) { .mzr-grid { grid-template-columns: 1fr; } }
.mzr-card { border: 1px solid #e3e8e6; border-radius: 14px; padding: 12px 14px; }
.mzr-t { font-weight: 700; font-size: .9rem; margin-bottom: 8px; } .mzr-t small { font-weight: 500; color: #6b7a74; }
.mzr-pb { display: grid; grid-template-columns: minmax(90px, 34%) 1fr auto; align-items: center; gap: 8px; font-size: .8rem; padding: 3px 0; cursor: default; }
.mzr-pb .bar { height: 14px; background: #1f6b4f; border-radius: 0 4px 4px 0; } .mzr-pb:hover .bar { background: #14532d; }
.mzr-pb .v { text-align: right; color: #3f4d47; white-space: nowrap; } .mzr-pb .v small { color: #8a9a93; }
.mzr-seg { display: flex; height: 22px; border-radius: 6px; overflow: hidden; gap: 2px; margin: 4px 0 8px; }
.mzr-lg { display: flex; flex-wrap: wrap; gap: 6px 12px; font-size: .78rem; } .mzr-lg i { display: inline-block; width: 10px; height: 10px; border-radius: 3px; margin-right: 5px; } .mzr-lg small { color: #6b7a74; }
.mzr-mx { font-size: .82rem; } .mzr-mx > div { display: flex; justify-content: space-between; gap: 8px; padding: 5px 0; border-top: 1px solid #f0f3f2; } .mzr-mx > div:first-child { border-top: 0; }
.mzr-cols { display: flex; align-items: flex-end; gap: 6px; height: 140px; border-bottom: 1px solid #d7dedb; padding-top: 10px; }
.mzr-cols > div { flex: 1; height: 100%; display: flex; align-items: flex-end; cursor: default; }
.mzr-cols .c { width: 100%; background: #1f6b4f; border-radius: 4px 4px 0 0; min-height: 2px; } .mzr-cols .c.pico { background: #14532d; }
.mzr-cols > div:hover .c { background: #0f3d2e; }
.mzr-xl { display: flex; gap: 6px; font-size: .7rem; color: #6b7a74; } .mzr-xl span { flex: 1; text-align: center; }
.mzr-tip { position: absolute; z-index: 5; background: #13211c; color: #fff; font-size: .75rem; padding: 4px 9px; border-radius: 8px; white-space: nowrap; pointer-events: none; }
/* Bre-B: no trae el nombre de quien paga */
.ax-sinnom { color: #dc2626; font-style: normal; font-weight: 600; }
.ax-ult .ax-sinnom { display: inline-block; background: #fee2e2; color: #b91c1c; border-radius: 999px; padding: .1rem .6rem; font-size: .85rem; opacity: 1; }
.ax-ult span:has(> .ax-sinnom) { opacity: 1 !important; }
.ax-ult .ax-sinnom { background: #fff1f2; color: #dc2626; }

/* Lista de precios como carta (auxiliar) */
#axPanePrecios .ax-cats { scrollbar-width: none; -webkit-mask-image: linear-gradient(90deg, #000 88%, transparent); mask-image: linear-gradient(90deg, #000 88%, transparent); padding-right: 24px; }
#axPanePrecios .ax-cats::-webkit-scrollbar { display: none; }
.carta-sec + .carta-sec { margin-top: 18px; }
.carta-cab { display: flex; align-items: center; gap: 10px; margin: 0 2px 10px; }
.carta-cab b { font-size: 1.05rem; } .carta-cab span:last-child { margin-left: auto; font-size: .78rem; color: #6b7a74; }
.carta-ic { width: 32px; height: 32px; border-radius: 10px; display: grid; place-items: center; font-size: 1rem; }
.carta-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 10px; }
.carta-item { background: #fff; border: 1px solid #e6ebe9; border-radius: 16px; padding: 8px 8px 10px; display: flex; flex-direction: column; box-shadow: 0 2px 8px rgba(15,61,46,.04); }
.carta-foto { border-radius: 12px; height: 92px; display: grid; place-items: center; margin-bottom: 8px; overflow: hidden; }
.carta-img { max-width: 80%; max-height: 82px; object-fit: contain; filter: drop-shadow(0 4px 6px rgba(0,0,0,.12)); }
.carta-img.foto-vacia { width: 44px; height: 44px; border-radius: 12px; font-size: 1.2rem; filter: none; }
.carta-nom { font-weight: 700; font-size: .88rem; line-height: 1.2; color: #13211c; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.carta-pie { display: flex; align-items: center; justify-content: space-between; gap: 6px; margin-top: auto; padding-top: 8px; }
.carta-tam { font-size: .72rem; color: #6b7a74; white-space: nowrap; }
.carta-precio { background: #ecf7f1; color: #15803d; font-weight: 800; font-size: .98rem; border-radius: 999px; padding: .15rem .6rem; white-space: nowrap; }
.ct0 { background: #fef6e4; color: #b45309; } .ct1 { background: #fdf0e6; color: #c2410c; } .ct2 { background: #eef6ff; color: #1d4ed8; }
.ct3 { background: #ecfdf5; color: #047857; } .ct4 { background: #f5f0ff; color: #6d28d9; } .ct5 { background: #fff1f2; color: #be123c; }
@media (max-width: 420px) { .carta-grid { grid-template-columns: 1fr 1fr; gap: 8px; } .carta-foto { height: 84px; } }
/* Buscadores de la auxiliar: fondo blanco que resalta sobre el gris */
.ax-bus input { background: #fff; border: 1.5px solid #cfe3d8; box-shadow: 0 4px 14px rgba(15,61,46,.08); }
.ax-bus input:focus { background: #fff; border-color: #1f6b4f; box-shadow: 0 0 0 4px rgba(31,107,79,.15), 0 4px 14px rgba(15,61,46,.08); }
.ax-bus i { color: #1f6b4f; z-index: 2; }
/* Botones de la barra de arriba: que se noten */
.nav-ico { display: inline-flex; align-items: center; gap: 6px; background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.28); color: #fff; border-radius: 10px; padding: .32rem .6rem; font-weight: 600; font-size: .85rem; line-height: 1.2; }
.nav-ico i { font-size: 1.1rem; }
.nav-ico:hover, .nav-ico:focus-visible { background: #fff; color: #1f6b4f; border-color: #fff; }
.nav-ico.salir { background: rgba(254,202,202,.18); border-color: rgba(254,202,202,.45); }
.nav-ico.salir:hover { background: #fee2e2; color: #b91c1c; border-color: #fee2e2; }
.nav-ico .punto-aviso { top: -3px; right: -3px; }
@media (max-width: 575.98px) {
  .nav-ico { padding: .3rem .42rem; border-radius: 9px; } .nav-ico i { font-size: 1rem; }
  .barra-top .navbar-brand .fw-bold { font-size: .95rem; }
  .barra-top .container-xl > .d-flex { gap: 5px !important; }
}
@media (max-width: 380px) { .barra-top .navbar-brand small { display: none; } }
.barra-top .container-xl { flex-wrap: nowrap; }
.barra-top .navbar-brand { min-width: 0; flex: 1 1 auto; overflow: hidden; margin-right: 6px; }
.barra-top .navbar-brand > span { min-width: 0; } .barra-top .navbar-brand > span > * { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.barra-top .container-xl > .d-flex { flex: 0 0 auto; }
@media (max-width: 380px) { .barra-top .logo-mini { width: 34px; height: 34px; } .nav-ico { padding: .28rem .36rem; } .barra-top .navbar-brand .fw-bold { font-size: .9rem; } }
/* Confirmar salir */
.salir-modal { border-radius: 20px; border: 0; }
.salir-ic { width: 58px; height: 58px; margin: 0 auto; border-radius: 18px; display: grid; place-items: center; background: #fee2e2; color: #dc2626; font-size: 1.6rem; }
.salir-aviso { background: #fff7ed; border: 1px solid #fed7aa; color: #9a3412; border-radius: 12px; padding: 8px 10px; font-size: .8rem; text-align: left; }
@media (max-width: 575.98px) { #badgeDemo { display: none !important; } }
.salir-mesas { background: #fffbeb; border: 1.5px solid #fcd34d; color: #78350f; border-radius: 14px; padding: 10px 12px; font-size: .85rem; text-align: left; }
.salir-mesas b { color: #78350f; }
.ax-tab { position: relative; }
.ax-tab-n { display: inline-grid; place-items: center; min-width: 19px; height: 19px; padding: 0 5px; margin-left: 5px; border-radius: 999px; background: #f59e0b; color: #fff; font-size: .7rem; font-weight: 800; vertical-align: 1px; box-shadow: 0 0 0 2px #fff; }
.ax-tab.on .ax-tab-n { background: #fcd34d; color: #78350f; box-shadow: none; }

/* ---------- Entrada con ambiente de bar ---------- */
.login-wrap { position: relative; overflow: hidden; isolation: isolate;
  background:
    radial-gradient(120% 70% at 50% 115%, rgba(245,158,11,.30), transparent 60%),
    radial-gradient(60% 45% at 15% 10%, rgba(219,39,119,.22), transparent 65%),
    radial-gradient(55% 40% at 90% 20%, rgba(124,58,237,.20), transparent 65%),
    linear-gradient(180deg, #07130f 0%, #0b1f18 45%, #10291f 100%); }
/* luces cálidas desenfocadas (como bombillos de terraza) */
.login-luces { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.login-luces span { position: absolute; border-radius: 50%; filter: blur(2px); opacity: .55; animation: titilar 5s ease-in-out infinite; }
.login-luces span:nth-child(1) { width: 14px; height: 14px; left: 8%;  top: 9%;  background: #fcd34d; box-shadow: 0 0 30px 10px rgba(252,211,77,.45); }
.login-luces span:nth-child(2) { width: 10px; height: 10px; left: 26%; top: 5%;  background: #fbbf24; box-shadow: 0 0 26px 8px rgba(251,191,36,.4); animation-delay: 1.2s; }
.login-luces span:nth-child(3) { width: 16px; height: 16px; left: 47%; top: 8%;  background: #fde68a; box-shadow: 0 0 34px 12px rgba(253,230,138,.4); animation-delay: .6s; }
.login-luces span:nth-child(4) { width: 11px; height: 11px; left: 68%; top: 4%;  background: #fbbf24; box-shadow: 0 0 26px 8px rgba(251,191,36,.4); animation-delay: 2s; }
.login-luces span:nth-child(5) { width: 15px; height: 15px; left: 88%; top: 10%; background: #fcd34d; box-shadow: 0 0 30px 10px rgba(252,211,77,.45); animation-delay: 1.6s; }
.login-luces span:nth-child(6) { width: 60px; height: 60px; left: 78%; top: 70%; background: #db2777; filter: blur(30px); opacity: .35; animation-delay: .3s; }
.login-luces::before { content: ""; position: absolute; left: -5%; right: -5%; top: 3%; height: 60px;
  border-top: 1.5px solid rgba(253,230,138,.25); border-radius: 50%; }   /* el cable de las luces */
@keyframes titilar { 0%,100% { opacity: .55; } 50% { opacity: .85; } }
/* burbujas que suben, como en una cerveza */
.login-burbujas { position: absolute; left: 0; right: 0; bottom: 0; height: 55%; z-index: -1; pointer-events: none; overflow: hidden;
  -webkit-mask-image: linear-gradient(0deg, #000 0%, rgba(0,0,0,.5) 50%, transparent 95%); mask-image: linear-gradient(0deg, #000 0%, rgba(0,0,0,.5) 50%, transparent 95%); }
.login-burbujas i { position: absolute; bottom: -12px; border-radius: 50%; border: 1px solid rgba(253,230,138,.55); background: radial-gradient(circle at 35% 30%, rgba(255,255,255,.55), rgba(253,230,138,.08) 60%); animation: subir linear infinite; }
@keyframes subir { from { transform: translate(0, 0); opacity: 0; } 10% { opacity: .9; } 50% { transform: translate(6px, -45vh); } to { transform: translate(-4px, -90vh); opacity: 0; } }
/* tarjeta de vidrio oscuro */
.login-wrap .login-card { background: rgba(14,30,24,.72); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  border: 1px solid rgba(253,230,138,.18); color: #f8fafc; box-shadow: 0 30px 60px rgba(0,0,0,.45) !important; }
.login-wrap .login-card .text-secondary { color: rgba(248,250,252,.65) !important; }
.login-wrap .logo-login { border-radius: 50%; box-shadow: 0 0 0 3px rgba(253,230,138,.35), 0 0 45px rgba(245,158,11,.45); }
.login-wrap .form-control { background: rgba(255,255,255,.95); }
.login-wrap .btn-primary, .login-wrap button[type="submit"] { background: linear-gradient(135deg, #f59e0b, #d97706); border: 0; color: #1f1300; font-weight: 700; }
.login-wrap a, .login-wrap .btn-link { color: #fcd34d; }
@media (prefers-reduced-motion: reduce) { .login-luces span, .login-burbujas i { animation: none; display: none; } }
.login-wrap .form-floating > label { color: #64748b; }
.login-wrap .form-control { color: #0f172a; }
/* Campana de avisos: llama la atención mientras no estén activados */
.nav-ico.campana:not(.activo), .ax-salir.campana:not(.activo) { background: #f59e0b; border-color: #f59e0b; color: #1f1300; animation: campana 2.4s ease-in-out infinite; }
.ax-salir.campana { border-radius: 9px; padding: .15rem .45rem; margin-right: 4px; }
.nav-ico.campana.activo { background: rgba(255,255,255,.14); }
@keyframes campana { 0%, 70%, 100% { transform: rotate(0); } 75% { transform: rotate(-12deg); } 80% { transform: rotate(10deg); } 85% { transform: rotate(-6deg); } 90% { transform: rotate(4deg); } }
@media (prefers-reduced-motion: reduce) { .campana { animation: none !important; } }

/* ---------- Entrada con la imagen del bar (Baladas del recuerdo) ---------- */
.login-wrap { background: #050a16; flex-direction: column; gap: 18px; padding: 20px 16px 28px; }
.login-bg { position: absolute; inset: -40px; z-index: -2; background: url(../img/fondo-baladas-mini.webp) center/cover; filter: blur(22px) brightness(.5) saturate(1.2); transform: scale(1.1); }
.login-burb { z-index: -1; }
.login-portada { width: 100%; max-width: 420px; aspect-ratio: 1302 / 731; background: url(../img/fondo-baladas.webp) center/cover; border-radius: 16px; box-shadow: 0 22px 50px rgba(0,0,0,.6); flex: 0 0 auto; }
.login-wrap .login-card { background: rgba(8,12,26,.72); border-color: rgba(253,230,138,.2); }
@media (min-width: 992px) {
  .login-wrap { flex-direction: row; gap: 36px; padding: 32px; }
  .login-portada { max-width: 760px; width: 58vw; }
}
.ax-reloj { color: #1f6b4f; font-variant-numeric: tabular-nums; white-space: nowrap; }
/* Carta: la foto llena todo el recuadro con esquinas redondeadas */
.carta-foto { height: auto; aspect-ratio: 1 / 1; padding: 0; }
.carta-foto:has(img.carta-img:not(.foto-vacia)) { background: #fff; }
.carta-img:not(.foto-vacia) { width: 100%; height: 100%; max-width: none; max-height: none; object-fit: cover; border-radius: 12px; filter: none; display: block; }

/* Firma del desarrollador */
.pie-firma { text-align: center; font-size: .78rem; color: #8a9590; padding: 14px 16px 22px; letter-spacing: .02em; }
.pie-firma b { color: #1d5c45; font-weight: 600; }
#vistaAux .pie-firma { padding-bottom: 28px; }

/* Lista de pagos de la auxiliar más corta: días anteriores plegados, hoy con "ver más" */
.ax-diab { text-align: left; cursor: pointer; } .ax-diab:disabled { cursor: default; color: #6b7a74; opacity: 1; }
.ax-diab:not(:disabled):hover { background: #eef3f1; }
.ax-vermas { display: block; width: 100%; border: 0; border-top: 1px solid #f1f4f2; background: #fff; color: #1d5c45; font-weight: 600; font-size: .85rem; padding: 10px; }
.ax-vermas:hover { background: #f3f8f6; }
#axLista .ax-f { padding: 9px 14px; gap: 10px; }
#axLista .ax-ic { width: 34px; height: 34px; border-radius: 10px; font-size: .95rem; }
#axLista .ax-v { font-size: 1.02rem; line-height: 1.2; }

/* Notas y regalos de las mesas */
.ax-mcard { position: relative; }
.ax-mnota { position: static; order: 5; margin-top: 3px; display: inline-flex; align-items: center; gap: 3px; background: #fff1f6; color: #be185d; border-radius: 999px; padding: 1px 7px; font-size: .72rem; font-weight: 700; }
.ax-nota-add { display: flex; align-items: center; justify-content: center; gap: 6px; width: 100%; border: 1.5px dashed #f0b6cf; background: #fff8fb; color: #be185d; border-radius: 14px; padding: 9px; font-weight: 600; font-size: .88rem; }
.ax-notas { background: #fffaf3; border: 1px solid #f6dfb8; border-radius: 16px; padding: 10px 12px; display: flex; flex-direction: column; gap: 8px; }
.ax-notas-h { display: flex; justify-content: space-between; align-items: center; font-size: .76rem; font-weight: 700; color: #92590a; text-transform: uppercase; letter-spacing: .04em; }
.ax-notas-mas { border: 0; background: #fde9c8; color: #92590a; border-radius: 999px; padding: 2px 10px; font-size: .75rem; font-weight: 700; text-transform: none; letter-spacing: 0; }
.ax-nota { display: flex; gap: 10px; align-items: flex-start; background: #fff; border-radius: 12px; padding: 8px 10px; border: 1px solid #f3e6d3; }
.ax-nota .ic { width: 30px; height: 30px; flex: none; border-radius: 9px; display: grid; place-items: center; background: #fef3c7; color: #b45309; font-size: .9rem; }
.ax-nota.regalo .ic { background: #fce7f3; color: #db2777; }
.ax-nota .tx { font-weight: 600; font-size: .88rem; color: #13211c; overflow-wrap: anywhere; }
.ax-nota small { color: #8a9590; font-size: .72rem; }
.ax-nota-x { border: 0; background: none; color: #b91c1c; opacity: .6; padding: 2px 4px; }
.ax-nota-form { display: flex; flex-direction: column; gap: 7px; }
.ax-nota-tipos { display: flex; gap: 6px; }
.ax-nota-tipos button { flex: 1; border: 1.5px solid #ead9bd; background: #fff; border-radius: 10px; padding: 6px; font-weight: 600; font-size: .85rem; color: #6b5a3e; }
.ax-nota-tipos button.on { border-color: #db2777; background: #fdf2f8; color: #be185d; }
.ax-nota-tipos button.on:last-child { border-color: #d97706; background: #fffbeb; color: #b45309; }
.ax-reg { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; } .ax-reg input:first-child { grid-column: 1 / -1; }
.ax-reg-chips { display: flex; gap: 5px; flex-wrap: wrap; }
.ax-reg-chips button { border: 1px solid #ead9bd; background: #fff; border-radius: 999px; padding: 2px 10px; font-size: .75rem; color: #6b5a3e; }
.ax-mc-notas { background: #fff7ed; border: 1.5px solid #fdba74; border-radius: 14px; padding: 9px 10px; margin-bottom: 12px; display: flex; flex-direction: column; gap: 6px; }
.ax-mc-notas .h { font-size: .8rem; font-weight: 700; color: #c2410c; }
.mzh-nota { color: #db2777; font-size: .9rem; }
.mzh-notas { display: flex; flex-direction: column; gap: 4px; margin-bottom: 8px; }
.mzh-notas div { display: flex; gap: 8px; align-items: baseline; background: #fffaf3; border: 1px solid #f6dfb8; border-radius: 10px; padding: 6px 10px; font-size: .85rem; }
.mzh-notas div i { color: #b45309; } .mzh-notas div.regalo i { color: #db2777; }
.mzh-notas div small { margin-left: auto; color: #8a9590; white-space: nowrap; }

/* Pantalla de la auxiliar con tonos suaves: el blanco puro encandila en el PC del bar */
#vistaAux { --ax-fondo: #dde4e0; --ax-sup: #edf1ee; --ax-sup2: #f4f6f4; --ax-borde: #cfd8d3; background: var(--ax-fondo); }
#vistaAux .ax-lista, #vistaAux .ax-tabs, #vistaAux .ax-mcard:not(.nueva), #vistaAux .ax-cerrada, #vistaAux .ax-cli, #vistaAux .ax-vacio,
#vistaAux .ax-vermas, #vistaAux .ax-volver, #vistaAux .ax-mesa, #vistaAux .ax-nqp, #vistaAux .ax-sintel, #vistaAux .carta-item,
#vistaAux .ax-cat:not(.on), #vistaAux .ax-met button:not(.on), #vistaAux .ax-copiar, #vistaAux .ax-btn-cred, #vistaAux .ax-acc.cred, #vistaAux .ax-billete2:not(.on),
#vistaAux .ax-nota, #vistaAux .ax-nota-tipos button:not(.on), #vistaAux .ax-reg-chips button, #vistaAux .ax-tj-ayuda, #vistaAux .ax-voucher,
#vistaAux .prod-tile:not(.activo), #vistaAux .modal-content, #vistaAux .modal-header, #vistaAux .modal-footer { background-color: var(--ax-sup); }
#vistaAux .ax-mcard.nueva { background: transparent; }
#vistaAux .ax-lista, #vistaAux .ax-tabs, #vistaAux .ax-mcard, #vistaAux .ax-cerrada, #vistaAux .carta-item, #vistaAux .prod-tile:not(.activo) { border-color: var(--ax-borde); }
#vistaAux .ax-f, #vistaAux .ax-item, #vistaAux .ax-dia { border-top-color: #dfe6e2; }
#vistaAux .ax-dia { background: #e3e9e5; }
#vistaAux .ax-bus input, #vistaAux .form-control, #vistaAux .form-select, #vistaAux .ax-pago-otro2 { background-color: var(--ax-sup2); border-color: var(--ax-borde); }
#vistaAux .ax-bus input:focus, #vistaAux .form-control:focus { background-color: #f8faf8; }

.ax-madr { color: #b45309; } #vistaAux.oscuro .ax-madr { color: #f6b25a; }

/* Observación del crédito: que se note para escribir */
#axCrObs { background-color: #fffbeb; border: 1.5px solid #f59e0b; color: #13211c; }
#axCrObs::placeholder { color: #a16207; opacity: .8; }
#axCrObs:focus { background-color: #fff; border-color: #d97706; box-shadow: 0 0 0 .2rem rgba(245,158,11,.25); }
label[for="axCrObs"] { color: #b45309; }
#vistaAux.oscuro #axCrObs { background-color: #2b2412; border-color: #d4932a; color: #fdf3dc; }
#vistaAux.oscuro #axCrObs::placeholder { color: #d9b26a; opacity: .75; }
#vistaAux.oscuro #axCrObs:focus { background-color: #332a14; border-color: #f5b942; box-shadow: 0 0 0 .2rem rgba(245,185,66,.25); }
#vistaAux.oscuro label[for="axCrObs"] { color: #f6b25a; }

/* Surtir / merma: producto agotado en el lugar de origen */
.cat-agotado { color: #dc2626; font-weight: 700; }
.cat-tile.vacio { opacity: .55; cursor: not-allowed; filter: grayscale(.6); }
.cat-tile.vacio .cat-agotado { filter: none; }
.paso.off { opacity: .45; pointer-events: none; background: #f3f4f6; }
#invGuardar:disabled { opacity: .5; cursor: not-allowed; }

/* ============ MÚSICA (pedidos de canciones por QR) ============ */
.mu-tab-n { display: inline-grid; place-items: center; min-width: 19px; height: 19px; padding: 0 5px; margin-left: 5px; border-radius: 999px; background: #c026d3; color: #fff; font-size: .7rem; font-weight: 800; vertical-align: 1px; }
.mu-grid { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 20px; align-items: start; }
@media (max-width: 991px) { .mu-grid { grid-template-columns: 1fr; } }
.mu-head { background: linear-gradient(120deg,#3b0a4f,#7c1d8f 55%,#c026d3); color: #fff; border-radius: 20px; padding: 16px 20px; display: flex; align-items: center; gap: 14px; box-shadow: 0 10px 30px rgba(124,29,143,.22); flex-wrap: wrap; }
.mu-head .ic { width: 48px; height: 48px; border-radius: 14px; background: rgba(255,255,255,.15); display: grid; place-items: center; font-size: 22px; flex: none; }
.mu-head h2 { font-size: 1.25rem; font-weight: 700; margin: 0; } .mu-head p { font-size: .82rem; opacity: .8; margin: 0; }
.mu-sw { margin-left: auto; display: flex; align-items: center; gap: 10px; background: rgba(255,255,255,.14); border: 0; color: #fff; border-radius: 999px; padding: 7px 16px 7px 8px; font-weight: 600; font-size: .9rem; }
.mu-sw .t { width: 44px; height: 24px; border-radius: 99px; background: rgba(255,255,255,.35); position: relative; transition: background .2s; }
.mu-sw .t:after { content: ""; position: absolute; left: 3px; top: 3px; width: 18px; height: 18px; border-radius: 50%; background: #fff; transition: left .2s; }
.mu-sw.on .t { background: #22c55e; } .mu-sw.on .t:after { left: 23px; }
.mu-now { margin-top: 14px; background: #13211c; color: #fff; border-radius: 18px; padding: 14px 18px; display: flex; align-items: center; gap: 16px; }
.mu-now.vacio { background: #f3f5f4; color: #6b7a74; border: 1.5px dashed #d5ddd9; font-size: .9rem; } .mu-now.vacio i { font-size: 1.6rem; }
.mu-now .eq { display: flex; gap: 4px; align-items: flex-end; height: 34px; flex: none; } .mu-now .eq i { width: 6px; background: #ffd27a; border-radius: 3px; animation: mueq 1s ease-in-out infinite; }
.mu-now .eq i:nth-child(2) { animation-delay: .2s } .mu-now .eq i:nth-child(3) { animation-delay: .4s } .mu-now .eq i:nth-child(4) { animation-delay: .1s } .mu-now .eq i:nth-child(5) { animation-delay: .3s }
@keyframes mueq { 0%,100% { height: 30% } 50% { height: 100% } }
.mu-now .l { font-size: .7rem; letter-spacing: .08em; color: #ffd27a; font-weight: 700; display: block; } .mu-now b { font-size: 1.15rem; display: block; } .mu-now .m { font-size: .85rem; opacity: .75; }
.mu-now .mu-ded { background: rgba(255,255,255,.1); color: #ffd9ec; }
.mu-b { display: inline-flex; align-items: center; gap: 5px; border-radius: 10px; padding: 7px 12px; font-size: .84rem; font-weight: 600; border: 1px solid #e3e8e6; background: #fff; color: #13211c; white-space: nowrap; text-decoration: none; }
.mu-b:hover { filter: brightness(.97); }
.mu-b.cp { background: #eef2ff; border-color: #c7d2fe; color: #3730a3; }
.mu-b.so, .mu-b.ya { background: #16a34a; border-color: #16a34a; color: #fff; }
.mu-b.otra { background: transparent; border-color: rgba(255,255,255,.3); color: #fff; font-size: .75rem; padding: 5px 10px; }
.mu-b.no { color: #b91c1c; } .mu-b.up { color: #6b7a74; padding: 7px 9px; }
.mu-sec { margin: 18px 0 8px; font-size: .8rem; font-weight: 700; color: #6b7a74; text-transform: uppercase; letter-spacing: .05em; display: flex; justify-content: space-between; gap: 10px; }
.mu-sec .text-none { text-transform: none; letter-spacing: 0; }
.mu-plegar { width: 100%; border: 0; background: none; padding: 0; text-align: left; }
.mu-lista { background: #fff; border: 1px solid #e3e8e6; border-radius: 18px; overflow: hidden; }
.mu-p { display: grid; grid-template-columns: 62px minmax(0, 1fr) auto; gap: 14px; align-items: center; padding: 12px 16px; border-top: 1px solid #f0f3f2; box-shadow: inset 4px 0 0 #c026d3; }
.mu-p:first-child { border-top: 0; } .mu-p.nuevo { background: #fdf4ff; } .mu-p.hecho { box-shadow: inset 4px 0 0 #cbd5d1; opacity: .85; }
.mu-p .mz { text-align: center; background: #fff4e0; color: #b45309; border-radius: 12px; padding: 5px 0; font-weight: 800; font-size: .72rem; line-height: 1.1; }
.mu-p .mz span { display: block; font-size: 1.35rem; }
.mu-p b { font-size: 1.02rem; } .mu-p .ar { color: #555; font-size: .88rem; } .mu-p .me { font-size: .75rem; color: #8a9590; margin-top: 3px; }
.mu-p .nv { background: #c026d3; color: #fff; font-size: .65rem; font-weight: 700; border-radius: 99px; padding: 2px 8px; margin-left: 6px; vertical-align: 2px; }
.mu-p .bt { display: flex; gap: 6px; flex-wrap: wrap; justify-content: flex-end; }
@media (max-width: 600px) { .mu-p { grid-template-columns: 52px minmax(0, 1fr); } .mu-p .bt { grid-column: 1 / -1; justify-content: stretch; } .mu-p .bt .mu-b { flex: 1; justify-content: center; } }
.mu-ded { margin-top: 5px; font-size: .82rem; color: #9d174d; background: #fff1f6; display: inline-flex; align-items: center; gap: 6px; border-radius: 8px; padding: 3px 4px 3px 10px; font-style: italic; max-width: 100%; }
.mu-ded.oculta { text-decoration: line-through; opacity: .55; }
.mu-ojo { border: 0; background: none; color: inherit; padding: 0 4px; font-style: normal; opacity: .75; }
.mu-chip { font-size: .7rem; border-radius: 99px; padding: 2px 8px; font-weight: 600; } .mu-chip.ok { background: #dcfce7; color: #15803d; } .mu-chip.no { background: #fee2e2; color: #b91c1c; }
.mu-vacio { text-align: center; padding: 28px 16px; color: #6b7a74; font-size: .9rem; } .mu-vacio i { display: block; font-size: 1.8rem; color: #c026d3; margin-bottom: 6px; }
.mu-box { background: #fff; border: 1px solid #e3e8e6; border-radius: 18px; padding: 14px 16px; margin-bottom: 14px; }
.mu-box h3 { font-size: .95rem; font-weight: 700; margin-bottom: 10px; display: flex; gap: 8px; align-items: center; }
.mu-k { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; text-align: center; }
.mu-k div { background: #f7f9f8; border-radius: 12px; padding: 8px 4px; } .mu-k b { font-size: 1.4rem; display: block; } .mu-k span { font-size: .72rem; color: #6b7a74; }
.mu-top div { display: flex; justify-content: space-between; gap: 8px; font-size: .86rem; padding: 6px 0; border-top: 1px solid #f1f4f2; } .mu-top div:first-of-type { border-top: 0; }
.mu-top small { color: #6b7a74; } .mu-top b { color: #c026d3; }
.mu-reg label { display: flex; justify-content: space-between; align-items: center; gap: 8px; font-size: .86rem; padding: 4px 0; }
.mu-reg input { width: 64px; text-align: center; border: 1px solid #d5ddd9; border-radius: 8px; padding: 3px 6px; font-weight: 700; }
.mu-now.vacio b { display: inline; font-size: inherit; color: #13211c; }

/* Música en la pantalla de la auxiliar (columna angosta): todo en una columna */
#axPaneMusica .mu-grid { grid-template-columns: minmax(0, 1fr); gap: 14px; }
#axPaneMusica .mu-head { padding: 14px 16px; }
#axPaneMusica .mu-sw { margin-left: 0; }
#axPaneMusica .mu-p { grid-template-columns: 52px minmax(0, 1fr); }
#axPaneMusica .mu-p .bt { grid-column: 1 / -1; justify-content: stretch; }
#axPaneMusica .mu-p .bt .mu-b { flex: 1; justify-content: center; }
#axPaneMusica .mu-now { flex-wrap: wrap; }
#axPaneMusica .mu-now > .d-flex { flex-direction: row !important; width: 100%; }
#axPaneMusica .mu-now > .d-flex .mu-b { flex: 1; justify-content: center; }

/* Interruptor pequeño (reglas de la música) */
.mu-sw.mu-sw-mini { margin: 0; padding: 0; background: none; flex: none; }
.mu-sw.mu-sw-mini .t { background: #cbd5d1; }
.mu-sw.mu-sw-mini.on .t { background: #22c55e; }

.mu-b.mu-nuevas { background: #fff4e0; border-color: #f5b942; color: #92400e; }
#vistaAux.oscuro .mu-b.mu-nuevas { background: #33260f; border-color: #b7791f; color: #f6b25a; }

/* Motivo de la dedicatoria (pestaña Música) */
.mu-mot { display: inline-block; margin-top: 5px; margin-right: 6px; font-size: .78rem; font-weight: 600; border-radius: 99px; padding: 2px 10px; background: #fdf2f8; color: #be185d; }
.mu-mot.m-cumple { background: #fff4e0; color: #92400e; } .mu-mot.m-amigos { background: #dcfce7; color: #166534; }
.mu-mot.m-aniversario { background: #ede9fe; color: #5b21b6; } .mu-mot.m-memoria { background: #f1f5f9; color: #334155; }
.mu-now .mu-mot { background: rgba(255,255,255,.12); color: #ffd27a; }
#vistaAux.oscuro .mu-mot { background: #2a1420; color: #f9a8d4; } #vistaAux.oscuro .mu-mot.m-cumple { background: #33260f; color: #f6b25a; }
#vistaAux.oscuro .mu-mot.m-amigos { background: #0f2a1a; color: #86efac; } #vistaAux.oscuro .mu-mot.m-aniversario { background: #221a38; color: #c4b5fd; }
#vistaAux.oscuro .mu-mot.m-memoria { background: #1e2530; color: #cbd5e1; }

/* Movimientos de créditos: la descripción completa en su recuadro, debajo */
.mov-item .mov-tit { font-weight: 700; font-size: .95rem; color: #13211c; }
.mov-desc { display: flex; gap: 10px; align-items: flex-start; margin: 10px 0 2px; padding: 10px 14px; border-radius: 14px; font-size: .92rem; line-height: 1.45; color: #2b2f36; overflow-wrap: anywhere; white-space: pre-line; }
.mov-desc i { font-size: 1rem; margin-top: 1px; flex: none; }
.mov-consumo .mov-desc { background: linear-gradient(135deg, #fff7f8, #fdf0f3); border: 1px solid #f7d4dc; box-shadow: inset 3px 0 0 #e11d48; }
.mov-consumo .mov-desc i { color: #e11d48; }
.mov-abono .mov-desc { background: linear-gradient(135deg, #f6fdf8, #ecf8f0); border: 1px solid #c8ecd5; box-shadow: inset 3px 0 0 #16a34a; }
.mov-abono .mov-desc i { color: #16a34a; }

/* Auxiliar · movimientos del cliente: la descripción completa abajo en su recuadro */
.ax-movb { border-top: 1px solid #f1f4f2; padding-bottom: 10px; } .ax-movb .ax-mov { border-top: 0; padding-bottom: 4px; }
.ax-movb.a:not(:has(.ax-movd)), .ax-movb:not(:has(.ax-movd)) { padding-bottom: 4px; }
.ax-movd { display: flex; gap: 9px; align-items: flex-start; margin: 2px 14px 0 56px; padding: 9px 12px; border-radius: 12px; font-size: .87rem; line-height: 1.45; overflow-wrap: anywhere; white-space: pre-line; }
.ax-movd i { flex: none; margin-top: 1px; }
.ax-movb.c .ax-movd { background: linear-gradient(135deg, #fff7f8, #fdf0f3); border: 1px solid #f7d4dc; box-shadow: inset 3px 0 0 #e11d48; color: #3b2a2f; } .ax-movb.c .ax-movd i { color: #e11d48; }
.ax-movb.a .ax-movd { background: linear-gradient(135deg, #f6fdf8, #ecf8f0); border: 1px solid #c8ecd5; box-shadow: inset 3px 0 0 #16a34a; color: #1f3a2a; } .ax-movb.a .ax-movd i { color: #16a34a; }
@media (max-width: 420px) { .ax-movd { margin-left: 14px; } }
#vistaAux.oscuro .ax-movb { border-top-color: #212a26; }
#vistaAux.oscuro .ax-movb.c .ax-movd { background: linear-gradient(135deg, #2a1218, #230f15); border-color: #4a1d28; color: #f6d5dc; }
#vistaAux.oscuro .ax-movb.c .ax-movd i { color: #fb7185; }
#vistaAux.oscuro .ax-movb.a .ax-movd { background: linear-gradient(135deg, #0f2419, #0c1e15); border-color: #1d4a30; color: #cdeeda; }
#vistaAux.oscuro .ax-movb.a .ax-movd i { color: #4ade80; }

/* Último pago: brilla al llegar, se apaga cuando ya es viejo */
.ax-ult.nuevo { box-shadow: 0 0 0 3px #67e8f9, 0 0 36px rgba(34,211,238,.5) !important; }
.ax-ult.breb.nuevo { box-shadow: 0 0 0 3px #f0abfc, 0 0 36px rgba(217,70,239,.5) !important; }
.ax-ult.nqn.nuevo { box-shadow: 0 0 0 3px #c4b5fd, 0 0 36px rgba(139,92,246,.5) !important; }
.ax-ult.nuevo .hace { background: #facc15; color: #422006; font-weight: 800; }
.ax-ult.nuevo:after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(110deg, transparent 30%, rgba(255,255,255,.18) 50%, transparent 70%); background-size: 250% 100%; animation: axBrillo 2.6s ease-in-out infinite; }
@keyframes axBrillo { 0% { background-position: 120% 0; } 100% { background-position: -120% 0; } }
.ax-nuevo { position: absolute; right: 16px; bottom: 16px; background: #fff; color: #0e7490; font-weight: 800; font-size: .75rem; border-radius: 999px; padding: .25rem .7rem; }
.ax-ult.breb .ax-nuevo { color: #a21caf; } .ax-ult.nqn .ax-nuevo { color: #6d28d9; }
.ax-ult.viejo { background: linear-gradient(135deg, #1f2a2d, #263438) !important; box-shadow: none !important; color: #c9d3d0; }
.ax-ult.viejo .v { color: #dfe7e4; }
.ax-ult.viejo .ok { background: #2f3d39; color: #9fb3ac; }
.ax-ult.viejo .hace { background: rgba(255,255,255,.08); color: #9fb3ac; }
#vistaAux:not(.oscuro) .ax-ult.viejo { background: linear-gradient(135deg, #cfd8d4, #c3ceca) !important; color: #2f3d39; }
#vistaAux:not(.oscuro) .ax-ult.viejo .v { color: #1f2a27; }
#vistaAux:not(.oscuro) .ax-ult.viejo .ok { background: #b3c0bb; color: #2f3d39; }
#vistaAux:not(.oscuro) .ax-ult.viejo .hace { background: rgba(0,0,0,.08); color: #2f3d39; }

/* Último pago: ícono grande del tipo de pago (QR, llave Bre-B, Nequi a Nequi) */
.ax-ult-ic { position: absolute; right: 18px; top: 50%; transform: translateY(-50%); width: 74px; height: 74px; border-radius: 20px; display: grid; place-items: center; font-size: 2.3rem; background: rgba(255,255,255,.16); border: 1px solid rgba(255,255,255,.25); }
.ax-canal { display: inline-flex; align-items: center; gap: 4px; background: rgba(255,255,255,.16); border-radius: 999px; padding: 1px 9px; font-weight: 600; }
.ax-ult .v, .ax-ult .q, .ax-ult .m { padding-right: 90px; }
.ax-ult.viejo .ax-ult-ic { background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.1); color: #9fb3ac; }
#vistaAux:not(.oscuro) .ax-ult.viejo .ax-ult-ic { background: rgba(0,0,0,.06); border-color: rgba(0,0,0,.1); color: #4b5a55; }
@media (max-width: 420px) { .ax-ult-ic { width: 56px; height: 56px; font-size: 1.7rem; border-radius: 16px; } .ax-ult .v, .ax-ult .q, .ax-ult .m { padding-right: 68px; } }

/* Música: cerrar pedidos (botón Última canción / cierre por hora) */
.mu-ultima { margin-top: 10px; width: 100%; border: 1.5px dashed #f87171; background: #fff5f5; color: #b91c1c; border-radius: 14px; padding: 10px; font-weight: 700; font-size: .92rem; }
.mu-ultima:hover { background: #fee2e2; }
.mu-cierre { margin-top: 10px; display: flex; align-items: center; gap: 12px; border-radius: 16px; padding: 12px 14px; }
.mu-cierre > i { font-size: 1.6rem; flex: none; }
.mu-cierre b { display: block; font-size: .95rem; } .mu-cierre small { display: block; font-size: .8rem; opacity: .8; }
.mu-cierre.noche { background: #fef2f2; border: 1.5px solid #fca5a5; color: #991b1b; }
.mu-cierre.hora { background: #fff7ed; border: 1.5px solid #fdba74; color: #9a3412; }
.mu-hora { border: 1px solid #d5ddd9; border-radius: 8px; padding: 2px 4px; font-weight: 700; width: 128px; min-width: 128px; font-size: .85rem; }
.mu-hora:disabled { opacity: .45; }
#vistaAux.oscuro .mu-ultima { background: #2a1416; border-color: #7f1d1d; color: #fca5a5; }
#vistaAux.oscuro .mu-cierre.noche { background: #2a1416; border-color: #7f1d1d; color: #fecaca; }
#vistaAux.oscuro .mu-cierre.hora { background: #2b1d0e; border-color: #9a3412; color: #fed7aa; }

/* Registrar gasto: Efectivo / Transferencia */
.ga-tipo { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; width: 100%; }
.ga-tipo button { border: 1.5px solid #dbe3df; background: #fff; border-radius: 12px; padding: 10px; font-weight: 700; color: #3b4a44; }
.ga-tipo button.activo { border-color: #1d5c45; background: #1d5c45; color: #fff; }
.ga-tipo button[data-gtipo="tr"].activo { border-color: #2563eb; background: #2563eb; }
.ga-bancos { width: 100%; margin-top: 10px; background: #f3f7ff; border: 1px solid #dbe6ff; border-radius: 12px; padding: 10px 12px; }
.ga-bancos .chip-metodo.activo { background: #2563eb; border-color: #2563eb; color: #fff; }
.ga-comp-tr { background: #fffbeb; border: 1.5px dashed #f59e0b; border-radius: 12px; padding: 10px 12px; }
.ga-tipo.tres { grid-template-columns: 1fr 1fr 1fr; } .ga-tipo.tres button { padding: 10px 4px; font-size: .88rem; }
.ga-tipo button[data-gtipo="mx"].activo { border-color: #7c3aed; background: #7c3aed; color: #fff; }
.ga-mixto { width: 100%; margin-top: 10px; background: #f5f3ff; border: 1px solid #ddd6fe; border-radius: 12px; padding: 10px 12px; }

/* Caja · Plata del mes / semana */
.pl-hd { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; flex-wrap: wrap; }
.pl-ic { width: 42px; height: 42px; border-radius: 12px; background: #ecfdf5; color: #15803d; display: grid; place-items: center; font-size: 1.3rem; flex: none; }
.pl-nav { margin-left: auto; display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.pl-modo { display: flex; background: #eef2f0; border-radius: 10px; padding: 3px; gap: 3px; }
.pl-modo button { border: 0; background: none; border-radius: 8px; padding: 4px 12px; font-size: .82rem; font-weight: 600; color: #3b4a44; }
.pl-modo button.on { background: #1d5c45; color: #fff; }
.pl-per { display: flex; align-items: center; gap: 4px; border: 1px solid #dbe3df; border-radius: 10px; padding: 2px 4px; font-size: .85rem; }
.pl-per b { padding: 0 6px; white-space: nowrap; } .pl-per b.cap { text-transform: capitalize; }
.pl-per button { border: 0; background: none; padding: 2px 6px; color: #1d5c45; } .pl-per button:disabled { opacity: .3; }
.pl-flujo { display: grid; grid-template-columns: 1fr auto 1fr auto 1.15fr; gap: 10px; align-items: stretch; }
.pl-op { display: grid; place-items: center; font-size: 1.5rem; font-weight: 800; color: #9aa8a2; }
.pl-bx { border-radius: 14px; padding: 12px 14px; }
.pl-bx .t { font-size: .74rem; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; }
.pl-bx .v { font-size: 1.5rem; font-weight: 800; margin: 2px 0 6px; }
.pl-bx .l { display: flex; justify-content: space-between; gap: 8px; font-size: .86rem; padding: 4px 0; border-top: 1px solid rgba(0,0,0,.06); }
.pl-bx .l.mini { font-size: .78rem; color: #6b7a74; }
.pl-bx.in { background: #f0fdf4; border: 1px solid #bbf7d0; } .pl-bx.in .t, .pl-bx.in .v { color: #15803d; }
.pl-bx.out { background: #fef2f2; border: 1px solid #fecaca; } .pl-bx.out .t, .pl-bx.out .v { color: #b91c1c; }
.pl-bx.res { background: linear-gradient(135deg, #14513c, #1d6b4f); color: #fff; box-shadow: 0 10px 24px rgba(20,81,60,.22); }
.pl-bx.res.neg { background: linear-gradient(135deg, #7f1d1d, #b91c1c); }
.pl-bx.res .t { color: #bbf7d0; } .pl-bx.res .v { font-size: 1.85rem; } .pl-bx.res .l { border-top-color: rgba(255,255,255,.15); }
.pl-bx.gris { background: #f7f9f8; border: 1px solid #e3e8e6; } .pl-bx.gris .t { color: #3b4a44; margin-bottom: 4px; }
.pl-nota { margin-top: 12px; font-size: .8rem; color: #6b7a74; display: flex; gap: 8px; align-items: flex-start; }
.pl-det { margin-top: 12px; display: grid; grid-template-columns: 1fr 1.4fr; gap: 12px; }
.pl-sem { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 6px; width: 100%; border: 0; background: none; text-align: right; font-size: .84rem; padding: 6px 4px; border-top: 1px solid rgba(0,0,0,.06); border-radius: 8px; }
.pl-sem span:first-child { text-align: left; }
.pl-sem-h { font-size: .72rem; font-weight: 700; color: #6b7a74; text-transform: uppercase; border-top: 0; }
button.pl-sem:hover { background: #eef5f1; } button.pl-sem.on { background: #dcfce7; }
@media (max-width: 860px) { .pl-flujo { grid-template-columns: 1fr; } .pl-op { display: none; } .pl-det { grid-template-columns: 1fr; } }
/* Caja · ganancia según inventario */
.pl-gan { margin-top: 12px; display: flex; align-items: center; gap: 14px; background: linear-gradient(135deg, #f5f3ff, #eef2ff); border: 1px solid #c7d2fe; border-radius: 14px; padding: 12px 16px; flex-wrap: wrap; }
.pl-gan.vacio { background: #f7f9f8; border-color: #e3e8e6; }
.pl-gan-ic { width: 40px; height: 40px; border-radius: 12px; background: #4f46e5; color: #fff; display: grid; place-items: center; font-size: 1.2rem; flex: none; }
.pl-gan.vacio .pl-gan-ic { background: #cbd5d1; }
.pl-gan-t { font-weight: 700; color: #3730a3; } .pl-gan.vacio .pl-gan-t { color: #3b4a44; } .pl-gan-t small { font-weight: 400; color: #6b7a74; }
.pl-gan-cta { display: flex; flex-wrap: wrap; gap: 4px 12px; font-size: .86rem; color: #3b4a44; margin-top: 2px; }
.pl-gan-v { margin-left: auto; text-align: right; } .pl-gan-v small { display: block; font-size: .72rem; font-weight: 700; color: #4f46e5; text-transform: uppercase; letter-spacing: .05em; }
.pl-gan-v b { font-size: 1.5rem; color: #3730a3; } .pl-gan-v.neg b { color: #b91c1c; }
/* Música · reglas según el aforo */
.mu-aforo-t { font-size: .8rem; font-weight: 700; color: #3b4a44; margin-bottom: 6px; }
.mu-aforo { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; margin-bottom: 10px; }
.mu-aforo button { border: 1.5px solid #e3e8e6; background: #fff; border-radius: 12px; padding: 6px 2px; font-size: .78rem; font-weight: 600; color: #3b4a44; }
.mu-aforo button b { display: block; font-size: 1.2rem; }
.mu-aforo button.on { border-color: #1d5c45; background: #ecfdf5; color: #14513c; }
.mu-reg label.mu-nuevo-r { background: #fffbeb; border-radius: 10px; margin: 2px -6px; padding: 6px; }
.mu-espera { margin-top: 8px; background: #f0fdf4; border: 1px solid #bbf7d0; border-radius: 10px; padding: 8px 10px; font-size: .82rem; color: #14532d; }
#vistaAux.oscuro .mu-aforo button { background: #151b18; border-color: #26302c; color: #cfd8d4; }
#vistaAux.oscuro .mu-reg label.mu-nuevo-r { background: #2b2412; }
#vistaAux.oscuro .mu-espera { background: #0f2419; border-color: #1d4a30; color: #cdeeda; }

/* === MODO OSCURO AUXILIAR (generado) === */
#vistaAux.oscuro .prod-tile{background:#1b221f}
#vistaAux.oscuro .prod-card-foto{background:#1b221f}
#vistaAux.oscuro .prod-foto{border:2px dashed #323e39;background:#1b221f}
#vistaAux.oscuro .prod-foto img{background:#1b221f}
#vistaAux.oscuro .prod-seccion{background:#1b221f}
#vistaAux.oscuro .prod-card-img.foto-vacia.foto-nac{background:#3f3112}
#vistaAux.oscuro .prod-card-img.foto-vacia.foto-prem{background:#3f1212;color:#ea7171}
#vistaAux.oscuro .prod-card-img.foto-vacia.foto-imp{background:#12213f;color:#6f90ec}
#vistaAux.oscuro .prod-cont-filtro{background:#12253f;color:#6f90ec}
#vistaAux.oscuro .prod-cat-chip{background:#1b221f;color:#c3cec9}
#vistaAux.oscuro .prod-cat-chip.activo{color:#fff}
#vistaAux.oscuro .prod-cat-chip.activo b{color:#fff}
#vistaAux.oscuro{background:#1b221f}
#vistaAux.oscuro .ax-vivo{color:#7feaa7}
#vistaAux.oscuro .ax-vivo.caido{color:#f7a364}
#vistaAux.oscuro .ax-lista{background:#1b221f;border:1px solid #333e39}
#vistaAux.oscuro .ax-dia{background:#1b221f;border-top:1px solid #314038}
#vistaAux.oscuro .ax-dia b{color:#deece7}
#vistaAux.oscuro .ax-f{border-top:1px solid #313f36}
#vistaAux.oscuro .ax-f.qr .ax-ic{background:#12373f;color:#6fd5f1}
#vistaAux.oscuro .ax-f.breb .ax-ic{background:#3f1234;color:#de72e8}
#vistaAux.oscuro .ax-q{color:#deece7}
#vistaAux.oscuro .ax-chk{color:#7feaa7}
#vistaAux.oscuro .ax-f.hl{background:#3f3712}
#vistaAux.oscuro .ax-vacio{background:#1b221f;border:1px dashed #323e39}
#vistaAux.oscuro .ax-est.pend{background:#3f3312}
#vistaAux.oscuro .ax-est.venta{background:#143e23;color:#7feaa7}
#vistaAux.oscuro .ax-est.abono{background:#12253f;color:#6f90ec}
#vistaAux.oscuro .ax-tabs{background:#1b221f;border:1px solid #333e39}
#vistaAux.oscuro .ax-tab.on{background:#1f6b4f;color:#fff}
#vistaAux.oscuro .ax-btn-nuevo{border:1.5px dashed #4c242c;background:#3f121b;color:#f16a8b}
#vistaAux.oscuro .ax-cli{background:#1b221f;border:1px solid #333e39}
#vistaAux.oscuro .ax-cli:hover{border-color:#323e39}
#vistaAux.oscuro .ax-diaschip{background:#3f3312}
#vistaAux.oscuro .ax-diaschip.viejo{background:#3f1216;color:#f16a8b}
#vistaAux.oscuro .ax-debe b{color:#f16a8b}
#vistaAux.oscuro .ax-volver{color:#94e0c4}
#vistaAux.oscuro .ax-btn-cred{background:#1b221f;color:#f16a8b;border:1.5px solid #4c242c}
#vistaAux.oscuro .ax-mov{border-top:1px solid #313f36}
#vistaAux.oscuro .ax-mov.c .i{background:#3f1216;color:#f16a8b}
#vistaAux.oscuro .ax-mov.a .i{background:#143e23;color:#7feaa7}
#vistaAux.oscuro .ax-mov.c .v{color:#f16a8b}
#vistaAux.oscuro .ax-mov.a .v{color:#7feaa7}
#vistaAux.oscuro .ax-porti{color:#9c69f1}
#vistaAux.oscuro .ax-met button{border:1.5px solid #333e39;background:#1b221f;color:#c3cec9}
#vistaAux.oscuro .ax-met button.on{border-color:#15803d;background:#123f20;color:#7feaa7}
#vistaAux.oscuro .ax-nqp{border:1.5px solid #333e39;background:#1b221f}
#vistaAux.oscuro .ax-nqp.qr .ic{background:#12373f;color:#6fd5f1}
#vistaAux.oscuro .ax-nqp.breb .ic{background:#3f1234;color:#de72e8}
#vistaAux.oscuro .ax-nqp.on{border-color:#15803d;background:#123f20}
#vistaAux.oscuro .ax-nqp .ax-ok{color:#7feaa7}
#vistaAux.oscuro .ax-foto{border:1.5px dashed #323e39;color:#c3cec9;background:#1b221f}
#vistaAux.oscuro .ax-foto i{color:#94e0c4}
#vistaAux.oscuro .ax-queda{background:#143d24;border:1px solid #244c34}
#vistaAux.oscuro .ax-sintel{background:#1b221f;border:1px dashed #323e39}
#vistaAux.oscuro .ax-cat{border:1px solid #333e39;background:#1b221f;color:#c3cec9}
#vistaAux.oscuro .ax-cat.on{background:#1f6b4f;border-color:#1f6b4f;color:#fff}
#vistaAux.oscuro .ax-precio{border-top:1px solid #313f36}
#vistaAux.oscuro .ax-precio-v{color:#7feaa7}
#vistaAux.oscuro .ax-cobro-qr{background:#1b221f}
#vistaAux.oscuro .ax-copiar{background:#1b221f;color:#de74e7}
#vistaAux.oscuro .ax-mesa{border:1.5px solid #333e39;background:#1b221f}
#vistaAux.oscuro .ax-mesa b{color:#deece7}
#vistaAux.oscuro .ax-mesa.on{border-color:#1f6b4f;background:#183927}
#vistaAux.oscuro .ax-mesa.on span{color:#94e0c4}
#vistaAux.oscuro .ax-mesa.nueva{color:#94e0c4}
#vistaAux.oscuro .ax-mesa.nueva span{color:#94e0c4}
#vistaAux.oscuro .ax-paso.sm{background:#232e29;color:#deece7}
#vistaAux.oscuro .ax-billete.on{background:#1b221f;color:#94e0c4}
#vistaAux.oscuro .ax-item{border-top:1px solid #313f36}
#vistaAux.oscuro .ax-acc.cred{background:#1b221f;color:#f16a8b;border:1.5px solid #4c242c}
#vistaAux.oscuro .ax-cobro-monto{background:#1b221f;color:#de74e7}
#vistaAux.oscuro .ax-f.nqn .ax-ic{background:#1b123f;color:#a174e6}
#vistaAux.oscuro .ax-nqp.nqn .ic{background:#1b123f;color:#a174e6}
#vistaAux.oscuro .ax-volver{background:#1b221f;border:1px solid #333e39;color:#94e0c4}
#vistaAux.oscuro .ax-mcard{background:#1b221f;border:1.5px solid #333e39}
#vistaAux.oscuro .ax-mcard .nm{color:#deece7}
#vistaAux.oscuro .ax-mcard b{color:#94e0c4}
#vistaAux.oscuro .ax-mcard .dot{box-shadow:0 0 0 4px #244c32}
#vistaAux.oscuro .ax-mcard.vieja .dot{box-shadow:0 0 0 4px #4c4424}
#vistaAux.oscuro .ax-mcard.nueva{color:#94e0c4}
#vistaAux.oscuro .ax-sync.ok{color:#7feaa7}
#vistaAux.oscuro .ax-sync.sinred{background:#3f2b12;color:#f7a364;border:1px solid #4c3a24}
#vistaAux.oscuro .ax-forma{border:1.5px solid #333e39;background:#1b221f;color:#c3cec9}
#vistaAux.oscuro .ax-forma.on{border-color:#1f6b4f;background:#133e27;color:#94e0c4}
#vistaAux.oscuro .ax-billete2{border:1.5px solid #333e39;background:#1b221f}
#vistaAux.oscuro .ax-billete2.on{background:#1f6b4f;border-color:#1f6b4f;color:#fff}
#vistaAux.oscuro .ax-pago-otro2{border:1.5px solid #333e39}
#vistaAux.oscuro .ax-mc-vueltas{background:#123f20;color:#7feaa7}
#vistaAux.oscuro .ax-mc-vueltas.falta{background:#3f2b12;color:#f7a364}
#vistaAux.oscuro .ax-cerrada{background:#1b221f;border-top:1px solid #323e3a}
#vistaAux.oscuro .ax-cant{background:#232e29}
#vistaAux.oscuro .ax-mc-confirma{background:#3f3612;border:1.5px solid #4c4324;color:#f0ad87}
#vistaAux.oscuro .ax-fch.ef{background:#123f22;color:#7feaa7}
#vistaAux.oscuro .ax-fch.nq{background:#3f1234;color:#de72e8}
#vistaAux.oscuro .ax-fch.cr{background:#3f1216;color:#f16a8b}
#vistaAux.oscuro .ax-fch.mx{background:#121c3f;color:#857edd}
#vistaAux.oscuro .ax-fch.an{background:#1b221f}
#vistaAux.oscuro .ax-mc-falta{background:#3f2b12;border:1.5px solid #4c3924;color:#ee8d6d}
#vistaAux.oscuro .ax-mc-propina{background:#123f20;border:1.5px solid #244c33;color:#9ae9b8}
#vistaAux.oscuro .ax-mc-propina > i{color:#ec6e8a}
#vistaAux.oscuro .ax-mc-prop{background:#3f122b;border:1px solid #4c243b}
#vistaAux.oscuro .ax-mc-prop .bi-heart{color:#e873a7}
#vistaAux.oscuro .ax-mc-esperado{color:#e77ca7}
#vistaAux.oscuro .ax-forma.f-efectivo{background:#143d1f;border-color:#244c30;color:#9ae9b8}
#vistaAux.oscuro .ax-forma.f-nequi{background:#29123f;border-color:#37244c;color:#b377e4}
#vistaAux.oscuro .ax-forma.f-nequi i{color:#de72e8}
#vistaAux.oscuro .ax-forma.f-mixto{background:linear-gradient(135deg, #133e1f 0%, #2a123f 100%);border-color:#2b244c;color:#a176e4}
#vistaAux.oscuro .ax-forma.f-credito{background:#3f1217;border-color:#4c2429;color:#ee6c90}
#vistaAux.oscuro .ax-forma.f-credito i{color:#ec6e8a}
#vistaAux.oscuro .ax-forma.f-efectivo.on{background:#123f22;border-color:#16a34a;color:#acebc5}
#vistaAux.oscuro .ax-forma.f-nequi.on{background:#28123f;border-color:#a21caf;color:#b478e3}
#vistaAux.oscuro .ax-forma.f-mixto.on{background:linear-gradient(135deg, #123f22 0%, #28123f 100%);border-color:#7c3aed}
#vistaAux.oscuro .ax-forma.f-credito.on{background:#3f1216;border-color:#e11d48;color:#ec779b}
#vistaAux.oscuro .ax-forma.f-tarjeta{background:#122d3f;border-color:#243e4c;color:#7accf8}
#vistaAux.oscuro .ax-forma.f-tarjeta.on{background:#122d3f;border-color:#0284c7;color:#91cff3}
#vistaAux.oscuro .ax-mc-tarjeta{background:#122d3f;border:1.5px solid #243e4c;color:#7accf8}
#vistaAux.oscuro .ax-fch.tj{background:#122d3f;color:#5fc4fc}
#vistaAux.oscuro .ax-forma.f-mixtoTj{background:linear-gradient(135deg, #133e1f 0%, #122d3f 100%);border-color:#243e4c;color:#91cff3}
#vistaAux.oscuro .ax-forma.f-mixtoTj.on{background:linear-gradient(135deg, #123f22 0%, #122d3f 100%);border-color:#0284c7}
#vistaAux.oscuro .ax-tj-lbl{color:#7accf8}
#vistaAux.oscuro .ax-tj-ayuda{border:1px solid #243f4c;color:#5fc4fc;background:#1b221f}
#vistaAux.oscuro .ax-tj-ayuda.on,#vistaAux.oscuro .ax-tj-ayuda:hover{background:#0284c7;color:#fff;border-color:#0284c7}
#vistaAux.oscuro .ax-tj-aviso{color:#f7a364}
#vistaAux.oscuro .ax-voucher{background:#1b221f;border:1px solid #26364a;color:#aab8cc}
#vistaAux.oscuro .ax-voucher-tit{color:#d5ddf0}
#vistaAux.oscuro .ax-v-fila.marca{background:#3f3b12;outline:2px solid #4c4424;color:#edbb8e}
#vistaAux.oscuro .ax-v-fila.marca2{background:#122d3f;outline:2px solid #243f4c;color:#7accf8}
#vistaAux.oscuro .ax-voucher-pie{color:#9eabbd}
#vistaAux.oscuro .ax-sinnom{color:#e87272}
#vistaAux.oscuro .carta-item{background:#1b221f;border:1px solid #323e39}
#vistaAux.oscuro .carta-nom{color:#deece7}
#vistaAux.oscuro .carta-precio{background:#183927;color:#7feaa7}
#vistaAux.oscuro .ax-bus input{background:#1b221f;border:1.5px solid #294737}
#vistaAux.oscuro .ax-bus input:focus{background:#1b221f}
#vistaAux.oscuro .ax-bus i{color:#94e0c4}
#vistaAux.oscuro .ax-tab-n{box-shadow:0 0 0 2px #383838}
#vistaAux.oscuro .ax-tab.on .ax-tab-n{background:#3f3512;color:#f0ad87}
#vistaAux.oscuro .ax-salir.campana:not(.activo){background:#f59e0b;border-color:#f59e0b;color:#fff3e0}
#vistaAux.oscuro .ax-reloj{color:#94e0c4}
#vistaAux.oscuro .carta-foto:has(img.carta-img:not(.foto-vacia)){background:#1b221f}
#vistaAux.oscuro .pie-firma b{color:#a3e2cb}
#vistaAux.oscuro .ax-diab:not(:disabled):hover{background:#22302a}
#vistaAux.oscuro .ax-vermas{border-top:1px solid #313f36;background:#1b221f;color:#a3e2cb}
#vistaAux.oscuro .ax-vermas:hover{background:#1e342b}
#vistaAux.oscuro .ax-mnota{background:#3f1222;color:#ed6ea3}
#vistaAux.oscuro .ax-nota-add{border:1.5px dashed #4c2435;background:#3f1226;color:#ed6ea3}
#vistaAux.oscuro .ax-notas{background:#3f2d12;border:1px solid #4c3d24}
#vistaAux.oscuro .ax-notas-h{color:#f5bc6d}
#vistaAux.oscuro .ax-notas-mas{background:#3f2e12;color:#f5bc6d}
#vistaAux.oscuro .ax-nota{background:#1b221f;border:1px solid #4c3c24}
#vistaAux.oscuro .ax-nota .ic{background:#3f3612;color:#f7a364}
#vistaAux.oscuro .ax-nota.regalo .ic{background:#3f122c;color:#e873a7}
#vistaAux.oscuro .ax-nota .tx{color:#deece7}
#vistaAux.oscuro .ax-nota-x{color:#ea7171}
#vistaAux.oscuro .ax-nota-tipos button{border:1.5px solid #4c3d24;background:#1b221f;color:#c3b398}
#vistaAux.oscuro .ax-nota-tipos button.on{border-color:#db2777;background:#3f122b;color:#ed6ea3}
#vistaAux.oscuro .ax-nota-tipos button.on:last-child{border-color:#d97706;background:#3f3612;color:#f7a364}
#vistaAux.oscuro .ax-reg-chips button{border:1px solid #4c3d24;background:#1b221f;color:#c3b398}
#vistaAux.oscuro .ax-mc-notas{background:#3f2b12;border:1.5px solid #4c3924}
#vistaAux.oscuro .ax-mc-notas .h{color:#f58f65}
#vistaAux.oscuro .ax-f,#vistaAux.oscuro .ax-item,#vistaAux.oscuro .ax-dia{border-top-color:#313f37}
#vistaAux.oscuro .ax-dia{background:#242e27}
#vistaAux.oscuro .ax-bus input:focus,#vistaAux.oscuro .form-control:focus{background-color:#1b221f}
#vistaAux.oscuro .mu-sw .t:after{background:#1b221f}
#vistaAux.oscuro .mu-sw.on .t{background:#22c55e}
#vistaAux.oscuro .mu-now.vacio{background:#1b221f;border:1.5px dashed #323e38}
#vistaAux.oscuro .mu-now .eq i{background:#3f3012}
#vistaAux.oscuro .mu-b{border:1px solid #333e39;background:#1b221f;color:#deece7}
#vistaAux.oscuro .mu-b.cp{background:#121d3f;border-color:#242c4c;color:#8681da}
#vistaAux.oscuro .mu-b.no{color:#ea7171}
#vistaAux.oscuro .mu-lista{background:#1b221f;border:1px solid #333e39}
#vistaAux.oscuro .mu-p{border-top:1px solid #323e3a}
#vistaAux.oscuro .mu-p.nuevo{background:#37123f}
#vistaAux.oscuro .mu-p.hecho{box-shadow:inset 4px 0 0 #323e39}
#vistaAux.oscuro .mu-p .mz{background:#3f2f12;color:#f7a364}
#vistaAux.oscuro .mu-p .ar{color:#bcbcbc}
#vistaAux.oscuro .mu-ded{color:#ea71a2;background:#3f1222}
#vistaAux.oscuro .mu-chip.ok{background:#123f22;color:#7feaa7}
#vistaAux.oscuro .mu-chip.no{background:#3f1212;color:#ea7171}
#vistaAux.oscuro .mu-vacio i{color:#da75e6}
#vistaAux.oscuro .mu-box{background:#1b221f;border:1px solid #333e39}
#vistaAux.oscuro .mu-k div{background:#1b221f}
#vistaAux.oscuro .mu-top div{border-top:1px solid #313f36}
#vistaAux.oscuro .mu-top b{color:#da75e6}
#vistaAux.oscuro .mu-reg input{border:1px solid #323e38}
#vistaAux.oscuro .mu-now.vacio b{color:#deece7}
#vistaAux.oscuro .mu-sw.mu-sw-mini .t{background:#1b221f}
#vistaAux.oscuro .mu-sw.mu-sw-mini.on .t{background:#22c55e}
#vistaAux.oscuro .ax-nuevo{background:#1b221f;color:#6fd5f1}
#vistaAux.oscuro .mu-ultima:hover{background:#3f1212}
#vistaAux.oscuro .mu-hora{border:1px solid #323e38}
#vistaAux.oscuro .mu-aforo-t{color:#c6d1cd}
#vistaAux.oscuro .mu-aforo button.on{border-color:#1d5c45;background:#123f2a;color:#aeebd6}
#vistaAux.oscuro { --ax-fondo:#0b0f0d; background:#0b0f0d; color:#e3ebe7; color-scheme:dark;
  --bs-body-color:#e3ebe7; --bs-body-bg:#0b0f0d; --bs-secondary-color:#93a39c; --bs-border-color:#2a3430; --bs-emphasis-color:#f2f6f4; --bs-tertiary-bg:#151b18; --bs-secondary-bg:#151b18; }
#vistaAux.oscuro .text-secondary { color:#93a39c !important; } #vistaAux.oscuro .text-body { color:#e3ebe7 !important; }
#vistaAux.oscuro .ax-lista, #vistaAux.oscuro .ax-tabs, #vistaAux.oscuro .ax-mcard:not(.nueva), #vistaAux.oscuro .ax-cerrada, #vistaAux.oscuro .ax-cli, #vistaAux.oscuro .ax-vacio,
#vistaAux.oscuro .ax-vermas, #vistaAux.oscuro .ax-volver, #vistaAux.oscuro .ax-mesa, #vistaAux.oscuro .ax-nqp, #vistaAux.oscuro .ax-sintel, #vistaAux.oscuro .carta-item,
#vistaAux.oscuro .ax-cat:not(.on), #vistaAux.oscuro .ax-met button:not(.on), #vistaAux.oscuro .ax-copiar, #vistaAux.oscuro .ax-btn-cred, #vistaAux.oscuro .ax-acc.cred, #vistaAux.oscuro .ax-billete2:not(.on),
#vistaAux.oscuro .ax-nota, #vistaAux.oscuro .ax-nota-tipos button:not(.on), #vistaAux.oscuro .ax-reg-chips button, #vistaAux.oscuro .ax-tj-ayuda, #vistaAux.oscuro .ax-voucher,
#vistaAux.oscuro .prod-tile:not(.activo), #vistaAux.oscuro .modal-content, #vistaAux.oscuro .modal-header, #vistaAux.oscuro .modal-footer { background-color:#151b18; }
#vistaAux.oscuro .ax-lista, #vistaAux.oscuro .ax-tabs, #vistaAux.oscuro .ax-mcard, #vistaAux.oscuro .ax-cerrada, #vistaAux.oscuro .carta-item, #vistaAux.oscuro .prod-tile:not(.activo),
#vistaAux.oscuro .modal-content, #vistaAux.oscuro .modal-header, #vistaAux.oscuro .modal-footer { border-color:#26302c; }
#vistaAux.oscuro .ax-f, #vistaAux.oscuro .ax-item, #vistaAux.oscuro .ax-dia, #vistaAux.oscuro .ax-vermas { border-top-color:#212a26; }
#vistaAux.oscuro .ax-dia { background:#111714; color:#93a39c; } #vistaAux.oscuro .ax-dia b { color:#e3ebe7; }
#vistaAux.oscuro .ax-f.hl { background:#2a2614; }
#vistaAux.oscuro .ax-bus input, #vistaAux.oscuro .form-control, #vistaAux.oscuro .form-select, #vistaAux.oscuro .ax-pago-otro2, #vistaAux.oscuro .input-group-text {
  background-color:#1b2320; border-color:#2d3833; color:#e3ebe7; }
#vistaAux.oscuro .form-control::placeholder, #vistaAux.oscuro .ax-bus input::placeholder { color:#7b8b84; }
#vistaAux.oscuro .form-control:focus, #vistaAux.oscuro .ax-bus input:focus { background-color:#202a26; border-color:#3f9b74; box-shadow:0 0 0 .2rem rgba(63,155,116,.25); }
#vistaAux.oscuro .btn-light { background:#232c28; border-color:#2d3833; color:#e3ebe7; }
#vistaAux.oscuro .btn-close { filter:invert(1) grayscale(1) brightness(1.6); }
#vistaAux.oscuro .ax-mcard.nueva { background:transparent; border-color:#2f3b36; color:#7fd3ac; }
#vistaAux.oscuro .ax-tab.on { background:#1f6b4f; color:#fff; }
#vistaAux.oscuro .ax-tab:not(.on) { color:#a9b8b1; }
#vistaAux.oscuro .ax-ult { box-shadow:0 10px 30px rgba(0,0,0,.45); }
#vistaAux.oscuro .ax-top { background:linear-gradient(90deg,#0e2a20,#123a2c); }
#vistaAux.oscuro .pie-firma { color:#6f7f78; } #vistaAux.oscuro .pie-firma b { color:#7fd3ac; }
#vistaAux.oscuro .carta-foto:has(img.carta-img:not(.foto-vacia)) { background:#fff; }
#vistaAux.oscuro .ax-cobro-qr { background:#fff; }
#vistaAux.oscuro hr { border-color:#2a3430; }
#vistaAux.oscuro .ax-sinnom { background:#2a1416; }
#vistaAux.oscuro .ax-tab.on .ax-tab-n { background:#fcd34d; color:#78350f; }
#vistaAux.oscuro .ax-tab-n { box-shadow:0 0 0 2px #151b18; }
#vistaAux.oscuro .mu-b.so, #vistaAux.oscuro .mu-b.ya { background:#16a34a; border-color:#16a34a; color:#fff; }
#vistaAux.oscuro .mu-b.cp { background:#1e2547; border-color:#3b4a8a; color:#a5b4fc; }
#vistaAux.oscuro .mu-b.otra { background:transparent; border-color:rgba(255,255,255,.3); color:#fff; }
#vistaAux.oscuro .mu-now .eq i { background:#ffd27a; }
#vistaAux.oscuro .mu-now { background:#0f1714; border:1px solid #26302c; }
#vistaAux.oscuro .mu-p .mz { background:#33260f; color:#f6b25a; }
#vistaAux.oscuro .ax-forma.on { box-shadow:0 0 0 2px currentColor; filter:brightness(1.25); }
#vistaAux.oscuro .ct0 { background:#33260f; color:#f6b25a; } #vistaAux.oscuro .ct1 { background:#341c10; color:#f8945c; } #vistaAux.oscuro .ct2 { background:#142238; color:#86aef8; }
#vistaAux.oscuro .ct3 { background:#0f2a20; color:#5fd3a4; } #vistaAux.oscuro .ct4 { background:#221a38; color:#b79af6; } #vistaAux.oscuro .ct5 { background:#35151b; color:#f6849b; }
/* === FIN MODO OSCURO AUXILIAR === */
