/* Inventario > Servicios — formato modal tablet Noalyx. */
@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-modal-servicio {
        box-sizing: border-box !important;
        align-items: center !important;
        justify-content: center !important;
        padding: 32px !important;
    }

    html body #pvf-shell #pv-modal-servicio .pv-servicio-modal {
        box-sizing: border-box !important;
        width: min(680px, calc(100vw - 64px)) !important;
        max-width: 680px !important;
        height: auto !important;
        max-height: min(640px, 88vh) !important;
        margin: auto !important;
        overflow: hidden !important;
        border-radius: 22px !important;
    }

    html body #pvf-shell #pv-modal-servicio form,
    html body #pvf-shell #pv-modal-servicio .pv-servicio-body,
    html body #pvf-shell #pv-modal-servicio .pv-servicio-grid,
    html body #pvf-shell #pv-modal-servicio .pv-servicio-campo {
        box-sizing: border-box !important;
        width: 100% !important;
        min-width: 0 !important;
        max-width: 100% !important;
    }

    html body #pvf-shell #pv-modal-servicio .pv-servicio-body {
        padding: 18px 20px 20px !important;
        overflow-y: auto !important;
        overscroll-behavior: contain !important;
    }

    html body #pvf-shell #pv-modal-servicio .pv-servicio-grid {
        display: grid !important;
        grid-template-columns: minmax(0, 1fr) !important;
        gap: 0 !important;
    }

    html body #pvf-shell #pv-modal-servicio .pv-servicio-campo {
        margin: 0 0 14px !important;
    }

    html body #pvf-shell #pv-modal-servicio .pv-servicio-descripcion {
        margin-bottom: 0 !important;
    }

    html body #pvf-shell #pv-modal-servicio .pv-servicio-campo > :where(input, textarea, select) {
        box-sizing: border-box !important;
        width: 100% !important;
        min-width: 0 !important;
        max-width: 100% !important;
    }

    html body #pvf-shell #pv-modal-servicio .pv-servicio-campo input {
        height: 44px !important;
        min-height: 44px !important;
    }

    html body #pvf-shell #pv-modal-servicio .pv-servicio-campo textarea {
        min-height: 90px !important;
        max-height: 150px !important;
        resize: vertical !important;
    }

    html body #pvf-shell #pv-modal-servicio .pv-servicio-actions {
        display: grid !important;
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        align-items: stretch !important;
        gap: 12px !important;
        box-sizing: border-box !important;
        width: 100% !important;
        padding: 12px 18px 14px !important;
    }

    html body #pvf-shell #pv-modal-servicio .pv-servicio-actions > :where(.pv-servicio-cancelar, .pv-servicio-guardar) {
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        box-sizing: border-box !important;
        width: 100% !important;
        min-width: 0 !important;
        max-width: none !important;
        height: 44px !important;
        min-height: 44px !important;
        margin: 0 !important;
        padding-inline: 12px !important;
    }
}
