/* Inventario > Servicios — listado compacto exclusivo para tablet. */
@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-hist-servicios.rv-services-grid {
        display: grid !important;
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 12px !important;
        align-items: stretch !important;
        width: 100% !important;
        overflow: visible !important;
    }

    html body #pvf-shell #pv-hist-servicios .rv-service-card {
        display: flex !important;
        align-items: stretch !important;
        flex-direction: column !important;
        box-sizing: border-box !important;
        width: 100% !important;
        min-width: 0 !important;
        max-width: none !important;
        min-height: 200px !important;
        margin: 0 !important;
        padding: 14px !important;
        border-radius: 16px !important;
    }

    html body #pvf-shell #pv-hist-servicios .rv-service-card > * {
        box-sizing: border-box !important;
        width: 100% !important;
        min-width: 0 !important;
        max-width: 100% !important;
    }

    html body #pvf-shell #pv-hist-servicios .rv-service-card-head {
        display: grid !important;
        grid-template-columns: 40px minmax(0, 1fr) auto !important;
        align-items: start !important;
        gap: 10px !important;
        margin: 0 !important;
        text-align: left !important;
    }

    html body #pvf-shell #pv-hist-servicios .rv-service-card-copy strong {
        display: -webkit-box !important;
        overflow: hidden !important;
        line-height: 1.25 !important;
        text-overflow: clip !important;
        white-space: normal !important;
        -webkit-box-orient: vertical !important;
        -webkit-line-clamp: 2 !important;
    }

    html body #pvf-shell #pv-hist-servicios .rv-service-status {
        align-self: start !important;
    }

    html body #pvf-shell #pv-hist-servicios .rv-service-description {
        display: block !important;
        flex: 1 1 auto !important;
        box-sizing: border-box !important;
        width: 100% !important;
        min-width: 0 !important;
        min-height: 60px !important;
        margin: 12px 0 0 !important;
        padding: 10px 11px !important;
        text-align: left !important;
    }

    html body #pvf-shell #pv-hist-servicios .rv-service-description::before {
        display: none !important;
        content: none !important;
    }

    html body #pvf-shell #pv-hist-servicios .rv-service-description > small {
        display: block !important;
        margin: 0 0 5px !important;
        text-align: left !important;
    }

    html body #pvf-shell #pv-hist-servicios .rv-service-description p {
        width: 100% !important;
        margin: 0 !important;
        text-align: left !important;
    }

    html body #pvf-shell #pv-hist-servicios .rv-service-card-footer {
        display: flex !important;
        align-items: center !important;
        justify-content: space-between !important;
        gap: 10px !important;
        margin: 11px 0 0 !important;
        padding: 10px 0 0 !important;
        border-top: 1px solid #ECEFF5 !important;
    }

    html body #pvf-shell #pv-hist-servicios .rv-service-usage {
        flex: 1 1 auto !important;
        min-width: 0 !important;
        line-height: 1.25 !important;
        white-space: normal !important;
    }

    html body #pvf-shell #pv-hist-servicios .rv-service-actions {
        display: flex !important;
        align-items: center !important;
        justify-content: flex-end !important;
        flex: 0 0 auto !important;
        gap: 7px !important;
        width: auto !important;
        min-width: 0 !important;
        margin: 0 !important;
        padding: 0 !important;
    }
}
