/* Prioridad de composición para la vista tablet de Movimientos. */
@media (min-width:681px) and (max-width:820px),
       (min-width:821px) and (max-width:1366px) and (pointer:coarse) and (min-height:500px),
       (min-width:821px) and (max-width:1366px) and (hover:none) and (min-height:500px) {
    html body #pvf-shell #pv-moneda-scope .rv-inv-mobile-render .rv-mov-hero {
        grid-template-columns:48px minmax(220px,1fr) minmax(250px,.9fr)!important;
        grid-template-rows:auto!important;align-items:center!important;gap:14px!important;padding:16px 18px!important;
    }
    html body #pvf-shell #pv-moneda-scope .rv-inv-mobile-render .rv-mov-hero-icon{grid-column:1!important;grid-row:1!important}
    html body #pvf-shell #pv-moneda-scope .rv-inv-mobile-render .rv-mov-hero-copy{grid-column:2!important;grid-row:1!important}
    html body #pvf-shell #pv-moneda-scope .rv-inv-mobile-render .rv-mov-hero-stats{
        grid-column:3!important;grid-row:1!important;align-self:center!important;
        grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:7px!important;width:100%!important;
    }
    html body #pvf-shell #pv-moneda-scope .rv-inv-mobile-render .rv-mov-toolbar{
        grid-template-columns:minmax(220px,1fr) minmax(300px,.95fr)!important;
        align-items:center!important;gap:16px!important;padding:14px 16px!important;
    }
    html body #pvf-shell #pv-moneda-scope .rv-inv-mobile-render #pv-hist-mov-inv{
        grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:12px!important;align-items:stretch!important;
    }
    html body #pvf-shell #pv-moneda-scope .rv-inv-mobile-render #pv-hist-mov-inv .rv-mov-table-row:not(.pv-historial-header){
        grid-template-columns:minmax(0,1fr) minmax(0,1fr)!important;
        grid-template-areas:"tipo fecha" "producto producto" "almacen cantidad" "motivo motivo" "acciones acciones"!important;
        align-content:start!important;gap:10px!important;min-height:300px!important;padding:14px 14px 12px 17px!important;
    }
    html body #pvf-shell #pv-moneda-scope .rv-inv-mobile-render #pv-hist-mov-inv :is(.rv-mov-warehouse,.rv-mov-quantity){min-height:60px!important}
    html body #pvf-shell #pv-moneda-scope .rv-inv-mobile-render #pv-hist-mov-inv .rv-mov-warehouse{
        grid-template-columns:minmax(0,1fr)!important;align-content:center!important;padding:9px!important;
    }
    html body #pvf-shell #pv-moneda-scope .rv-inv-mobile-render #pv-hist-mov-inv .rv-mov-warehouse .rv-mov-metric-icon{display:none!important}
    html body #pvf-shell #pv-moneda-scope .rv-inv-mobile-render #pv-hist-mov-inv .rv-mov-warehouse>span:last-child{
        grid-column:1!important;align-items:flex-start!important;flex-direction:column!important;gap:4px!important;
    }
    html body #pvf-shell #pv-moneda-scope .rv-inv-mobile-render #pv-hist-mov-inv :is(.rv-mov-type-copy,.rv-mov-date>span:last-child,.rv-mov-reason>span:last-child){
        display:flex!important;align-items:flex-start!important;flex-direction:column!important;gap:3px!important;min-width:0!important;
    }
    html body #pvf-shell #pv-moneda-scope .rv-inv-mobile-render #pv-hist-mov-inv .rv-mov-date{
        align-self:start!important;min-width:0!important;
    }
    html body #pvf-shell #pv-moneda-scope .rv-inv-mobile-render #pv-hist-mov-inv .rv-mov-date strong,
    html body #pvf-shell #pv-moneda-scope .rv-inv-mobile-render #pv-hist-mov-inv .rv-mov-date em{
        white-space:nowrap!important;
    }
    html body #pvf-shell #pv-moneda-scope .rv-inv-mobile-render #pv-hist-mov-inv .rv-mov-reason strong{
        display:-webkit-box!important;overflow:hidden!important;-webkit-box-orient:vertical!important;-webkit-line-clamp:2!important;
    }
}
