:root{--cmp-filtro-min: 200px;--cmp-total-min: 180px;--cmp-icono-categoria: 36px;--cmp-mini-grafica: 72px}.indice__encabezado{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:var(--space-3)}.bento{display:grid;gap:var(--space-3);min-width:0}.bento__tarjeta{display:flex;flex-direction:column;min-width:0;background:var(--surface-1);border-radius:var(--radius-lg);box-shadow:var(--elev-1);overflow:hidden}.bento__cabeza{display:flex;align-items:center;gap:var(--space-3);padding:var(--space-4) var(--space-4) 0;font-size:var(--text-md);line-height:var(--lh-md);font-weight:var(--weight-semibold)}.bento__icono{display:grid;place-items:center;flex:none;width:var(--cmp-icono-categoria);height:var(--cmp-icono-categoria);border-radius:var(--radius-full);background:var(--surface-2)}.bento__icono .icono{width:var(--text-lg);height:var(--text-lg)}.bento__dato{display:flex;flex-direction:column;gap:var(--space-1);flex:1;padding:var(--space-4);color:inherit;text-decoration:none;transition:background-color var(--dur-micro) var(--ease-out)}.bento__dato:active{background:var(--surface-2)}.bento__etiqueta,.bento__nota{font-size:var(--text-sm);line-height:var(--lh-sm);color:var(--text-secondary)}.bento__cifra{font-size:var(--text-xl);line-height:var(--lh-xl);font-weight:var(--weight-semibold);overflow-wrap:anywhere}.bento__tarjeta--ventas .bento__cifra{font-size:var(--text-3xl);line-height:var(--lh-3xl)}.bento__cifra[data-tono=exito]{color:var(--success)}.bento__cifra[data-tono=error]{color:var(--danger)}.bento__cifra[data-tono=advertencia]{color:var(--warning)}.bento:not([data-listo]) :is(.bento__etiqueta,.bento__cifra,.bento__nota):empty{display:block;height:var(--lh-sm);width:45%;border-block:var(--space-1) solid transparent;border-radius:var(--radius-sm);background:linear-gradient(90deg,var(--surface-3) 40%,var(--surface-2) 50%,var(--surface-3) 60%) 0 0 / 300% 100%;background-clip:padding-box;animation:esqueleto-aparece var(--dur-enter) var(--ease-out) var(--cmp-esqueleto-espera) backwards,esqueleto-brillo var(--cmp-esqueleto-ciclo) linear infinite}.bento:not([data-listo]) .bento__cifra:empty{height:var(--lh-xl);width:60%}.bento:not([data-listo]) .bento__tarjeta--ventas .bento__cifra:empty{height:calc(var(--text-3xl) * var(--lh-3xl))}.bento:not([data-listo]) .bento__nota:empty{width:70%}@media(prefers-reduced-motion:reduce){.bento:not([data-listo]) :is(.bento__etiqueta,.bento__cifra,.bento__nota):empty{animation:esqueleto-aparece var(--dur-micro) linear var(--cmp-esqueleto-espera) backwards!important}}.bento[data-listo][aria-busy=true] .bento__dato,.bento[data-listo][aria-busy=true] .bento__mini{opacity:.55;transition:opacity var(--dur-micro) var(--ease-out)}.bento__grafica{display:grid;gap:var(--space-1);margin-top:auto;padding-top:var(--space-4)}.bento__linea{width:100%;height:var(--cmp-mini-grafica);overflow:visible}.bento__linea polyline{fill:none;stroke:var(--chart-1);stroke-width:2;stroke-linejoin:round;stroke-linecap:round;vector-effect:non-scaling-stroke}.bento__eje{display:flex;justify-content:space-between;font-size:var(--text-xs);line-height:var(--lh-xs);color:var(--text-secondary)}.bento__reportes{list-style:none;padding:0;border-top:var(--cmp-linea) solid var(--border-subtle)}.bento__reportes li+li{border-top:var(--cmp-linea) solid var(--border-subtle)}.bento__reporte{display:flex;align-items:center;gap:var(--space-2);min-height:var(--touch-min-bo);padding:var(--space-2) var(--space-3) var(--space-2) var(--space-4);color:inherit;text-decoration:none;transition:background-color var(--dur-micro) var(--ease-out)}.bento__reporte:active{background:var(--surface-3)}.bento__reporte-nombre{flex:1;min-width:0;font-size:var(--text-sm);line-height:var(--lh-sm);font-weight:var(--weight-medium)}.bento__mini{font-size:var(--text-sm);line-height:var(--lh-sm);color:var(--text-secondary);text-align:right}.bento__flecha{flex:none;width:var(--text-lg);height:var(--text-lg);color:var(--text-secondary)}@media(hover:hover){.bento__dato:hover,.bento__reporte:hover{background:var(--surface-2)}}@media(min-width:768px){.bento{grid-template-columns:repeat(2,minmax(0,1fr));gap:var(--space-4)}.bento__tarjeta--ventas,.bento__tarjeta--productos,.bento__tarjeta--equipo{grid-column:span 2}.bento__cabeza{padding:var(--space-6) var(--space-6) 0}.bento__dato{padding:var(--space-4) var(--space-6) var(--space-6)}.bento__reporte{padding-left:var(--space-6);padding-right:var(--space-4)}.bento__tarjeta--productos,.bento__tarjeta--equipo{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);grid-template-rows:auto 1fr}.bento__tarjeta--productos .bento__cabeza,.bento__tarjeta--equipo .bento__cabeza,.bento__tarjeta--productos .bento__dato,.bento__tarjeta--equipo .bento__dato{grid-column:1}.bento__tarjeta--productos .bento__reportes,.bento__tarjeta--equipo .bento__reportes{grid-column:2;grid-row:1 / span 2;align-self:center;margin:var(--space-4) var(--space-4) var(--space-4) 0;border:var(--cmp-linea) solid var(--border-subtle);border-radius:var(--radius-md)}}@media(min-width:1280px){.bento{grid-template-columns:repeat(4,minmax(0,1fr))}.bento__tarjeta--ventas{grid-column:1 / span 2;grid-row:1 / span 2}.bento__tarjeta--productos{grid-column:3 / span 2}.bento__tarjeta--inventario,.bento__tarjeta--caja{grid-column:span 1}.bento__tarjeta--equipo{grid-column:1 / -1}.bento__tarjeta--ventas .bento__grafica{flex:1;grid-template-rows:1fr auto}.bento__tarjeta--ventas .bento__linea{height:100%;min-height:var(--cmp-mini-grafica)}}.reporte{gap:var(--space-3)}.reporte__volver{display:inline-flex;align-items:center;gap:var(--space-1);width:fit-content;min-height:var(--touch-min-bo);margin-left:calc(-1 * var(--space-1));padding-right:var(--space-2);color:var(--text-secondary);font-size:var(--text-sm);font-weight:var(--weight-medium);text-decoration:none}.reporte__volver .icono{width:var(--text-lg);height:var(--text-lg)}@media(hover:hover){.reporte__volver:hover{color:var(--text-primary)}}.reporte__encabezado{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:var(--space-2) var(--space-4)}.reporte__exportar{display:flex;gap:var(--space-2)}.reporte__exportar .boton{gap:var(--space-1);font-size:var(--text-sm);border-color:var(--border-subtle);min-height:var(--touch-min-bo)}.reporte__exportar .icono{width:var(--text-md);height:var(--text-md)}.reporte__barra{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:var(--space-2) var(--space-4)}.reporte__hermanos a.chip{text-decoration:none}.reporte__hermanos a.chip[aria-current=page]{background:var(--accent);border-color:var(--accent);color:var(--on-accent)}@media(hover:hover){.reporte__hermanos a.chip:not([aria-current]):hover{background:var(--surface-2)}}.reporte__resumen{display:flex;align-items:center;gap:var(--space-2);width:fit-content;max-width:100%;min-height:var(--touch-min-bo);padding:0 var(--space-3);border:0;border-radius:var(--radius-md);background:var(--surface-2);color:var(--text-primary);font-size:var(--text-sm);font-weight:var(--weight-medium);text-align:left;transition:background-color var(--dur-micro) var(--ease-out)}.reporte__resumen:active{background:var(--surface-3)}@media(hover:hover){.reporte__resumen:hover{background:var(--surface-3)}}.reporte__resumen .icono{flex:none;width:var(--text-md);height:var(--text-md);color:var(--text-secondary)}.reporte__resumen-texto{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}@media(max-width:1023.98px){dialog.hoja.reporte__hoja{max-height:calc(100dvh - var(--space-16))}}.reporte__filtros{min-width:0}.reporte__selectores{display:grid;gap:var(--space-3);min-width:0}.reporte__selectores:empty{display:none}.reporte__selectores .segmentado{justify-self:start}.reporte__interruptor{padding:var(--space-3) var(--space-4);background:var(--surface-1);border-radius:var(--radius-md);box-shadow:var(--elev-1);cursor:pointer}.reporte__cuerpo{display:grid;gap:var(--space-6);min-width:0;margin-top:var(--space-1)}.reporte__totales{display:grid;grid-template-columns:repeat(var(--secundarias, 3),minmax(0,1fr));margin:0;background:var(--surface-1);border-radius:var(--radius-lg);box-shadow:var(--elev-1);overflow:hidden}.reporte__total{display:grid;gap:var(--space-1);align-content:space-between;min-width:0;padding:var(--space-3) var(--space-4) var(--space-4);border-top:var(--cmp-linea) solid var(--border-subtle)}.reporte__total:nth-child(n+3){border-left:var(--cmp-linea) solid var(--border-subtle)}.reporte__total dt{font-size:var(--text-sm);line-height:var(--lh-sm);color:var(--text-secondary)}.reporte__total dd{margin:0;font-size:var(--text-lg);line-height:var(--lh-lg);font-weight:var(--weight-semibold);overflow-wrap:anywhere}.reporte__total--principal{grid-column:1 / -1;padding-top:var(--space-4);border-top:0}.reporte__total--principal dd{font-size:var(--text-3xl);line-height:var(--lh-3xl)}.reporte__grafica{display:grid;gap:var(--space-6);min-width:0}.reporte__figura{display:grid;gap:var(--space-3);margin:0;min-width:0;padding:var(--space-4);background:var(--surface-1);border-radius:var(--radius-lg);box-shadow:var(--elev-1)}.reporte .tabla-ordenar{white-space:nowrap}.reporte .tabla-ordenar select{flex:1}.tabla-ver-mas{display:block;width:100%;min-height:var(--touch-min-bo);border:0;border-top:var(--cmp-linea) solid var(--border-subtle);background:var(--surface-1);color:var(--text-primary);font-size:var(--text-sm);font-weight:var(--weight-medium)}@media(hover:hover){.tabla-ver-mas:hover{background:var(--surface-2)}}@media(max-width:1023.98px){.reporte .tabla--responsiva td.principal{grid-row:1;grid-column:1}.reporte .tabla--responsiva td.secundaria{font-weight:var(--weight-regular);text-align:left}.reporte .tabla--responsiva td.secundaria[data-etiqueta]:before{content:attr(data-etiqueta) " "}.reporte .tabla--responsiva td.num.secundaria{grid-column:1;grid-row:auto}}@media(min-width:768px){.reporte__totales{grid-template-columns:2fr repeat(var(--secundarias, 3),minmax(0,1fr))}.reporte__total,.reporte__total--principal{grid-column:auto;align-content:end;padding:var(--space-6);border-top:0}.reporte__total+.reporte__total{border-left:var(--cmp-linea) solid var(--border-subtle)}.reporte__total:not(.reporte__total--principal) dd{font-size:var(--text-xl);line-height:var(--lh-xl)}.reporte__figura{padding:var(--space-6)}}.tabla__accion{text-align:right;white-space:nowrap}.tabla__ver-detalle{min-height:var(--touch-min-bo);padding:0 var(--space-2);border:0;background:transparent;color:var(--text-primary);font-size:var(--text-sm);font-weight:var(--weight-medium);text-decoration:underline}.tabla .tabla__detalle{border-top:0;background:var(--surface-2)}.tabla .tabla__detalle td{padding:var(--space-3) var(--space-4) var(--space-4)}.tabla .tabla__detalle .detalle-lista{grid-template-columns:repeat(auto-fill,minmax(var(--cmp-total-min),1fr));gap:var(--space-3) var(--space-6)}.tabla__detalle .detalle-lista dd{font-weight:var(--weight-semibold)}.tabla-buscar{margin:var(--space-3) var(--space-4) 0}.tabla-buscar input{font-size:var(--text-md);line-height:var(--lh-md)}@media(max-width:1023.98px){.reporte .tabla--responsiva td.tabla__accion{grid-column:1 / -1;grid-row:auto;margin-left:calc(-1 * var(--space-2));text-align:left}.reporte .tabla--responsiva tr.tabla__detalle{display:block;padding:var(--space-3) var(--space-4)}.reporte .tabla--responsiva tr.tabla__detalle td{padding:0}.reporte .tabla__detalle .detalle-lista{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:767.98px){.reporte__encabezado{flex-wrap:nowrap;align-items:flex-start}.reporte__encabezado .titulo-pantalla{flex:1;min-width:0}.reporte__exportar{flex:none;gap:var(--space-1);margin-top:var(--space-1)}.reporte__resumen{width:100%}.reporte__resumen-texto{flex:1}}
